Lightweight patch-level attention for efficient pig behavior detection: A novel dataset and approach

The pig farming industry plays a crucial role in food production system. Pig behavior detection facilitates timely anomaly detection, enhances farming efficiency, ensures animal welfare, and prevents diseases. Pig behavior detection involves the automatic recognition and classification of pig behaviors in farm images using computer vision and deep learning techniques. Currently, mainstream approaches for pig behavior detection utilize neural networks for image analysis and recognition, however, deep neural network architectures are inherently complex and computationally intensive, with potential for further accuracy enhancement. To address these challenges, we propose a lightweight pig behavior detection model that integrates prediction head optimization and GIoU for improved bounding box regression, while utilizing patch-level attention instead of global attention and employing depthwise separable convolutions in place of standard convolutions. These modifications facilitate efficient and accurate identification and classification of five common pig behaviors in farm environments. Experimental results demonstrate that the proposed method achieves enhanced performance and efficiency.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-08-12
DOI
https://doi.org/10.1016/j.atech.2025.101299
Primary Topic
Animal Behavior and Welfare Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lightweight patch-level attention for efficient pig behavior detection: A novel dataset and approach

Tao Han, Shuo Wan, Ying Sha, Huang Zhongqiang
Smart Agricultural Technology
Animal Behavior and Welfare Studies
article

Lightweight patch-level attention for efficient pig behavior detection: A novel dataset and approach

Tao Han, Shuo Wan, Ying Sha, Huang Zhongqiang
article en

Abstract

The pig farming industry plays a crucial role in food production system. Pig behavior detection facilitates timely anomaly detection, enhances farming efficiency, ensures animal welfare, and prevents diseases. Pig behavior detection involves the automatic recognition and classification of pig behaviors in farm images using computer vision and deep learning techniques. Currently, mainstream approaches for pig behavior detection utilize neural networks for image analysis and recognition, however, deep neural network architectures are inherently complex and computationally intensive, with potential for further accuracy enhancement. To address these challenges, we propose a lightweight pig behavior detection model that integrates prediction head optimization and GIoU for improved bounding box regression, while utilizing patch-level attention instead of global attention and employing depthwise separable convolutions in place of standard convolutions. These modifications facilitate efficient and accurate identification and classification of five common pig behaviors in farm environments. Experimental results demonstrate that the proposed method achieves enhanced performance and efficiency.

Smart Agricultural TechnologyVol. 12
Huazhong Agricultural University (CN), Ministry of Agriculture (CA), Ministry of Agriculture and Rural Affairs (CN), Hubei Academy of Agricultural Sciences (CN), Hubei University of Technology (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 77%
Animal Behavior and Welfare Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lightweight patch-level attention for efficient pig behavior detection: A novel dataset and approach — Tao Han, Shuo Wan, et al. · Smart Agricultural Technology (2025) | TGRS Research Map | TGRS