[Paper Review] Geodesic Multi-Modal Mixup for Robust Fine-Tuning
This paper proposes Geodesic Multi-Modal Mixup (m²-Mix), a novel fine-tuning method that improves the robustness and transferability of pre-trained multi-modal models like CLIP by generating hard negative samples through geodesic interpolation of image and text embeddings on the hypersphere. By enhancing both alignment and uniformity in the embedding space, m²-Mix achieves state-of-the-art performance across retrieval, few-shot classification, and image captioning tasks under distribution shift.
Pre-trained multi-modal models, such as CLIP, provide transferable embeddings and show promising results in diverse applications. However, the analysis of learned multi-modal embeddings is relatively unexplored, and the embedding transferability can be improved. In this work, we observe that CLIP holds separated embedding subspaces for two different modalities, and then we investigate it through the lens of uniformity-alignment to measure the quality of learned representation. Both theoretically and empirically, we show that CLIP retains poor uniformity and alignment even after fine-tuning. Such a lack of alignment and uniformity might restrict the transferability and robustness of embeddings. To this end, we devise a new fine-tuning method for robust representation equipping better alignment and uniformity. First, we propose a Geodesic Multi-Modal Mixup that mixes the embeddings of image and text to generate hard negative samples on the hypersphere. Then, we fine-tune the model on hard negatives as well as original negatives and positives with contrastive loss. Based on the theoretical analysis about hardness guarantee and limiting behavior, we justify the use of our method. Extensive experiments on retrieval, calibration, few- or zero-shot classification (under distribution shift), embedding arithmetic, and image captioning further show that our method provides transferable representations, enabling robust model adaptation on diverse tasks. Code: https://github.com/changdaeoh/multimodal-mixup
Motivation & Objective
- To address the poor uniformity and alignment in pre-trained multi-modal models like CLIP, which limits their transferability and robustness.
- To investigate the structural limitations of CLIP’s bipartite embedding space, where image and text embeddings form separated subspaces with large unexplored interspaces.
- To develop a fine-tuning method that enhances representation quality by generating meaningful hard negative samples in the hyperspherical embedding space.
- To theoretically and empirically justify the effectiveness of geodesic interpolation between heterogeneous modalities for contrastive learning.
- To validate the method across diverse downstream tasks, including few-shot and zero-shot classification, retrieval, and image captioning.
Proposed method
- Proposes geodesic multi-modal Mixup (m²-Mix), which performs geodesic interpolation between L2-normalized image and text embeddings to generate new, diverse negative samples on the hypersphere.
- Uses the mixed embeddings as hard negatives in contrastive learning, explicitly increasing the difficulty of negative pairs to improve alignment.
- Employs a symmetric contrastive loss that combines standard CLIP contrastive loss with m²-Mix-based contrastive loss to jointly optimize for alignment and uniformity.
- Theoretically justifies the hardness of m²-Mix samples via limiting behavior analysis under temperature scaling, showing convergence to optimal alignment and uniformity.
- Introduces a modified formulation of alignment and uniformity tailored for multi-modal contrastive learning, enabling quantitative analysis of representation quality.
- Ensures stability and geometric consistency by constraining mixed embeddings to lie on the unit hypersphere through geodesic interpolation.
Experimental results
Research questions
- RQ1Does CLIP’s pre-trained embedding space suffer from poor uniformity and alignment due to its bipartite structure, even after fine-tuning?
- RQ2Can geodesic interpolation between heterogeneous modalities (image and text) generate effective hard negative samples that improve contrastive learning?
- RQ3Does the proposed m²-Mix method enhance both alignment and uniformity in multi-modal representation learning?
- RQ4To what extent does m²-Mix improve downstream transferability and robustness under distribution shift?
- RQ5How does m²-Mix compare to temperature-based reweighting or other data augmentation strategies in terms of representation quality and generalization?
Key findings
- CLIP exhibits poor uniformity and alignment due to its bipartite embedding structure, and this limitation persists even after fine-tuning, restricting transferability.
- m²-Mix generates hard negative samples that are highly similar to positive pairs, providing strong learning signals for alignment.
- Theoretical analysis shows that m²-Mix asymptotically maximizes uniformity under large-batch settings, with convergence to optimal uniformity behavior.
- Extensive experiments demonstrate that m²-Mix improves performance on zero-shot and few-shot classification, especially under distribution shift, outperforming standard fine-tuning and temperature-based baselines.
- m²-Mix achieves state-of-the-art results on retrieval and image captioning benchmarks, indicating improved generalization and robustness.
- The method increases robustness to out-of-distribution samples by expanding the effective embedding space through virtual, mixed samples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.