Contrastive Continual Learning with Importance Sampling and Prototype-Instance Relation Distillation

Abstract

Recently, because of the high-quality representations of contrastive learning methods, rehearsal-based contrastive continual learning has been proposed to explore how to continually learn transferable representation embeddings to avoid the catastrophic forgetting issue in traditional continual settings. Based on this framework, we propose Contrastive Continual Learning via Importance Sampling (CCLIS) to preserve knowledge by recovering previous data distributions with a new strategy for Replay Buffer Selection (RBS), which minimize estimated variance to save hard negative samples for representation learning with high quality. Furthermore, we present the Prototype-instance Relation Distillation (PRD) loss, a technique designed to maintain the relationship between prototypes and sample representations using a self-distillation process. Experiments on standard continual learning benchmarks reveal that our method notably outperforms existing baselines in terms of knowledge preservation and thereby effectively counteracts catastrophic forgetting in online contexts. The code is available at https://github.com/lijy373/CCLIS.

Cite

Text

Li et al. "Contrastive Continual Learning with Importance Sampling and Prototype-Instance Relation Distillation." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I12.29259

Markdown

[Li et al. "Contrastive Continual Learning with Importance Sampling and Prototype-Instance Relation Distillation." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/li2024aaai-contrastive/) doi:10.1609/AAAI.V38I12.29259

BibTeX

@inproceedings{li2024aaai-contrastive,
  title     = {{Contrastive Continual Learning with Importance Sampling and Prototype-Instance Relation Distillation}},
  author    = {Li, Jiyong and Azizov, Dilshod and Li, Yang and Liang, Shangsong},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {13554-13562},
  doi       = {10.1609/AAAI.V38I12.29259},
  url       = {https://mlanthology.org/aaai/2024/li2024aaai-contrastive/}
}