TL;DR
When neural networks learn new classes over time, they don't just forget old concepts—they become wildly overconfident about the very things they’ve forgotten. Standard fixes try to tame this overconfidence with a single global adjustment, which inevitably fails because old and new tasks misbehave at completely different rates. This paper introduces MT-CC, a lightweight post-processing router that sorts predictions by their continual-learning quirks and applies customized "reality checks" to each group, restoring trustworthiness without sacrificing a single drop of accuracy.
What Problem Does This Paper Address?
Imagine a medical AI trained to spot five diseases, and every few months, you update it to recognize five more. This is Class-Incremental Learning (CIL). Everyone knows the classic villain here: catastrophic forgetting, where learning new tasks overwrites old knowledge and tanks accuracy.
But there’s a quieter, equally dangerous problem: miscalibration. In a well-calibrated model, a "90% confident" prediction is actually right 90% of the time. In CIL, as accuracy on older tasks degrades, the model’s confidence doesn't get the memo. It stays stubbornly high on old tasks while behaving much more reasonably on brand-new tasks. The authors call this asymmetric calibration behavior.
Normally, engineers fix overconfidence using Temperature Scaling (TS)—a simple post-hoc (after-training) trick that divides a model’s raw output scores (logits) by a single number $T$ before converting them to probabilities, smoothing out extreme confidence without changing the winning prediction. However, even CIL-specific methods use a single global temperature. Turn $T$ up high enough to humble the severely overconfident old tasks, and you make the newly learned tasks timid and underconfident. One thermometer simply cannot measure two different climates.
Methods
To fix this without touching the underlying classifier, the authors propose Multi-Group Temperature Scaling for Continual Calibration (MT-CC). Instead of one global temperature, MT-CC learns $M$ distinct temperatures (in practice, just $M=2$ groups is enough!) and trains a tiny, single-layer grouping network after each task to route every test sample to the right temperature.
What makes this novel isn't just using multiple temperatures—it's what the router looks at and how it's trained:
- CIL-Aware Input Signals: Instead of just feeding raw probabilities into the router, the authors engineer a feature vector tailored to continual learning:
- Old vs. New Task Confidence: The total probability mass assigned to all previously learned classes versus the newest batch of classes.
- Logit Margin ($\delta$): The gap between the top-1 and top-2 raw scores.
- Full Softmax Vector: Standard class-wise probabilities for fine-grained detail.
- Two-Stage Validation Split: Validation data (including replay buffer samples) is split in half. The first half jointly trains the grouping network and temperatures using soft (blended) routing weights so gradients can flow. The second half freezes the router, makes hard group assignments, and fine-tunes each group’s temperature independently on unseen data.
- GDCA Regularization: A new Groupwise Difference-between-Confidence-and-Accuracy loss explicitly penalizes the gap between average confidence and actual accuracy inside each group, stabilizing the tug-of-war between the router and the temperatures.
Datasets
No new datasets are introduced; the authors evaluate MT-CC across five standard vision benchmarks partitioned into sequential tasks:
- CIFAR-10 (5 tasks of 2 classes) & CIFAR-100 (10 tasks of 10 classes)
- Tiny-ImageNet (10 tasks of 20 classes)
- ImageNet (10 tasks of 100 classes—1,000 classes total)
- ImageNet-R (10 tasks, used to test Vision Transformer backbones)
Key Insights and Ideas
- High margin means high danger in CIL: In normal, static deep learning, when a model's top choice beats the runner-up by a mile (high logit margin), it’s usually right—miscalibration shrinks. Under continual learning, the exact opposite happens! High-margin predictions exhibit massive confidence-accuracy gaps (exceeding 70%), turning logit margin into a smoking gun for forgetting-induced overconfidence.
- Learned routing beats "cheating" with task IDs: What if an oracle told you exactly which task every test image belonged to, and you tuned a separate temperature per task? Surprisingly, MT-CC beats this ground-truth oracle (4.49% vs. 5.91% calibration error on CIFAR-100). Why? Because miscalibration doesn't strictly follow task boundaries—some old classes survive forgetting just fine, while some new samples are ambiguous. MT-CC groups samples by symptom, not birthday.
Key Results
Because MT-CC is strictly post-hoc, classification accuracy remains 100% identical to the base models across every single experiment. Calibration is measured primarily via Expected Calibration Error (ECE, lower is better):
- Crushing the SOTA: Paired with T-CIL's augmented validation replay, MT-CC drops ECE from 15.34% to 10.18% on CIFAR-10, from 6.03% to 4.49% on CIFAR-100, and from 18.96% to 15.82% on Tiny-ImageNet. Even without data augmentation, MT-CC beats all standard post-hoc baselines.
- Scales to ImageNet & ViTs: On 1,000-class ImageNet (20K replay buffer with iCaRL), MT-CC cuts T-CIL's ECE from 9.69% down to 6.88%. Using a ViT-B/16 backbone, it achieves 4.57% ECE on CIFAR-100 and 7.55% on ImageNet-R, outperforming all baselines.
- Plug-and-Play: Tested across six classic continual learning backbones (ER, EEIL, BiC, iCaRL, IL2M, and DER), MT-CC improved calibration in every single one.
Limitations and Future Work
The authors note two primary avenues left open:
- Theoretical Foundations: While the empirical evidence for why multi-group routing and logit margins work so well in CIL is clear, a rigorous mathematical theory explaining MT-CC's dynamics remains to be developed.
- Beyond Vision: All experiments focus on image classification. Extending MT-CC to other continual learning frontiers—most notably continually updated Large Language Models (LLMs)—is highlighted as a key next step.
Summary updated