Protocol-Guided Cross-Domain Transfer Learning for Bovine Facial Pain Recognition under Weak Dairy-Farm Labels
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.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Beyond Accuracy: Reliability-Aware Cross-Farm Evaluation of Dairy Cow Vocalization Models
Mayuri Kate, Suresh Raja Neethirajan·bioRxiv·Jun 22, 2026
- CNN and transfer learning-based classification model for automated cows feeding behaviour recognition from accelerometer data
V. Bloch, L. Frondelius, … M. Pastell·bioRxiv·Jul 3, 2022
- Dairy vs. beef production - expert views on welfare
R. Mandel, M. B. M. Bracke, … L. Gygax·bioRxiv·Dec 6, 2021
- Happy Cow or Thinking Pig? WUR Wolf Facial Coding Platform for Measuring Emotions in Farm Animals
S. Neethirajan·bioRxiv·Apr 9, 2021
- Impact of cross-validation designs on cattle behavior prediction using machine learning and deep learning models with tri-axial accelerometer data
Jin Wang, Ziwen Yu, … Haipeng Yu·Smart Agricultural TechnologyPeer-reviewed·Oct 10, 2025
- Cows visually discriminate and cross-modally recognise familiar and unfamiliar human faces in videos
Océane Amichaud, Julie Lemarchand, … Léa Lansade·PLoS ONEPeer-reviewed·May 20, 2026