Abstract
Vision-Language Pre-training (VLP) models like CLIP have significantly advanced multi-modal AI, yet they struggle with "catastrophic forgetting" when trained on continuous data streams. We present IncCLIP, a novel framework for continual VLP that leverages generative negative text replay. By synthesizing "hard negative" texts via model inversion and employing multi-modal knowledge distillation, IncCLIP maintains generalizable zero-shot capabilities across incremental learning steps. Experimental results on Conceptual Captions demonstrate that IncCLIP significantly outperforms existing continual learning baselines in both classification and retrieval tasks.
Introduction
Vision-Language Pre-training (VLP) has revolutionized the field by connecting images and text through massive datasets. However, these models are typically trained on static, offline datasets. In practical applications, data often arrives in a stream. Naive fine-tuning on new data causes the model to lose previously acquired knowledge—a phenomenon known as catastrophic forgetting.
Traditional continual learning (CL) methods often rely on fixed class labels, making them difficult to apply to the "open-set" nature of VLP models. IncCLIP addresses this by enabling models to learn continuously from streaming image-text pairs while preserving their generalizable "zero-shot" performance.
Methods: The IncCLIP Framework
The IncCLIP framework consists of three core components designed to mitigate forgetting and stabilize incremental training.
1. Pseudo Negative Text Replay
Instead of replaying a limited buffer of old images, IncCLIP uses model inversion to synthesize "hard negative" texts. These texts are optimized in the embedding space to be similar to training images but distinct enough to serve as "near-miss" examples. This approach is safer than generating positive examples (e.g., realistic images), as the model is less sensitive to minor errors in negative generation.
2. Multi-modal Knowledge Distillation
To maintain consistency between the current and previous model versions, IncCLIP applies a distillation loss. Using KL-divergence, the model inherits the "soft" relationships (dark knowledge) learned by the previous iteration, which is more effective for open-set VLP than rigid feature preservation.
3. Weight Norm Clipping
Incremental training often leads to exploding weight norms, which degrades generalization. IncCLIP implements a weight norm clipping strategy to ensure stability throughout the learning process.
Experiments and Results
The researchers evaluated IncCLIP using a 2-million-pair subset of the Conceptual Captions (CC12M) dataset. They tested both Instance Incremental and Class Incremental splits, evaluating zero-shot classification on ImageNet and retrieval on MSCOCO and Flickr30k.
Key Findings
- Zero-Shot Classification: On a 4-step class incremental split, IncCLIP achieved 21.57% average accuracy, significantly outperforming the next best baseline, GeoDL (17.00%).
- Image-Text Retrieval: On MSCOCO, IncCLIP improved top-1 recall to 12.38%, compared to 10.1% for the Co2L baseline.
- Stability: IncCLIP demonstrated superior resistance to forgetting, with a backward transfer rate of -18.48%, whereas most other methods exceeded -30%.
Conclusion
IncCLIP provides a robust solution for continual vision-language pre-training by focusing on generative negative replay. While a performance gap still exists compared to "Joint Training" (where all data is available at once), IncCLIP's ability to preserve open-set knowledge without a large image buffer marks a significant step forward. Future work will focus on improving the efficiency of the text generation module and scaling the approach to larger model architectures.
Summary updated