NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Complementary Calibration: Boosting General Continual Learning with Collaborative Distillation and Self-Supervision

Zhong Ji, Jin Li, Qiang Wang, Zhongfei ZhangarXiv 2021 · DOI

TL;DR

The paper introduces Complementary Calibration (CoCa), a novel framework designed for General Continual Learning (GCL) that significantly mitigates catastrophic forgetting. By addressing the twin challenges of "relation deviation" and "feature deviation" through collaborative knowledge distillation and self-supervision, CoCa sets a new state-of-the-art performance across several competitive benchmarks without relying on task boundaries.

What Problem Does This Paper Address?

In the real world, data arrives as a continuous stream rather than a static block. General Continual Learning (GCL) aims to train deep neural networks on these streams without experiencing "catastrophic forgetting"—where learning new tasks wipes out previously acquired knowledge. Crucially, GCL operates under the realistic constraint that task boundaries are completely unknown during both training and testing.

The authors identify two major bottlenecks in existing GCL methods:

  1. Relation Deviation: Standard knowledge distillation uses the old model as a teacher to guide the new model. However, because the old model has never seen new classes, its outputs lack any understanding of how old and new classes relate to one another.
  2. Feature Deviation: Deep networks are inherently lazy; they only extract features necessary to solve the current task. When tasks are mixed together later, these features prove insufficient to differentiate between all seen classes.
Fig. 1. Diagram of relation deviation in knowledge distillation. The old model has not seen new classes, thus its output ˆo lacks of the relationship between old and new classes. When the reserved sample x is replayed, the deficiency of relationship results in a deviation between the output of the new model o and the output of the old model ˆo, which leads to inaccurate continual learning.

Methods

To solve these deviations, the authors propose the Complementary Calibration (CoCa) framework, which consists of three main components:

  • Experience Replay Module: A standard memory buffer that stores a limited subset of past samples to be replayed alongside new data.
  • Relation Calibration Module: Instead of forcing the new model to strictly match the old model's incomplete outputs, CoCa introduces collaborative distillation. It calculates a feature similarity matrix for the current batch and uses label propagation to build an ensemble target ($o^*$). This target gracefully fuses the knowledge of both the old and new models, capturing complete inter-class relationships.
  • Feature Calibration Module: This module uses collaborative self-supervision to ensure feature representations are both comprehensive and distinct. It combines self-supervised pretext tasks (predicting image rotations, scaling, and aspect ratios) with Supervised Contrastive Learning (SCL).
Overview of the proposed CoCa framework at the training stage

Datasets

The framework was evaluated on four widely used image classification datasets adapted for continual learning:

  • Sequential CIFAR-10: Split into 5 sequential tasks.
  • Sequential CIFAR-100: Split into 20 sequential tasks.
  • Sequential Tiny ImageNet: Split into 10 sequential tasks.
  • MNIST-360: A specialized GCL benchmark presenting a stream of MNIST digits at progressively increasing angles, where tasks naturally overlap and repeat without clear boundaries.

Key Insights and Ideas

  • The Teacher's Blind Spot: Traditional distillation assumes the teacher model is omniscient. In GCL, the teacher (the old model) is fundamentally blind to the future (new classes). CoCa's label propagation trick effectively updates the teacher's knowledge on the fly using the student's current feature space.
  • Symbiotic Self-Supervision: Pretext tasks and Supervised Contrastive Learning (SCL) fix each other's flaws. Pretext tasks can sometimes introduce confusing ambiguities (e.g., rotating a '6' by 180° makes it look like a '9'), which SCL suppresses using class labels. Conversely, when past class samples are scarce in memory, the rich spatial features learned via pretext tasks keep the SCL boundaries robust.

Key Results

CoCa consistently outperformed state-of-the-art GCL methods like Dark Experience Replay (DER) and Gradient-based Sample Selection (GSS) across all datasets and buffer sizes.

  • Sequential CIFAR-100: With a buffer size of 500, CoCa achieved an average accuracy of 32.88%, outperforming the strong DER baseline (28.70%) by over 4%.
  • MNIST-360: Under tight memory constraints (buffer size of 200), CoCa achieved 67.02% accuracy, representing a massive 12.86% improvement over DER.
  • Visualizing Success: t-SNE cluster visualizations demonstrate that CoCa creates much tighter, more distinct class boundaries compared to standard experience replay methods, closely mimicking the ideal "joint training" upper bound.
t-SNE visualization of features for test set of MNIST-360 dataset

Limitations and Future Work

While CoCa shows remarkable performance, the authors note a few areas for future exploration:

  1. Online Distillation: The current framework relies on a two-stage distillation process (old model to new model). Transitioning to purely online, single-stage distillation approaches could improve efficiency.
  2. Hard Positive Mining: The contrastive learning component could be further optimized by exploring advanced strategies for selecting and weighting positive samples in the embedding space.

Summary updated

BibTeX
@misc{ji2021complementary,
  author = {Zhong Ji and Jin Li and Qiang Wang and Zhongfei Zhang},
  title = {{Complementary Calibration: Boosting General Continual Learning with Collaborative Distillation and Self-Supervision}},
  year = {2021},
  eprint = {2109.02426},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.02426},
}
Figure