Introduction
Continual Learning (CL) aims to enable Deep Neural Networks (DNNs) to learn a sequence of tasks without suffering from Catastrophic Forgetting (CF). However, existing methods often struggle with the "stability-plasticity dilemma." While stability preserves previously learned information, plasticity is required to absorb new knowledge. Most current CL strategies prioritize stability through unidirectional regularization—anchoring updates to a "stable" reference point. This often results in rigid models that fail to learn new tasks effectively.
This paper introduces Flashback Learning (FL), a plug-and-play meta-algorithm designed to explicitly balance these two forces. By introducing a bidirectional regularization scheme, FL allows models to harness new task knowledge to control plasticity, creating a more balanced learning flow.
Proposed Method: Flashback Learning (FL)
Flashback Learning is a two-phase training method compatible with various CL families, including distillation, memory replay, parameter regularization, and dynamic architectures. Unlike traditional methods that only regularize against a Stable Knowledge Base (SKB), FL introduces a Plastic Knowledge Base (PKB) to capture insights from the current task.
The Two-Phase Training Cycle
The FL process splits the training of each new task into two distinct phases:
- Phase 1 (Compiling Plastic Knowledge): Upon receiving a new task, the model is briefly trained on the new data. This rapid adaptation creates a "primary model," from which insights (e.g., logits or embeddings) are extracted and stored in the PKB.
- Phase 2 (Flashback & Bidirectional Regularization): The model "flashbacks" by re-initializing to its stable weights from the previous task. It is then re-trained on the new data using a bidirectional loss function. This loss simultaneously pulls the model toward the SKB (for stability) and the PKB (for plasticity).
By distributing the total training epochs between these two phases, FL maintains the same computational budget as standard baseline methods.
Theoretical and Biological Motivation
FL draws inspiration from neuroscience, specifically the bidirectional memory consolidation between the hippocampus and the neocortex during sleep. In this biological process, new information is not just stored but integrated into existing memory traces.
Theoretically, the authors demonstrate that FL’s bidirectional loss acts as a gradient interpolator. This mechanism forces the model's weights toward a "sweet spot" that optimizes performance for both old and new tasks, rather than blindly anchoring to the past.
Experimental Evaluation
The authors evaluated FL on standard benchmarks including Split CIFAR-10/100, Split Tiny ImageNet, and ImageNet-100 under Class-Incremental (CI) and Task-Incremental (TI) settings.
Key Results
- Performance Gains: Integrating FL into established baselines (e.g., iCaRL, LUCIR, oEWC) yielded accuracy improvements of up to 4.91% in CI and 3.51% in TI settings.
- State-of-the-Art Integration: FL enhanced modern SOTA methods like BEEF and FOSTER, with BEEF+FL showing a 4.76% improvement on CIFAR-100.
- Improved Stability-Plasticity Ratio (SPR): FL consistently lowered the SPR, indicating a superior balance between minimizing forgetting and maximizing new task acquisition.
- Representation Analysis: Centered Kernel Alignment (CKA) analysis revealed that FL-trained models develop internal representations that more closely resemble an "upper-bound" model trained on all data simultaneously.
Conclusion and Future Directions
Flashback Learning provides a robust, universal framework for mitigating catastrophic forgetting by harmonizing stability and plasticity. While it introduces a memory overhead by requiring storage for both SKB and PKB, its performance benefits across diverse CL strategies are significant. Future work will explore integrating FL with parameter-efficient fine-tuning (PEFT) methods like LoRA and prompt learning to scale the approach to massive pre-trained models and multi-modal scenarios.
Summary updated