Abstract
Class Incremental Learning (CIL) aims to train models on a sequence of tasks without forgetting previous knowledge. Traditional rehearsal-based methods are limited by memory constraints, while generative methods often suffer from instability. This paper proposes a Bilateral Masked Autoencoder (MAE) framework that efficiently stores diverse information from past tasks by keeping only a small fraction of random image patches. By reconstructing these patches through a dual-branch architecture focusing on both global structure and high-frequency details, the model achieves superior performance. Experimental results on CIFAR-100 and ImageNet demonstrate that this approach sets new state-of-the-art benchmarks for incremental learning.
Introduction
Deep neural networks typically struggle with "catastrophic forgetting," where learning new information leads to the abrupt loss of previously acquired knowledge. In Class Incremental Learning (CIL), models must adapt to new classes over time under a fixed memory budget. Existing strategies generally rely on rehearsal (storing a subset of old data) or generative replay (synthesizing old data). However, rehearsal is constrained by storage limits, and generative models are often difficult to optimize.
This work introduces a novel paradigm using Masked Autoencoders (MAEs). By storing only 25% of patches from a larger set of images, the proposed method increases the diversity of the replay buffer without increasing the memory footprint. A bilateral architecture is employed to ensure high-fidelity reconstruction and robust feature learning.
Methodology: Bilateral Masked Autoencoders
The core of the proposed framework is the Bilateral MAE, designed to learn task-agnostic representations that resist forgetting.
Efficient Patch Storage
Instead of storing a small number of full images, the authors store a larger number of images (e.g., 80 per class) but retain only a fraction of their patches (e.g., 25%). During the replay phase, the MAE "hallucinates" the missing pixels. This strategy effectively quadruples the semantic diversity available for rehearsal within the same storage constraints.
Bilateral Architecture and Dual Fusion
The model architecture consists of two primary branches:
- Main Branch: A standard MAE that captures global structure and coarse features.
- Detailed Branch: A specialized branch focusing on high-frequency residuals, such as textures and edges, to prevent the blurriness common in standard autoencoders.
As shown in Figure 2, the framework utilizes embedding-level fusion to combine features from both branches for classification. For reconstruction, image-level fusion merges the outputs of the main and detailed decoders. To further enhance the detailed branch, a frequency domain loss is applied, forcing the model to reconstruct fine-grained details accurately.
Experimental Evaluation
The approach was evaluated on CIFAR-100 and ImageNet (Subset and Full) across various incremental settings (10, 20, and 50 tasks).
Key Results
The Bilateral MAE approach consistently outperforms existing state-of-the-art methods like DyTox and DER. On CIFAR-100 (10-task), it achieved an average accuracy of 79.12%, a significant improvement over previous benchmarks.
In the ImageNet-Full 10-task setting, the model reached a top-1 average accuracy of 74.76%, compared to approximately 71.3% for the previous best method. Furthermore, the "forgetting rate" (F) was notably lower across all benchmarks, indicating superior stability.
Discussion and Insights
The success of this method stems from several key factors:
- Regularization: The reconstruction task acts as a self-supervised regularizer, encouraging the encoder to learn features that are not solely tied to the current classification task.
- Diversity vs. Fidelity: The authors find that semantic diversity in the replay buffer is more critical for preventing forgetting than perfect pixel-level fidelity.
- Feature Space Density: The bilateral approach leads to a more compact feature space with higher intra-class similarity, which improves generalization across incremental tasks.
Conclusion
By leveraging the reconstructive power of Masked Autoencoders and a bilateral architecture, this work provides a highly efficient solution for Class Incremental Learning. The patch-based storage strategy maximizes replay diversity, while the dual-branch design ensures high-quality feature representations. Future work may explore applying this framework to more complex tasks such as object detection and segmentation.
Summary updated