EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

DST: a Dual-path Swin Transformer framework for pig behavior recognition

Wangli Hao, Yujie Zhang, Hao Shu, Meng Han, Jiali Su, Qingqing Li, Fuzhong Li

Frontiers in Veterinary Science · 14.07.2026 · 13

DOI: 10.3389/fvets.2026.1868422 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Frontiers in Veterinary Science, online erschienen am 14.07.2026. Verfasst von Wangli Hao und 6 weiteren Autor:innen. Beteiligte Einrichtung: Faculty of Software Technologies, Shanxi Agricultural University, Jinzhong, Shanxi, China. Die Arbeit nennt 29 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Shanxi Agricultural University, Key Research and Development Program of Zhejiang Province.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Pig behavior recognition is a crucial component of intelligent animal health monitoring. In complex pigpen environments, traditional vision-based methods often exhibit poor feature robustness and deficient spatial-channel dependency modeling, two key limitations that compromise reliable performance. To mitigate these limitations, this study proposes a Dual-path Swin Transformer (DST) framework. This framework consists of two complementary paths for feature learning: a frequency-domain path and a spatial-domain path with enhanced channel modeling. In the frequency-domain path, a novel Frequency-domain Fusion Filter Module (FFM) is introduced. The Ideal Low-pass Filter extracts coarse-scale global structural features, while the Gaussian High-pass Filter captures fine-grained local edge features. In the spatial-domain path, an effective Decoupled Spatial-Channel Attention (DSCA) mechanism is developed. The spatial attention branch adaptively enhances features in key regions, and the channel attention branch automatically strengthens the weights of feature channels highly correlated with pig behaviors. The proposed DST is validated on a dataset containing 2,755 video clips covering six typical behaviors. Results show that DST achieves a recognition accuracy of 94.94%, which is 1.45 percentage points higher than the baseline Swin Transformer. These findings demonstrate that DST provides an effective and robust solution for automated pig behavior monitoring in complex agricultural environments.

Schlagwörter

Stichwörter der Autor:innen

Dual-path Swin Transformercomplex pigpen environmentsdecoupled spatial-channel attentionfrequency-domain fusion filter modulepig behavior recognition

Autor:innen und Institutionen

  • Faculty of Software Technologies, Shanxi Agricultural University, Jinzhong, Shanxi, China.
  • School of Information Science and Engineering, Shanxi Agricultural University, Jinzhong, Shanxi, China.

Förderung

  • Shanxi Agricultural University
  • Key Research and Development Program of Zhejiang Province

Zitieren

APA

Hao, W., Zhang, Y., Shu, H., Han, M., Su, J., Li, Q., & Li, F. (2026). DST: a Dual-path Swin Transformer framework for pig behavior recognition. Frontiers in Veterinary Science, 13. https://doi.org/10.3389/fvets.2026.1868422

Vancouver

Hao W, Zhang Y, Shu H, Han M, Su J, Li Q, et al. DST: a Dual-path Swin Transformer framework for pig behavior recognition. Frontiers in Veterinary Science. 2026;13. doi:10.3389/fvets.2026.1868422

BibTeX
@article{Hao2026,
  author = {Hao, Wangli and Zhang, Yujie and Shu, Hao and Han, Meng and Su, Jiali and Li, Qingqing and Li, Fuzhong},
  title = {DST: a Dual-path Swin Transformer framework for pig behavior recognition},
  journal = {Frontiers in Veterinary Science},
  year = {2026},
  volume = {13},
  doi = {10.3389/fvets.2026.1868422}
}
Kostenlos starten →