Bootstrapped Meta-Learning

Sebastian Flennerhag, Yannick Schroecker, Tom Zahavy, Hado van Hasselt, David Silver, Satinder Singh

Overview

DeepMind researchers have introduced Bootstrapped Meta-Gradients (BMG), a novel framework that allows a meta-learner to optimize its own learning process by matching a "future" version of itself. By bootstrapping targets and using flexible distance metrics, BMG overcomes the common pitfalls of short-horizon bias and poor optimization landscapes, achieving a new state-of-the-art on the Atari ALE benchmark.

The Meta-Optimization Bottleneck

Meta-learning, or "learning how to learn," aims to automate the design of update rules (like SGD) so agents can learn more efficiently. However, it faces two major "meta-optimization" bottlenecks:

  1. Myopia (Short-Horizon Bias): Evaluating an update rule requires running it for $K$ steps. Because backpropagating through many steps is computationally expensive, researchers usually keep $K$ small. This makes the meta-learner "nearsighted," optimizing for immediate gains while ignoring long-term learning dynamics.
  2. Curvature: The meta-objective often inherits the same "nasty" geometry as the original task. If the task's loss landscape is ill-conditioned (full of steep ravines and flat plateaus), the meta-optimization process will likely struggle or fail.

Methods: Bootstrapped Meta-Gradients

The authors propose BMG to tackle these bottlenecks. Instead of directly optimizing the learner's performance after $K$ steps, BMG follows a two-step process:

  • Step 1: Generate a Target. The algorithm "looks ahead" by unrolling the update rule for additional steps ($L$) to create a target parameter set. Crucially, it does not backpropagate through these extra steps, avoiding the massive memory and computational costs of long-horizon meta-gradients.
  • Step 2: Target Matching. The meta-learner is optimized to minimize the distance (or divergence) between its current state and this bootstrapped target.
Conceptual overview of Bootstrapped Meta-Gradients (BMG), illustrating the process of generating a target and matching it using a chosen metric.

By choosing a specific matching function (like Kullback-Leibler divergence for probabilities), the researchers can reshape the optimization landscape, making it much smoother and more stable than the original task's geometry.

Key Insights

  • The Meta-Learner as Teacher: In BMG, the meta-learner essentially becomes its own teacher. It uses its "future self" to provide a training signal for its "current self."
  • Reshaping the Landscape: Standard meta-learning is stuck with the task's geometry. BMG allows designers to pick a metric (e.g., KL divergence) that is better behaved, effectively "regularizing" the meta-optimization process.
  • Efficiency via Decoupling: BMG can extend the effective meta-learning horizon (the $L$ steps) without increasing the number of steps it needs to backpropagate through. This breaks the linear relationship between "looking ahead" and "computational cost."
  • Meta-Learning the "Un-optimizable": The authors show BMG can meta-learn parameters that don't even appear in the loss function, such as the $\epsilon$ in $\epsilon$-greedy exploration, simply by matching the resulting behavior to a target.

Key Results

The paper evaluates BMG across three distinct domains: a non-stationary grid-world, the Atari Arcade Learning Environment (ALE), and MiniImageNet.

Performance comparison showing Bootstrapped Meta-gradients outperforming standard Meta-gradients across various lookahead horizons.
  • Atari SOTA: BMG achieved a new state-of-the-art for model-free agents on the Atari ALE, reaching a median Human Normalized Score (HNS) of 611%, significantly outperforming the previous state-of-the-art (STACX at ~350%).
  • Speed and Scaling: In few-shot learning on MiniImageNet, BMG reached the peak performance of standard MAML in half the time. It also showed superior scaling when using larger neural networks.
  • Stability: BMG improved the stability of meta-gradients by two orders of magnitude (measured by cosine similarity between consecutive updates) compared to standard methods.

Limitations and Future Work

While BMG is highly flexible, it introduces new hyperparameters, specifically the choice of the matching function $\mu$ and the bootstrapping length $L$. While gradient-based bootstraps work well, the "optimal" choice for a given task remains an open question. Additionally, in reinforcement learning, the authors noted that using unique replay data for the bootstrap steps was necessary to prevent overfitting to the current batch.

Future directions include exploring non-gradient-based bootstrapping methods and applying BMG to even more complex "behavioral" meta-learning, where the meta-learner optimizes the agent's acting policy directly.

Summary updated

BibTeX
@inproceedings{flennerhag2022bootstrapped,
  author = {Sebastian Flennerhag and Yannick Schroecker and Tom Zahavy and Hado van Hasselt and David Silver and Satinder Singh},
  title = {{Bootstrapped Meta-Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=b-ny3x071E5},
}
Figure