Revisiting Softmax Masking: Stop Gradient for Enhancing Stability in Replay-based Continual Learning
Not on the map. Why?
Abstract (arXiv)
In replay-based methods for continual learning, replaying input samples in episodic memory has shown its effectiveness in alleviating catastrophic forgetting. However, the potential key factor of cross-entropy loss with softmax in causing catastrophic forgetting has been underexplored. In this paper, we analyze the effect of softmax and revisit softmax masking with negative infinity to shed light on its ability to mitigate catastrophic forgetting. Based on the analyses, it is found that negative infinity masked softmax is not always compatible with dark knowledge. To improve the compatibility, we propose a general masked softmax that controls the stability by adjusting the gradient scale to old and new classes. We demonstrate that utilizing our method on other replay-based methods results in better performance, primarily by enhancing model stability in continual learning benchmarks, even when the buffer size is set to an extremely small value.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 26 Sep 2023.
Builds on
27 of 36 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2016Learning without Forgettingcited by 2,496
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,333
- 2017Gradient Episodic Memory for Continual Learningcited by 1,898
- 2016Progressive Neural Networkscited by 1,361
- 2018Efficient Lifelong Learning with A-GEMcited by 1,058
- 2021Learning to Prompt for Continual Learningcited by 944
- 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
- 2019Large Scale Incremental Learningcited by 732
- 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
- 2019Gradient based sample selection for online continual learningcited by 571
- 2018Learning to Learn without Forgetting by Maximizing Transfer and Minimizing Interferencecited by 521
15 more
- 2018Progress & Compress: A scalable framework for continual learningcited by 520
- 2022CODA-Prompt: COntinual Decomposed Attention-based Prompting for Rehearsal-Free Continual Learningcited by 450
- 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 252
- 2021Co2L: Contrastive Continual Learningcited by 244
- 2018Selective Experience Replay for Lifelong Learningcited by 241
- 2021New Insights on Reducing Abrupt Representation Change in Online Continual Learningcited by 219
- 2021Deep Deterministic Uncertainty: A Simple Baselinecited by 200
- 2020Using Hindsight to Anchor Past Knowledge in Continual Learningcited by 161
- 2018Memory Efficient Experience Replay for Streaming Learningcited by 128
- 2022Class-Incremental Continual Learning into the eXtended DER-versecited by 124
- 2023Neural Collapse Inspired Feature-Classifier Alignment for Few-Shot Class Incremental Learningcited by 116
- 2018Measuring and regularizing networks in function spacecited by 99
- 2020Class-incremental Learning with Pre-allocated Fixed Classifierscited by 33
- 2023gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Samplingcited by 29
- 2022Revisiting Softmax for Uncertainty Approximation in Text Classificationcited by 4
Built on by
Not cited yet.