MMBs_TransNeXt: a hierarchical adaptive feature learning model for pig behavior recognition in precision livestock farming.
Meng Han, Wangli Hao, Hao Shu, Xinyuan Hu, Qingqing Li, Fuzhong Li
School of Information Science and Engineering, Shanxi Agricultural University, Jinzhong, China. · Faculty of Software Technologies, Shanxi Agricultural University, Jinzhong, China.
Key points
From the paper's conclusion- Extensive experiments on a real-world pig behavior dataset validate that MMBs_TransNeXt attains state-of-the-art performance with 95.77% accuracy, substantially outperforming representative CNN and Transformer baselines.
Abstract
Accurate recognition of pig behavior plays a critical role in enhancing animal welfare and management efficiency for precision livestock farming. Nevertheless, existing methods are commonly limited by rigid feature fusion strategies, insufficient preservation of spatial details, and weak interactions across hierarchical features, which severely compromise recognition performance in complex farm scenarios. To address these challenges, we present a novel deep learning architecture termed MMBs_TransNeXt for pig behavior recognition. This model establishes a unified, hierarchical and adaptive feature learning framework. It employs Multi-stage Adaptive Feature Fusion (MAFF) to adaptively integrate semantic and fine-grained information across different network stages. It enhances the representation of subtle behavioral traits through Multi-scale Detail Fusion Convolution (MDFC). Meanwhile, it facilitates effective information communication and interaction among multi-level features via Bidirectional Modulation Feature Fusion (BMFF). Extensive experiments on a real-world pig behavior dataset validate that MMBs_TransNeXt attains state-of-the-art performance with 95.77% accuracy, substantially outperforming representative CNN and Transformer baselines. This work offers a robust technical foundation for intelligent visual monitoring and welfare evaluation in modern precision pig farming systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Fine-Grained Pig Behavior Recognition Method Based on an Improved YOLOv8n Network.Animals : an open access journal from MDPI · 2026
- Feeding behavior recognition of group-housed pigs based on pose estimation and keypoint features discriminationComputers and Electronics in Agriculture · 2025
- DWEC-YOLO: A Multi-Behavior Detection Model for Group-Housed Pigs.Animals : an open access journal from MDPI · 2026
- MGB-Former: An Enhanced Mask2Former for Pig Instance Segmentation in Complex Pig-House EnvironmentsAgriEngineering · 2026
- A review of cattle behavior recognition methods based on computer vision and deep learningSmart Agricultural Technology · 2026
- Benchmarking pig detection and tracking under diverse and challenging conditionsComputers and Electronics in Agriculture · 2025