Rerankers that read page images are now fast enough to consider deploying. A reranker is the second-stage model that reorders a short list of candidate pages returned by a cheap first-stage search. The fastest such systems keep reading costs down by throwing away half of each page's image patches before the expensive language-model layers run. They choose which patches to keep by how similar each patch looks to the query's words. That choice has a blind spot. When the query and the relevant page describe the same thing in different words, a problem known as vocabulary mismatch or the lexical gap, similarity to the query is a poor guide to which patches matter. The numbers in a table, a labelled schematic, or a differently phrased caption can be exactly the evidence that gets discarded. We propose to set the number of kept patches per candidate page according to a cheap, precomputed estimate of how badly that page's wording mismatches the query. The total patch budget per query stays fixed, so latency remains predictable.
Put in two sentences: pruning by query similarity works well when the page uses the query's words and fails when it does not, so the pruning budget should follow the lexical gap rather than a uniform ratio. We move patches from candidates that match the query on the surface, where evidence is easy to locate, to candidates with low word overlap, where the gap makes it hard to find. We keep the per-query total constant so the hard latency ceiling of production search is respected.
Core Claim
ZipRerank is the closest prior work and the method we build on. It scores a listwise candidate set in one forward pass of a vision-language model by reading candidate-identifier logits instead of generating text. Before the deep layers, a light "early interaction" step computes cosine similarity between query tokens and each page's visual tokens and keeps a fixed 50% of those tokens. Its authors acknowledge that this can drop small numeric figures and table cells. The fixed ratio is the part we change.
Our claim has two parts. The first is empirical: the ranking damage from similarity-based pruning is not spread evenly but concentrates in query–page pairs with low lexical overlap. The second is methodological. Suppose a small gating model reads two signals: the lexical overlap between the query and the page's index-time text, and the shape of the early-interaction similarity map (a flat map suggests the query "finds nothing" by surface match). If that gate reallocates a fixed total token budget across the candidate list, it should recover most of the unpruned model's accuracy at the same mean latency as uniform 50% pruning. It should also beat uniform pruning at equal budget.
The lexical signal costs almost nothing at query time. Page text is extracted once at indexing, and MMDocIR reports that index-time VLM-generated descriptions beat raw OCR by about 5% in page recall and up to 20% in layout recall, so they give us a cleaner overlap estimate. This avoids the query-time transcription cost seen in OmniCVR. There, converting audio to text with Qwen2-Audio lifted Recall@1 from 13.6% to 32.7% but made inference 1.77x slower. We borrow the insight that a text channel bridges the modality gap, but we move the text work offline.
Research Program
Let $q$ be a query with $K$ candidate pages. Page $d_i$ has $N_i$ visual tokens, and $B$ is the fixed total number of visual tokens the reranker may process for this query. Each candidate gets a small feature vector $z_i$. It contains the query–page lexical overlap $o_i$ (a BM25 score against the page's index-time text) and summary statistics of that page's early-interaction similarity map (its maximum, its entropy, and the fraction of query tokens with no patch above a similarity threshold). A small gating network $g$ maps $z_i$ to an allocation:
$$n_i = \mathrm{clip}\Big(B \cdot \frac{\exp g(z_i)}{\sum_{j=1}^{K} \exp g(z_j)},\; n_{\min},\; N_i\Big),$$
where $n_i$ is the number of top-similarity tokens kept for page $i$ and $n_{\min}$ is a floor that guarantees every candidate is seen. Leftover budget from clipping is redistributed proportionally.
The token selection step inside each page stays the same as ZipRerank's similarity ranking. Only the per-page count changes. This isolates our contribution and keeps the listwise single-logit scoring intact. A second head of $g$ outputs a scalar $w_i \in [0,1]$ that mixes a precomputed lexical score into the final candidate score. This echoes the way the Delta Model feeds BM25 features alongside its cheap neural matching to handle biomedical synonymy at 49 ms for 500 documents. We treat this head as secondary and ablate it.
Training avoids the reinforcement learning used by RankCFS. RankCFS learns keep/skip decisions over tabular ranking features with an actor–critic and a KL term against the full model. It cut Taobao search latency by over 40%, but it operates on predefined features with no semantic matching. We keep its idea of measuring fidelity to the full model and replace the policy search with supervised regression. For every training query–page pair we compute offline the smallest retention fraction at which the pruned reranker's listwise distribution stays within a small KL tolerance of the unpruned reranker's. The gate is then trained to predict these oracle fractions and, through the softmax, their relative shares. This sidesteps the non-differentiable top-$k$ selection.
The gated fusion form follows Gated Cross-Attention, which uses a learned scalar gate to stop a dominant modality from overwriting a smaller one in drug–target prediction. We also take a warning from it and from the Xianyu price-suggestion model: softmax gates tend to lock onto one easy signal early in training. The floor $n_{\min}$ and supervised oracle targets are our guard against that collapse, and we will report the gate's allocation entropy across training to check it.
The fixed per-query budget is a deliberate choice. Chapelle et al. describe a hard ceiling of roughly 50 ms on the scoring phase in web search. An adaptive method whose cost varies per query would trade mean latency for tail latency, which production systems cannot accept. Holding $B$ fixed makes the compute of the deep layers essentially constant per query. The overhead we add is the gate and the statistics of a similarity map ZipRerank already computes, and we will time both directly.
Static feature pruning such as Neural Feature Selection motivates the premise that much of the input is redundant. It removed 60% of MSLR-WEB30K features and halved inference time. Its global, offline selection, however, is exactly what our per-instance allocation argues against.
Baselines
The naive reference point is the unpruned reranker. It is the same vision-language backbone and listwise single-logit scoring with all visual tokens kept, trained identically. It sets the accuracy ceiling and the latency floor we are trying to escape. It also serves as the teacher for our oracle allocations. A second naive point is first-stage retrieval with no reranking, which shows how much reranking is worth at all.
The strongest existing method is ZipRerank-style uniform 50% similarity pruning (ZipRerank). The file reports that it matches or beats prior rerankers on Recall@3 and Recall@5 on MMDocIR and ViDoRe while running 10x faster than MM-R5 and 58x faster than GPT-5-mini. We found no reported result on Lacuna for ZipRerank's exact Recall@5 value on MMDocIR. As external reference points we have MMDocIR's report that visual retrievers exceed 80% page-level Recall@5, and ViDoRe V2's report that top models fall to around 0.60 nDCG@5, against above 90% on V1.
Because the file gives no code release, we will reimplement ZipRerank's early interaction and scoring on a shared backbone. We will distill from the unpruned version of that backbone rather than from GPT-5-mini, so that every system shares one teacher, one training set (the MMDocIR training questions), one first-stage retriever, one candidate count, one GPU and one tuning budget.
Uniform pruning is swept across retention ratios from 10% to 90% to trace its accuracy–budget curve. Beating it means that at equal total tokens per query, and at no worse p95 latency, our allocation gives a statistically significant gain in Recall@5 on MMDocIR and nDCG@5 on ViDoRe V2. It also means reaching the unpruned model's accuracy with a meaningfully smaller budget than uniform pruning needs to get there.
The ablation that isolates our key ingredient is a mismatch-blind adaptive allocator. It reallocates the same fixed budget across candidates using only similarity-map statistics, or a cumulative-similarity-mass rule, with the lexical overlap feature removed. If it matches the full gate, the lexical gap is not doing the work and our central claim fails. Further ablations remove the fusion head $w_i$, replace oracle-regression training with direct end-to-end training through a relaxed top-$k$, and swap VLM descriptions for OCR text as the overlap source.
Why not just…?
Why not just keep more tokens uniformly? Raising the fixed ratio to 70% or 80% will certainly recover some lost evidence. It pays for that on every candidate, including the many where surface matching already finds the evidence. The comparison that settles this is the full accuracy-versus-budget curve. If uniform pruning's curve lies on or above ours at every budget, reallocation buys nothing and we would say so.
Why not just use a generic adaptive rule, such as keeping tokens until a fixed share of similarity mass is covered? This is the real threat, because it is simpler and already instance-adaptive. It shares ZipRerank's weakness, though: under vocabulary mismatch the similarity mass is spread thin or sits on the wrong patches, so a mass rule cannot tell "nothing relevant here" from "relevant evidence phrased differently." The mismatch-blind ablation above is exactly this competitor, run at the same budget. We would decide the question by where the gains appear. If our advantage exists, it should be concentrated in the lowest lexical-overlap stratum. If the two tie there, we would drop the lexical signal and report the simpler rule.
Why not just rewrite the query so its words match the pages? Rewriting attacks the gap from the query side, and RaFe shows that small rewriters trained on reranker feedback add 2–3% QA accuracy on text benchmarks. Two things argue against making it the answer here. ECLASS-augmented product search found that LLM rewriting hurt retrieval by stripping technical detail from queries. A rewriting step also adds query-time generation, which works against the latency constraint. We will still run a RaFe-style small rewriter feeding the uniform-pruning reranker as a baseline, with its latency included. We expect it to help on high-overlap paraphrase cases and to lose on tables and figures, where the missing evidence is visual rather than verbal.
Why not just rerank with page text and a fixed text–image score blend? Text-only rerankers are cheap, but MMDocIR reports that non-text elements cover over 40% of document area and that visual retrievers outperform text ones. The Xianyu model's 8% gain from category-adaptive weighting over single-modality baselines suggests a fixed blend loses when modality usefulness varies by instance. We include a fixed-weight blend of a text reranker and the uniform-pruning visual reranker, tuned on validation data, as a baseline.
Proposed Experiments
The first experiment is the decisive check, and it needs no new model. On MMDocIR we bucket query–page pairs by lexical overlap into quintiles and measure, in each bucket, the drop in the relevant page's rank when we move from the unpruned reranker to uniform 50% pruning. We also measure it at the layout level, for tables, figures and charts. The proposal rests on this drop rising sharply toward the low-overlap buckets. If the damage is flat across buckets, lexical mismatch does not explain pruning loss and we would abandon mismatch-driven allocation before building the gate.
If the check passes, we train the gate on the MMDocIR training split and evaluate on the MMDocIR evaluation set. That set has 1,658 expert queries over 313 long documents in 10 domains, and we evaluate at both page and layout level with Recall@3 and Recall@5. We evaluate out of domain on ViDoRe V1 and V2 with nDCG@5. We use V2 in particular because it is not saturated and because its contextual queries likely contain more paraphrase.
Every system is reported at matched total token budgets. We report mean, p95 and p99 wall-clock latency per query at fixed candidate count on the same hardware, and we separately time the gate and statistics computation to confirm they are a small fraction of the deep-layer cost. Beyond the headline numbers we report per-overlap-stratum gains, which should concentrate in the low-overlap strata. We also report per-element-type gains on MMDocIR layouts, where tables and figures should benefit most given ZipRerank's own stated failure mode.
Finally, to test whether the gate is learning the lexical gap rather than dataset quirks, we run a controlled perturbation. We apply synonym substitution to the query words that also appear on the relevant page, which lowers lexical overlap while keeping the intent. We then check that the gate shifts budget toward those pages and that its accuracy degrades less than uniform pruning's.
References
- Very Efficient Listwise Multimodal Reranking for Long Documents
- MMDocIR: Benchmarking Multimodal Retrieval for Long Documents
- OmniCVR: A Benchmark for Omni-Composed Video Retrieval with Vision, Audio, and Text
- A Fast Deep Learning Model for Textual Relevance in Biomedical Information Retrieval
- Improving Search Engine Efficiency through Contextual Factor Selection
- An Interpretable Framework for Drug-Target Interaction with Gated Cross Attention
- Price Suggestion for Online Second-hand Items with Texts and Images
- Future directions in learning to rank
- Neural Feature Selection for Learning to Rank
- ViDoRe Benchmark V2: Raising the Bar for Visual Retrieval
- RaFe: Ranking Feedback Improves Query Rewriting for RAG
- ECLASS-Augmented Semantic Product Search for Electronic Components