Towards Sample-efficient Overparameterized Meta-learning

Yue Sun, Adhyyan Narang, Halil Ibrahim Gulluk, Samet Oymak, Maryam Fazel

Introduction

This paper demystifies why overparameterization is beneficial in meta-learning by analyzing a sequence of linear regression tasks. The authors prove that an overparameterized, "eigen-weighted" representation outperforms standard low-dimensional subspace projections. Furthermore, they provide an end-to-end sample complexity bound showing how the natural alignment between feature and task distributions drastically accelerates representation learning.

The Problem: Overparameterization in Meta-Learning

In meta-learning (or "learning to learn"), a model first learns a general feature representation from a set of prior tasks, and then uses that representation to quickly adapt to a new, unseen task using only a few samples (few-shot learning).

While the phenomenon of "double descent" and the benefits of overparameterization—using models with more parameters than training data—are well-documented in standard single-task supervised learning, their theoretical role in meta-learning remains murky. Prior theoretical works have mostly focused on the classical underparameterized regime, where representations are strictly projected onto a low-dimensional subspace (like PCA). This paper asks two fundamental questions:

  1. What is the optimal linear representation for a downstream task?
  2. How many samples do we actually need to build this representation from prior tasks?

Methodology: Beyond Simple Projection

The authors study a mixed linear regression framework divided into two phases: representation learning (across $T$ tasks) and few-shot learning (on a new task).

Overview of the two-phase meta-learning framework and the proposed eigen-weighting approach.

To find the optimal representation, they move beyond simple subspace projection. Their key methodological contributions include:

  • Eigen-weighting Matrix: Instead of just projecting features into a lower dimension, they propose an eigen-weighting matrix that scales different feature directions based on their importance. This acts as a task-aware regularization.
  • Canonical Task Covariance: They define a metric that captures the joint behavior of the feature covariance and the task covariance. This matrix summarizes feature saliency and dictates the optimal representation.
  • Method-of-Moments (MoM) Estimator: Because true covariances are rarely known in practice, the authors use a MoM estimator during the representation learning phase to estimate the principal subspace of the canonical task covariance directly from the pre-training data.

Key Insights and Ideas

Few-shot test error across representation dimensions, demonstrating the bias-variance tradeoff (left) and the superiority of optimal eigen-weighting over unweighted projection (right).
  • Overparameterization Needs Weighting: In the overparameterized regime, simply projecting features isn't enough. Applying optimal eigen-weights to the features introduces a crucial inductive bias. This explains why downstream tasks actually benefit from overparameterization: the weighting promotes useful features and demotes noisy ones, preventing the massive spikes in error seen in unweighted models.
  • Inductive Bias Slashes Sample Complexity: You don't need an overwhelming amount of data to learn a massive representation matrix. If the feature and task covariances are well-aligned (a natural inductive bias), the sample complexity depends only on their effective ranks, allowing the model to learn the representation with far fewer samples than the raw degrees of freedom would suggest.
  • The Bias-Variance Tradeoff of Dimension ($R$): There is a theoretical "sweet spot" for the representation dimension $R$. While a larger $R$ reduces bias (by capturing more feature directions), it increases variance if the total pre-training data is limited, because weak eigen-directions become too hard to estimate accurately.

Key Results and Theoretical Guarantees

  • Sample Complexity Breakthrough: The proposed MoM estimator achieves a sample complexity of $\mathcal{O}(s_F \tilde{r}_T)$ (where $s_F$ and $\tilde{r}_T$ are effective ranks). This is well below the degrees of freedom $\mathcal{O}(Rd)$ and strictly improves upon prior state-of-the-art bounds of $\mathcal{O}(dr^2)$, which previously required whitened features and exactly low-rank tasks.
  • Asymptotic Risk Equivalence: The authors derive a closed-form analytic formula for the few-shot risk of any linear representation in the double asymptotic regime (where dimensions and sample sizes grow proportionally to infinity).
  • End-to-End Meta-Learning Bound: They deliver a complete guarantee that bounds the downstream few-shot risk based on the representation learning error. This formally quantifies how robust the few-shot learning phase is to imperfect covariance estimates gathered during pre-training.

(Note on Datasets: The paper is primarily theoretical, relying on synthetic data generated from sub-Gaussian distributions to simulate linear regression tasks. However, they also present an empirical transfer-learning experiment using a ResNet-50 pretrained on ImageNet and fine-tuned on CIFAR-10, demonstrating that the double-descent phenomenon observed in deep neural networks closely mirrors the behavior of their linear models.)

Limitations and Future Work

  • Linear Restriction: The theoretical analysis is strictly confined to linear regression models. While the authors note that linearized models (like Neural Tangent Kernels) are good proxies for deep nets, extending these exact bounds to non-linear neural networks and classification tasks remains an open challenge.
  • Distributional Assumptions: The theoretical guarantees rely on specific assumptions, such as sub-Gaussian data distributions and joint diagonalizability of the covariance matrices, which may not perfectly reflect the messy reality of all real-world datasets.
  • Future Work: The authors suggest that future research could explore adaptively choosing the representation dimension $R$ based on the number of available pre-training samples $N$ to perfectly strike the bias-variance tradeoff in practice.

Summary updated

BibTeX
@inproceedings{sun2021towards,
  author = {Yue Sun and Adhyyan Narang and Halil Ibrahim Gulluk and Samet Oymak and Maryam Fazel},
  title = {{Towards Sample-efficient Overparameterized Meta-learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=-KU_e4Biu0},
}
Figure