Robust broiler pose estimation in diverse farming environments: A teacher–student test-time adaptation approach

Broiler pose estimation (BPE) is pivotal for behavioral analysis and health monitoring in poultry farming, with recent deep learning significantly enhancing its precision. Existing models critically depend on the independent and identically distributed (i.i.d.) assumption between training and testing data. However, this assumption is frequently violated in dynamic farming environments due to varying lighting conditions, weather changes, and heterogeneous barn layouts. For example, models trained on sunny-condition images may perform poorly in rainy environments, a challenge known in artificial intelligence as domain shift. To address this, we introduce a novel teacher–student test-time adaptation (T/S-TTA) for BPE. T/S-TTA uses multi-domain data augmentation (MDA) to simulate real-world variability, broadening input distribution for unpredictable broiler conditions. Augmented data informs a teacher–student architecture, where the teacher extracts resilient features from transformed inputs. These features guide the student model to predict target images. To ensure consistent performance across shifting domains, dynamic sample selection (DSS) evaluates sample quality through prediction confidence metrics. High-quality samples reinforce reliable features through positive learning, while low-quality samples are suppressed via negative learning to suppress misleading features. Then, the random restoration mechanism resets student parameters periodically to retain source knowledge. The adapted parameters acquire cross-domain generalization, significantly improving final pose estimation accuracy. Experimental validation uses standardized dataset for general performance evaluation and challenging farm-collected dataset for domain shift testing. The framework achieves 72.3% mAP@50–95, 77.6% mAR, 75.3% [email protected] accuracy and 11.2 px Avg. PE in cross-domain setups, establishing state-of-the-art performance for BPE under dynamic farming conditions. • First to identify domain shift in broiler pose estimation. • Proposed teacher–student test-time adaptation (T/S-TTA) framework. • Enables deployment-stage model optimization. • Significant performance gains in diverse farming environments. • 72.3% mAP@50–95 and 75.3% [email protected] under domain shifts.

Authors

Institutions

Publication Details

Journal
Computers and Electronics in Agriculture
Published
2026-01-05
DOI
https://doi.org/10.1016/j.compag.2025.111403
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Robust broiler pose estimation in diverse farming environments: A teacher–student test-time adaptation approach

Zhenlei Zhou, Qianqian Liu, Xiaoman Wang, Shuai Li et al.
Computers and Electronics in Agriculture
Animal Behavior and Welfare Studies
article

Robust broiler pose estimation in diverse farming environments: A teacher–student test-time adaptation approach

Zhenlei Zhou, Qianqian Liu, Xiaoman Wang, Shuai Li, Xuanting Lin
article en

Abstract

Broiler pose estimation (BPE) is pivotal for behavioral analysis and health monitoring in poultry farming, with recent deep learning significantly enhancing its precision. Existing models critically depend on the independent and identically distributed (i.i.d.) assumption between training and testing data. However, this assumption is frequently violated in dynamic farming environments due to varying lighting conditions, weather changes, and heterogeneous barn layouts. For example, models trained on sunny-condition images may perform poorly in rainy environments, a challenge known in artificial intelligence as domain shift. To address this, we introduce a novel teacher–student test-time adaptation (T/S-TTA) for BPE. T/S-TTA uses multi-domain data augmentation (MDA) to simulate real-world variability, broadening input distribution for unpredictable broiler conditions. Augmented data informs a teacher–student architecture, where the teacher extracts resilient features from transformed inputs. These features guide the student model to predict target images. To ensure consistent performance across shifting domains, dynamic sample selection (DSS) evaluates sample quality through prediction confidence metrics. High-quality samples reinforce reliable features through positive learning, while low-quality samples are suppressed via negative learning to suppress misleading features. Then, the random restoration mechanism resets student parameters periodically to retain source knowledge. The adapted parameters acquire cross-domain generalization, significantly improving final pose estimation accuracy. Experimental validation uses standardized dataset for general performance evaluation and challenging farm-collected dataset for domain shift testing. The framework achieves 72.3% mAP@50–95, 77.6% mAR, 75.3% [email protected] accuracy and 11.2 px Avg. PE in cross-domain setups, establishing state-of-the-art performance for BPE under dynamic farming conditions. • First to identify domain shift in broiler pose estimation. • Proposed teacher–student test-time adaptation (T/S-TTA) framework. • Enables deployment-stage model optimization. • Significant performance gains in diverse farming environments. • 72.3% mAP@50–95 and 75.3% [email protected] under domain shifts.

Computers and Electronics in AgricultureVol. 243
Nanjing Agricultural University (CN)
Zero hunger
Openalex Percentile: Top 97%
Animal Behavior and Welfare Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.