IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2024i11p2084-d1524416.html
   My bibliography  Save this article

Mastitis Classification in Dairy Cows Using Weakly Supervised Representation Learning

Author

Listed:
  • Soo-Hyun Cho

    (Department of Biosystems Machinery Engineering, Chungnam National University, Daejeon 34134, Republic of Korea)

  • Mingyung Lee

    (Division of Animal and Dairy Sciences, Chungnam National University, Daejeon 34134, Republic of Korea)

  • Wang-Hee Lee

    (Department of Biosystems Machinery Engineering, Chungnam National University, Daejeon 34134, Republic of Korea)

  • Seongwon Seo

    (Division of Animal and Dairy Sciences, Chungnam National University, Daejeon 34134, Republic of Korea)

  • Dae-Hyun Lee

    (Department of Biosystems Machinery Engineering, Chungnam National University, Daejeon 34134, Republic of Korea)

Abstract

Detecting mastitis on time in dairy cows is crucial for maintaining milk production and preventing significant economic losses, and machine learning has recently gained significant attention as a promising solution to address this issue. Most studies have detected mastitis on time series data using a supervised learning model, which requires the scale of labeled data; however, annotating the onset of mastitis in milking data from dairy cows is very difficult and costly, while supervised learning relies on accurate labels for ensuring the performance. Therefore, this study proposed a mastitis classification based on weakly supervised representation learning using an autoencoder on time series milking data, which allows for concurrent milking representation learning and weakly supervision with low-cost labels. The proposed method employed a structure where the classifier branches from the latent space of a 1D-convolutional autoencoder, enabling representation learning of milking data to be conducted from the perspective of reconstructing the original information and detecting mastitis. The branched classifier backpropagate the mastitis symptoms, which are less costly than mastitis diagnosis, during the encoder’s representation learning. The results showed that the proposed method achieved an F1-score of 0.6 that demonstrates performance comparable to previous studies despite using low-cost labels. Our method has the advantage of being easily reproducible across various data domains through low-cost annotation for supervised learning and is practical as it can be implemented with just milking data and weak labels, which can be collected in the field.

Suggested Citation

  • Soo-Hyun Cho & Mingyung Lee & Wang-Hee Lee & Seongwon Seo & Dae-Hyun Lee, 2024. "Mastitis Classification in Dairy Cows Using Weakly Supervised Representation Learning," Agriculture, MDPI, vol. 14(11), pages 1-17, November.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:11:p:2084-:d:1524416
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/11/2084/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/11/2084/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Rebecca Schewe & Diana Stuart, 2015. "Diversity in agricultural technology adoption: How are automatic milking systems used and to what end?," Agriculture and Human Values, Springer;The Agriculture, Food, & Human Values Society (AFHVS), vol. 32(2), pages 199-213, June.
    2. Hurt, Chris, 2015. "Beef Herd Expanding Quickly, But Will It Continue?," farmdoc daily, University of Illinois at Urbana-Champaign, Department of Agricultural and Consumer Economics, vol. 5, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. McGrath, Karen & Brown, Claire & Regan, Áine & Russell, Tomás, 2023. "Investigating narratives and trends in digital agriculture: A scoping study of social and behavioural science studies," Agricultural Systems, Elsevier, vol. 207(C).
    2. Balaine, Lorraine & Dillon, Emma J. & Läpple, Doris & Lynch, John, 2020. "Can technology help achieve sustainable intensification? Evidence from milk recording on Irish dairy farms," Land Use Policy, Elsevier, vol. 92(C).
    3. Kim S. Alexander & Garry Greenhalgh & Magnus Moglia & Manithaythip Thephavanh & Phonevilay Sinavong & Silva Larson & Tom Jovanovic & Peter Case, 2020. "What is technology adoption? Exploring the agricultural research value chain for smallholder farmers in Lao PDR," Agriculture and Human Values, Springer;The Agriculture, Food, & Human Values Society (AFHVS), vol. 37(1), pages 17-32, March.
    4. Emily Duncan & Alesandros Glaros & Dennis Z. Ross & Eric Nost, 2021. "New but for whom? Discourses of innovation in precision agriculture," Agriculture and Human Values, Springer;The Agriculture, Food, & Human Values Society (AFHVS), vol. 38(4), pages 1181-1199, December.
    5. Omar Abu Hassim & Ismah Osman & Asmah Awal & Fhaisol Mat Amin, 2024. "Navigating the Path to Equitable and Sustainable Digital Agriculture among Small Farmers in Malaysia: A Comprehensive Review," Information Management and Business Review, AMH International, vol. 16(2), pages 173-188.
    6. Marie A. Hayden & Menekse S. Barim & Darlene L. Weaver & K. C. Elliott & Michael A. Flynn & Jennifer M. Lincoln, 2022. "Occupational Safety and Health with Technological Developments in Livestock Farms: A Literature Review," IJERPH, MDPI, vol. 19(24), pages 1-11, December.
    7. Ferreira Gonzaga, Jenifer & Vilpoux, Olivier François & Gomes Pereira, Matheus Wemerson, 2019. "Factors influencing technological practices in the Brazilian agrarian reform," Land Use Policy, Elsevier, vol. 80(C), pages 150-162.
    8. Jérémie Forney & Angga Dwiartama & Dana Bentia, 2023. "Everyday digitalization in food and agriculture: Introduction to the symposium," Agriculture and Human Values, Springer;The Agriculture, Food, & Human Values Society (AFHVS), vol. 40(2), pages 417-421, June.
    9. Patrick Baur & Alastair Iles, 2023. "Inserting machines, displacing people: how automation imaginaries for agriculture promise ‘liberation’ from the industrialized farm," Agriculture and Human Values, Springer;The Agriculture, Food, & Human Values Society (AFHVS), vol. 40(3), pages 815-833, September.
    10. Guang Chen & Yue Deng & Apurbo Sarkar & Zhengbing Wang, 2022. "An Integrated Assessment of Different Types of Environment-Friendly Technological Progress and Their Spatial Spillover Effects in the Chinese Agriculture Sector," Agriculture, MDPI, vol. 12(7), pages 1-24, July.
    11. Iordanis Parikoglou & Grigorios Emvalomatis & Fiona Thorne, 2022. "Precision livestock agriculture and productive efficiency: The case of milk recording in Ireland," Agricultural Economics, International Association of Agricultural Economists, vol. 53(S1), pages 109-120, November.
    12. Martinsson, Elin & Storm, Hugo, 2022. "Evaluating environmental effects of the adoption of automatic milking systems in Norway," 96th Annual Conference, April 4-6, 2022, K U Leuven, Belgium 321199, Agricultural Economics Society - AES.
    13. Anastasiia BURDIUZHA, 2021. "Qualitative Assessment Of Precision Dairy Farming Impact On Farm Sustainability In Ukraine: The Farmers' Perspective," SEA - Practical Application of Science, Romanian Foundation for Business Intelligence, Editorial Department, issue 27, pages 163-173, December.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:11:p:2084-:d:1524416. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.