Abstract
Vision-Language Models (VLMs) face significant challenges in continual learning due to catastrophic forgetting. Traditional rehearsal methods require storing past training data, which is often prohibited by privacy regulations or storage constraints. This paper introduces GaB (Generation and Balancing), a novel framework for data-free continual Visual Question Answering (VQA). GaB utilizes the VLM's own generative capacity to produce "pseudo-rehearsal" data using current images and past task-specific projections. To combat "generation collapse," where the model produces repetitive, low-diversity questions, GaB employs a balancing module. Experimental results on VQACL-VQAv2 and CLOVE-function benchmarks demonstrate that GaB significantly outperforms existing data-free methods and even surpasses rehearsal techniques using real past data.
Introduction
Vision-Language Models (VLMs) like BLIP-2 and LLaVa have shown remarkable capabilities in multimodal tasks. However, when trained sequentially on new tasks, they suffer from catastrophic forgetting, losing proficiency in previously learned domains. While "rehearsal"—re-training on a subset of old data—is a common solution, it is often impractical due to GDPR compliance, proprietary data restrictions, or hardware limitations. Existing data-free approaches frequently rely on external generative models like GANs, which add significant computational overhead. GaB addresses this by asking: Can a VLM use its own internal knowledge to generate its own rehearsal data?
Methodology
The GaB framework consists of three integrated phases designed to maintain performance across sequential tasks without external data storage.
- Pseudo-Rehearsal Generation: GaB uses images from the current task as a visual foundation. It applies task-specific projection layers from previous tasks to these images to generate relevant question-answer pairs. This process effectively repurposes new visual stimuli to "remind" the model of old task logic.
- Pseudo-Rehearsal Balancing: A critical challenge in self-generation is Generation Collapse, where the model defaults to simple, high-frequency question types. GaB introduces a balancing module that uses either a classifier or unsupervised clustering to categorize generated questions. The "pseudo-buffer" is then re-sampled to match the diversity of the original training distribution.
- Sequential Learning: The VLM is fine-tuned on a combination of current real data and the balanced, synthesized pseudo-data, ensuring the retention of past knowledge while acquiring new skills.
Results and Discussion
GaB was evaluated on the VQACL-VQAv2 and CLOVE-function benchmarks. A key finding was the impact of the balancing module on preventing distribution skew, which is essential for maintaining a broad knowledge base.
Key Performance Metrics
- Superior Performance: On VQACL-VQAv2, GaB-clustering achieved an Average Performance (AP) of 48.40%, compared to 41.29% for naive fine-tuning.
- Outperforming Real Data: Remarkably, GaB-clustering (48.40% AP) surpassed the standard rehearsal baseline (46.94% AP) which utilized 5,000 real samples from past tasks. This suggests that a balanced set of synthetic questions can be more effective for memory than a skewed set of real ones.
- Minimal Forgetting: GaB maintained an Average Forgetting (AF) rate of just 1.40%, significantly lower than standard rehearsal (4.21%) and naive fine-tuning (15.98%).
Conclusion
GaB demonstrates that VLMs can serve as their own teachers, using internal language decoders to generate high-quality rehearsal samples. While the approach currently faces challenges with noisy labels and the requirement for task IDs during training, it represents a significant leap toward privacy-preserving, data-free continual learning. Future work will focus on automated quality control and mitigating hallucinations in the generated pseudo-data.
Summary updated