Optimistic Rates for Multi-Task Representation Learning

Austin Watkins, Enayat Ullah, Thanh Nguyen-Tang, Raman AroraNeurIPS 2023

Introduction

In modern machine learning, training models from scratch is increasingly rare. Instead, the dominant paradigm is Multi-Task Representation Learning (MTRL): a complex model is trained on a massive set of "source" tasks to learn a robust data representation, which is then frozen. Finally, a simple classifier is trained on top of this representation using a small amount of "target" task data.

While this approach has driven the massive success of foundational models like BERT and CLIP, theoretical guarantees have historically lagged behind empirical results. Most existing theories provide "pessimistic" learning rates—bounds suggesting that learning is slow, specifically bounded by $O(m^{-1/2})$, regardless of how easy the target task actually is. This paper bridges the gap between theory and practice by deriving the first optimistic statistical rates for MTRL, proving that transfer learning can achieve much faster convergence than previously established.

Bridging the Theoretical Gap

The core problem with prior theoretical bounds is their rigidity. They assume a worst-case scenario, yielding a slow $O(m^{-1/2})$ convergence rate (where $m$ is the number of target task samples).

This paper introduces "optimistic rates" that adapt to the difficulty—or "realizability"—of the task. If a model fits the data exceptionally well (i.e., the minimum possible risk is small), the learning rate accelerates, potentially reaching a fast $O(m^{-1})$ rate. This theoretical framework finally provides mathematical justification for why pre-training and transfer learning work so efficiently in practice.

Methodology: A Composite-Learning Framework

Because this is a purely theoretical paper, the authors do not rely on empirical datasets. Instead, they provide rigorous mathematical analysis, illustrating their findings through a "Linear classes" example (analyzing linear projections and regressors under squared loss).

The authors model MTRL as a composite-learning model, denoted as $f \circ h$. Here, $h$ represents a complex representation function (such as a deep neural network), and $f$ represents a simple predictor (such as a linear classification head). They analyze a two-stage Empirical Risk Minimization (ERM) procedure:

  1. Representation Learning Stage: The model leverages $t$ source tasks, each containing $n$ samples, to discover a shared representation $h$.
  2. Transfer Learning Stage: The model uses $m$ samples from a distinct target task to optimize a predictor $f_0$ on top of the fixed representation $h$.

To prove their optimistic rates, the authors introduce several novel theoretical tools:

  • Local Rademacher Complexity (LRC) for MTRL: Unlike global complexity measures that evaluate an entire hypothesis class, LRC "zooms in" on the specific functions that perform well on the data, yielding significantly tighter bounds.
  • A New Chain Rule: The authors develop a chain rule for LRC that decouples the complexity of the representation class from the predictor class. This mirrors how practitioners actually build and fine-tune models.
  • Task Diversity: They formalize a framework to quantify exactly how much actionable information the source tasks provide about the target task.

Key Insights and Results

The paper delivers several foundational insights for learning theory:

  • The Interpolation Spectrum: The most significant takeaway is that learning rates are not fixed; they exist on a spectrum. If the model can perfectly fit the data (low target risk, $L^*$), the rate approaches the fast $1/m$. If the data is noisy or the fit is poor, the rate degrades gracefully toward $1/\sqrt{m}$.
  • The Power of Data Pooling: The theory mathematically quantifies the benefit of pooling data. By utilizing $nt$ total samples from source tasks, the model can learn a highly complex representation $h$ that would be impossible to optimize using only the $m$ samples from the target task.
  • Optimistic Transfer Rate: The excess transfer risk is proven to be bounded by a term that includes $\sqrt{L^*_{target} \cdot \text{Complexity}/m} + \text{Complexity}/m$. When the target risk $L^*_{target}$ is small, the $1/m$ term dominates.
  • Multi-Task Learning (MTL) Benefits: Beyond transfer learning, the authors provide optimistic rates for the source tasks themselves, proving that joint training inherently improves performance across all involved tasks.
  • Improved Constants: The authors introduce a general Local Rademacher Theorem for the concentration of vector-valued functions in product spaces, yielding tighter bounds and better constants than seminal prior works.

Limitations and Future Directions

While a major step forward, the theoretical framework has boundaries. The current work relies on a "product-space" assumption, treating tasks as permutation-invariant. While suitable for many MTL settings, it may not fully capture highly complex task dependencies. Additionally, the fast rates require the loss function to be smooth and non-negative (e.g., squared loss or smoothed hinge loss), making the extension to non-smooth losses an ongoing challenge.

Looking ahead, the authors suggest extending these optimistic rates to explore adversarial robustness, active learning, and the theoretical dynamics of fine-tuning the representation $h$ for the target task, rather than strictly freezing it.

Summary updated

BibTeX
@inproceedings{watkins2023optimistic,
  author = {Austin Watkins and Enayat Ullah and Thanh Nguyen-Tang and Raman Arora},
  title = {{Optimistic Rates for Multi-Task Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=gQ4h6WvME0},
}
Figure