Continually learning new skills is a fundamental requirement for intelligent systems. However, standard deep learning models suffer from catastrophic forgetting: when trained on a new task, they tend to overwrite the weights necessary for previous tasks, causing performance on historical data to plummet.
Existing solutions generally fall into two categories:
- Weight Regularization: Methods like Elastic Weight Consolidation (EWC) attempt to keep new weights close to old weights. While computationally cheap, this often fails because the relationship between a neural network's weights and its outputs is highly non-linear.
- Functional Regularization: These methods directly ensure the model's predictions on old data do not change. While theoretically superior, they typically require storing massive amounts of old data or performing expensive computations that scale poorly.
To bridge this gap, researchers have introduced FROMP (Functional Regularisation of Memorable Past), a novel approach that achieves the performance of functional regularization with the efficiency of weight-space training.
The FROMP Methodology
FROMP prevents neural networks from forgetting old tasks by regularizing their outputs on a small, carefully selected set of past examples. The method is built on three main pillars:
- DNN to GP Conversion: Using a technique called DNN2GP, the authors approximate a deep neural network as a Gaussian Process (GP). This formulation allows the network to be treated as a distribution over functions rather than merely a collection of weights.
- Identifying the "Memorable Past": Instead of maintaining a massive replay buffer of all previous data, FROMP identifies a few "memorable" examples. These are data points where the model is most sensitive—specifically, points with high noise precision or curvature in the loss function. Intuitively, these points often lie near crucial decision boundaries that define the essence of the task.
- Functional Prior Regularization: When training on a new task, the model is penalized if its predictions on these memorable points deviate from the "past" model's predictions. Thanks to the GP formulation, this regularization accounts for the correlations and uncertainties between these points, making the constraint much more robust than simple point-wise matching.
Crucially, FROMP is implemented as a straightforward modification to the standard Adam optimizer, making it highly accessible and easy to integrate into existing deep learning workflows.
Key Insights
- Function Space over Weight Space: The paper reinforces the idea that what a model predicts is far more important to preserve than the specific values of its parameters. Due to parametric symmetries, many different weight configurations can produce the exact same output, making strict weight regularization overly restrictive.
- The "Memorable" Logic: A full replay buffer is unnecessary to avoid forgetting. By selecting points with the highest relevance (calculated via the second derivative of the loss), the model efficiently focuses its limited memory on the examples that anchor its learned decision boundaries.
- A Natural Synthesis: FROMP naturally combines regularization-based methods (like EWC) with memory-based methods (like Coresets), using a small memory footprint to perform vastly superior regularization.
Experimental Results
FROMP was evaluated on several standard continual learning benchmarks, demonstrating state-of-the-art capabilities:
- Split MNIST: On a sequence of binary classification tasks, FROMP achieved an impressive 99.0% accuracy, outperforming previous functional methods (like FRCL) and weight-based methods (like VCL).
- Split CIFAR: This more challenging benchmark consists of CIFAR-10 followed by five tasks from CIFAR-100, testing the model's ability to handle complex images. FROMP significantly outperformed EWC and Synaptic Intelligence (SI). It maintained performance close to the "Joint Training" upper bound (where a model sees all data at once), whereas competing methods suffered sharp performance drops as tasks accumulated.
- Forward Transfer: FROMP exhibited strong "forward transfer," meaning that learning previous tasks actually helped the model learn new tasks faster and more effectively. It achieved a 6.1% improvement metric on CIFAR, compared to near-zero forward transfer for its competitors.
Limitations and Future Directions
While highly effective, FROMP does have limitations. First, there is a computational overhead: although more efficient than previous functional methods, FROMP requires computing Jacobians and inverting small matrices (scaling linearly with the number of tasks). Second, the primary experiments assume the model is explicitly told when a task boundary occurs. Adapting this to seamless streaming data remains a challenge. Finally, scaling to massive datasets like ImageNet will require further optimizations, particularly in moving beyond diagonal approximations for covariance matrices.
Despite these challenges, FROMP opens a highly promising direction for life-long learning, proving that functional regularization can be both practical and exceptionally powerful.
Summary updated