arXiv · 2612.06138
RAPID: How to distill models in-domain (fast)
Abstract
Vision foundation models provide strong general-purpose features, but their size and compute requirements make them impractical for many real-world deployments. At the same time, typical application domains often require only a fraction of the foundation model's capabilities. This mismatch makes in-domain distillation attractive: rather than preserving generality, a foundation model is compressed into a compact specialist for the target domain. Existing distillation methods, however, are compute-intensive and utilize large generic datasets, making distillation prohibitive for data- and compute-constrained practitioners. We present a simple recipe for fast distillation on small data that combines progressive resolution scaling, token dropping, and multi-layer feature distillation. Our approach outperforms state-of-the-art models on ImageNet distillation with 5x less compute. We show in-domain distillation of a ViT-S from scratch on 7k to 197k samples to work surprisingly well. It outperforms DINOv2-S and almost matches its DINOv2-B teacher performance on eight in-domain evaluations. Our recipe RAPID retains high performance at low compute budgets, generalizes across diverse foundation models (CLIP, C-RADIOv3, DINOv3), and benefits from larger teachers in narrow domains. Code and models will be released at https://github.com/ecker-lab/rapid/.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Felix B. Mueller, Jan F. Meier, Alexander Ecker, Timo Lüddecke. 2026-12-03. RAPID: How to distill models in-domain (fast). https://searcharxiv.org/abs/2612.06138
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.