Abstract
Catastrophic forgetting in deep neural networks occurs when learning new tasks degrades performance on previously learned tasks due to knowledge overwriting. Among the approaches to mitigate this issue, regularization techniques aim to identify and constrain "important" parameters to preserve previous knowledge. In the highly nonconvex optimization landscape of deep learning, we propose a novel perspective: tracking parameters during the final training plateau is more effective than monitoring them throughout the entire training process. We argue that parameters that exhibit higher activity (movement and variability) during this plateau reveal directions in the loss landscape that are relatively flat, making them suitable for adaptation to new tasks while preserving knowledge from previous ones. Our comprehensive experiments demonstrate that this approach achieves superior performance in balancing catastrophic forgetting mitigation with strong performance on newly learned tasks.
Introduction
Deep Neural Networks (DNNs) are notoriously susceptible to catastrophic forgetting. When a model is trained sequentially on multiple tasks, the weight updates required for a new task often overwrite the configurations necessary for previous ones, leading to a sharp decline in prior performance. Traditional regularization methods, such as Synaptic Intelligence (SI) and Elastic Weight Consolidation (EWC), attempt to mitigate this by identifying "important" parameters and penalizing their modification.
However, these methods typically track parameter importance throughout the entire training trajectory. In the complex, non-convex landscapes of deep learning, the gradients captured during the initial rapid descent phase often do not reflect the local geometry of the final solution. This can lead to overly restrictive constraints on parameters that might otherwise be flexible enough to accommodate new information.
Plateau Phase Activity Profiling (PPAP)
Researchers from Bar-Ilan University have introduced Plateau Phase Activity Profile (PPAP), a method that shifts the focus from the entire training process to the final training plateau. This is the period where the loss has stabilized, and the model parameters are merely "jittering" around a local minimum.
The PPAP Mechanism
PPAP identifies flexible weights by analyzing this jitter. The workflow involves:
- Plateau Identification: Using a Gaussian scaling factor to weight parameter activity more heavily when the change in loss is near zero, effectively filtering out the noise of the initial rapid descent.
- Activity Profiling: Tracking the movement and variability of each parameter during the plateau to calculate a "flexibility score" ($P_w$).
- Modulated Updates: When transitioning to a new task, the update rule is modified to allow "flexible" parameters (those in flat regions) to change more significantly, while "stable" parameters are protected.
Key Insights: Flatness and Noise
The core philosophy of PPAP is that flatness equals flexibility. Parameters exhibiting high variability during a loss plateau are likely moving along flat directions in the loss landscape. Moving along these directions allows the model to adapt to new tasks without significantly impacting the performance of the original task. Furthermore, PPAP treats the stochastic "noise" of standard optimizers (like SGD or Adam) as a valuable signal that reveals the local geometry of the minimizer, rather than a hurdle to be overcome.
Experimental Evaluation and Results
The authors evaluated PPAP against standard benchmarks, including sequential CIFAR-10 to CIFAR-100 tasks and a "Leave One Class Out" (LOCO) scenario using ResNet18.
In the sequential CIFAR benchmark, PPAP consistently outperformed Synaptic Intelligence (SI). For instance, on the second task in the sequence, PPAP achieved an accuracy of 73.6%, notably higher than SI's 68.0%. As the number of tasks increased, PPAP maintained a much higher retention rate compared to simple fine-tuning, which saw initial task accuracy drop from ~85% to ~42%.
Conclusion and Future Directions
PPAP offers a robust alternative to global parameter tracking by leveraging the local geometry of the final training plateau. By identifying flexible parameters through their activity in flat regions, it provides a superior trade-off between learning new tasks and preserving old ones. Future work may explore layer-wise normalization to better capture architectural nuances and the integration of PPAP with optimizers specifically designed to find flat minima, such as Sharpness-Aware Minimization (SAM).
Summary updated