Continual Multimodal Contrastive Learning

Xiaohao Liu, Xiaobo Xia, See-Kiong Ng, Tat-Seng Chua

Introduction

Multimodal contrastive learning, exemplified by models like CLIP and ImageBind, has revolutionized the alignment of diverse data modalities—such as text, images, and audio—into unified representation spaces. Traditionally, these foundation models are trained in an "all-in-one" fashion on massive, static datasets. However, in real-world scenarios, multimodal data often emerges incrementally. Retraining these massive models from scratch whenever a new modality (e.g., tactile or thermal data) is introduced is computationally prohibitive.

This paper addresses the challenge of Continual Multimodal Contrastive Learning (CMCL), where a model must learn new modality alignments sequentially without suffering from catastrophic forgetting of previously learned relationships.

The CMCL Framework

The authors formally define CMCL through two primary objectives:

  1. Stability: Maintaining the alignment scores (inner products) of previously learned modality pairs.
  2. Plasticity: Successfully minimizing contrastive loss for newly introduced modality pairs.

Standard sequential training (Vanilla) typically achieves plasticity at the expense of stability, as new gradient updates override the weights optimized for prior tasks.

Dual-sided Null Space (DNS) Projection

To balance stability and plasticity, the authors introduce Dual-sided Null Space (DNS) projection. Unlike standard gradient descent, DNS intercepts weight gradients and projects them onto a specific mathematical "null space." This null space is a subspace where weight updates have zero effect on the representations of previously seen data.

The "dual-sided" nature of DNS is critical for contrastive learning, which involves optimizing two encoders simultaneously. DNS constructs projectors based on the feature covariance of both interacting modalities. Notably, DNS is replay-free, eliminating the need to store old training data. Instead, it maintains lightweight feature covariance matrices that are updated incrementally, ensuring high efficiency and data privacy.

Experimental Evaluation

The method was evaluated across seven diverse datasets (UCF101, ESC50, NYUDv2, VGGSound-S, Clotho, TVL, and LLVIP), covering modalities such as vision, audio, text, video, thermal, tactile, and depth. These were structured into an 11-step sequential learning pipeline.

Key Results

Using pre-trained backbones like ImageBind and LanguageBind, DNS consistently outperformed state-of-the-art continual learning baselines (e.g., GEM, EWC, Co2L) in both classification accuracy and cross-modal retrieval.

  • Reduced Forgetting: On ImageBind retrieval tasks, DNS achieved a Recall@10 of 40.89% with a Backward Transfer (BWT) score of -1.07, significantly better than the Vanilla baseline (38.56% Recall@10, -3.34 BWT).
  • Efficiency: DNS adds minimal overhead (less than 1 second per training step for SVD approximation) and avoids the memory costs associated with replay-based methods.

Conclusion

DNS provides a mathematically grounded, efficient solution for incrementally updating multimodal models. While future work remains to examine generalization errors on downstream tasks, the current results demonstrate that DNS effectively preserves the "stability" of foundation models while allowing for continuous "plasticity" as new data modalities emerge. This approach holds significant promise for fields like medicine, where new diagnostic modalities are frequently integrated into existing systems.

Summary updated

BibTeX
@inproceedings{liu2025continual,
  author = {Xiaohao Liu and Xiaobo Xia and See-Kiong Ng and Tat-Seng Chua},
  title = {{Continual Multimodal Contrastive Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=juROy8NYRD},
}
Figure