TL;DR
Deploying object detectors in niche environments—like sorting recyclables or analyzing medical X-rays—usually forces a painful choice between massive, sluggish foundation models and fast, lightweight detectors that starve without thousands of hand-labeled boxes. This paper introduces an adapt–label–distill pipeline that uses a tiny slice of labeled data (just 5%) to specialize a giant foundation model offline, turning it into a custom auto-annotator for a nimble, real-time detector. You get the rich visual intuition of a heavyweight model packed into an edge-ready detector running over 60 times faster, without paying a single extra millisecond at deployment.
What Problem Does This Paper Address?
Suppose you want a drone to spot floating plastic in a river, or a camera to sort garbage on a fast-moving conveyor belt. Edge hardware demands compact, real-time models (like YOLO). However, generic detectors struggle in specialized domains, and manually drawing thousands of bounding boxes for every new environment is prohibitively expensive. Unlabeled images, on the other hand, are cheap and plentiful.
Standard semi-supervised object detection (SSOD) tries to bridge this gap by training a small detector on a handful of labeled images, then letting it guess "pseudo-labels" on the unlabeled ones to teach itself. The catch? Because that initial detector only knows what is in the tiny labeled set, its blind spots and mistakes echo and amplify through self-training.
Vision foundation models (VFMs)—massive networks pre-trained on internet-scale data—offer an appealing external source of knowledge. Yet out of the box ("zero-shot"), they don't know your specific category quirks or annotation rules. And because they are computationally enormous, you can't just stick them on an edge device. The challenge is extracting domain-aligned supervision from a giant VFM without inheriting its sluggish inference speed.
Methods
The authors propose an asymmetric three-stage pipeline called Adapt, Label, Distill, pairing SAM 3 (a promptable segmentation/detection foundation model) as an offline teacher with compact YOLOv11 variants (nano, small, medium) as deployable students.
- Adapt: Instead of using SAM 3 zero-shot, they fine-tune its lightweight detection head and class embeddings on the same 5% labeled target data available to the student (keeping the heavy vision and language backbones frozen).
- Label: The adapted SAM 3 runs once, offline, over the remaining 95% unlabeled images to generate pseudo-boxes and confidence scores.
- Distill (Confidence-Guided Training): The compact YOLOv11 student trains jointly on the 5% ground-truth data and 95% pseudo-labeled data. Rather than sharing neural network weights or features, distillation happens purely through annotations, enhanced by two training tweaks:
- Confidence-weighted loss: Instead of treating all pseudo-labels equally, each box supervises the student in proportion to the teacher's confidence score.
- Zero-gating: Standard SSOD throws away low-confidence predictions using a strict threshold. Unfortunately, if a discarded prediction actually was a real object, the student ends up optimizing that image region as empty background—turning teacher hesitation into a false negative. Zero-gating keeps uncertain boxes (confidence between $\tau=0.25$ and $\eta=0.5$) during label assignment so they aren't treated as background, while setting their loss weight to zero so they provide neither positive nor negative gradients.
Datasets
No new datasets are introduced; the authors evaluate across six existing specialized benchmarks chosen to test diverse distribution shifts (using a nominal 5% label budget):
- Roboflow100-VL subsets: Xray (medical, 3,839 images), Pig Detection (agriculture, 6,148 images), Fruitjes (industrial inspection, 5,970 images), and Floating Waste (environmental, 3,031 images).
- Garbage Classification 3: Application-specific waste sorting (10,464 images).
- VisDrone2019-DET: Dense aerial drone imagery featuring extreme viewpoint and small-object shifts (8,629 images).
Key Insights and Ideas
- Zero-shot foundation models aren't magic bullets—adaptation is the secret sauce: Plugging zero-shot SAM 3 directly into the pipeline actually hurt student performance compared to basic self-training (dropping from 37.9 to 32.7 AP on Garbage). Fine-tuning SAM 3 on that tiny 5% slice first unlocked massive gains across every dataset, proving that broad foundation representations still need a nudge to align with local rules.
- Students aren't strictly capped by their teachers: When testing a fine-tuned YOLOv11x teacher (35.13 AP), the smaller YOLOv11n student trained on a mix of clean ground-truth and pseudo-labels reached 39.24 AP—outperforming the model that taught it.
- Foundation supervision isn't guaranteed to win everywhere: On Xray and Pig Detection, the pipeline showed flat or slightly negative transfer compared to standard self-training. When categories require specialized anatomical definitions or fine-grained pig breed distinctions that a 5%-adapted VFM doesn't grasp any better than a small YOLO model, external supervision adds little value.
Key Results
Cross-domain accuracy and edge throughput comparison
- Closing the gap to 100% supervision: Using only 5% labels on Garbage Classification, YOLOv11m jumps from 36.3 mAP (STAC self-training baseline) to 51.6 mAP—remarkably close to the 54.1 mAP achieved with 100% human annotations. Across all six domains, the method boosts average YOLOv11m performance by +5.9 mAP over labeled-only training (51.6 vs. 45.7).
- Component breakdown: On Garbage (YOLOv11n), adapting SAM 3 drives the biggest leap (from 32.74 zero-shot to 48.89 AP), confidence weighting pushes it to 50.32 AP, and zero-gating nudges it to 50.47 AP. It also beats an online SSOD baseline (EfficientTeacher) by 13.19 AP under hard-label comparisons.
- Massive edge speedup: Tested on an NVIDIA Jetson AGX Orin edge device, SAM 3 requires nearly 6,000 GFLOPs and crawls at 2.9 FPS. The distilled YOLOv11m runs at 188 FPS (and YOLOv11n hits 600 FPS at $640\times640$), delivering foundation-grade supervision at real-time edge speeds.
Limitations and Future Work
- Dependent on teacher recall: Confidence weighting and zero-gating only clean up boxes the teacher actually proposes; if SAM 3 completely misses an object class or instance, the pipeline cannot invent positive supervision for it.
- Domain-specific transfer limits: As seen in medical X-rays, foundation supervision doesn't help—and can slightly hurt—when the adapted teacher lags behind a basic limited-label student.
- Future directions: The authors suggest exploring ways to automatically detect when external VFM supervision complements student predictions, addressing teacher omissions, and reducing the offline compute cost required to fine-tune and run the foundation teacher.
Summary updated