English

Provable Contrastive Continual Learning

Machine Learning 2024-05-30 v1 Artificial Intelligence Computer Vision and Pattern Recognition Applications Machine Learning

Abstract

Continual learning requires learning incremental tasks with dynamic data distributions. So far, it has been observed that employing a combination of contrastive loss and distillation loss for training in continual learning yields strong performance. To the best of our knowledge, however, this contrastive continual learning framework lacks convincing theoretical explanations. In this work, we fill this gap by establishing theoretical performance guarantees, which reveal how the performance of the model is bounded by training losses of previous tasks in the contrastive continual learning framework. Our theoretical explanations further support the idea that pre-training can benefit continual learning. Inspired by our theoretical analysis of these guarantees, we propose a novel contrastive continual learning algorithm called CILA, which uses adaptive distillation coefficients for different tasks. These distillation coefficients are easily computed by the ratio between average distillation losses and average contrastive losses from previous tasks. Our method shows great improvement on standard benchmarks and achieves new state-of-the-art performance.

Keywords

Cite

@article{arxiv.2405.18756,
  title  = {Provable Contrastive Continual Learning},
  author = {Yichen Wen and Zhiquan Tan and Kaipeng Zheng and Chuanlong Xie and Weiran Huang},
  journal= {arXiv preprint arXiv:2405.18756},
  year   = {2024}
}

Comments

Accepted by ICML 2024

R2 v1 2026-06-28T16:45:04.294Z