Introduction: The Hidden Cost of Class-Incremental Learning
Real-world applications require classification models to adapt to new classes without forgetting old ones, a challenge known as Class-Incremental Learning (CIL). To fight "catastrophic forgetting," researchers typically use two strategies: saving a small buffer of actual images (exemplars) from old classes, or saving entire snapshots of previous models to retain old features.
However, this paper exposes a major "hidden cost" in CIL evaluations: unfair memory accounting. Many top-performing model-based methods report high accuracy but fail to count the stored models against their memory budget. In reality, a single ResNet32 model occupies as much memory as 603 CIFAR100 images. If constrained to a strict 20MB limit, should that space be spent on one extra model or 603 more images? This paper introduces a framework to evaluate CIL methods by aligning their total memory cost (models + exemplars).
The MEMO Approach
To strike a superior balance between model capacity and exemplar storage, the authors propose MEMO (Memory-efficient Expandable MOdel). MEMO is designed to be "expandable" without being "bloated," based on a key observation about neural network architecture: shallow layers learn general features (edges, textures) that remain stable across tasks, while deep layers learn specialized, task-dependent features.
- Generalized vs. Specialized Blocks: Instead of saving a whole new backbone for every new task (as seen in methods like DER), MEMO shares the shallow "generalized" blocks across all tasks. It only creates and stores new "specialized" blocks (the final layers) for each incremental step.
- Memory Redirection: By sharing the shallow layers, MEMO saves significant memory. This "saved" space is redirected to store more exemplars, further boosting performance.
Key Insights: The Intersection Point
By evaluating methods under a strictly aligned total memory budget, the researchers revealed that model-based methods are not strictly better across the board.
As shown above, there is a distinct "Intersection Point." When memory is very tight, saving more images (exemplars) is actually more effective than saving a model. As the budget grows, the advantage shifts toward saving models. Furthermore, through Gradient Norm and Centered Kernel Alignment (CKA) analysis, the authors proved that shallow layers have much smaller gradients and higher similarity across tasks than deep layers, justifying the decision to "freeze" or share shallow layers while allowing deep layers to evolve.
Key Results
The researchers evaluated MEMO on standard computer vision benchmarks, including CIFAR100 and ImageNet100, testing various incremental step sizes (e.g., Base0 Inc5, Base50 Inc10).
- Superior Accuracy: Under fair memory alignment, MEMO consistently outperformed competitors. Because MEMO is more efficient than full-model expansion, it can afford more exemplars within the same budget, allowing it to beat state-of-the-art methods "for free." On CIFAR100 (Base0 Inc5), MEMO achieved a final accuracy of 62.59%, outperforming the runner-up (iCaRL) by 3.35% and the popular DER method by 1.59%. On ImageNet100, MEMO achieved an average accuracy of 77.27%, significantly higher than DER (76.37%) and iCaRL (65.90%).
- Efficiency: MEMO maintains the high performance of model-expansion methods but with a running time and memory footprint comparable to much simpler exemplar-only methods.
Limitations and Future Work
- Threshold for Freezing: The authors found that whether to freeze the "generalized" blocks depends on the number of classes in the initial task, suggesting an empirical threshold of 20 classes. Developing a dynamic, automated way to decide when to freeze layers remains an open question.
- Architecture Specificity: While demonstrated on ResNet, ViT, and BERT, the exact "split point" between generalized and specialized blocks might vary significantly for more complex architectures.
- Privacy Concerns: Like all exemplar-based methods, MEMO requires saving some raw data, which can be problematic in privacy-sensitive applications. Exploring "data-free" versions of MEMO is a promising future direction.
Summary updated