Closing the Modality Gap Aligns Group-Wise Semantics
Eleonora Grassucci, Giordano Cicchetti, Emanuele Frasca, Aurelio Uncini, Danilo Comminiello
TL;DR
This work reframes the modality gap in CLIP-like multimodal learning as a core determinant of group-wise semantic structure rather than a mere byproduct of alignment. It introduces two losses, Align True Pairs ($\mathcal{L}_{\text{ATP}}$) and Centroid Uniformity ($\mathcal{L}_{\text{CU}}$), and combines them with the standard contrastive objective to form $\mathcal{L}_{\text{gap}}$ and $\mathcal{L}_{\text{CL}_{\text{gap}}}$, enabling zero-gap multimodal spaces without architectural changes. Across bimodal and trimodal benchmarks (e.g., CIFAR-10, AV-MNIST, MSCOCO, MSR-VTT), the method consistently improves clustering metrics like V-Measure while preserving retrieval performance, illustrating that closing the gap enhances semantic grouping without sacrificing instance-level accuracy. This suggests a paradigm shift: focusing on gap reduction can yield more coherent multimodal representations with practical benefits for tasks requiring semantic clustering and reasoning. The approach scales to multiple modalities and provides a principled way to balance true-pair alignment with global latent-space coverage.
Abstract
In multimodal learning, CLIP has been recognized as the \textit{de facto} method for learning a shared latent space across multiple modalities, placing similar representations close to each other and moving them away from dissimilar ones. Although CLIP-based losses effectively align modalities at the semantic level, the resulting latent spaces often remain only partially shared, revealing a structural mismatch known as the modality gap. While the necessity of addressing this phenomenon remains debated, particularly given its limited impact on instance-wise tasks (e.g., retrieval), we prove that its influence is instead strongly pronounced in group-level tasks (e.g., clustering). To support this claim, we introduce a novel method designed to consistently reduce this discrepancy in two-modal settings, with a straightforward extension to the general $n$-modal case. Through our extensive evaluation, we demonstrate our novel insight: while reducing the gap provides only marginal or inconsistent improvements in traditional instance-wise tasks, it significantly enhances group-wise tasks. These findings may reshape our understanding of the modality gap, highlighting its key role in improving performance on tasks requiring semantic grouping.
