RAPID: How to distill models in-domain (fast)
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…
- arXiv
- 2612.06138
- Authors
- Felix B. Mueller, Jan F. Meier, Alexander Ecker, Timo Lüddecke
- Categories
- cs.CV · cs.LG