TL;DR
Don't just default to standard vision backbones like ViT or ConvNeXt for low-data tasks. This paper introduces VIBES, a framework demonstrating that dataset-specific backbone selection can find vastly superior models from a pool of over 1,300 options in under 10 minutes on a single GPU, significantly outperforming "universal" benchmark recommendations.
What Problem Does This Paper Address?
When training computer vision models with very little data (e.g., 10 images per class), fine-tuning an entire deep network is highly prone to overfitting. Instead, practitioners typically use pretrained models (backbones) as frozen feature extractors and train a simple linear classifier on top.
But with libraries like timm hosting more than 1,300 pretrained models, how do you choose the best one? Most engineers rely on massive, static benchmark studies that recommend a few "universal" winners. The authors demonstrate that these general recommendations are often highly suboptimal for specific downstream datasets. Furthermore, even different implementations of the exact same architecture (like various ResNet50 models trained on ImageNet-1K) exhibit massive performance variance. Because evaluating all 1,300+ models exhaustively is computationally impossible, practitioners need a smart, constrained way to find the best backbone for their specific data.
Methods
The authors formalize this challenge as Vision Backbone Efficient Selection (VIBES): searching for high-performing backbones under a strict time budget ($t_{max}$). They break down the solution space into two main strategy types:
- Fast Approximate Evaluation: Speeding up the evaluation of each backbone by replacing the standard classifier (Logistic Regression) with a super-fast, learning-free alternative like Nearest Centroid or K-Nearest Neighbors ($K=5$).
- Optimized Sampling Strategies: Instead of checking models completely at random, they order the search space using specific heuristics:
- Increasing/Decreasing model complexity: Sorting by the number of trainable parameters.
- Decreasing dataset size: Prioritizing models pretrained on the largest datasets.
- Dataset cycling: Alternating between different pretraining datasets to maximize feature diversity early in the search.
Datasets
The strategies were evaluated on four diverse image classification datasets, downsampled to a realistic low-data regime of $N=10$ samples per class:
- CIFAR10: Standard small, natural color images.
- GTSRB: Traffic sign recognition featuring variable sizes and lighting conditions.
- Flowers102: Fine-grained flower classification with high inter-class similarity.
- EuroSAT: Satellite remote sensing imagery, representing a significant domain shift from traditional natural image pretraining datasets.
Key Insights and Ideas
- No Universal Backbone Exists: A model that dominates on one dataset might fail on another. Performance is highly dataset-dependent, meaning custom selection is mandatory for optimal results.
- Model Size Doesn't Predict Transferability: Intuitively, one might think bigger models transfer better. However, sorting by model complexity consistently underperformed simple random search.
- Pretraining Diversity Wins: The Dataset Cycling strategy was the top-performing heuristic. Alternating between different pretraining sources ensures the search algorithm encounters diverse feature representations early on, increasing the odds of finding a good match quickly.
- The Bottleneck is I/O, Not Compute: Trying to use a faster classifier (Nearest Centroid) didn't actually save much time. This is because downloading weights and extracting features completely dominates the time budget, rendering the classifier training time negligible.
Key Results
- Within just 10 minutes of search time on a single NVIDIA RTX A5000 GPU, the most basic VIBES strategy (random sampling) identified backbones that outperformed the top generic benchmark recommendations across almost all datasets.
- With a 1-hour budget, VIBES significantly outperformed standard benchmark baselines (ConvNeXt, SwinV2, and ViT). For instance, on the GTSRB traffic sign dataset, the selected backbones outperformed ConvNeXt, SwinV2, and ViT by approximately 20%, 22%, and 7% respectively.
Limitations and Future Work
- Approximate Evaluation Failure: The proposed learning-free proxy classifiers (Nearest Centroid) introduced minor ranking errors without providing a meaningful speedup due to the data-loading bottleneck.
- Task Scope: The current formulation is limited to image classification. The authors note that extending VIBES to other vision tasks like object detection, semantic segmentation, and pose estimation is a critical next step.
- Future Directions: Promising avenues include leveraging meta-learning to predict backbone performance without running forward passes, and building a user-friendly platform for automated backbone recommendations.
Summary updated