arXiv:2610.32890cs.AIOct 2026

Manuscript Offprint

arXiv:2610.32890

Closing the Modality Gap via Simplex-Constrained Representations

Shubham Gupta, Siva Reddy, Perouz Taslakian, Valentina Zantedeschi, Cem Subakan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Shubham Gupta1,2,4^{1,2,4}, Siva Reddy1,2,3^{1,2,3}, Perouz Taslakian1,2,3^{1,2,3}, Valentina Zantedeschi2,4^{2,4}, Cem Subakan1,4^{1,4}

1^{1}Mila – Québec AI Institute, 2^{2}ServiceNow Research, 3^{3}McGill University, 4^{4}Université Laval

While multimodal contrastive models like CLIP and CLAP successfully learn shared representations, their embeddings typically exhibit a persistent modality gap. We propose addressing this separation through a purely geometric approach: changing the embedding domain from the unit sphere, Sd−1S^{d-1}, to the probability simplex, Δd−1\Delta^{d-1}. Although both manifolds share the same intrinsic dimension, the simplex acts as a structural prior; its nonnegative, unit-mass constraints serve as a cross-modal calibration that forces both modalities to ground themselves in the same coordinate system. By attaching lightweight softmax adapters and using Total Variation similarity, we reduce the centroid ℓ2\ell_2 gap by 97–99% across five multimodal retrieval benchmarks. This confirms that simplicial geometry induces genuine semantic alignment, matching or exceeding the retrieval performance of standard unconstrained models.

https://github.com/ServiceNow/retreever/tree/main/experiments/modality_gap

Correspondence: shgup1@ulaval.ca

servicenow

1 Introduction

Contrastive multimodal models embed diverse data streams, such as text and audio Wu et al. (2023b); Elizalde et al. (2023) or text and images Radford et al. (2021); Jia et al. (2021), into a shared latent space. Despite objectives designed to align matched pairs, these models often converge to representations in which modality-wise embedding distributions remain systematically offset, a phenomenon known as the modality gap Liang et al. (2022). The practical consequences of this gap remain debated. Several studies report that large modality gaps can miscalibrate cross-modal similarity, degrading retrieval and distorting zero-shot decision boundaries Zhang et al. (2023); Schrodi et al. (2025). At the same time, a nonzero gap may encode modality-specific structure, and indiscriminately collapsing it can perturb within-modality geometry and harm downstream performance Liang et al. (2022); Ramasinghe et al. (2024); Schrodi et al. (2025). Driven by this tension, a range of strategies have been proposed to manage cross-modal separation, including modifying the contrastive objective Fahim et al. (2024), architectural fusion via shared attention layers Singh et al. (2022); Chen et al. (2020), adversarial alignment with gradient reversal Sofer et al. (2025), and alternative embeddings motivated by hierarchical structures Ramasinghe et al. (2024); Desai et al. (2023).

We take a geometric view of the modality gap and show that output geometry alone can close it dramatically, without modifying the pretrained backbone and with fewer than 1% trainable parameters. Our key move is to replace the default spherical embedding domain Sd−1S^{d-1} with a simplex-constrained one, Δd−1={p∈R≥0d:∑ipi=1}\Delta^{d-1} = \{\mathbf{p} \in \mathbb{R}_{\geq 0}^d : \sum_i p_i = 1\}. Although the sphere and simplex are both (d−1)(d-1)-dimensional, they encode very different symmetries. On the sphere, cosine similarity is invariant to rotations and sign flips, leaving many equivalent solutions in which modalities can match pairs while remaining distributionally separated. On the simplex, these symmetries largely vanish: embeddings are nonnegative and sum to one, forcing both modalities to allocate a shared probability budget over the same coordinates. With softmax adapters, the representation also becomes invariant to global logit shifts, providing an additional cross-modal normalization.

Concretely, we freeze LAION-CLAP Elizalde et al. (2023) for audio-text and FLAVA Singh et al. (2022) for image-text, attach lightweight shared adapters, and train with an in-batch InfoNCE objective (as in DPR) van den Oord et al. (2018); Karpukhin et al. (2020), changing only the scoring function: cosine similarity for Euclidean outputs versus negative Total Variation distance for simplex outputs produced by a softmax projection. To isolate the effect of geometry from architectural changes, we evaluate matched-capacity baselines. We start from frozen backbones and train lightweight Linear and MLP adapters with Euclidean outputs, and we also train Linear/MLP adapters of the same architecture whose outputs are followed by a softmax projection to the simplex. To disentangle output geometry from shared cross-attention, we use an Euclidean variant of ReTreever Gupta et al. (2026) (we call it XAttn) that keeps the same learned-query cross-attention but outputs cosine-scored Euclidean embeddings, and compare it to ReTreever's simplex outputs Gupta et al. (2026). Finally, to contrast coarse-to-fine strategies across geometries, we include MRL as an Euclidean baseline Kusupati et al. (2022) with Retreever.

Our contributions are as follows: (i) We propose simplex-constrained adapters for multimodal retrieval and show that they reduce the centroid ℓ2\ell_{2} modality gap by 97–99% across five audio-text and image-text benchmarks while matching or improving NDCG@10. (ii) We develop a geometry-adjusted gap measure, RELGAP, which normalizes centroid separation by intra-modality spread, enabling fair comparison of modality gap across Euclidean and simplicial embedding domains. (iii) Using matched-capacity and matched-form baselines, we isolate the effect of output geometry and show that simplex constraints (rather than additional architectural capacity) drive gap closure. (iv) We analyze coarse-to-fine behavior and dimensional scaling, showing that Euclidean gaps grow with representation dimension whereas simplex gaps remain small across resolutions.

References (33)