SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Model

Gengwei Zhang, Liyuan Wang, Guoliang Kang, Ling Chen, Yunchao Wei
3/1/2023

No official code found. Best implementation: aimagelab/mammoth (841 stars, MIT, PyTorch, last commit 2026-04-20). 1 more below.

Abstract

The goal of continual learning is to improve the performance of recognition models in learning sequentially arrived data. Although most existing works are established on the premise of learning from scratch, growing efforts have been devoted to incorporating the benefits of pre-training. However, how to adaptively exploit the pre-trained knowledge for each incremental task while maintaining its generalizability remains an open question. In this work, we present an extensive analysis for continual learning on a pre-trained model (CLPM), and attribute the key challenge to a progressive overfitting problem. Observing that selectively reducing the learning rate can almost resolve this issue in the representation layer, we propose a simple but extremely effective approach named Slow Learner with Classifier Alignment (SLCA), which further improves the classification layer by modeling the class-wise distributions and aligning the classification layers in a post-hoc fashion. Across a variety of scenarios, our proposal provides substantial improvements for CLPM (e.g., up to 49.76%, 50.05%, 44.69% and 40.16% on Split CIFAR-100, Split ImageNet-R, Split CUB-200 and Split Cars-196, respectively), and thus outperforms state-of-the-art approaches by a large margin. Based on such a strong baseline, critical factors and promising directions are analyzed in-depth to facilitate subsequent research. Code has been made available at: https://github.com/GengDavid/SLCA.

View on arXivView PDF

Code Implementations(2)

aimagelab/mammothCommunity100%
PyTorchMIT

An Extendible (General) Continual Learning Framework based on Pytorch - official codebase of Dark Experience for General Continual Learning

841157PythonOct 5, 20206 months agoMIT
continual-learningdark-experience-replaydeep-learningderexperience-replay+3 more
GengDavid/SLCACommunity64%
MIT

SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Model @ ICCV 2023 **AND** SLCA++: Unleash the Power of Sequential Fine-tuning for Continual Learning with Pre-training

566Shell, PythonJul 26, 20232 years agoMIT

Cite this paper

@article{zhang2023slca,
  title  = {SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Model},
  author = {Gengwei Zhang and Liyuan Wang and Guoliang Kang and Ling Chen and Yunchao Wei},
  year   = {2023},
  eprint = {2303.05118},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2303.05118},
  journal = {ICCV 2023 2023}
}

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/2303.05118.svg)](https://codeofpaper.com/paper/2303.05118)

Discussion