Language and Modality Offsets in Multilingual Mixed-Modality Search

Imagine a search engine whose index holds photographs, English captions and German descriptions, all turned into vectors by one multilingual vision-language model. A German user types a query. The best answer is a photo. What tends to come back first is German text, because the query is German. This is already known for modality in English: image-text models such as CLIP place all images in one region of their vector space and all text in another, so a text query prefers text results whatever their relevance (Closing the Modality Gap for Mixed Modality Search). We argue that multilingual encoders carry a second offset of the same kind, keyed to language. A query whose words do not match the vocabulary of the relevant documents, the classic vocabulary mismatch or "lexical gap," has no lexical overlap to fall back on. Such queries are then pulled toward the corner of the space that shares their language and modality, not their meaning.

The proposal has two parts. The first is a diagnostic: it splits the gap between each (language, modality) cell of a frozen multilingual vision-language space into a shift, a rotation and a rescaling. The second is a training-free correction built from the closed-form tools of cross-lingual word-vector alignment, which here we call the multi-step framework (Generalizing and Improving Bilingual Word Embedding Mappings with a Multi-Step Framework of Linear Transformations): per-cell centering, an orthogonal rotation fitted on a small set of paired items, and target-side re-weighting against "hubs." We test the correction where it should matter most, on mixed-language, mixed-modality search with queries that share no content words with their targets.

Core Claim

In a frozen multilingual image-text embedding space, language identity behaves like modality identity. Each acts as a near-constant offset, a "watermark" in the sense of I0T, which found fixed embedding dimensions that fire for one modality regardless of content. The offset causes same-language ranking bias that stacks on top of same-modality bias, and the damage concentrates on lexically mismatched queries. The specific prediction is that removing a separate centroid for each (language, modality) cell will beat the single per-modality centroid used by GR-CLIP on multilingual mixed search. A rotation fitted on paired anchors will add a further gain only for typologically distant languages, where the structural similarity between language spaces assumed by linear alignment is known to weaken. Each corrected embedding is

$$z' = \frac{R_\ell\,(z - \mu_{\ell,m})}{\lVert R_\ell\,(z - \mu_{\ell,m}) \rVert},$$

where $z$ is the raw embedding of an item in language $\ell$ (or the image cell) and modality $m$, $\mu_{\ell,m}$ is that cell's mean on a small calibration split, and $R_\ell$ is an orthogonal matrix ($R_\ell^\top R_\ell = I$) fitted by singular value decomposition on paired anchors. $R_\ell$ is the identity for the pivot language and for images.

This differs from the closest existing work in a concrete way. GR-CLIP subtracts one centroid per modality and was tested only in English. mCLIP learns projectors that link a multilingual text encoder to frozen CLIP through contrastive distillation, and never measures or corrects geometric offsets. CL2CM distills similarity structure from a cross-lingual teacher into an image-text student, and leaves the student's clusters separated. None of them asks whether language contributes its own offset. None evaluates on a gallery mixing languages and modalities, or splits results by lexical overlap.

Research Program

The work starts by building the space to be studied. We use the frozen mCLIP encoders (CLIP image encoder plus multilingual text encoder with its projectors), and a second dual encoder for robustness. We embed images, English captions and non-English text for each benchmark.

The diagnostic step follows the decomposition in the multi-step framework. For each pair of cells we measure four things: centroid distance; the residual misalignment that remains after centering and is removed by an orthogonal rotation; the further share removed by whitening and rescaling; and linear separability of the cells. The separability probe mirrors the finding in Towards understanding the modality gap in CLIP that a linear classifier separates CLIP image and text embeddings perfectly. We also look for the per-dimension peak activations that I0T reports, now indexed by language as well as by modality, to test whether the language watermark lives in different dimensions from the modality watermark.

The correction step has three increasingly strong variants, each fitted on at most a few hundred calibration items per cell. Variant A is per-cell centering. Variant B adds an orthogonal rotation fitted on parallel captions of the same image. Variant C adds target-side re-weighting, which the multi-step framework showed suppresses hubs (single targets that become the nearest neighbour of many queries) where source-side re-weighting does not.

We impose orthogonality on purpose, to answer AlignCLIP. AlignCLIP argues that naively shifting one cluster toward another distorts neighbourhoods inside each modality, and closes the gap by sharing layers during pretraining. Centering a single cell and then rotating it is a rigid motion within that cell. Distances between items in the same cell are therefore preserved exactly before the final renormalization, and we measure how much renormalization perturbs them. That claim is checkable, and we check it.

Third, we build the evaluation regime. From Multi30K we construct a mixed gallery of images, English captions and German texts. Multi30K is unusually suited because it contains both professional German translations and independently crowdsourced German descriptions. The independent descriptions use 19.4k word types against 11.4k for English, so they give a natural high-lexical-mismatch condition next to the low-mismatch translated condition. Queries are split by content-word overlap with their relevant text documents, including a zero-overlap bucket in the spirit of Yang et al.. Analogous galleries come from MSCOCO with Japanese text and from COCO-CN, which add typologically distant pairs. VATEX supplies the video setting. English MixBench is a sanity check that the per-cell variant does not hurt the setting GR-CLIP was built for.

Baselines

The naive reference is the raw frozen mCLIP space with cosine retrieval. Its reported Multi30K zero-shot mean recall is 70.1 for mCLIP+ (mCLIP). That number is for standard image-text retrieval, not mixed galleries, so on our galleries we will recompute it ourselves.

The strongest existing method on the exact question is GR-CLIP: one centroid per modality removed post hoc, with multimodal items represented by linear interpolation. On English MixBench it reports NDCG@10 gains of up to 26 percentage points over CLIP and an average 4-point lead over the 7-billion-parameter VLM2Vec (Closing the Modality Gap for Mixed Modality Search). We found no reported result on Lacuna for GR-CLIP or any gap-correction method on a multilingual mixed-modality gallery, and that absence is part of the motivation. GR-CLIP will be run on the same mCLIP embeddings, with the same calibration split size and no tuning beyond what its paper describes.

Two further post-hoc baselines compete on the same footing. I0T_post subtracts the batch mean and renormalizes; it reports Flickr30k text-to-image retrieval rising from 67.10% to 76.30% (I0T). Dual Bank Sinkhorn Normalization reshapes the similarity matrix with optimal transport to suppress hubs, and reports R@1 gains of 2–5% and retrieval skewness on Flickr30k reduced from 2.24 to 0.07 (Hubness Reduction with Dual Bank Sinkhorn Normalization). It competes directly with Variant C, and we will also test it stacked on Variant A. Translate-then-retrieve, which machine-translates queries and documents into English and then applies GR-CLIP, is the pipeline alternative.

The ablation that isolates our key ingredient compares per-cell against per-modality centering, holding everything else fixed. Variants B and C each isolate one further step. Beating the field means a statistically reliable NDCG@10 gain over GR-CLIP on the non-English and zero-overlap query buckets across seeds of the calibration split, without losing more than a point on English MixBench.

Why not just…?

Why not just apply GR-CLIP as is? If the language offset is small relative to the modality offset, one per-modality centroid already captures it, and our cells collapse into GR-CLIP. The diagnostic settles this directly. If centroid distances between languages within the text modality are negligible and the per-cell ablation shows no gain, we report a negative result that extends GR-CLIP to multilingual search.

Why not just center per language and stop there? This is the most serious threat to the method's novelty. It may well capture most of the gain. The rotation and re-weighting are justified only if the data show residual misalignment after centering, which we expect mainly for Japanese and Chinese, where linear alignment is known to be weaker. We report Variant A as a standalone result. If B and C add nothing, the conclusion is that both gaps are purely translational, which is still a useful mechanistic finding about multilingual encoders.

Why not just translate everything to English? For accuracy this is a real competitor, because it removes the language offset by construction. Two things count against it. Reported query latency is 438.7 ms against 17.2 ms for a dual-stream model (mCLIP). Direct cross-lingual alignment also edged out translate-test on Japanese MSCOCO, 67.4% against 66.2% Recall@1 (Cross-lingual Cross-modal Pretraining). We will still run it as an accuracy upper reference, split by lexical-overlap bucket. Translating a lexically mismatched description into English does not create overlap that was never there, so it may lose its edge exactly in the zero-overlap bucket.

Why not just fine-tune mCLIP contrastively on mixed data? Contrastive objectives are documented to settle into separated clusters (Towards understanding the modality gap in CLIP). Fine-tuning gains also transfer poorly out of distribution: on WikiDO, fine-tuning CLIP raised in-distribution R@1 by 12% but out-of-distribution R@1 by only 5% (WikiDO). We run a projector-only fine-tune with the same calibration data plus equal additional paired data. That comparison shows whether closed-form correction matches it.

Decisive Experiments

The first decisive check is whether the language offset exists. We need nonzero centroid distance between language cells within the text modality, and above-chance language separability that survives per-modality centering, measured on mCLIP over Multi30K, MSCOCO-Japanese and COCO-CN.

The second check is whether that offset causes ranking bias. In mixed galleries we measure the fraction of top-10 results that share the query's language, before and after each correction, against the relevance-matched expected fraction.

The third check is whether the harm concentrates on lexical mismatch. The gain of per-cell over per-modality centering should be larger on independent German descriptions than on translated German, and larger in the zero-overlap bucket than in high-overlap buckets.

The fourth check tests AlignCLIP's objection directly. We report the overlap between each item's 10 nearest neighbours within its own cell before and after correction, alongside downstream recall.

The fifth check tests transfer of the hub analysis. On Variant B embeddings we compare target-side re-weighting against Sinkhorn normalization, measuring hub skewness and R@1, to see whether the asymmetry found for word translation carries over to the image side of the space.

If the first check fails, the rest of the program reduces to a careful multilingual stress test of GR-CLIP and I0T. If the first three checks succeed, a per-language, per-modality calibration costing a few hundred examples becomes a practical default for multilingual visual search.