Skip to search boxSkip to navigationSkip to main content

Behaviour recognition of tail and ear biting in pigs using AI-based computer vision

Output:
Contribution to journal
Article
Academic
Peer-review

Open access

Information

Output type

Output:
Contribution to journal
Article
Academic
Peer-review

Original language

English

Article number

101713

Journal (Volume, Issue Number)

Smart Agricultural Technology (Volume 13)

Publication milestones

  • E-pub ahead of print - 17/12/2025
  • Published - 03/2026

Publication status

Published - 03/2026

ISSN

2772-3755

Funding Details

This work is supported by the Dutch scientific foundation (NWO) project IMAGEN [P18-19 Project 1] of the “Perspectief” research programme. This work used the Dutch national e-infrastructure with the support of the SURF Cooperative, using Grant No. EINF-9899. The commercial farm in Germany was offered by Topigs Norsvin for conducting the video recordings. We are grateful to the researchers and student assistants from Wageningen University & Research and Eindhoven University of Technology for their help with the ground-truth annotations of the bounding boxes and behaviour labels.

Abstract

Damaging behaviours in pigs, such as tail biting and ear biting, compromise animal welfare and farm productivity. Continuous monitoring of these behaviours is essential to intervene before escalation, gain insights into underlying causes and develop breeding programs to select pigs with lower genetic propensity for such behaviours. However, manual observations are impractical at a large-scale. To address this challenge, we propose a video-based behaviour recognition model that facilitates the automated monitoring of individual pigs. Two state-of-the-art video-based methods are investigated: SlowFast and Improved Multiscale Vision Transformers (MViTv2) for recognizing tail and ear biting in pigs, by exploiting spatiotemporal domain features. Data are collected on a commercial pig farm. In total, 532 tail-biting events (63,815 frames) and 750 ear-biting events (78,132 frames) are annotated across seven pens of tail-docked pigs. Tail biting and ear biting are defined as nibbling, sucking, chewing, or biting the tail or the ear of a pen mate. The best-performing method is based on the MViTv2-S model, which enables efficient spatiotemporal modeling. The detection accuracies obtained for tail and ear biting are 72.22 % and 72.37 %, respectively. An important and novel aspect to our knowledge is that for the first time, behaviour detection is developed without a posture requirement on the biter or the victim. The conducted experiments demonstrate the feasibility of computer-vision-based models for the recognition of damaging behaviours on commercial pig farms. This study is a crucial step towards the development of an automated early-warning approach and breeding programs to reduce tail biting and ear biting.

Metrics

Metrics

Scopus
citations
1
SciVal
FWCI
1.59
SciVal
Author count
10
SciVal
Paper percentile
82
SciVal
citations
1
Download statistics
Download count
78