IEEE Access (Jan 2024)

Looking Through the Past: Better Knowledge Retention for Generative Replay in Continual Learning

  • Valeriya Khan,
  • Sebastian Cygert,
  • Kamil Deja,
  • Tomasz Trzcinski,
  • Bartlomiej Twardowski

DOI
https://doi.org/10.1109/ACCESS.2024.3379148
Journal volume & issue
Vol. 12
pp. 45309 – 45317

Abstract

Read online

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