CVLGJul 12, 2025

Mind the Gap: Preserving and Compensating for the Modality Gap in CLIP-Based Continual Learning

arXiv:2507.09118v15 citationsHas Code
Originality Incremental advance
AI Analysis

It addresses forgetting in continual learning for vision-language models, offering an incremental improvement by focusing on the modality gap.

The paper tackles the problem of modality gap variations during fine-tuning of CLIP for continual learning, proposing MG-CLIP to preserve and compensate for this gap, which outperforms existing methods on benchmarks without extra replay data.

Continual learning aims to enable models to learn sequentially from continuously incoming data while retaining performance on previously learned tasks. With the Contrastive Language-Image Pre-trained model (CLIP) exhibiting strong capabilities across various downstream tasks, there has been growing interest in leveraging CLIP for continual learning in such scenarios. Most existing works overlook the inherent modality gap in CLIP, a key factor in its generalization and adaptability. In this paper, we analyze the variations in the modality gap during the fine-tuning of vision-language pre-trained models. Our observations reveal that the modality gap effectively reflects the extent to which pre-trained knowledge is preserved. Based on these insights, we propose a simple yet effective method, MG-CLIP, that improves CLIP's performance in class-incremental learning. Our approach leverages modality gap preservation to mitigate forgetting and modality gap compensation to enhance the capacity for new data, introducing a novel modality-gap-based perspective for continual learning. Extensive experiments on multiple benchmarks demonstrate that our method outperforms existing approaches without requiring additional replay data. Our code is available at https://github.com/linlany/MindtheGap.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes