Double Double Descent: On Generalization Errors in Transfer Learning between Linear Regression Tasks

Yehuda Dar, Richard BaraniukSIAM J. Math. Data Sci 2020 · DOI

TL;DR

This paper provides a theoretical framework for understanding transfer learning in overparameterized linear regression. It reveals a "double double descent" phenomenon in generalization error, showing that transfer learning's effectiveness is highly sensitive to task relatedness, parameter choices, and the true data generating process. This work offers crucial insights into why transfer learning can be surprisingly fragile yet powerful.

What Problem Does This Paper Address?

The paper tackles the challenge of understanding generalization in transfer learning, particularly in the context of overparameterized models. While deep learning models have achieved remarkable success using transfer learning, the theoretical underpinnings of why and when it works remain elusive. Specifically, the authors focus on a scenario where a subset of parameters from a trained "source" model are transferred to a "target" model. This is a common practice in deep learning, but its theoretical implications, especially concerning generalization error in overparameterized settings, are not well understood. The paper aims to bridge this gap by analytically characterizing the generalization error in such transfer learning setups, revealing complex behaviors like double descent.

Methods

The core of the paper's methodology lies in its analytical treatment of overparameterized linear regression. The authors derive non-asymptotic formulas for the generalization error of the target task under a parameter transfer mechanism. They leverage tools from random matrix theory to analyze the behavior of least-squares solutions. A key contribution is the characterization of a "two-dimensional double descent" phenomenon, where generalization error exhibits double descent trends with respect to both the source and target task's parameter counts. They also explore the impact of different task relation models (represented by the matrix H) and various regularization approaches (minimum L1-norm and ridge regression) on transfer learning performance.

Datasets

Not discussed in the paper. The paper focuses on synthetic data generated according to specific linear regression models with Gaussian noise.

Key Insights and Ideas

  • Double Double Descent: The generalization error in transfer learning exhibits a "double double descent" behavior, meaning it has two peaks as a function of the number of parameters in both the source and target tasks. This is a significant extension of the single double descent phenomenon observed in standard regression.
  • Fragility of Transfer Learning: The effectiveness of transferring parameters is highly sensitive to the specific choice of transferred parameters, the relationship between the source and target tasks, and the underlying true data distribution. Arbitrary parameter transfer can lead to suboptimal or even harmful results.
  • Task Relatedness is Key, But Not Always: Counter-intuitively, transfer learning is not always more beneficial when the source task is closer or identical to the target task. The interplay of overparameterization and task relation can lead to beneficial transfer even in less related scenarios.
  • Parameter Transfer as a Regularizer: In certain overparameterized regimes, transferring parameters can act as a form of implicit regularization, potentially outperforming explicit regularization methods like ridge regression, especially when the true parameters are sparse.
  • Trade-off Between Overparameterization and Transfer: There's a trade-off between achieving high overparameterization in the target task and benefiting from parameter transfer. Increasing transferred parameters can limit the effective overparameterization of the target task, impacting potential gains.

Key Results

The paper analytically characterizes the generalization error of the target task in a transfer learning setting. They show that this error follows a double descent trend with respect to the number of free parameters in both the source and target tasks. Specifically, they derive formulas for the transfer bias and variance, demonstrating how these components influence the overall generalization error. The analysis reveals that parameter transfer can be beneficial, sometimes even compensating for a lack of data or parameters in the target task, but its success is highly contingent on the specific setup. The paper also empirically validates these analytical findings through simulations.

Limitations and Future Work

The authors acknowledge that their analysis is primarily focused on linear regression models. They suggest that future work could extend these findings to more complex models, such as deep neural networks, and explore different transfer learning strategies like fine-tuning. They also point to the need for further theoretical understanding of transfer learning in settings where the task relation model is partially known or can be learned. The paper also mentions the examination of minimum L1-norm and ridge regression solutions, suggesting that these alternative approaches offer different trade-offs in transfer learning.

Summary updated

BibTeX
@article{dar2020double,
  author = {Yehuda Dar and Richard Baraniuk},
  title = {{Double Double Descent: On Generalization Errors in Transfer Learning between Linear Regression Tasks}},
  journal = {SIAM J. Math. Data Sci.},
  year = {2020},
  doi = {10.1137/22m1469559},
}
Figure