Continual Pre-Training Mitigates Forgetting in Language and Vision

Andrea Cossu, Tinne Tuytelaars, Antonio Carta, Lucia Passaro, Vincenzo Lomonaco +1 more
5/19/2022
cs.LGcs.AI

Official code: AndreaCossu/continual-pretraining-nlp-vision (22 stars, Jupyter Notebook, MIT, last commit 2023-10-23).

Abstract

Pre-trained models are nowadays a fundamental component of machine learning research. In continual learning, they are commonly used to initialize the model before training on the stream of non-stationary data.

Show full abstract

However, pre-training is rarely applied during continual learning. We formalize and investigate the characteristics of the continual pre-training scenario in both language and vision environments, where a model is continually pre-trained on a stream of incoming data and only later fine-tuned to different downstream tasks. We show that continually pre-trained models are robust against catastrophic forgetting and we provide strong empirical evidence supporting the fact that self-supervised pre-training is more effective in retaining previous knowledge than supervised protocols. Code is provided at https://github.com/AndreaCossu/continual-pretraining-nlp-vision .

View on arXivView PDF

Code Implementations(1)

MIT

Code to reproduce experiments from the paper "Continual Pre-Training Mitigates Forgetting in Language and Vision" https://arxiv.org/abs/2205.09357

221Jupyter Notebook, PythonMay 2, 20223 years agoMIT
continual-learningforgettingimage-classificationlifelong-learningmasked-image-modeling+7 more

Similar Papers

Cite this paper

@article{cossu2022continual,
  title  = {Continual Pre-Training Mitigates Forgetting in Language and Vision},
  author = {Andrea Cossu and Tinne Tuytelaars and Antonio Carta and Lucia Passaro and Vincenzo Lomonaco and Davide Bacciu},
  year   = {2022},
  eprint = {2205.09357},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.09357}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.09357.svg)](https://codeofpaper.com/paper/2205.09357)

Discussion