Looking Through the Past: Better Knowledge Retention for Generative Replay in Continual Learning
Open Access
- 18 March 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 45309-45317
Abstract
In this work, we improve the generative replay in a continual learning setting to perform well on challenging scenarios. Because of the growing complexity of continual learning tasks, it is becoming more popular, to apply the generative replay technique in the feature space instead of image space. Nevertheless, such an approach does not come without limitations. In particular, we notice the degradation of the continually trained model’s performance could be attributed to the fact that the generated features are far from the original ones when mapped to the latent space. Therefore, we propose three modifications that mitigate these issues. More specifically, we incorporate the distillation in latent space between the current and previous models to reduce feature drift. Additionally, a latent matching for the reconstruction and original data is proposed to improve generated features alignment. Further, based on the observation that the reconstructions are better for preserving knowledge, we add the cycling of generations through the previously trained model to make them closer to the original data. Our method outperforms other generative replay methods in various scenarios. Code available at https://github.com/valeriya-khan/looking-through-the-past.Keywords
All Related Versions
Funding Information
- National Centre of Science, Poland (2020/39/B/ST6/01511, 2021/43/O/ST6/02482, 2022/45/B/ST6/02817)
- PL-Grid Infrastructure (PLG/2023/016393)
- Warsaw University of Technology within the Excellence Initiative: Research University (IDUB) programme
This publication has 20 references indexed in Scilit:
- PyCIL: a Python toolbox for class-incremental learningScience China Information Sciences, 2023
- GDumb: A Simple Approach that Questions Our Progress in Continual Learning2020
- Brain-inspired replay for continual learning with artificial neural networksNature Communications, 2020
- Alleviating catastrophic forgetting using context-dependent gating and synaptic stabilizationProceedings of the National Academy of Sciences, 2018
- Memory Aware Synapses: Learning What (not) to Forget2018
- Piggyback: Adapting a Single Network to Multiple Tasks by Learning to Mask Weights2018
- PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruning2018
- Overcoming catastrophic forgetting in neural networksProceedings of the National Academy of Sciences, 2017
- Learning Without Forgetting2016
- Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem1989