Gradient-Guided Epsilon Constraint Method for Online Continual Learning

Song Lai, Changyi Ma, Fei Zhu, Zhe Zhao, Xi Lin +2 more
1/1/2025

No confident code implementation found for this paper.

Abstract

Online Continual Learning (OCL) requires models to learn sequentially from data streams with limited memory. Rehearsal-based methods, particularly Experience Replay (ER), are commonly used in OCL scenarios.

Show full abstract

This paper revisits ER through the lens of ϵ -constraint optimization, revealing that ER implicitly employs a soft constraint on past task performance, with its weighting parameter post-hoc defining a slack variable. While effective, ER’s implicit and fixed slack strategy has limitations: it can inadvertently lead to updates that negatively impact generalization, and its fixed trade-off between plasticity and stability may not optimally balance current streaming with memory retention, potentially over-fitting to the memory buffer. To address these shortcomings, we propose the G radient-Guided E psilon C onstraint ( GEC ) method for online continual learning. GEC explicitly formulates the OCL update as an ϵ -constraint optimization problem, which minimize the loss on the current task data and transform the stability objective as constraints and propose a gradient-guided method to dynamically adjusts the update direction based on whether the performance on memory samples violates a predefined slack tolerance ¯ ε : if forgetting exceeds this tolerance, GEC prioritizes constraint satisfaction; otherwise, it focuses on the current task while controlling the rate of increase in memory loss. Empirical evaluations on standard OCL benchmarks demonstrate GEC’s ability to achieve a superior trade-off, leading to improved overall performance. Code is available at https://github.com/laisong-22004009/GEC_OCL .

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lai2025gradientguided,
  title  = {Gradient-Guided Epsilon Constraint Method for Online Continual Learning},
  author = {Song Lai and Changyi Ma and Fei Zhu and Zhe Zhao and Xi Lin and Gao-Feng Meng and Qingfu Zhang},
  year   = {2025},
  doi    = {10.52202/085713-4138},
  url    = {https://doi.org/10.52202/085713-4138},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/9338e7ebc878706df292974f48c3a4d2fc6633cb.svg)](https://codeofpaper.com/paper/9338e7ebc878706df292974f48c3a4d2fc6633cb)

Discussion