Improved Elastic Weight Consolidation as an Optimization Constraint for Continual Learning
Abstract
Regularization-based continual learning reduces catastrophic forgetting by penalizing changes to parameters that mattered for earlier tasks. Elastic Weight Consolidation (EWC), a standard instance, weights its quadratic penalty by the empirical Fisher, usually justified as approximating loss curvature. We instead derive the penalty from what training on a new task should preserve. In this formulation, Continual Learning as an Optimization Constraint (CLOC), new training must keep chosen functionals of learned behavior unchanged, and the local approximation of this constraint is the stored penalty. We show that EWC's empirical Fisher is exactly the first-order form of this constraint when the preserved functional is each old sample's loss. The derivation exposes a flaw: EWC weights each sample by the scale of its loss gradient, so samples the model fits well barely contribute, although later training can still forget them. Improved EWC (IEWC) instead penalizes how far each old output moves off its loss level set, rather than how much its loss changes, which removes this weighting for any differentiable loss and output geometry. Across classification, segmentation, language, forecasting, and diffusion, IEWC variants match or improve on EWC and outperform EWC-DR, a classification-specific correction. In a held-out evaluation with validation-selected hyperparameters, removing this weighting alone raises ImageNet-R accuracy over EWC by 2.00 percentage points (95% CI 0.93-3.07). More broadly, CLOC turns the design of continual-learning penalties into a choice of what to preserve, from which a principled penalty follows by derivation.
Create a lesson
Metadata
- Categories
- cs.LG, stat.ML
- Comments
- 22 pages, 7 figures. Code: https://github.com/Axym-Labs/iewc
Related papers
Improved Regret via Variance-Aware Policy Optimization in Adversarial MDPs
Shared title terminologycs.LGOfir Schlisselberg, Alon Cohen, Yishay Mansour
Curvature-Equilibrated Policy Optimization for Deep Reinforcement Learning
Shared title terminologycs.LGGang Chen
SOTS: Signature-based Optimal Transport Selection
Shared title terminologycs.LGKhalid Akhmouch, Eric Jauer
Near-Zero Forgetting Is Not Enough: Out-of-Distribution Robustness in Continual Learning of Pretrained VLAs
Shared title terminologycs.LGAdrià Ruiz, Bartłomiej Twardowski, Tinne Tuytelaars et al.
Trust-Region Optimization for Performative Prediction without Response Modeling
Shared title terminologycs.LGSiqi Du, Miaolan Xie, Roy Dong
NeuroMotion: Aligning EEG to Discrete Motion Primitives for Continuous Motion Decoding
Shared title terminologycs.LGYi Liu, Qi Zhang, HaoLin Li et al.