Back

Protocol-Guided Cross-Domain Transfer Learning for Bovine Facial Pain Recognition under Weak Dairy-Farm Labels

Patel, S.; Neethirajan, S.

2026-06-23 animal behavior and cognition
10.64898/2026.06.18.733162 bioRxiv
Show abstract

Livestock welfare models are developed under controlled experimental conditions but deployed across farms, breeds, management systems and label regimes, where reliability remains uncertain. We introduce the Protocol-Driven Transfer Evaluation (PDTE) framework, which treats the adaptation protocol, comprising label mapping, objective design, domain alignment, model selection, calibration and threshold policy, as the experimental variable and evaluates transfer through animal-level external validation with uncertainty quantification. We apply PDTE to a bovine welfare task involving transfer of a facial pain representation from postoperative beef cattle to dairy cows under shifts in breed, sex, production system, clinical etiology, recording environment and label fidelity. Using an author-collected Canadian Holstein and Jersey dataset with an independent eight-cow test cohort, direct source-domain transfer was weak, with sequence AUC 0.418 and cow-level AUC 0.400. PDTE identified two failure modes under weak supervision: threshold collapse, in which adaptation converges to a single prediction class, and calibration-induced collapse, in which score ranking is preserved while decision behavior deteriorates. Across protocols, objective design dominated performance. Class-balanced focal adaptation achieved stable operating behavior (sequence AUC 0.611; cow-level AUC 0.667), while a target-only model attained comparable performance without source initialization (sequence AUC 0.596; paired p = 0.984), indicating that protocol design and operating-point choices contributed more than pretraining under weak-label conditions. Animal-level uncertainty remained substantial, with a bootstrap 95% confidence interval of 0.20 to 1.00, exceeding the transfer effect. These findings show that transferability limits cannot be inferred from source-domain performance alone and require protocol-controlled, uncertainty-aware evaluation in livestock AI.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

1
Scientific Reports
3612 papers in training set
Top 2%
13.0%
2
PLOS ONE
5266 papers in training set
Top 15%
12.2%
3
Nature Communications
5641 papers in training set
Top 20%
8.1%
4
PLOS Computational Biology
1863 papers in training set
Top 4%
8.1%
5
eLife
5828 papers in training set
Top 24%
5.0%
6
Scientific Data
209 papers in training set
Top 0.8%
3.3%
7
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 16%
3.3%
50% of probability mass above
8
iScience
1154 papers in training set
Top 6%
3.2%
9
Royal Society Open Science
214 papers in training set
Top 2%
2.7%
10
Animals
23 papers in training set
Top 0.3%
2.5%
11
Science Advances
1243 papers in training set
Top 14%
2.5%
12
npj Digital Medicine
118 papers in training set
Top 2%
2.4%
13
Nature Machine Intelligence
70 papers in training set
Top 1%
2.2%
14
Methods in Ecology and Evolution
176 papers in training set
Top 1%
1.7%
15
Epidemics
116 papers in training set
Top 1%
1.5%
16
Philosophical Transactions of the Royal Society B: Biological Sciences
72 papers in training set
Top 1.0%
1.2%
17
Nature Human Behaviour
95 papers in training set
Top 2%
1.0%
18
PLOS Global Public Health
344 papers in training set
Top 7%
1.0%
19
Cell Reports Methods
165 papers in training set
Top 3%
0.9%
20
npj Systems Biology and Applications
125 papers in training set
Top 2%
0.9%
21
One Health
29 papers in training set
Top 0.6%
0.9%
22
Communications Biology
993 papers in training set
Top 29%
0.9%
23
International Journal of Molecular Sciences
494 papers in training set
Top 14%
0.9%
24
Expert Systems with Applications
11 papers in training set
Top 0.4%
0.9%
25
Communications Medicine
113 papers in training set
Top 4%
0.9%
26
Genome Research
468 papers in training set
Top 6%
0.9%
27
BMC Medical Informatics and Decision Making
43 papers in training set
Top 2%
0.9%
28
American Journal of Epidemiology
67 papers in training set
Top 1%
0.9%
29
Frontiers in Artificial Intelligence
20 papers in training set
Top 0.9%
0.6%
30
Frontiers in Bioengineering and Biotechnology
98 papers in training set
Top 3%
0.6%