One VLM to Keep it Learning: Generation and Balancing for Data-free Continual Visual Question Answering

Deepayan Das, Davide Talon, Massimiliano Mancini, Yiming Wang, Elisa Ricci

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.

The GaB framework: (a) Pseudo-rehearsal data generation using current images and past task projections, (b) Data balancing to ensure diversity, and (c) Sequential learning with the combined dataset.
  1. 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.
  2. 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.
  3. 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.

Comparison of question type distributions before and after the Pseudo-Rehearsal Balancing Module, showing the mitigation of generation collapse.

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

BibTeX
@inproceedings{das2025one,
  author = {Deepayan Das and Davide Talon and Massimiliano Mancini and Yiming Wang and Elisa Ricci},
  title = {{One VLM to Keep it Learning: Generation and Balancing for Data-free Continual Visual Question Answering}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00550},
}
Figure