In large-scale pig farming systems, high visual similarity among pigs, complex posture variations, and frequent interactions between individuals pose significant challenges to vision-based multi-behavior detection. To overcome these limitations, this study proposes an improved YOLO11-based pig behavior detection model, termed DWEC-YOLO, for recognizing normal behaviors (standing, lying, sitting, and feeding) and aggressive behaviors (fighting, ear biting, and tail biting). First, the C3k2-DySnake module is embedded within the backbone architecture, enabling more effective extraction of fine-grained visual details. Second, an EUCB-SC module is employed during feature aggregation and works jointly with the CoordAtt mechanism to strengthen multi-scale feature representations, thereby enhancing the network’s sensitivity toward critical interaction areas. In addition, Wise-ShapeIoU is adopted as the bounding-box regression loss to refine localization optimization and produce more accurate object predictions. Comprehensive experiments show that DWEC-YOLO surpasses several representative lightweight detectors, including YOLOv5n, YOLOv7-Tiny, YOLOv8n, YOLOv10n, and YOLOv12n, in detection effectiveness. Relative to the original YOLO11 architecture, DWEC-YOLO improves precision, recall, and mAP@0.5 by 4.28, 4.46, and 2.65 percentage points, respectively, achieving 96.17%, 95.25%, and 97.57%. These outcomes demonstrate that DWEC-YOLO substantially enhances multi-behavior detection in group-housed environments, serving as a dependable tool for automated monitoring in smart livestock farming.
No takes yet. Share an insight, caveat, or question.
Chen et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: