Transformer neural network to predict and interpret pregnancy loss from activity data in Holstein dairy cows

被引:8
|
作者
Lin, Dan [1 ,2 ]
Kenez, Akos [2 ]
McArt, Jessica A. A. [3 ]
Li, Jun [1 ,2 ,4 ]
机构
[1] City Univ Hong Kong, Shenzhen Res Inst, Shenzhen, Peoples R China
[2] City Univ Hong Kong, Jockey Club Coll Vet Med & Life Sci, Dept Infect Dis & Publ Hlth, Hong Kong, Peoples R China
[3] Cornell Univ, Coll Vet Med, Dept Populat Med & Diagnost Sci, Ithaca, NY USA
[4] City Univ Hong Kong, Sch Data Sci, Hong Kong, Peoples R China
关键词
Precision livestock farming; Dairy cow; Pregnancy loss prediction; Time -series activity; ESTRUS DETECTION; CONCEPTION RISK; TIME; EXPRESSION; RUMINATION; CATTLE; HERDS;
D O I
10.1016/j.compag.2023.107638
中图分类号
S [农业科学];
学科分类号
09 ;
摘要
Predicting/detecting pregnancy loss of dairy cows offers the opportunity to shorten the time interval between artificial inseminations. Although several methods of pregnancy detection are being practiced, models with accurate, timely and interpretable detection of pregnancy are still lacking. This study proposed a transformer neural network to predict the probability of pregnancy loss based on continuous activity data, which were collected from activity-monitoring tags attached to 185 Holstein cows from a commercial dairy farm in Cayuga County, NY, USA. Our best model achieved an average accuracy of 0.87, F1 score of 0.87, recall of 0.87 and specificity of 0.90 using 14-day time-series activity windows (90% overlap) using 5-fold cross-validation, out-performing commonly used classic statistical learning and deep learning models for time-series data. The results indicated that our predictive model gave high probabilities of correctly detecting pregnancy loss prior to the increased activities and veterinary confirmation by transrectal ultrasound. In addition, our model interpretation aligned with the changes in the temporal activity levels, revealing that drastic fluctuations in time-series activity data contributed heavily to the final prediction. To the best of our knowledge, this is the first work on developing transformer models for the prediction of pregnancy loss in dairy cows. In addition to facilitating the development of future precision management on modern farms, our work potentiates an increase in the reproductive efficiency and profitability of dairy farms.
引用
收藏
页数:10
相关论文
共 9 条
  • [1] A statistical method to standardize and interpret the activity data generated by wireless biosensors in dairy cows
    Lee, Wang-Hee
    Lee, Mingyung
    Lee, Dae-Hyun
    Jung, Jae-Min
    Cho, Hyunjin
    Seo, Seongwon
    JOURNAL OF AGRICULTURAL SCIENCE, 2023, 161 (05) : 678 - 685
  • [2] Antioxidant levels, copper and zinc concentrations were associated with postpartum luteal activity, pregnancy loss and pregnancy status in Holstein dairy cows
    Nazari, Alireza
    Dirandeh, Essa
    Ansari-Pirsaraei, Zarbakht
    Deldar, Hamid
    THERIOGENOLOGY, 2019, 133 : 97 - 103
  • [3] Machine Learning to Predict Pregnancy in Dairy Cows: An Approach Integrating Automated Activity Monitoring and On-Farm Data
    Marques, Thaisa Campos
    Marques, Leticia Ribeiro
    Fernandes, Patrick Bezerra
    de Lima, Fabio Soares
    Paim, Tiago do Prado
    Leao, Karen Martins
    ANIMALS, 2024, 14 (11):
  • [4] Genetic parameters of pregnancy loss in dairy cows estimated from pregnancy-associated glycoproteins in milk
    Ask-Gullstrand, P.
    Strandberg, E.
    Bage, R.
    Berglund, B.
    JOURNAL OF DAIRY SCIENCE, 2023, 106 (09) : 6316 - 6324
  • [5] Oestrus detection in dairy cows from activity and lying data using on-line individual models
    Jonsson, R.
    Blanke, M.
    Poulsen, N. K.
    Caponetti, F.
    Hojsgaard, S.
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2011, 76 (01) : 6 - 15
  • [6] APPLICATION OF A NEURAL-NETWORK TO ANALYZE ONLINE MILKING PARLOR DATA FOR THE DETECTION OF CLINICAL MASTITIS IN DAIRY-COWS
    NIELEN, M
    SPIGT, MH
    SCHUKKEN, YH
    DELUYKER, HA
    MAATJE, K
    BRAND, A
    PREVENTIVE VETERINARY MEDICINE, 1995, 22 (1-2) : 15 - 28
  • [7] Analysis of sequential ruminal temperature sensor data from dairy cows to identify cow subgroups by clustering and predict calving through supervised machine learning
    Furukawa, Eri
    Yanagawa, Yojiro
    Matsuzaki, Akira
    Kim, Heejin
    Bai, Hanako
    Takahashi, Masashi
    Katagiri, Seiji
    Higaki, Shogo
    JOURNAL OF REPRODUCTION AND DEVELOPMENT, 2023, 69 (02) : 103 - 108
  • [8] Genome-wide associations for fertility traits in Holstein-Friesian dairy cows using data from experimental research herds in four European countries
    Berry, D. P.
    Bastiaansen, J. W. M.
    Veerkamp, R. F.
    Wijga, S.
    Wall, E.
    Berglund, B.
    Calus, M. P. L.
    ANIMAL, 2012, 6 (08) : 1206 - 1215
  • [9] Validating the accuracy of activity and rumination monitor data from dairy cows housed in a pasture-based automatic milking system
    Elischer, M. F.
    Arceo, M. E.
    Karcher, E. L.
    Siegford, J. M.
    JOURNAL OF DAIRY SCIENCE, 2013, 96 (10) : 6412 - 6422