# Multi-Object Detection of Forage Density and Dairy Cow Feeding Behavior Based on an Improved YOLOv10 Model for Smart Pasture Applications

**Authors:** Zhiwei Liu, Jiandong Fang, Yudong Zhao

PMC · DOI: 10.3390/s26041273 · 2026-02-15

## TL;DR

This paper introduces BFDet-YOLO, an improved YOLOv10 model for detecting dairy cow feeding behavior and forage density in smart pasture environments.

## Contribution

The novel BFDet-YOLO model integrates four enhancements for multi-object detection in complex pasture conditions.

## Key findings

- BFDet-YOLO achieves 95.7% mAP@0.5 and 70.7% mAP@0.5:0.95 with only 1.85 M parameters.
- The model outperforms YOLOv10 and other mainstream models in detection accuracy and robustness.
- A pasture-specific dataset was created to support the model's training and evaluation.

## Abstract

In modern smart dairy farms, precise feed management and accurate monitoring of dairy cows’ feeding behavior are crucial for improving production efficiency and reducing feeding costs. However, in practical applications, complex environmental factors such as varying illumination, frequent occlusion, and dense multi-targets pose significant challenges to real-time visual perception. To address these issues, this paper proposes a lightweight multi-target detection model, BFDet-YOLO, for the joint detection of dairy cows’ feeding behavior and feed density levels in pasture environments. Based on the YOLOv10 framework, the model incorporates four targeted improvements: (1) a bidirectional feature fusion network (BiFPN) to address the insufficient multi-scale feature interaction between dairy cows (large targets) and feed particles (small targets); (2) a lightweight downsampling module (Adown) to preserve fine-grained features of feed particles and reduce the risk of small target miss detection; (3) an attention-enhanced detection head (SEAM) to mitigate occlusion interference caused by cow stacking and feed accumulation; (4) an improved bounding box regression loss function (DIoU) to optimize the localization accuracy of non-overlapping small targets. Additionally, this paper constructs a pasture-specific dataset integrating dairy cows’ feeding behavior and feed distribution information, which is annotated and expanded by combining public datasets with on-site monitoring data. Experimental results demonstrate that BFDet-YOLO outperforms the original YOLOv10 and other mainstream target recognition models in terms of detection accuracy and robustness while maintaining a significantly streamlined model scale. On the constructed dataset, the model achieves 95.7% mAP@0.5 and 70.7% mAP@0.5:0.95 with only 1.85 M parameters. These results validate the effectiveness and deployability of the proposed method, providing a reliable visual perception solution for intelligent feeding systems and smart pasture management.

## Full-text entities

- **Diseases:** injury to (MESH:D014947), hoof diseases (MESH:D004194), occlusion (MESH:D001157), pain (MESH:D010146)
- **Chemicals:** ADown (-)
- **Species:** Homo sapiens (human, species) [taxon 9606], Sus scrofa (pig, species) [taxon 9823], Bos taurus (bovine, species) [taxon 9913]
- **Mutations:** S3000C
- **Cell lines:** YOLOv10 — Mus musculus (Mouse), Hybridoma (CVCL_C4R4)

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12944429/full.md

---
Source: https://tomesphere.com/paper/PMC12944429