Abstract
Standard meta-learning helps models "learn to learn" from a specific set of tasks, but it often fails when faced with a completely new type of task. This paper introduces Model-Agnostic Learning to Meta-Learn (MALTML), a hierarchical approach that enables models to quickly adapt to entirely new task distributions (families of tasks) before honing in on specific individual tasks. By explicitly modeling a "distribution over distributions," MALTML provides a robust foundation for few-shot learning across diverse domains.
Introduction: The Generalization Gap in Meta-Learning
Meta-learning, popularized by algorithms like MAML (Model-Agnostic Meta-Learning), aims to find a model initialization that can adapt to a new task with just a few data points. However, these models typically assume that all tasks are drawn from the same distribution. For instance, a meta-learner trained on animal classification might struggle to adapt to font classification because its "learning to learn" capability is tied to the specific features of the training distribution.
To achieve true AI robustness, models must be able to quickly learn how to adapt to a new family of tasks—a paradigm the authors call "few-task few-shot learning."
Methods: Hierarchical Optimization
The core of MALTML is a three-level hierarchical optimization process, visualized as a nested loop:
- The Inner Loop (Finetuning): The model adapts to a specific task (e.g., identifying a specific face) using a few examples.
- The Middle Loop (Meta-Finetuning): The model is exposed to a few tasks from a new distribution. It uses these tasks to update its initialization parameters, becoming better at learning tasks from that specific distribution.
- The Outer Loop (Meta-Training): The model is trained across many different task distributions so that its global "starting point" is optimized for the middle loop's adaptation.
Essentially, MALTML optimizes for a representation that is not just good for a task, but good for meta-learning a new distribution. The authors also explore MALTML-BOIL (Body Only update), which focuses on updating internal features rather than just the final classification layer, testing the relative importance of "rapid learning" versus "feature reuse."
Experimental Evaluation
MALTML was evaluated across several domains, including synthetic regression, Omniglot alphabet classification, and reinforcement learning navigation tasks.
Key Results
In toy regression experiments, MALTML achieved a significantly better fit on new sine wave families compared to standard MAML. While MAML's "learning style" remained fixed, MALTML adjusted its initialization to match the new distribution's characteristics.
In classification on Omniglot, MALTML-BOIL achieved 99.20% accuracy in the 5-task 5-shot setting. In RL navigation, MALTML's average return jumped from -38.4 to -13.3 after a meta-update, whereas MAML's performance remained relatively flat, demonstrating that MALTML successfully "learned how to learn" in the new environment.
Discussion and Insights
The results suggest that hierarchy is the key to generalization. By modeling the structure of task families, MALTML learns a flexible foundation rather than memorizing specific solutions. Furthermore, the success of the "Body Only" update suggests that "rapid learning" (updating the entire network body) is more effective for cross-distribution adaptation than simple feature reuse.
However, the approach faces challenges such as family-level overfitting when training families are limited (e.g., in Tiered-ImageNet) and high sensitivity to hyperparameters like the meta-step size. Future work aims to scale MALTML to multi-task settings combining disparate domains like classification and depth estimation.
Summary updated