Generalization Performance of Transfer Learning: Overparameterized and Underparameterized Regimes

Peizhong Ju, Sen Lin, Mark S. Squillante, Yingbin Liang, Ness B. ShroffarXiv 2023 · DOI

Introduction

Transfer learning has become a cornerstone of modern artificial intelligence, enabling models to leverage knowledge from a source task to improve performance on a target task. While empirical successes—such as fine-tuning large language models—are abundant, the theoretical understanding of transfer learning remains limited, particularly in the "overparameterized" regime where the number of parameters exceeds the number of training samples. This paper provides a rigorous theoretical framework to analyze transfer learning performance across both underparameterized and overparameterized settings.

Theoretical Framework

The authors employ a linear regression model as a controlled environment to study the dynamics of transfer learning. The feature space is partitioned into two distinct components:

  1. Common Features ($S_{co}$): Features shared between the source and target tasks (e.g., low-level edges in image recognition).
  2. Task-Specific Features ($S_{(i)}$): Features unique to each individual task.

The analysis focuses on the minimum $\ell_2$-norm solution, which serves as a mathematical proxy for the behavior of optimization algorithms like Stochastic Gradient Descent (SGD) in overfitted regimes.

Parameter Transfer Strategies

Two primary strategies for parameter transfer are evaluated:

  • Option A (Feature Freezing): Parameters for common features are learned on the source task and fixed during target task training. Only task-specific parameters are updated.
  • Option B (Fine-tuning): Source parameters serve as the initialization for all parameters (common and task-specific), which are then jointly optimized on the target data.

Key Findings: Double Descent and Feature Allocation

A central contribution of this work is the confirmation that transfer learning exhibits the "double descent" phenomenon. As the number of parameters approaches the number of samples, the generalization error typically spikes before decreasing again in the highly overparameterized region.

Model error $L$ across different parameter regimes ($p_1, p_2, p$), illustrating the double descent phenomenon and the performance gap between Option A and Option B.

The Redundancy Strategy

The research reveals a surprising guideline for model design: given a fixed parameter budget, it is more effective to allocate redundant features to the task-specific component rather than the common component. In high-noise scenarios, it may even be beneficial to ignore some true common features in favor of additional task-specific redundancy to minimize error.

Robustness of Fine-tuning

While feature freezing (Option A) is computationally efficient, fine-tuning (Option B) demonstrates greater robustness. By spreading target-task noise across a larger set of parameters, Option B effectively mitigates the "noise effect," leading to lower generalization floors in many scenarios.

Conclusion

This study provides exact mathematical characterizations of model error in transfer learning, identifying the conditions necessary for "benign overfitting" to occur. The results suggest that the way features are partitioned and transferred significantly impacts the final model's performance. Future work will look to extend these findings to non-linear architectures, such as Neural Tangent Kernels (NTK), and data-merging strategies.

Summary updated

BibTeX
@misc{ju2023generalization,
  author = {Peizhong Ju and Sen Lin and Mark S. Squillante and Yingbin Liang and Ness B. Shroff},
  title = {{Generalization Performance of Transfer Learning: Overparameterized and Underparameterized Regimes}},
  year = {2023},
  eprint = {2306.04901},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.04901},
}
Figure