SAM 3 和 DINOv3 的轻量级蒸馏用于边缘可部署的个体级牲畜监测与纵向视觉分析
Lightweight Distillation of SAM 3 and DINOv3 for Edge-Deployable Individual-Level Livestock Monitoring and Longitudinal Visual Analytics
AI总结:
通过蒸馏SAM 3的感知编码器至TinyViT学生网络,并采用DINOv3的ViT-S嵌入器,实现边缘可部署的个体级牲畜监测,在Edinburgh猪数据集上以7.77倍参数减少和3.01倍显存降低达到接近教师模型的性能,支持长期视觉分析。
摘要:
用于个体级牲畜监测的基础模型流水线——结合开放词汇检测、可提示视频分割和自监督视觉嵌入——提高了精准畜牧业(PLF)的准确率上限,但其GPU内存预算超出了商用边缘加速器的范围。为弥补这一差距,SAM 3的4.46亿参数感知编码器(PE-ViT-L+)骨干通过三种机制被蒸馏为一个4066万参数的多尺度学生网络:基于TinyViT-21M-512的特征金字塔网络学生编码器、四项方向-尺度蒸馏损失,以及带滑动窗口会话剪枝的骨干替换推理,以限制流式GPU内存增长。DINOv3系列包括一个预蒸馏的ViT-S/16变体(2160万参数),与6716万参数的ViT-7B教师模型一同发布;采用ViT-S(2100万参数)变体作为每个个体的嵌入器。在Edinburgh猪数据集上,压缩流水线相对于SAM 3教师模型达到92.29% MOTA和96.15% IDF1(分别下降1.68和0.84个百分点),系统级参数减少7.77倍,峰值显存减少3.01倍(19.52GB -> 6.49GB),并在九类猪行为分类中达到97.34% top-1准确率和91.67% macro-F1。该流水线适配NVIDIA Jetson Orin NX 16GB环境,具有4.9GB余量,支持一种提议但尚未经验证的设备端嵌入池重识别机制,其每个个体每年约94MB的足迹产生纵向视觉记录,便于与疾病、跛行、繁殖和生长结果标签进行回顾性关联。
英文摘要:
Foundation-model pipelines for individual-level livestock monitoring -- combining open-vocabulary detection, promptable video segmentation, and self-supervised visual embeddings -- have raised the accuracy ceiling of precision livestock farming (PLF), but their GPU memory budgets exceed the envelope of commodity edge accelerators. To close this gap, the 446M-parameter Perception Encoder (PE-ViT-L+) backbone of SAM 3 is distilled into a 40.66M-parameter multi-scale student through three mechanisms: a Feature Pyramid Network student encoder built on TinyViT-21M-512, a four-term direction-then-scale distillation loss, and backbone-substitution inference with sliding-window session pruning that bounds streaming GPU memory growth. The DINOv3 family includes a pre-distilled ViT-S/16 variant (21.6M parameters) released alongside a 6716M-parameter ViT-7B teacher; the ViT-S (21M) variant is adopted as the per-individual embedder. On the Edinburgh Pig dataset, the compressed pipeline reaches 92.29% MOTA and 96.15% IDF1 against the SAM 3 teacher (1.68- and 0.84-percentage-point losses), achieves a 7.77-fold reduction in system-level parameters and a 3.01-fold reduction in peak VRAM (19.52GB -> 6.49GB), and reaches 97.34% top-1 accuracy with 91.67% macro-F1 on nine-class pig behaviour classification. The pipeline fits inside an NVIDIA Jetson Orin NX 16GB envelope with 4.9GB of headroom, supporting a proposed -- but not yet empirically validated -- on-device embedding-pool re-identification mechanism whose per-individual footprint of approximately 94MB per animal per year produces a longitudinal visual record amenable to retrospective association with disease, lameness, reproductive, and growth outcome labels.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。