Abstract
Many prediction problems, such as those that arise in the context of robotics, have a simplifying underlying structure that, if known, could accelerate learning. In this paper, we present a strategy for modular meta-learning that discovers this structure by learning a library of specialized neural network modules. By recombining these modules for new tasks—a concept called "combinatorial generalization"—the system achieves superior performance and better interpretability on robotics-related prediction tasks compared to standard meta-learning approaches.
Introduction
In the quest to make robots learn as fast as humans, researchers often turn to meta-learning, or "learning to learn." The goal is to use experience from previous tasks to master a new one with just a handful of examples. While popular methods like Model-Agnostic Meta-Learning (MAML) focus on finding the perfect "starting weights" for a single neural network, a team from MIT CSAIL suggests a different path: Modular Meta-Learning. Instead of one giant network, this approach learns a library of specialized "modules" that can be snapped together like LEGO bricks to solve new problems.
Methods: From Parametric to Modular
Most meta-learning algorithms are parametric: they try to find a single set of weights that can be quickly nudged via gradient descent to fit a new task. However, many real-world problems (especially in robotics) have a recurring, modular structure. For example, the physics of pushing a box depends on the object's shape and the surface's friction—independent "modules" of reality.
The authors propose two key algorithms to address the challenges of discovering and searching for these modules:
- BOUNCEGRAD: This core contribution operates in two phases. In the Meta-test (Online) phase, it uses Simulated Annealing to search through the space of possible module combinations (structures), avoiding the local optima traps of gradient descent. In the Meta-training (Offline) phase, it learns module parameters by optimizing a "smoothed" objective, training modules to work well across the distribution of structures explored during search.
- MOMA (Modular MAML): An extension that combines structural search with MAML-style weight adaptation. It finds the best structure first, then performs a few gradient steps to fine-tune the module weights for the specific task.
Datasets and Evaluation
The researchers evaluated their approach on three distinct domains to test generalization and structural recovery:
- Functional Relationships: Predicting sine waves and complex sums of primitive functions (like
abs,exp, andsinc). - MIT Push Dataset: A real-world robotics dataset where the goal is to predict how an object's position and orientation change after being pushed, involving 11 different objects on 4 different surfaces.
- Berkeley MHAD (Motion Capture): Predicting the next frame of a human skeleton's movement across different actions and subjects.
Key Results and Insights
- Superior Accuracy: On the "Sum of functions" task with limited data (16 points), BOUNCEGRAD achieved a loss of 0.4, significantly outperforming MAML (8.0) and standard pooled networks (31.9).
- Robotics Performance: On the MIT Push dataset for known objects, MOMA achieved the best performance with a loss of 14.9, compared to 18.5 for MAML.
- Module Recovery and Interpretability: In the function domain, the algorithm successfully "rediscovered" underlying primitive functions like
absandsinwithout prior knowledge. Furthermore, the system allows for visualization of task relationships; for instance, the model correctly identified clusters of similar objects (e.g., all ellipses sharing modules) in the robotics tasks. - Efficiency: BOUNCEGRAD can be faster to meta-train than MAML because it avoids computationally expensive Hessian (gradient-through-gradient) calculations.
Conclusion and Future Work
Modular meta-learning offers a powerful framework for "combinatorial generalization," allowing a small set of well-learned modules to represent a vast number of tasks. While the current work requires predefined compositional schemes and faces potential search bottlenecks in massive structural spaces, it provides a clear path toward more interpretable and efficient robotic learning. Future research aims to extend these concepts beyond supervised prediction into the realm of Reinforcement Learning (RL).
Summary updated