Wednesday, December 2, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Biology

Deep learning model identifies donkeys across postures in single-farm video study

December 2, 2026
in Biology, Medicine
William Thompson
By William Thompson Scienmag Editorial Profile - Livestock Health and Welfare
Reading Time: 6 mins read
0
Deep learning model identifies donkeys across postures in single-farm video study

Deep learning model identifies donkeys across postures in single-farm video study

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A deep learning framework named DonkeyID-Net identified individual donkeys from overhead surveillance video with 96.5% Rank-1 accuracy and 94.8% mean average precision under a closed-set retrieval protocol while classifying standing and lying postures at 94.5% accuracy. Published as an original research article in Frontiers in Veterinary Science by Jianrui Qu, Chunxin Wang, and colleagues at Jilin Agricultural University, Jilin Academy of Agricultural Sciences, Liaoyuan Academy of Agricultural Sciences, and Northeast Agricultural University, the study evaluated 15,337 images from 23 clinically healthy Dezhou black donkeys at a single commercial breeding farm in Liaoyuan City, Jilin Province, China. Video was recorded continuously from October 1 to October 7, 2025. Although DonkeyID-Net outperformed four comparison models—especially when matching standing and lying views—the authors emphasize that cross-farm, cross-breed, and seasonal generalization remain unverified, and anomaly detection was tested only on simulated behavioral shifts rather than veterinary-confirmed clinical cases.

Individual identification and posture tracking carry particular welfare stakes in donkey farming because donkeys, as a prey species, show strong stoicism; by the time overt signs of illness appear, disease has often reached an advanced stage. Cited studies note that limb abnormalities in working donkeys are frequently accompanied by limb lifting, weight shifting, and reduced activity, whereas colic typically produces lethargy, decreased appetite, isolation, or recumbency rather than obvious abdominal pain. Non-contact visual identification reduces the physical harm and stress linked to plastic ear tags or radio frequency identification, and trunk-based overhead imaging keeps cameras farther from animals than retina, muzzle, or facial setups. However, top-view body recognition faces a major barrier: standing and lying donkeys look dramatically different, causing posture transitions to trigger identity switches, while existing posture-correction methods often require costly keypoint annotations, additional sensors, or complex multi-camera calibration.

The team monitored 23 Dezhou black donkeys across three growth stages—six foals (four male, two female), seven female growing animals, and 10 female adults—housed in two adjacent pens of 11 and 12 animals. Each enclosure combined an 80-square-meter indoor resting area and a 200-square-meter outdoor activity area. Two EZVIZ C8C pan-tilt cameras mounted 3 meters above the feeding troughs recorded at 25 frames per second and 1,920 by 1,080 resolution under daytime, overcast, and nighttime infrared illumination. Using a pre-trained YOLOv11n detector and DeepSORT tracking, researchers cropped regions of interest every 10 frames and resized them to 224 by 224 pixels, yielding 11,718 standing images and 3,619 lying images (278 to 1,515 per donkey). Two trained observers independently labeled postures, with a third senior annotator resolving disagreements (Cohen’s kappa 0.94). Identities were partitioned into 15 training donkeys (8,755 images), three validation donkeys (1,949 images), and five test donkeys (4,633 images), separating query and gallery frames by at least 10 minutes.

DonkeyID-Net processes each cropped image through four sequential stages in a single end-to-end network to progressively disentangle identity cues from posture variation. First, a color-aware texture enhancement module (CATE) addresses two limits of RGB imagery: sensitivity to lighting changes and weak separation between adjacent coat tones such as gray and light brown. CATE runs two parallel branches. One uses a 1 by 1 convolution with nine learnable parameters to linearly recombine the three RGB channels into a more discriminative color space, while the other applies depthwise separable convolutions with 3 by 3, 5 by 5, and 7 by 7 kernels to capture fine hair orientation, medium color patches, and broader shoulder or hip hair flow. Fused via a residual connection—adding roughly 0.06 million parameters, under 0.2% of the network—the enhanced representation enters an ImageNet-22K pre-trained ConvNeXt-Tiny backbone producing a 768-dimensional global feature vector.

Next, the pose-robust feature decoupling module projects that 768-dimensional vector to 256 dimensions and splits it evenly into 128-dimensional identity and pose sub-vectors. To guide separation without keypoint labels, the authors pre-trained a shallow four-layer convolutional unsupervised pose encoder on the training set for 30 epochs to predict rotations of 0, 90, 180, or 270 degrees, reaching 93.7% accuracy before freezing it. Its 32-dimensional output is projected to 128 dimensions to align the pose sub-vector via mean squared error loss, while an orthogonality constraint minimizes cosine similarity between the two sub-vectors. Finally, a multi-anchor dynamic matching head maintains three learnable anchors per training donkey under an ArcFace angular margin loss to cover posture-dependent appearance variation, while a shared posture branch classifies standing versus lying. At inference, the anchors are discarded, identity matching relies solely on cosine similarity of the identity sub-vector, and the pose sub-vector feeds the posture classifier.

Averaged across three independent training runs (standard deviations below 0.4 percentage points for main metrics), DonkeyID-Net surpassed four re-identification baselines trained under the same protocol. On the full mixed-posture test set, it achieved 96.5% Rank-1 accuracy and 94.8% mean average precision, outperforming the strongest baseline—ConvNeXt-Tiny with CBAM attention and ArcFace—at 90.7% Rank-1 and 85.9% mean average precision. ConvNeXt-Tiny with ArcFace reached 89.0% Rank-1, Swin-Tiny with ArcFace scored 88.3%, and ResNet-50 with ArcFace scored 85.2%. Gains were largest in cross-pose retrieval: despite predominantly standing training data (8,010 standing versus 745 lying), DonkeyID-Net reached 87.9% Rank-1 on standing-to-lying matching and 89.2% on lying-to-standing matching, beating the strongest baseline (59.4% and 61.2%) by 28.5 and 28.0 percentage points. On the within-lying reference subset, it achieved 93.8% Rank-1 versus 75.2% for the strongest baseline, an 18.6 percentage point margin. Five-fold identity-wise cross-validation across all 23 donkeys yielded 96.3% ± 0.3% Rank-1 and 94.6% ± 0.3% mean average precision, confirming stability across within-farm splits.

Ablation tests starting from ConvNeXt-Tiny with ArcFace (89.0% closed-set Rank-1, 69.5% cross-pose Rank-1) showed that feature decoupling drove the largest individual gain, raising cross-pose Rank-1 by 17.8 percentage points to 87.3%, compared with 74.8% for CATE alone and 77.9% for multi-anchor matching alone. Together, the three modules improved closed-set Rank-1 by 7.5 percentage points, mean average precision by 11.6 points, and cross-pose Rank-1 by 24.3 points over the baseline. Removing the orthogonality loss from the complete model lowered closed-set Rank-1 to 95.1%, mean average precision to 92.4%, and cross-pose Rank-1 to 90.8%. Validation-set tuning confirmed three anchors—specializing into standing-dominated (35%), lying-dominated (42%), and mixed transitional (23%) training samples—and an orthogonality loss weight of 0.05 as optimal. Even when lying images made up just 10% of training data (a 9:1 ratio), the complete model sustained 92.5% cross-pose Rank-1 versus 68.9% without decoupling. Grad-CAM heatmaps shifted from pen backgrounds in the baseline to central back and upper-torso regions, while t-SNE projections clustered each donkey’s standing and lying samples tightly together.

DonkeyID-Net contains 31.2 million parameters, requires 5.1 billion floating-point operations, occupies about 125 megabytes in FP32 precision, and runs a single-image forward pass in 4.8 milliseconds on an NVIDIA RTX 4090 GPU (batch size 1), versus 4.4 milliseconds for the strongest baseline. That latency covers only network forward inference—excluding preprocessing, detection, and tracking—and projected edge-deployment figures, including roughly 40 megabytes and 2 milliseconds under INT8 quantization or 10 to 20 frames per second on an NVIDIA Jetson Orin, were not experimentally validated. In the same forward pass, posture classification reached 94.5% accuracy, 94.1% precision, 95.2% recall, and a 94.6% F1 score, with errors occurring mainly during transitions, nighttime infrared frames, or occlusion. Among 143 misidentifications out of 2,312 lying test images (a 6.2% error rate), 39.8% stemmed from extremely similar coat colors, 28.1% from occlusion while lying, 19.5% from severe motion blur, and 12.6% from annotation errors.

To link identification with behavioral monitoring, researchers assembled each test donkey’s frame-sorted posture predictions into a binary time series, smoothed isolated spikes with a three-frame median filter, and computed standing ratio and transition frequency across 1-hour windows stepping every 0.5 hours. Using the first 70% of each donkey’s record—3 to 12 hourly windows after outlier removal, median 7—they built individual baselines and flagged alerts in the remaining 30% (12 windows across five donkeys) only when three consecutive windows fell outside normal bounds. Two real test windows (16.7%) triggered alerts for ID_009 and ID_014, matching video evidence of frequent transitions and prolonged lying. In five-run simulations perturbing 30% of test windows, moderate shifts (+30% to 40% lying, +2 to 3 transitions/hour) yielded 88.0% ± 2.4% sensitivity, 92.8% ± 1.9% specificity, and a 2.5 ± 0.6 hour early detection time; mild shifts (+20%, +1 event/hour) dropped sensitivity to 76.3% ± 3.1% (3.8 ± 0.9 hours), while severe shifts (+50%, +4 events/hour) reached 94.6% ± 1.6% (1.4 ± 0.4 hours). Specificity remained stable across settings at 92.1% to 93.2%, while the Youden index rose from 0.695 to 0.867.

The authors stress strict limits on interpreting these findings. Because all 23 animals belonged to one clinically healthy breed on a single farm recorded for seven days—with five test donkeys and few overlapping hourly windows—cross-farm, cross-breed, seasonal, and open-set performance remain untested. Overlap between adjacent windows also introduced temporal dependence not fully incorporated into the statistical procedure. Moreover, normal donkey recumbency fluctuates between day and night, and simulated perturbations are not clinically calibrated disease thresholds. Accordingly, the authors position DonkeyID-Net strictly as auxiliary triage information supporting manual observation rather than a clinical diagnostic tool, requiring future validation against veterinary-confirmed cases of colic and lameness.

Subject of Research: Pose-robust deep learning for individual donkey identification and posture behavior monitoring from overhead surveillance video.

Article Title: A pose-robust deep learning model for individual donkey identification and posture behavior monitoring

Article References: Qu, J., Jiang, H., Jia, Y., Lv, J., & Wang, C. (2026). A pose-robust deep learning model for individual donkey identification and posture behavior monitoring. Frontiers in Veterinary Science, 13, 2011695. https://doi.org/10.3389/fvets.2026.2011695

Image Credits: AI Generated

DOI: 10.3389/fvets.2026.2011695

Keywords: DonkeyID-Net, precision livestock farming, Dezhou black donkeys, individual animal identification, posture classification, cross-pose re-identification, feature disentanglement, ConvNeXt-Tiny, unsupervised pose encoder, multi-anchor dynamic matching, color-aware texture enhancement, overhead surveillance video, behavioral baseline modeling, anomaly detection, animal welfare monitoring, equine stoicism, veterinary science

Cite Scienmag News

William Thompson. (December 2, 2026). Deep learning model identifies donkeys across postures in single-farm video study. Scienmag. https://scienmag.com/deep-learning-model-identifies-donkeys-across-postures-in-single-farm-video-study/

William Thompson. "Deep learning model identifies donkeys across postures in single-farm video study." Scienmag, 2 December 2026, https://scienmag.com/deep-learning-model-identifies-donkeys-across-postures-in-single-farm-video-study/. Accessed 2 December 2026.

William Thompson. "Deep learning model identifies donkeys across postures in single-farm video study." Scienmag. December 2, 2026. https://scienmag.com/deep-learning-model-identifies-donkeys-across-postures-in-single-farm-video-study/

Tags: animal welfare monitoringanomaly detectionbehavioral baseline modelingcolor-aware texture enhancementConvNeXt-Tinycross-pose re-identificationDezhou black donkeysDonkeyID-Netequine stoicismfeature disentanglementindividual animal identificationmulti-anchor dynamic matchingoverhead surveillance videoposture classificationPrecision Livestock Farmingunsupervised pose encoderveterinary science
Share26Tweet16
Previous Post

Collector streets linked to higher car theft and robbery in São Paulo

Next Post

Lower Left Ventral Striatal Activity Linked to Apathy in Huntington’s Disease

Related Posts

Higher General Practitioner Supply Linked to Lower Mortality Across German Districts
Medicine

Higher General Practitioner Supply Linked to Lower Mortality Across German Districts

December 2, 2026
Reliability-weighted iris correlation cuts synthetic ocular torsion error in proof-of-concept study
Medicine

Reliability-weighted iris correlation cuts synthetic ocular torsion error in proof-of-concept study

December 2, 2026
Species-Specific Reporters Map Auxin Signaling and Depletion in Oilseed Rape
Biology

Species-Specific Reporters Map Auxin Signaling and Depletion in Oilseed Rape

December 2, 2026
Review Maps Overlapping Pathways and Stage-Dependent Gaps in Aortic Valve Disease
Medicine

Review Maps Overlapping Pathways and Stage-Dependent Gaps in Aortic Valve Disease

December 2, 2026
Tissue and Serum MMP7 Levels Linked to Worse Colorectal Cancer Survival
Cancer

Tissue and Serum MMP7 Levels Linked to Worse Colorectal Cancer Survival

December 2, 2026
Asymmetrical machine chest press raises internal oblique EMG in young men
Medicine

Asymmetrical machine chest press raises internal oblique EMG in young men

December 2, 2026
Next Post
Lower Left Ventral Striatal Activity Linked to Apathy in Huntington’s Disease

Lower Left Ventral Striatal Activity Linked to Apathy in Huntington’s Disease

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1062 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    683 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • AI Models Reproduce Carved Chinese Character Visually but Lack Cultural Recognizability
  • Higher General Practitioner Supply Linked to Lower Mortality Across German Districts
  • Reliability-weighted iris correlation cuts synthetic ocular torsion error in proof-of-concept study
  • Review details how reference electrode instability causes errors in miniaturized sensors

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,152 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading