Monitoring Enrichment Block Pecking Behavior of Cage-Free Laying Hens with Deep Learning
Abstract
1. Introduction
2. Materials and Methods
2.1. Experimental Setup
- PECKstone: A mineral-based grey cylinder (Dimensions: 12″ diameter, 3.75″).
- Purina® Flock Block®: Grain-based dark brown cuboid (Dimensions: 9″ × 9″ × 7.88″).
- ChikPek: Grain-based dark brown cuboid (Dimensions: 8.9″ × 8.8″ × 6.1″).
2.2. Image Acquisition
2.3. Image Pre-Processing and Annotation
2.4. Model Training
2.5. Performance Evaluation
2.5.1. Precision
2.5.2. Recall
2.5.3. mAP50
3. Results
3.1. Performance Metrics
3.2. Confusion Matrix
3.3. F1–Confidence Curve
3.4. Model Training and Performance Analysis
3.5. Model Test
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| AUC | Area Under Curve |
| CNN | Convolutional Neural Network |
| GPU | Graphics Processing Unit |
| IoU | Intersection over Union |
| mAP | Mean Average Precision |
| mAP50 | Mean Average Precision at 50% Intersection over Union threshold |
| ReLU | Rectified Linear Unit |
| UGA | University of Georgia |
| YOLO | You Only Look Once |
References
- USDA NASS. Poultry-Production and Value 2024 Summary; USDA National Agricultural Statistics Service (NASS): Washington, DC, USA, 2025.
- UEP. Facts & Stats-United Egg Producers; United Egg Producers (UEP): Johns Creek, GA, USA, 2025; Available online: https://unitedegg.com/facts-stats/ (accessed on 28 February 2026).
- Shields, S.; Duncan, I.J.H. A comparison of the welfare of hens in battery cages and alternative systems. In Impacts on Farm Animals; Humane Society of the United States (HSUS): Washington, DC, USA, 2009; Volume 18. [Google Scholar]
- Graber, R.; Keller, J. Infographic: Retailers’ Cage-Free Egg Pledges; WATTAgNet: Rockford, IL, USA, 2020. [Google Scholar]
- Ro, C. 2025 Is A Critical Year for Cage-Free Meat and Eggs; Forbes: Jersey City, NJ, USA, 2025. [Google Scholar]
- Kato, H.; Shimizuike, Y.; Yasuda, K.; Yoshimatsu, R.; Yasuda, K.T.; Imamura, Y.; Imai, R. Estimating production costs and retail prices in different poultry housing systems: Conventional, enriched cage, aviary, and barn in Japan. Poult. Sci. 2022, 101, 102194. [Google Scholar] [CrossRef]
- Sumner, D.A.; Matthews, W.A.; Mench, J.A.; Rosen-Molina, J.T. The Economics of Regulations on Hen Housing in California. J. Agric. Appl. Econ. 2010, 42, 429–438. [Google Scholar] [CrossRef]
- Matthews, W.A.; Sumner, D.A. Effects of housing system on the costs of commercial egg production. Poult. Sci. 2014, 94, 552. [Google Scholar] [CrossRef] [PubMed]
- Amirivojdan, A.; Nasiri, A.; Zhou, S.; Zhao, Y.; Gan, H. ChickenSense: A Low-Cost Deep Learning-Based Solution for Poultry Feed Consumption Monitoring Using Sound Technology. AgriEngineering 2024, 6, 2115–2129. [Google Scholar] [CrossRef]
- Lan, J.; Ban, Q. The Farm-Level Economic and Environmental Benefits of Precision Agriculture Technology Adoption: A Meta-Analysis of Global Evidence. Sustainability 2025, 17, 11223. [Google Scholar] [CrossRef]
- Paneru, B.; Dhungana, A.; Dahal, S.; Chai, L. Artificial intelligence in precision poultry farming: Opportunities, challenges, and future features. Anim. Front. 2026, 16, 41–50. [Google Scholar] [CrossRef] [PubMed]
- Hartcher, K.M.; Jones, B. The welfare of layer hens in cage and cage-free housing systems. Worlds Poult. Sci. J. 2017, 73, 767–782. [Google Scholar] [CrossRef]
- Allen, J.; Perry, G.C. Feather pecking and cannibalism in a caged layer flock. Br. Poult. Sci. 1975, 16, 441–451. [Google Scholar] [CrossRef]
- McAdie, T.M.; Keeling, L.J. Effect of manipulating feathers of laying hens on the incidence of feather pecking and cannibalism. Appl. Anim. Behav. Sci. 2000, 68, 215–229. [Google Scholar] [CrossRef]
- Bestman, M.W.P.; Wagenaar, J.P. Farm level factors associated with feather pecking in organic laying hens. Livest. Prod. Sci. 2003, 80, 133–140. [Google Scholar] [CrossRef]
- Rodenburg, T.B.; Van Krimpen, M.M.; De Jong, I.C.; De Haas, E.N.; Kops, M.S.; Riedstra, B.J.; Nordquist, R.E.; Wagenaar, J.P.; Bestman, M.; Nicol, C.J. The prevention and control of feather pecking in laying hens: Identifying the underlying principles. Worlds Poult. Sci. J. 2013, 69, 361–374. [Google Scholar] [CrossRef]
- Savory, C.J. Feather pecking and cannibalism. Worlds Poult. Sci. J. 1995, 51, 215–219. [Google Scholar] [CrossRef]
- Gentle, M.J. Beak trimming in poultry. Worlds Poult. Sci. J. 1986, 42, 268–275. [Google Scholar] [CrossRef]
- Schwarzer, A.; Plattner, C.; Bergmann, S.; Rauch, E.; Erhard, M.; Reese, S.; Louton, H. Feather Pecking in Non-Beak-Trimmed and Beak-Trimmed Laying Hens on Commercial Farms with Aviaries. Animals 2021, 11, 3085. [Google Scholar] [CrossRef]
- Xu, D.; Shu, G.; Liu, Y.; Qin, P.; Zheng, Y.; Tian, Y.; Zhao, X.; Du, X. Farm Environmental Enrichments Improve the Welfare of Layer Chicks and Pullets: A Comprehensive Review. Animals 2022, 12, 2610. [Google Scholar] [CrossRef]
- Iqbal, Z.; Drake, K.; Swick, R.A.; Taylor, P.S.; Perez-Maldonado, R.A.; Ruhnke, I. Effect of pecking stones and age on feather cover, hen mortality, and performance in free-range laying hens. Poult. Sci. 2020, 99, 2307–2314. [Google Scholar] [CrossRef] [PubMed]
- Kliphuis, S.; Manet, M.W.E.; Goerlich, V.C.; Nordquist, R.E.; Vernooij, H.; van den Brand, H.; Tuyttens, F.A.M.; Rodenburg, T.B. Early-life interventions to prevent feather pecking and reduce fearfulness in laying hens. Poult. Sci. 2023, 102, 102801. [Google Scholar] [CrossRef]
- McAuley, M.; Caston, L.J.; Widowski, T.M. Laying hens prefer softer over harder mineral-based pecking stones and peck them more at the end of the light period. Poult. Sci. 2025, 104, 104575. [Google Scholar] [CrossRef]
- Berckmans, D. Precision livestock farming: From where we came and where we go. Anim. Biosci. 2026, 39, 260110. [Google Scholar] [CrossRef] [PubMed]
- Okinda, C.; Nyalala, I.; Korohou, T.; Okinda, C.; Wang, J.T.; Achieng, T.; Wamalwa, P.; Mang, T.; Shen, M.X. A review on computer vision systems in monitoring of poultry: A welfare perspective. Artif. Intell. Agric. 2020, 4, 184–208. [Google Scholar] [CrossRef]
- Qin, W.X.; Yang, X.; Wang, Y.; Wei, Y.X.; Zhou, Y.; Zheng, W.C. YOLOPoul: Performance evaluation of a novel YOLO object detectors benchmark for multi-class manure identification to warn about poultry digestive diseases. Smart Agric. Technol. 2025, 12, 101145. [Google Scholar] [CrossRef]
- Bumbálek, R.; Umurungi, S.N.; Ufitikirezi, J.D.M.; Zoubek, T.; Kuneš, R.; Stehlík, R.; Lin, H.I.; Bartoš, P. Deep learning in poultry farming: Comparative analysis of Yolov8, Yolov9, Yolov10, and Yolov11 for dead chickens detection. Poult. Sci. 2025, 104, 105440. [Google Scholar] [CrossRef] [PubMed]
- Jocher, G.; Qiu, J. Ultralytics YOLO26; Ultralytics: Frederick, MD, USA, 2026. [Google Scholar]
- Subedi, S.; Bist, R.; Yang, X.; Chai, L. Tracking floor eggs with machine vision in cage-free hen houses. Poult. Sci. 2023, 102, 102637. [Google Scholar] [CrossRef]
- Paneru, B.; Bist, R.; Yang, X.; Chai, L. Tracking dustbathing behavior of cage-free laying hens with machine vision technologies. Poult. Sci. 2024, 103, 104289. [Google Scholar] [CrossRef] [PubMed]
- Elmessery, W.M.; Gutiérrez, J.; Abd El-Wahhab, G.G.; Elkhaiat, I.A.; El-Soaly, I.S.; Alhag, S.K.; Al-Shuraym, L.A.; Akela, M.A.; Moghanm, F.S.; Abdelshafie, M.F. YOLO-Based Model for Automatic Detection of Broiler Pathological Phenomena through Visual and Thermal Images in Intensive Poultry Houses. Agriculture 2023, 13, 1527. [Google Scholar] [CrossRef]
- Garg, D.; Goel, N. LameDetect: A hybrid YOLO and CNN model for early lameness detection in poultry chickens. Comput. Electron. Agric. 2026, 240, 111239. [Google Scholar] [CrossRef]
- Subedi, S.; Bist, R.; Yang, X.; Chai, L. Tracking pecking behaviors and damages of cage-free laying hens with machine vision technologies. Comput. Electron. Agric. 2023, 204, 107545. [Google Scholar] [CrossRef]
- CVAT.ai. Computer Vision Annotation Tool (CVAT); CVAT.ai v2.61.0: Wilmington, DE, USA, 2023. [Google Scholar]
- Paneru, B.; Yang, X.; Dhungana, A.; Dahal, S.; Ritz, C.W.; Kim, W.; Liu, T.M.; Chai, L.L. Monitoring the ramp use of cage-free laying hens with deep learning technologies. Poult. Sci. 2025, 104, 105858. [Google Scholar] [CrossRef]
- Dahal, S.; Yang, X.; Paneru, B.; Dhungana, A.; Chai, L. Automatic Detection of Foraging Hens in a Cage-Free Environment with Computer Vision Technology. Poultry 2025, 4, 34. [Google Scholar] [CrossRef]
- Nasirahmadi, A.; Gonzalez, J.; Sturm, B.; Hensel, O.; Knierim, U. Pecking activity detection in group-housed turkeys using acoustic data and a deep learning technique. Biosyst. Eng. 2020, 194, 40–48. [Google Scholar] [CrossRef]
- Yu, Z.; Wan, L.; Yousaf, K.; Lin, H.; Zhang, J.; Jiao, H.C.; Yan, G.Q.; Song, Z.H.; Tian, F.Y. An enhancement algorithm for head characteristics of caged chickens detection based on cyclic consistent migration neural network. Poult. Sci. 2024, 103, 103663. [Google Scholar] [CrossRef] [PubMed]








| Model | Precision | Recall | mAP50 |
|---|---|---|---|
| YOLOv10s | 0.946 | 0.962 | 0.984 |
| YOLOv10l | 0.954 | 0.957 | 0.980 |
| YOLO11s | 0.954 | 0.961 | 0.982 |
| YOLO11l | 0.969 | 0.959 | 0.988 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Dahal, S.; Paneru, B.; Dhungana, A.; Chai, L. Monitoring Enrichment Block Pecking Behavior of Cage-Free Laying Hens with Deep Learning. AgriEngineering 2026, 8, 227. https://doi.org/10.3390/agriengineering8060227
Dahal S, Paneru B, Dhungana A, Chai L. Monitoring Enrichment Block Pecking Behavior of Cage-Free Laying Hens with Deep Learning. AgriEngineering. 2026; 8(6):227. https://doi.org/10.3390/agriengineering8060227
Chicago/Turabian StyleDahal, Samin, Bidur Paneru, Anjan Dhungana, and Lilong Chai. 2026. "Monitoring Enrichment Block Pecking Behavior of Cage-Free Laying Hens with Deep Learning" AgriEngineering 8, no. 6: 227. https://doi.org/10.3390/agriengineering8060227
APA StyleDahal, S., Paneru, B., Dhungana, A., & Chai, L. (2026). Monitoring Enrichment Block Pecking Behavior of Cage-Free Laying Hens with Deep Learning. AgriEngineering, 8(6), 227. https://doi.org/10.3390/agriengineering8060227

