TL;DR
The authors propose Online Meta-Learning (OML), a method that trains a neural network to learn a representation specifically designed for lifelong learning. By explicitly optimizing for features that minimize catastrophic interference and accelerate future learning, OML produces naturally sparse representations that allow agents to learn from a stream of data without forgetting what they already know.
The Challenge of Continual Learning
Standard neural networks are notoriously bad at continual learning—the ability to learn new tasks sequentially from a stream of data. When you train a typical model on Task B, it often "overwrites" the weights used for Task A, a phenomenon known as catastrophic interference (or catastrophic forgetting).
Most existing solutions try to fix this during the online learning phase by replaying old data (rehearsal) or freezing important weights (regularization). However, these methods often ignore a fundamental issue: the underlying data representation itself isn't built for change. If the representation is "dense" (where every neuron responds to every input), any update to one task inevitably leaks into others. The authors argue we should instead meta-learn a representation that is inherently robust to these interference-prone updates.
Methods: The OML Architecture and Objective
To tackle this, the paper introduces a decoupled architecture and a novel meta-objective.
- RLN and PLN Split: The model is divided into two distinct parts:
- Representation Learning Network (RLN): A deep feature extractor (meta-parameters $\theta$) that stays fixed during the final online learning phase.
- Prediction Learning Network (PLN): A shallow head (adaptation parameters $W$) that is updated continuously as new data arrives.
- The OML Objective: Unlike standard meta-learning (like MAML), which optimizes for fast adaptation using batches of data, OML simulates the online learning process. During meta-training, it takes a single data point, performs a gradient update on the PLN, and then calculates the loss on a separate "test" set of samples from the same and previous tasks.
- Optimization: By backpropagating through this update step, the RLN is forced to learn features that make the PLN's online updates both effective (fast learning) and non-interfering (minimal forgetting).
Datasets
The authors evaluated OML on three main benchmarks:
- Incremental Sine Waves: A regression task where the model must learn ten different sine functions one after another.
- Split-Omniglot: A classification task involving 200 classes of handwritten characters. The model sees only five images per class before moving to the next, creating a highly correlated and difficult stream.
- Mini-Imagenet: A more complex image classification dataset used to show how OML scales to higher-dimensional visual data.
Key Insights and Ideas
- Emergent Sparsity: One of the most striking findings is that OML produces highly sparse representations (only ~3.8% activation) without any explicit L1 regularization or sparsity constraints. Sparse features naturally reduce interference because different tasks end up using different "parts" of the representation space.
- Manifold Alignment: OML affects the "solution manifolds" of different tasks. Ideally, these manifolds should be orthogonal (to avoid interference) or parallel (to allow for positive generalization). OML actively pushes the representation toward these geometries.
- Complementary to Rehearsal: OML isn't just a standalone method; it makes existing continual learning strategies like Meta Experience Replay (MER) and GEM significantly better. When these algorithms use an OML-trained representation, their performance jumps dramatically compared to using standard pre-trained features.
Key Results
OML demonstrates strong performance across both regression and classification tasks, maintaining accuracy where standard models rapidly degrade.
- Regression: On the Sine Wave task, OML maintained low error across all ten functions, while standard pre-training and other baselines saw error spike on early functions as soon as new ones were introduced.
- Classification: On Split-Omniglot (one class per task), OML achieved 64.72% accuracy, dwarfing the "Standard Online" baseline (~4.6%) and significantly beating MAML-Rep (~21%).
- Robustness: Even without replaying any old data, a simple online update on an OML representation was competitive with sophisticated rehearsal-based methods that store thousands of old samples.
Limitations and Future Work
- The Meta-Training Phase: Currently, OML requires a separate, offline meta-training phase on a related dataset to "learn how to learn." A truly autonomous agent should ideally be able to learn these representations online without a separate phase.
- Computational Cost: Meta-learning involves "gradients of gradients," which is computationally expensive and requires unrolling optimization paths. The authors used approximations to handle long sequences, but scaling this to even longer horizons remains a challenge.
- Future Directions: The paper suggests exploring "sleep phases" (background planning) to periodically optimize the representation on a buffer of recent data, potentially removing the need for a distinct meta-training stage.
Summary updated