Who Pays for Leaked Answers? Measuring How Contamination Inflates Each Side of the Retrieval–Reasoning Trade-off

Multimodal search systems face a well-known choice. A dual encoder turns each image and each text query into a vector separately, so a gallery of millions of images can be embedded once and searched with fast dot products. Its weakness is that image and text never look at each other before the final comparison, so it struggles with queries that need relational or multi-step reasoning. A fusion model, or a large multimodal language model used as a re-ranker, lets image and text attend to each other and reasons much better, but it must run once per candidate. The field reads benchmark results as a price list: on the reasoning-heavy MR2-Bench, the best embedding model reaches 30.68 nDCG@10, while a GPT-5 re-ranker that reasons explicitly reaches 45.90 (MR2-Bench). That gap is taken as what extra compute buys.

This proposal asks whether that price list is honest. The expensive side of the trade-off is almost always built on a large language-model backbone, and those backbones are known to memorize benchmark text. That leakage carries over into multimodal scores even when the images were never seen (Both Text and Images Leaked!). If memorization lifts re-rankers and reasoning-driven embeddings more than plain dual encoders, then the measured value of "reasoning" in retrieval is partly the value of having seen the answers. We propose to measure this directly. We build a procedural generator of retrieval galleries whose items can be deliberately leaked into training in controlled doses. We then estimate, for each point on the speed–accuracy curve, how much score each unit of leakage buys.

Core Claim

The claim is that sensitivity to contamination depends on where reasoning happens in a retrieval system. Concretely, we expect a fixed amount of leaked training exposure to inflate retrieval scores more for systems that reason through a language-model pathway than for systems that compress each input independently. The pathway-based systems include generative embeddings that "think" before emitting a vector, and multimodal re-rankers. The independent-compression systems include dual encoders. We expect the contamination-adjusted trade-off curve to be flatter than the published one. This claim is falsifiable in both directions. Dual encoders may turn out to memorize gallery alignments just as readily, in which case the published curve stands and contamination is a uniform tax. If so, that is itself a useful result for anyone comparing architectures on static benchmarks.

What is new is the measurement itself. The closest existing work does not provide it. MR2-Bench exposes the reasoning gap on a static, scrapeable corpus and cannot separate capacity from memorization. MM-DETECT audits contamination only in generative models on multiple-choice and captioning tasks. Its tests rely on reading generated text, so they cannot be applied to a dual encoder that outputs only a vector. DyVal (DyVal) and KBE-DME (Dynamic Multimodal Evaluation via Knowledge-Enhanced Benchmark Evolution) regenerate reasoning problems to escape memorization. Both evaluate one query against one answer, with no gallery, no distractors and no retrieval cost, so they cannot place a system on the retrieval–reasoning curve at all.

Research Program

The generator. The first artifact is a gallery generator for text-to-image retrieval. It renders compositional scenes: objects with shapes, colors, sizes and spatial relations, plus simple chart-like diagrams. It writes multi-hop queries such as "the scene where the object left of the red cube matches the shape of the largest object." For each query it builds a gallery of $N$ images. The gallery contains the single target, minimal-edit distractors that satisfy every constraint but one, and filler images. The minimal-edit distractors are the gallery-scale analogue of Winoground's swapped-word pairs (Winoground) and SugarCrepe's adversarial negatives (SugarCrepe).

The generator has three difficulty controls: the number of reasoning hops $k$, the fraction of distractors that are minimal edits, and the gallery size $N$, swept from $10^3$ to $10^5$ so that cost scaling is measured rather than assumed. We borrow two lessons from SugarCrepe. First, we check that shortcut scorers sit at chance. One such scorer ranks images without reading the query. Another ranks rendered-scene descriptions with a text-only retriever. Second, we report the caption-then-text-retrieval pipeline separately, because it is a known shortcut. Galleries are regenerated from secret seeds for every evaluation, so the clean test set never exists on the web.

Controlled injection. The generator makes ground-truth contamination possible. Leaked and held-out items are drawn from the same distribution at the same difficulty, so any score difference between them is caused by exposure. We fine-tune each open system on a shared training mix and add generator items at doses of 0, 1, 4 and 16 exposures. Leakage comes in three retrieval-specific forms. In query leakage, query–target pairs are seen. In gallery leakage, the gallery images are seen with their correct descriptions but without the queries. In text-only leakage, only textual descriptions of the scenes are seen, which tests whether the unimodal-to-multimodal transfer found by MM-DETECT also reaches dual encoders. For each system we define inflation at dose $d$ as

$$I(d) = R_{\text{leaked}}(d) - R_{\text{held-out}}(d),$$

where $R$ is nDCG@10 (or Recall@1) on generator items that were leaked versus never seen, measured on the same model after the same training. The contamination sensitivity of a system is the slope of $I$ against $d$. Plotting each system's held-out accuracy against its per-query cost gives the contamination-adjusted trade-off curve.

Within-model contrasts. Some systems run two modes on the same weights, which gives the cleanest test of where reasoning happens. VLMo runs as a dual encoder or as a fusion encoder through the same shared attention (VLMo). UME-R1 emits either a discriminative embedding or a generative embedding produced after a chain-of-thought trace (UME-R1, code at UME-R1 codebase). In both, pretraining data is identical across modes, so any difference in sensitivity cannot be blamed on different training corpora. Around these we place a dual encoder trained by attention distillation in the style of DIDE (Distilled Dual-Encoder Model for Vision-Language Understanding). DIDE copies a fusion teacher's cross-attention maps into a student that can still cache vectors. That raises the question of whether it also inherits the teacher's memorization. We also include the query-and-corpus rewriting approach of Reasoning-Augmented Representations for Multimodal Retrieval, where a Qwen3-VL annotator writes explicit textual evidence before encoding. Here we test whether the annotator's own memory, rather than the encoder, carries the leaked answer.

Transfer to public benchmarks. Proprietary re-rankers cannot be fine-tuned, so for them we use the injection results to calibrate a cheaper audit. We compare each system's score on public static sets against its score on generator galleries at matched human difficulty. The public sets are MR2-Bench's Visual Relation Reasoning split, Winoground and SugarCrepe. We report how well this gap predicts the injection-measured sensitivity for the open models, where both are available.

Baselines

The naive reference point is a plain contrastively trained dual encoder with no reasoning component. It is the cheapest point on the curve and the one the field assumes is least able to reason. Alongside it we report random ranking and the query-blind image scorer, which together define chance on each gallery configuration. Beating this point means nothing by itself. Its role is to anchor the cost axis and to show whether contamination sensitivity is nonzero even without a language backbone.

The strongest existing method on reasoning-heavy retrieval is retrieve-then-rerank with a frontier multimodal model reasoning explicitly. MR2-Bench reports 45.90 nDCG@10 for GPT-5 in this role, against a best embedding model at 30.68 nDCG@10 (MR2-Bench). Among single-pass embeddings, UME-R1-7B reports 64.5 overall on MMEB-V2, compared with 58.0 for VLM2Vec-V2 and 60.6 for CAFe (UME-R1). We find no reported result on Lacuna for any system on our generator galleries, since they do not yet exist. These systems are therefore "baselines" in a specific sense: they are the competitors whose advertised advantage we test.

For fairness, all open systems are fine-tuned on the same base mix, with the same number of steps and the same leak doses. Each gets an equal hyperparameter budget of a fixed number of trials tuned on held-out generator items only. The re-ranker uses the same first-stage candidate pool, at $K=50$, across systems. Cost is measured as wall-clock time and FLOPs per query at each $N$ on the same hardware.

On the substantive question, the proposal "beats" the published curve if the held-out advantage of the re-ranker or generative-embedding mode over the dual-encoder mode falls by a margin outside seed-to-seed variance once inflation is subtracted. A second, equal test is whether the within-model sensitivity slopes for VLMo-fusion versus VLMo-dual, and for UME-R1-generative versus UME-R1-discriminative, differ significantly.

The ablation that isolates the key ingredient removes minimal-edit distractors and fills galleries with random images. Our hypothesis is that memorization is easiest to detect, and most inflating, when distractors are close. In that case the sensitivity gap between architectures should shrink sharply on random-distractor galleries. A second ablation freezes one public generator draw instead of regenerating from secret seeds. This shows how quickly a fixed procedural benchmark drifts back into the static-benchmark failure mode.

Why not just…?

Why not just evaluate on data released after each model's training cutoff, or filter test items by n-gram overlap? Both catch only verbatim, dated leakage. Distribution-based detection beat n-gram baselines by 21.8% to 30.2% because rephrased leaks slip past string matching. The same work found leakage in commercial models even on problems released after their stated cutoff (Generalization or Memorization). In multimodal retrieval the problem is worse: leakage can arrive through text alone while the images were never in the corpus (Both Text and Images Leaked!), and no overlap filter on images catches it. Our text-only-leakage condition measures this route directly for each architecture.

Why not just apply MM-DETECT-style perturbations to MR2-Bench and other existing retrieval sets? This is the most serious alternative, and we take it seriously. It is cheap and works on proprietary models. It has two problems. First, perturbation tests read generated text, so a dual encoder that emits only a vector gives nothing to read. Second, perturbing an item can change its difficulty as well as its familiarity, so a drop in score confounds the two. Our generator separates them, because leaked and held-out items share a distribution. We include the perturbation audit as a competing estimator and report its correlation with injection-measured sensitivity on open models. If the correlation is high, the perturbation audit is vindicated as the practical tool and our contribution narrows to that calibration. We would say so.

Why not just use DyVal or KBE-DME, which already regenerate problems to escape memorization? They regenerate questions with a single answer each. Retrieval contamination has forms that only appear with a gallery. One example is having memorized which description belongs to which image without ever seeing the query. A gallery is also needed to measure the cost side of the trade-off at all. KBE-DME additionally depends on a heavy multimodal model to write each new item, which can introduce its own stylistic shortcuts. Our renderer avoids that by construction.

Why not just accept the two-stage pipeline and stop worrying about the curve? Retrieve-then-rerank is not an alternative to this study. It is one of the systems under test. Its first stage caps it: with Recall@1 of 9.91% for the best embedding model on MR2-Bench, the target often never reaches the re-ranker. Its second stage is a large language model of exactly the kind that contamination audits flag most. Whether its 15-point nDCG@10 lead over embeddings survives on clean galleries is the question this proposal answers.

Proposed Experiments and Decisive Checks

The first check validates the generator. Shortcut scorers must sit at chance. Human accuracy must stay high across hop counts while model accuracy falls with $k$, mirroring the controllable-difficulty finding of KBE-DME. Distractor closeness must be verifiable by construction. If humans cannot solve 3-hop galleries reliably, we cap $k$ there.

The central experiment is the dose–response study. It covers every open system, each of the three leakage types, and doses of 0 to 16 exposures, with three seeds per cell. The main reported quantities are the sensitivity slopes and the contamination-adjusted cost–accuracy curve. The decisive results are the two within-model comparisons, VLMo fusion versus dual and UME-R1 generative versus discriminative. In each, pretraining is identical and only the location of reasoning changes. If the reasoning mode's slope is clearly steeper, the claim holds. If the slopes match, contamination is a uniform tax and the published trade-off curve is honest, at least for these model families.

A secondary check concerns attention distillation. It asks whether the DIDE-style student's sensitivity tracks its fusion teacher's or the plain dual encoder's. This tells practitioners whether distillation carries memorization across the speed boundary.

The final experiment is the transfer audit. It compares public-benchmark scores with generator scores for all systems, including GPT-5-class re-rankers, calibrated against the open-model injection results. This yields an estimate, with stated uncertainty, of how much of MR2-Bench's re-ranking advantage reflects reasoning that survives on galleries no model could have seen.