Introduction
In an ideal world, an AI would learn like a human: mastering one skill, then using that foundation to learn the next without forgetting the first. In reality, deep learning models suffer from catastrophic forgetting. When a standard model is trained on a new task, it typically overwrites the weights learned for previous tasks, destroying its prior performance.
Existing solutions generally fall into three categories: regularization (slowing weight changes), rehearsal (storing old data), and expansion (adding new neurons). However, these methods often struggle with performance degradation, high memory overhead, or model size explosion. The Learn-Prune-Share (LPS) framework addresses these challenges by focusing on parsimony and effective knowledge reuse within a fixed-capacity network.
Methods
The LPS algorithm operates on a fixed-capacity network, treating its weights as a shared resource partitioned over time. The process follows a cyclical "Learn-Prune-Share" pipeline for each sequential task.
- Partitioning via Pruning: Instead of using the entire network for every task, LPS identifies a small, sparse subset of weights dedicated to the current task. Once learned, these weights are "frozen." Subsequent tasks utilize the remaining "free capacity." Because the finalized weights for different tasks are disjoint, catastrophic forgetting is mathematically eliminated.
- ADMM-based Optimization: Unlike simple magnitude pruning, LPS employs the Alternating Direction Method of Multipliers (ADMM). This mathematically rigorous optimization framework enables structured pruning (e.g., removing entire columns or filters), which is significantly more efficient for hardware acceleration on GPUs and edge devices.
- Selective Knowledge Sharing: The core innovation of LPS is a learnable, binary knowledge-sharing mask. For a new task, the model does not just rely on its own dedicated weights; it learns which weights from previous tasks are useful to "borrow." This allows for adaptive transfer learning—sharing extensively when tasks are similar and minimally when they are distinct.
Experimental Setup
The researchers evaluated LPS on three distinct benchmarks to test its versatility:
- Permuted MNIST: A classic benchmark involving 10 tasks where handwritten digit pixels are randomly shuffled.
- Split CIFAR-10/100: A complex image classification challenge where the model learns CIFAR-10 followed by five subsets of CIFAR-100.
- Split RF (Radio Frequency): A real-world dataset involving the "fingerprinting" of 50 different WiFi devices based on signal transmissions, testing the model's ability to handle non-image data.
Key Insights and Results
LPS consistently outperformed state-of-the-art competitors like EWC, GEM, and PackNet across all datasets. On the challenging Split RF dataset, LPS achieved 81.22% accuracy, while older methods like EWC plummeted to 37.01%.
- The "Goldilocks" of Sharing: Experiments revealed that knowledge sharing is not binary. In CIFAR experiments, optimal performance occurred when sharing approximately 90% of past knowledge. However, when tasks were highly dissimilar, the optimal sharing ratio dropped significantly. LPS is unique because it automatically learns this optimal ratio.
- Efficiency and Reuse: LPS often outperformed "Single Model" (SM) baselines trained on only one task at a time. This suggests that the knowledge reuse mechanism allows the model to learn more effectively than starting from a blank slate. Furthermore, the model remains high-performing even when restricted to 10% of total network capacity per task, proving that modern networks are often vastly over-parameterized.
Conclusion and Future Work
LPS provides a hardware-friendly, parsimonious solution to lifelong learning by ensuring zero forgetting through disjoint weight partitioning and enhancing performance through selective sharing. Currently, the framework requires a "Task Oracle" to identify the task at test time and operates within a finite network capacity. Future research will explore quantitative measures for remaining model capacity and even more advanced pruning strategies to accommodate an indefinite number of tasks.
Summary updated