Introduction
Class-Incremental Learning (CIL) involves training a model on a sequence of tasks where new classes appear over time. The primary challenge is catastrophic forgetting, where learning new information causes the model to overwrite previously acquired knowledge. While replay-based methods mitigate this by storing a subset of old data (exemplars), they often conflict with privacy regulations and memory constraints.
Exemplar-Free CIL (EFCIL) seeks to learn without storing past data. A promising direction is Analytic Learning (AL), which uses recursive linear algebra to update classifier weights in a closed-form manner. While AL provides a mathematical guarantee against forgetting, it often suffers from under-fitting on complex datasets due to its reliance on a single linear projection. This paper introduces Dual-Stream Analytic Learning (DS-AL) to bridge this performance gap.
The DS-AL Framework
DS-AL addresses under-fitting by augmenting the standard analytic learning pipeline with a secondary stream designed to capture residual errors.
The architecture consists of three core components:
- Main Stream (C-RLS): This stream implements Concatenated Recursive Least Squares. It provides a closed-form solution that is mathematically equivalent to joint training on all seen data. This ensures "perfect memory" of the linear relationships learned in previous phases.
- Compensation Stream (DAC): To overcome the linear limitations of the main stream, the Dual-Activation Compensation (DAC) module calculates the residual error between the main stream's prediction and the ground truth. By using a different activation function (e.g.,
Tanhvs. the main stream'sReLU), the DAC projects features into the "null space" of the main stream, allowing a secondary set of weights to learn the complex patterns the main stream missed. - Previous Label Cleansing (PLC): Since CIL classes are mutually exclusive, PLC masks residual labels to prevent the compensation stream from receiving false supervision signals for previously learned classes.
Experimental Evaluation
The authors evaluated DS-AL on CIFAR-100 and ImageNet (100 and 1000 classes) across various incremental settings, including extreme large-phase scenarios.
Performance and Stability
DS-AL sets a new state-of-the-art for EFCIL. On ImageNet-Full (5 phases), it achieves 67.18% average accuracy, outperforming the previous best method, ACIL, by 1.8%. Notably, DS-AL even outperforms popular replay-based methods (like LUCIR and PODNet) in scenarios with many incremental phases, such as the 25-phase ImageNet-Full task where it leads by 2.88%.
Phase Invariance and Scaling
A unique advantage of the recursive least squares approach is phase invariance. Because the weight updates are mathematically exact, the final model is identical regardless of whether the data arrived in 5 phases or 500 phases. In extreme stress tests involving 500 incremental steps on ImageNet-Full, DS-AL maintained a flat performance curve, while traditional backpropagation-based methods suffered total collapse.
Conclusion
DS-AL effectively resolves the under-fitting bottleneck of Analytic Learning while preserving its inherent resistance to catastrophic forgetting. By decoupling stability (Main Stream) and plasticity (Compensation Stream), it achieves competitive performance without the need for data buffers. While the method requires careful tuning of the "compensation ratio" hyperparameter, its scalability and mathematical rigor make it a robust solution for privacy-sensitive incremental learning tasks.
Summary updated