Abstract
Meta-learning aims to enable models to adapt to new tasks with minimal data. However, existing methods often fail when test-time tasks exhibit "out-of-distribution" (OOD) shifts in scale or range. This paper introduces MeRLOT (Meta-Regression using Local updates for Out-of-distribution Tasks), a framework that replaces global, fixed-size task representations with local, nonparametric functions. By meta-training an update rule that refines functions grounded in local neighborhoods, MeRLOT achieves superior generalization and robustness, setting a new state-of-the-art on the Omnipush robotics benchmark.
The Problem: Brittle Global Representations
Standard meta-learning approaches, such as optimization-based MAML or model-based Attentive Neural Processes (ANP), typically rely on a global bottleneck—a single vector or a fixed set of parameters meant to represent the entire task. This architecture is prone to failure in two key OOD scenarios:
- Meta-scale shift: When the test task is larger or more complex than those seen during training.
- Meta-range shift: When input variables fall outside the training range.
Global models tend to smooth over sharp transitions and struggle to "stretch" their fixed representations to accommodate novel scales. This makes them particularly ill-suited for real-world physical systems, which often involve discontinuities like collisions.
MeRLOT: A Local Nonparametric Approach
MeRLOT addresses these limitations by shifting the focus from global to local adaptation. Instead of fitting one global function, it generates a set of local functions $\{f^i\}$, one for every labeled data point in the context set.
The Architecture
- Seed Function Generator ($\psi$): The process begins by creating an initial "guess" for a local function based on a single data point, ensuring the representation is grounded in its local neighborhood.
- Iterative Functional Gradients: MeRLOT employs a meta-trained update rule to refine these local functions over several iterations. It calculates a "functional gradient" that informs the model how to adjust the local function to better fit surrounding data points.
- Attention-based Mixing: For final predictions, a Transformer-style attention mechanism weights the local functions based on their proximity and relevance to the query point.
Because MeRLOT is nonparametric, its representational power scales naturally with the size of the dataset; more data simply results in more local functions, avoiding the capacity limits of global bottlenecks.
Key Insights
- Precision through Locality: By grounding predictions in local context labels, MeRLOT avoids the long computational paths and information loss associated with global bottlenecks.
- Handling Discontinuities: While global neural networks struggle with "cliffs" in data, MeRLOT can model jumps (such as physical collisions) by maintaining distinct local functions on either side of a break.
- Robustness to Noise: In maze navigation experiments, the model proved adept at ignoring "distractor" trajectories far from the query point, whereas global models often became confused by irrelevant data.
Key Results
MeRLOT was evaluated across synthetic 1D regression, 2D maze dynamics, and the real-world Omnipush robotics benchmark.
- Omnipush SOTA: MeRLOT significantly outperformed MAML, ANP, and MetaFun. It was particularly effective in Negative Log-Likelihood (NLL), indicating highly accurate uncertainty estimates—a vital requirement for safe robotics.
- Superior Extrapolation: In 1D regression tasks involving meta-range shifts, MeRLOT achieved an NLL of 1.104, vastly outperforming MAML (1.806) and ANP (1.920).
- Visual Fidelity: Qualitative analysis shows that while competing models often underfit or over-smooth complex functions, MeRLOT tracks ground truth with high precision, even across sharp discontinuities.
Limitations and Future Work
While powerful, MeRLOT's memory and compute requirements scale linearly with the number of context points. Future research may explore sparse versions of the algorithm to handle extremely large datasets. Additionally, while MeRLOT excels at regression, extending its local functional gradient approach to high-dimensional classification and complex Reinforcement Learning remains an open challenge.
Summary updated