SAM3-Assisted Training of Lightweight YOLO Models for Precision Pig Farming

📅 2026-05-25
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the challenges of deploying high-performance object detection models on edge devices for precision pig farming, where lightweight models typically rely on labor-intensive manual annotations while powerful foundation models are computationally prohibitive. To overcome this, the work proposes an efficient, annotation-free training and deployment framework that leverages SAM 3 as an offline zero-shot pseudo-label generator, followed by knowledge distillation to train a compact YOLOv8 model. This is the first effort to employ SAM 3 for fully automatic pseudo-labeling, enabling end-to-end training without any human intervention. Evaluated on the PigLife dataset, the distilled YOLOv8m achieves 79.4% mAP, with inference speed approximately 200 times faster than the teacher model and AP50 exceeding 99% under low-occlusion conditions—performance nearly on par with models trained using manually annotated data.
📝 Abstract
Deep learning-based object detection has revolutionized Precision Livestock Farming (PLF), yet a critical barrier remains: high-performance Foundation Models (such as SAM 3) are too computationally intensive for edge deployment, while lightweight models (like YOLO) require prohibitive manual annotation efforts. This work proposes a fully automated knowledge distillation pipeline that leverages the Segment Anything Model 3 (SAM 3) to generate zero-shot pseudo-labels for training efficient YOLOv8 detectors. By treating SAM 3 as an offline auto-annotator, we eliminate the manual labeling bottleneck, producing models capable of real-time inference on resource-constrained hardware. We systematically evaluate this approach on the PigLife dataset, comparing SAM 3-supervised models against human-annotated baselines. Results demonstrate that a SAM 3-trained YOLOv8m achieves a mean Average Precision (mAP) of 79.4% without human intervention, while reducing inference latency by approximately 200$\times$ compared to the teacher model. Furthermore, stratified analysis reveals that in low-occlusion scenarios, the automated pipeline achieves detection rates comparable to human benchmarks ($AP_{50} > 99\%$). These findings indicate that foundation models can serve as effective, zero-annotation-cost supervisors, enabling scalable edge computing solutions for smart agriculture.
Problem

Research questions and friction points this paper is trying to address.

Precision Livestock Farming
Foundation Models
Lightweight Models
Manual Annotation
Edge Deployment
Innovation

Methods, ideas, or system contributions that make the work stand out.

knowledge distillation
zero-shot pseudo-labeling
lightweight YOLO
foundation model supervision
edge deployment
🔎 Similar Papers
No similar papers found.
M
Marcos Vinicius Mendes Faria
Coordenadoria de Informática, Instituto Federal do Espírito Santo (IFES), Serra, ES
T
Thiago Borges Pereira
Coordenadoria de Informática, Instituto Federal do Espírito Santo (IFES), Serra, ES
I
Isabella C. F. S. Condotta
Department of Animal Sciences, University of Illinois at Urbana-Champaign, USA
Thiago Meireles Paixão
Thiago Meireles Paixão
Professor Informática, Federal Institute of Espírito Santo
computer visionlarge language modelsvisual language modelsmental health analysis
Francisco de Assis Boldt
Francisco de Assis Boldt
Ifes - Instituto Federal do Espírito Santo
Machine LearningFault Diagnosis