[Paper Review] Deep Ensembles for Low-Data Transfer Learning
This paper proposes a practical method for creating deep ensembles from pre-trained models in low-data transfer learning by leveraging pre-training diversity as a source of model variety. Using k-NN accuracy to rank and select top models, then greedily assembling ensembles via cross-entropy minimization, the approach achieves state-of-the-art performance on 19 VTAB tasks with significantly lower inference cost—surpassing even large SOTA models at less than 1/6th the FLOPS.
In the low-data regime, it is difficult to train good supervised models from scratch. Instead practitioners turn to pre-trained models, leveraging transfer learning. Ensembling is an empirically and theoretically appealing way to construct powerful predictive models, but the predominant approach of training multiple deep networks with different random initialisations collides with the need for transfer via pre-trained weights. In this work, we study different ways of creating ensembles from pre-trained models. We show that the nature of pre-training itself is a performant source of diversity, and propose a practical algorithm that efficiently identifies a subset of pre-trained models for any downstream dataset. The approach is simple: Use nearest-neighbour accuracy to rank pre-trained models, fine-tune the best ones with a small hyperparameter sweep, and greedily construct an ensemble to minimise validation cross-entropy. When evaluated together with strong baselines on 19 different downstream tasks (the Visual Task Adaptation Benchmark), this achieves state-of-the-art performance at a much lower inference budget, even when selecting from over 2,000 pre-trained models. We also assess our ensembles on ImageNet variants and show improved robustness to distribution shift.
Motivation & Objective
- Address the challenge of achieving high performance in low-data transfer learning scenarios where training from scratch is ineffective.
- Overcome the limitations of standard ensembling methods that rely on random initialization or data shuffling, which are impractical when using pre-trained models.
- Leverage the inherent diversity from different pre-training methods and architectures as a primary source of ensemble diversity.
- Develop an efficient, scalable pipeline to select a small, high-performing subset of pre-trained models from large pools (e.g., 2,000 models) for downstream fine-tuning and ensembling.
- Minimize inference cost while maximizing accuracy and robustness to distribution shift in transfer learning settings.
Proposed method
- Use leave-one-out k-NN accuracy on the validation set as a cheap proxy metric to rank the suitability of pre-trained models for a given downstream task.
- Select the top-k pre-trained models based on their k-NN accuracy to form an initial candidate pool for ensemble construction.
- Fine-tune the selected models with a small hyperparameter sweep (e.g., varying initializers, data augmentations, and random seeds) to generate diverse experts.
- Construct the final ensemble greedily by iteratively adding models that most reduce the validation cross-entropy loss.
- Optimize ensemble selection based on cross-entropy rather than accuracy to reduce overfitting on small validation sets.
- Evaluate ensemble performance across multiple downstream tasks and distribution-shifted ImageNet variants to assess robustness and generalization.
Experimental results
Research questions
- RQ1Can pre-training diversity alone serve as a sufficient source of model diversity for effective deep ensembling in low-data transfer learning?
- RQ2How effective is k-NN accuracy as a proxy metric for predicting downstream fine-tuning performance across a large pool of pre-trained models?
- RQ3Does ensembling models selected via pre-training diversity outperform ensembles formed through downstream hyperparameter or data augmentation diversity?
- RQ4Can a greedy ensemble selection strategy based on cross-entropy minimization reduce overfitting on small validation sets compared to accuracy-based selection?
- RQ5To what extent does such an ensemble improve robustness to distribution shift compared to single models or standard ensembles?
Key findings
- The proposed method achieves state-of-the-art performance on the Visual Task Adaptation Benchmark (VTAB), improving SOTA by 1.8% absolute accuracy.
- Ensembles built from upstream pre-training diversity outperform downstream diversity by 1.2 percentage points on average across 19 VTAB tasks.
- The method improves robustness to distribution shift, achieving a 2.2% average accuracy gain on distribution-shifted ImageNet variants compared to baseline ensembles.
- The final ensemble achieves 77.6% accuracy on VTAB, matching a much larger SOTA model (76.2%) but with less than 1/6th of the FLOPS, demonstrating superior efficiency.
- Greedy ensemble selection based on cross-entropy minimization generalizes better than accuracy-based selection, with test performance monotonically increasing with ensemble size.
- Despite extensive ablation, bootstrapping and replacement strategies did not reduce overfitting, and weighted ensembling offered no performance gain, underscoring the robustness of the cross-entropy selection approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.