Abstract
Multimodal Class-Incremental Learning (MCIL) faces significant challenges due to the high storage requirements of multimodal data and the computational cost of fine-tuning large-scale models. This paper proposes Exemplar Masking, a novel strategy that selectively stores only the most informative image patches and text tokens. By leveraging cross-modal attention to preserve complementary information, the method significantly increases the capacity of a fixed memory buffer. Combined with parameter-efficient tuning and multimodal data augmentation, this approach achieves state-of-the-art performance on benchmarks like UPMC Food-101 and the newly introduced MM-ImageNet-R.
Introduction
Artificial Intelligence agents operating in the real world must learn new concepts sequentially. However, deep neural networks are prone to catastrophic forgetting, where training on new tasks leads to a sharp decline in performance on previously learned ones. In the context of Multimodal Class-Incremental Learning (MCIL), where models process both images and text, this problem is exacerbated by the sheer size of multimodal data. Standard "exemplar replay" techniques, which store representative samples from old classes, quickly exhaust limited memory buffers, leading to poor long-term retention.
The Challenge of Multimodal Forgetting
Two primary hurdles hinder efficient MCIL:
- Storage Bloat: Multimodal exemplars (image-text pairs) consume significantly more memory than unimodal data. A fixed-size buffer can only hold a small number of full-resolution samples, which is often insufficient to represent the distribution of old classes.
- Computational Overhead: Modern multimodal transformers, such as ViLT or CLIP, contain billions of parameters. Re-training these models for every new incremental task is computationally prohibitive for most real-world applications.
Proposed Methodology
Exemplar Masking
The core innovation of this work is the shift from storing full data samples to storing only "essential tokens." Instead of treating an image as an indivisible unit, the framework uses the model's internal attention maps to identify which regions are most relevant to the class label (e.g., focusing on the subject rather than the background).
To ensure no vital context is lost during this process, the system employs Cross-Modal Preservation. If an image region is discarded due to low attention, the system uses cross-attention to identify text tokens that describe those missing regions. For instance, if the background of an "ice bear" image is masked out, the text "on a snowy lake" is prioritized for storage to provide the missing environmental context. This synergy allows the model to maintain high semantic fidelity at a fraction of the storage cost.
The Incremental Learning Framework
The overall pipeline is designed to be both memory and parameter efficient. As new data arrives in sequential phases, the model undergoes a structured training and building process.
As shown in the framework overview, each phase involves:
- Multimodal Augmentation: To prevent overfitting on the limited stored exemplars, the authors implement a "swap" technique. Image and text components are interchanged between different exemplars of the same class, creating diverse synthetic training pairs for the replay phase.
- Parameter-Efficient Tuning (PET): Rather than updating the entire backbone, the model utilizes Scale and Shift Features (SSF). This method learns a tiny fraction of additional parameters (less than 0.3%) for each new task, preserving the core knowledge of the pre-trained transformer while adapting to new classes.
Experimental Evaluation
The researchers evaluated their method on two primary benchmarks: UPMC Food-101 and a newly introduced benchmark, MM-ImageNet-R. To create MM-ImageNet-R, the authors used a Multimodal Large Language Model (InstructBLIP) to generate detailed 100-word captions for the artistic renditions in the original ImageNet-R dataset, providing a more robust test for multimodal reasoning.
Key Results
- Superior Accuracy: On MM-ImageNet-R across 10 incremental phases, the proposed method achieved 80.55% average accuracy, outperforming standard SSF baselines (77.03%).
- Efficiency Gains: The masking strategy reduced exemplar storage size by approximately 64%. This allowed the memory buffer to hold roughly 14 masked exemplars per class in the same space that would normally accommodate only 5 raw samples.
- Scalability: The performance gap between this method and existing baselines widened as the number of incremental phases increased (up to 20 phases), demonstrating superior robustness against long-term forgetting.
Conclusion
Exemplar Masking demonstrates that for incremental learning, quantity of information often outweighs fidelity. By storing many partial, highly-informative samples rather than a few perfect ones, models can maintain a much broader "memory" of past tasks. This approach, combined with parameter-efficient tuning, provides a scalable and effective path forward for deploying multimodal AI in dynamic, ever-changing environments.
Summary updated