Iowa State University - Thesis & Dissertation
Prediction of the onset of farrowing using sensor technologies: A semi-supervised approach
Abstract
dc:description.abstractFarrowing is one of the most critical and labor-intensive stages of swine production, with approximately 11% of piglets born dead, and most of these deaths occurring intrapartum due to asphyxiation. Continuous monitoring of farrowing sows could enable timely intervention and reduce this portion of piglet mortality, but direct human observation is impractical at a commercial scale. Existing computer vision (CV) and accelerometer-based approaches for predicting farrowing onset typically rely on supervised learning models that require extensive labeled training data and do not generalize well across environments. The objective of this thesis was to develop and evaluate non-supervised analytical methods, applied to both visual and accelerometer-based sensor data, for predicting the onset of farrowing in commercial swine production. In Chapter 2, a Foundation Vision Model (FVM) was used to segment and track sows in farrowing crates, requiring only a single manually annotated reference frame per sow. Seventeen morphological image features were extracted from the resulting masks and analyzed using a linear mixed model to identify low-repeatability features that reflect within-sow behavioral change. Isolation forest models trained on baseline activity (50 hours or more before farrowing) successfully detected pre-farrowing behavioral changes, with anomaly score peaks occurring an average of 13.7 hours before birth of the first piglet. In Chapter 3, accelerometers were used to collect data from ear-mounted sensors. 94 sows were analyzed using a Kalman filter with fixed interval smoothing. Three confidence intervals (68, 90, and 95%) were evaluated, with first- and second-stage alarms generated when the observed variance in activity crossed the upper or lower bounds of the prediction interval. After data transformation using sows with known farrowing times, the 95% confidence interval second-stage alarm provided the most useful prediction, occurring an average of 12.6 hours before farrowing. Together, these studies demonstrate that non-supervised analytical methods, applied to both computer vision and accelerometer data, can reliably predict the onset of farrowing without the labor-intensive labeling required by supervised approaches. By treating each sow as her own behavioral reference, these methods align with the Continuous Individual-level Time-series Data framework that is central to Precision Livestock Farming. The findings support the development of scalable, low-supervision tools for farrowing detection that could improve sow welfare, reduce piglet mortality, and provide phenotypic data for genetic improvement of farrowing performance.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- thesis
- Discipline thesis:degree_discipline
- Animal sciences
- Grantor
- Iowa State University - Thesis & Dissertation
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Berg, Isaac, Philip
- Advisor dc:contributor.advisor
-
- Steibel, Juan
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/108106