Reliability-Guided Fourier Alignment and Grouped Multiscale Attention for Sheep Behavior Detection
Sheep behavior detection from images is challenging when animals overlap and visually similar behaviors must be distinguished. This study evaluates a P3 feature-fusion adaptation of YOLO-Master that combines Fourier angle alignment (FAA) with efficient multiscale attention (EMA) for four-class detection. Across three paired seeds, the FAA + EMA configuration achieved a mean test AP of 54.61% (SD 3.36), compared with 52.46% (SD 1.37) for YOLO-Master, with 3,746 additional parameters, a 0.133% increase. All three paired AP differences were positive, at 0.48, 5.61, and 0.35 percentage points. However, the mean gain of 2.14 percentage points had a 95% confidence interval from − 5.30 to 9.59 percentage points. Because the interval includes zero and the mean was strongly influenced by one seed, the result does not establish a statistically significant mean AP improvement. The largest class-specific gains were observed for Resting and Running, at 4.47 and 4.85 percentage points, respectively. Feeding increased by 0.43 points, whereas Walking decreased by 1.18 points. FAA alone reduced image-level count MAE from 0.549 to 0.401, while the joint configuration had an MAE of 0.574. The projection control reached 54.45% AP, only 0.16 points below FAA + EMA. YOLO26n achieved higher AP with fewer parameters and lower latency than the joint configuration. These findings support a parameter-light, directionally consistent, class-specific and counting-relevant adaptation within YOLO-Master. They also show that the preferred configuration depends on whether detection AP or image-level counting is the primary objective.
Authors
- Meili Wang (ORCID: https://orcid.org/0000-0001-7901-1789)
- HU Jian
- Yixiang ZENG
- Hongjie LIU
Institutions
- Northwest A&F University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11704779/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint