[Paper Review] Improved Fine-Tuning by Better Leveraging Pre-Training Data
The paper analyzes how reusing pre-training data during fine-tuning can improve target-task generalization and proposes a novel unbalanced optimal transport (UOT) based data selection to pick pre-training data that best matches the target task.
As a dominant paradigm, fine-tuning a pre-trained model on the target data is widely used in many deep learning applications, especially for small data sets. However, recent studies have empirically shown that training from scratch has the final performance that is no worse than this pre-training strategy once the number of training samples is increased in some vision tasks. In this work, we revisit this phenomenon from the perspective of generalization analysis by using excess risk bound which is popular in learning theory. The result reveals that the excess risk bound may have a weak dependency on the pre-trained model. The observation inspires us to leverage pre-training data for fine-tuning, since this data is also available for fine-tuning. The generalization result of using pre-training data shows that the excess risk bound on a target task can be improved when the appropriate pre-training data is included in fine-tuning. With the theoretical motivation, we propose a novel selection strategy to select a subset from pre-training data to help improve the generalization on the target task. Extensive experimental results for image classification tasks on 8 benchmark data sets verify the effectiveness of the proposed data selection based fine-tuning pipeline.
Motivation & Objective
- Understand when and why pre-training helps fine-tuning for target tasks with limited data.
- Derive a generalization-theoretic view showing weak dependency on pre-trained models under certain conditions.
- Propose data reuse strategies to leverage pre-training data during fine-tuning.
- Develop an unbalanced OT-based data selection method to choose pre-training data most similar to the target task.
- Empirically validate the approach on eight image classification benchmarks using supervised and self-supervised pre-training.
Proposed method
- Formalize target and pre-training objectives F(θ) and G(θ) with SGD-based optimization.
- Derive excess risk bounds showing weak dependence on pre-trained models when target data is large.
- Propose a joint objective αF_n(θ)+(1−α)H_m(θ) to incorporate pre-training data during fine-tuning.
- Introduce three data selection strategies: label-based, random, and similarity-based (UOT) selection.
- Define UOT objective to compute similarity between pre-training and target data via a transportation plan, solved by generalized Sinkhorn iterations.
- Describe gradient computation for labeled and unlabeled pre-training data during joint optimization.
- Provide practical implementation details for supervised and self-supervised pre-training scenarios.
Experimental results
Research questions
- RQ1Can reusing pre-training data during fine-tuning improve target-task generalization beyond standard fine-tuning?
- RQ2How does the similarity between pre-training and target data affect fine-tuning performance?
- RQ3What data selection strategy best reduces the domain gap between pre-training and target tasks?
- RQ4Is an unbalanced optimal transport-based selection robust across supervised and self-supervised pre-training?
- RQ5How does the proposed method perform across diverse benchmark datasets under limited data conditions?
Key findings
- Reusing pre-training data in fine-tuning consistently improves accuracy over vanilla fine-tuning across 8 datasets.
- Similarity-based (UOT) data selection outperforms random and greedy-OT selections in most cases.
- UOT-based selection yields larger gains in self-supervised pre-training scenarios and under low-data conditions.
- When fine-tuning data is scarce, data reuse provides larger gains, indicating robustness in low-data regimes.
- On supervised pre-training, UOT achieves the best average performance among compared methods (per Table 1).
- The approach is versatile, working with both labeled and unlabeled pre-training data and superior to some strong baselines like Co-Tuning in several datasets.
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.