Continual learning models must adapt to new tasks over time without forgetting previously acquired knowledge—a challenge known as catastrophic forgetting. While leveraging pre-trained models and Parameter-Efficient Fine-Tuning (PEFT) has become a popular strategy, it introduces a subtle but severe issue: classifier misalignment. As the model's feature extractor (backbone) updates to accommodate new tasks, older, frozen classifiers lose sync with the evolving latent space, leading to a sharp drop in accuracy for earlier tasks.
This paper introduces Local Classifier Alignment (LCA), a novel loss function designed to realign past classifiers with an evolving backbone. By utilizing Gaussian-sampled features and a robustness penalty, LCA achieves state-of-the-art accuracy on standard benchmarks and significantly boosts model robustness against data corruptions.
The Core Problem: Classifier Misalignment
In Class-Incremental Learning (CIL), models learn new classes sequentially. When a backbone is updated for a new task (e.g., Task 3), the features it extracts fundamentally change. However, the classifier head for Task 1 was trained on the old features and is now frozen. Because the model no longer has access to Task 1's training data, a mismatch occurs between the newly evolved backbone and the static classifiers. Catastrophic forgetting in this regime isn't just about the backbone "overwriting" old knowledge; it is largely about the classifiers losing sync with the shifting feature space.
Methodology: Incremental Merging and LCA
To resolve this, the authors propose a two-part solution:
- Incremental Merging (IM): Instead of storing old parameters or relying on massive memory overhead, the model fine-tunes a PEFT module (like LoRA) on a new task. It then merges these updates into a single, unified backbone by retaining only the parameters with the largest absolute deviations.
- Local Classifier Alignment (LCA): To fix the mismatch between the merged backbone and the old classifiers, all classifiers are retrained simultaneously. Since old data is unavailable, the method approximates past classes using multivariate Gaussian distributions based on the mean and covariance of the features extracted by the backbone. This acts as an incredibly cheap form of generative replay, scaling at $O(n)$ with the number of classes.
- The LCA Loss Function: When retraining the classifiers on these synthetic Gaussian-sampled features, the LCA loss applies two terms:
- A standard cross-entropy loss for classification.
- A robustness regularization term that penalizes the model if its loss fluctuates wildly when input features are slightly perturbed.
The authors provide theoretical proof showing that a CIL model's test error is bounded by feature distribution shift, training error, and robustness. By explicitly penalizing sensitivity to small feature changes, LCA mathematically guarantees a tighter bound on generalization error.
Key Results and State-of-the-Art Performance
The IM+LCA pipeline was rigorously evaluated across seven standard CIL benchmarks: CIFAR100, ImageNet-R (IN-R), ImageNet-A (IN-A), CUB-200, OmniBenchmark (OB), VTAB, and StanfordCars (CARS).
As shown above, adding the LCA loss to the Incremental Merging baseline provides a substantial accuracy boost across every single dataset, proving that realigning the classifiers recovers massive amounts of performance.
When compared to existing state-of-the-art methods, IM+LCA dominates the field. It achieves the highest average accuracy on 5 out of 7 datasets, averaging 85.6% overall (beating the runner-up, MOS, at 83.9%).
The gains are particularly massive on notoriously difficult datasets. On ImageNet-A, IM+LCA achieved 75.0% accuracy, crushing the next best method (EASE at 67.8%). Furthermore, the method proved highly resilient: when tested on noisy or corrupted data, IM+LCA showed a +2.0% gain in mean accuracy on CIFAR100-C (common corruptions) and a +2.5% gain on CIFAR100-P (perturbations) compared to using IM alone.
Notably, LCA is highly modular. The authors demonstrate that the LCA loss can be plugged into the final stages of other state-of-the-art CIL methods (like SLCA and MOS) to further improve their performance.
Limitations and Future Work
While highly effective, the theoretical bounds provided in the paper assume that the feature distributions (prototypes) remain fixed. In reality, as the backbone updates, these prototypes shift. Although the authors account for this via Total Variation distance, the theory doesn't perfectly capture the dynamic nature of the backbone during end-to-end training.
Currently, LCA is applied as a post-hoc alignment step specifically within Class-Incremental Learning. Future work will explore integrating the LCA loss directly into the end-to-end training pipeline, which could further enhance the inherent robustness of the backbone itself across broader learning contexts.
Summary updated