cs.LGMar 19, 2026

Elastic Weight Consolidation Done Right for Continual Learning

Authors: Xuan Liu, Xiaobin Chang

Organizations: School of Artificial Intelligence, Sun Yat-sen University, China · Key Laboratory of Intelligent Assessment Technology for Sustainable Tourism, Ministry of Culture and Tourism, Sun Yat-sen University · Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education, China

Abstract

Weight regularization methods in continual learning (CL) alleviate catastrophic forgetting by assessing and penalizing changes to important model weights. Elastic Weight Consolidation (EWC) is a foundational and widely used approach within this framework that estimates weight importance based on gradients. However, it has consistently shown suboptimal performance. In this paper, we conduct a systematic analysis of importance estimation in EWC from a gradient-based perspective. For the first time, we find that EWC's reliance on the Fisher Information Matrix (FIM) results in gradient vanishing and inaccurate importance estimation in certain scenarios. Our analysis also reveals that Memory Aware Synapses (MAS), a variant of EWC, imposes unnecessary constraints on parameters irrelevant to prior tasks, termed the redundant protection. Consequently, both EWC and its variants exhibit fundamental misalignments in estimating weight importance, leading to inferior performance. To tackle these issues, we propose the Logits Reversal (LR) operation, a simple yet effective modification that rectifies EWC's importance estimation. Specifically, reversing the logit values during the calculation of FIM can effectively prevent both gradient vanishing and redundant protection. Extensive experiments across various CL tasks and datasets show that the proposed method significantly outperforms existing EWC and its variants. Therefore, we refer to it as EWC Done Right (EWC-DR). Code is available at https://github.com/scarlet0703/EWC-DR.

Figures & tables

Explore similar work

CardsList
  1. Revisiting Weight Regularization for Low-Rank Continual Learning

    Feb 19, 2026Yaoyue Zheng, Yin Zhang, Joost van de Weijer +4Incremental LearningElastic Weight Consolidation

  2. The Sequential Price of Continual Learning

    Aug 30, 2026Zonghuan Xu, Xingjun MaContinual LearningElastic Weight Consolidation

  3. From Weights to Features: SAE-Guided Activation Regularization for LLM Continual Learning

    Jun 25, 2026Evan Ning, Wei Xue, Dong Lou +1Continual Learning for LLMsCatastrophic Forgetting