[Paper Review] A linearized framework and a new benchmark for model selection for fine-tuning
This paper proposes a linearized framework for model selection in few-shot fine-tuning, introducing Label-Gradient Correlation (LGC) and Label-Feature Correlation (LFC) as simple yet effective baselines. It demonstrates that these methods achieve higher ranking correlation with actual fine-tuning accuracy and require fewer trials to select optimal models from a model zoo, outperforming existing methods and brute-force fine-tuning in low-data regimes.
Fine-tuning from a collection of models pre-trained on different domains (a "model zoo") is emerging as a technique to improve test accuracy in the low-data regime. However, model selection, i.e. how to pre-select the right model to fine-tune from a model zoo without performing any training, remains an open topic. We use a linearized framework to approximate fine-tuning, and introduce two new baselines for model selection -- Label-Gradient and Label-Feature Correlation. Since all model selection algorithms in the literature have been tested on different use-cases and never compared directly, we introduce a new comprehensive benchmark for model selection comprising of: i) A model zoo of single and multi-domain models, and ii) Many target tasks. Our benchmark highlights accuracy gain with model zoo compared to fine-tuning Imagenet models. We show our model selection baseline can select optimal models to fine-tune in few selections and has the highest ranking correlation to fine-tuning accuracy compared to existing algorithms.
Motivation & Objective
- To address the open problem of model selection in few-shot fine-tuning, where selecting the best pre-trained model from a model zoo without training is critical.
- To develop a theoretical and empirical framework to approximate fine-tuning behavior using linearization around pre-trained weights.
- To introduce a comprehensive benchmark with a diverse model zoo and multiple target tasks to fairly compare model selection methods.
- To evaluate and compare state-of-the-art model selection methods against novel baselines (LGC and LFC) in a unified setting.
- To demonstrate that simple linearized metrics can match or exceed complex methods in selecting optimal models for fine-tuning.
Proposed method
- The paper uses a linearized approximation of the fine-tuning process via neural tangent kernel (NTK) to analyze model behavior around pre-trained weights.
- It derives two model selection criteria: Label-Gradient Correlation (LGC), measuring alignment between label vectors and gradient directions, and Label-Feature Correlation (LFC), measuring correlation between label vectors and feature representations.
- A large-scale benchmark is constructed with 8 diverse image datasets forming a model zoo of single- and multi-domain experts, and multiple target tasks for evaluation.
- Model selection performance is evaluated by measuring the number of trials needed to select the best model and the Spearman correlation between model selection scores and actual fine-tuning accuracy.
- The framework enables efficient model selection by ranking models without full fine-tuning, reducing computational cost.
- Experiments compare LFC, LGC, and existing methods (LEEP, RSA, Domain Similarity, Feature Metrics) across different settings, including full and few-shot data regimes.
Experimental results
Research questions
- RQ1Can a linearized approximation of fine-tuning effectively guide model selection without full fine-tuning?
- RQ2How do LGC and LFC compare to existing model selection methods in terms of accuracy and selection efficiency?
- RQ3Does using a model zoo of domain-specific experts improve fine-tuning accuracy compared to ImageNet pre-training, especially in low-data regimes?
- RQ4To what extent do model selection scores correlate with actual fine-tuning performance?
- RQ5Can model selection reduce the number of trials needed to identify the best model for fine-tuning?
Key findings
- Fine-tuning from the proposed model zoo outperforms standard fine-tuning with ImageNet pre-trained models, especially in low-data regimes (5, 10, 20-shot), achieving lower test error.
- LFC and LGC achieve the highest Spearman’s rank correlation (0.85–0.90) with actual fine-tuning accuracy across all target tasks, outperforming RSA, LEEP, and Domain Similarity.
- LFC and LGC require fewer than 7 trials to select the best model from a single-domain model zoo of 30 experts and fewer than 3 trials from a multi-domain model zoo of 8 experts.
- Model selection using LFC and LEEP reduces the need for brute-force fine-tuning, saving significant computation while maintaining or improving accuracy.
- The model zoo approach achieves higher accuracy gains than hyper-parameter optimization (HPO) on ImageNet pre-trained ResNet-101, particularly in low-data regimes.
- LFC scores serve as a strong proxy for fine-tuning accuracy, enabling reliable model ranking and selection without training.
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.