Retrievers that search scanned or rendered document pages usually store hundreds of vectors per page, one for each image patch, and match a text query against all of them. This works well but makes indexes huge, so recent work compresses each page to a few vectors before any query arrives. We argue that this compression step quietly inherits the modality bias of the vision-language models that produce the vectors. These models lean on text-like evidence and under-weight visual evidence, so a compressor that keeps the "most central" patches will tend to keep the ones that carry printed text. It will then fold away charts, diagrams, and figure legends, which are exactly what some queries ask about. The average retrieval score barely moves, but queries whose answer lives in a figure lose a disproportionate share of their accuracy.
We propose to measure this effect directly and then fix it with a small learned compressor. The compressor summarizes each page at the level of layout blocks (a paragraph, a table, a chart), guarantees every block its own share of the vector budget, and runs a cheap two-directional recurrence across blocks in reading order. That recurrence lets a chart's summary absorb its title and caption even when they appear later on the page. The page is still encoded before the query is known, so the index stays searchable at the same speed. The difference is that the fixed vectors are chosen and contextualized to cover each modality on the page, not just the parts the backbone already favors.
Core Claim
Query-independent compression of multi-vector visual document indexes loses accuracy unevenly across evidence types, and the loss concentrates on visually grounded queries. Two things can fix this: a budget that is allocated per layout block, and block summaries that see the whole page in both directions. Together they should give a better accuracy–storage trade-off than centrality-based folding at high compression, with most of the gain on figure- and chart-evidence queries.
Two lines of prior work motivate this. On the retrieval side, ColPali-style retrievers score a query against every patch vector with a max-similarity sum. AnchorFold compresses these indexes without training: it scores patch centrality by propagating the vision backbone's own attention (a PageRank-like process), keeps the top patches as anchors, and merges the rest into their nearest anchor. It reports retaining 98.3% of full-index performance at 5× compression and 92.4% at 20× on ViDoRe. We build directly on its focus-then-fold idea, but we question its selection signal. On the modality side, Re-Balancing Contrastive Decoding and LLaVA Steering show that deep layers of vision-language models give visual tokens only a small fraction of attention, around 25% or less. VASparse shows that raw attention also piles onto semantically empty "sink" tokens. If the backbone's attention is skewed this way, an attention-centrality compressor is skewed the same way. None of these hallucination papers study retrieval indexes, and AnchorFold does not break its results down by evidence modality. That missing breakdown is the gap.
Research Program
The first part is a diagnostic. We take the ViDoRe and REAL-MM-RAG queries and label each by where its answering evidence sits on the target page: running text, table, or chart/figure/diagram. Labels come from a layout detector's region boxes intersected with the evidence region, followed by manual verification of a subsample. We then run a retrieval analogue of the missing-modality test in MLLMs are Deeply Affected by Modality Bias. That paper found 56.53% answer consistency on MMMU-Pro when Qwen2.5-VL's images were replaced by blank or noise inputs. Our analogue masks the figure regions of each page, re-encodes it, and measures how much the relevant page's score and rank change. If rankings for figure-evidence queries barely change when figures are removed, the retriever is not using the figures. We report this for ColPali (whose image tokens attend in both directions within the prefix) and ColQwen2.5 (whose language backbone attends causally over image tokens). This comparison tests whether one-directional encoding worsens the effect. Finally, we apply AnchorFold at 5× and 20× compression and report retained performance per evidence type rather than on average. We also report what fraction of anchors land in figure regions compared with those regions' share of page area.
The second part is the compressor. We keep the retriever frozen and take its final patch vectors. Patches are grouped by detected layout blocks, and blocks are ordered by reading order. Within each block, a small attention-pooling layer produces a fixed number of summary vectors, following the multi-head pooling used in hierarchical summarizers (Lapata et al.). Across blocks, a two-directional linear recurrent layer in the style of BLUR updates each block summary with context from earlier and later blocks. BLUR runs forward and backward recurrences in linear time with stable diagonal transitions. It was built for time series, and we reuse it on the short sequence of blocks on a page. Each block gets at least one vector. The remaining budget is spread by a learned importance score, which replaces raw attention centrality. The page's final vectors are these contextualized summaries, scored against query tokens with the same max-similarity rule, so the index format and search procedure are unchanged.
We train the compressor by distillation from the uncompressed index, which acts as the teacher. For a query $q$ and a candidate set $C$ of pages, let $s(q,d)$ be the full-index score and $\hat s(q,d)$ the compressed score. We minimize
$$\mathcal{L} = \sum_{q} w_{r(q)} \, \mathrm{KL}\big(\mathrm{softmax}_{d \in C}\, s(q,d) \,\big\|\, \mathrm{softmax}_{d \in C}\, \hat s(q,d)\big),$$
where $r(q)$ is the evidence type of $q$'s positive page and $w_r$ reweights types so that each contributes equally. Training uses the retriever's training query–page pairs, kept disjoint from all evaluation documents.
The third part tests the backflow concern raised by Hamiltonian Asymmetric Fusion. That paper shows that symmetric two-way fusion under modality imbalance lets the weaker, noisier stream corrupt the stronger one. In our setting, the concern is that text-block summaries could flood figure summaries with text, or that noisy figure summaries could degrade text blocks. We compare symmetric cross-block recurrence against a directed variant in which figure blocks read context from text blocks but text blocks do not read from figure blocks. Unlike HAF, which fixes the roles by hand for a whole modality, the roles here are set per block by the layout type. If the directed variant wins, that supports HAF's argument extending to retrieval compression.
Baselines
The naive reference points are the uncompressed multi-vector index, which is the upper bound and the teacher, and uniform mean pooling of patches within each layout block. Mean pooling keeps the hierarchy but learns nothing and applies no modality-aware budget.
The strongest existing method is AnchorFold, run with its published settings (six propagation steps, centrality-weighted folding) on the same frozen ColPali and ColQwen2.5 vectors at matched vector counts per page. Its reported figures are 98.3% of full-index performance at 5× and 92.4% at 20× on ViDoRe. The file gives no absolute NDCG@5 values: no reported result found on Lacuna for absolute AnchorFold NDCG@5, so we re-run it ourselves. Beating it means two things at 20× compression. First, averaged retained NDCG@5 must exceed AnchorFold's under our re-run. Second, and more importantly, the gap between figure-evidence and text-evidence queries must shrink by a margin larger than the variance across three training seeds.
We add a training-free stratified variant of AnchorFold. It keeps AnchorFold's centrality scoring but gives each layout block a minimum share of anchors. This is the cheapest possible fix for the allocation problem, and the two ablations below are measured against it.
The ablations isolate our ingredients. The first removes the cross-block recurrence, leaving learned per-block pooling with the modality budget. The second makes the recurrence forward-only in reading order. The third drops the per-type loss weights and the minimum block share. The fourth is the directed-versus-symmetric flow comparison above.
The last baseline removes the causal mask in ColQwen2.5's language backbone and fine-tunes it end-to-end with the same distillation data, then compresses its outputs with AnchorFold. This asks whether two-directional context is better obtained inside the encoder than as a cheap add-on.
All learned variants get the same training pairs, the same number of optimizer steps, and the same hyperparameter search of eight configurations tuned on a held-out split. The bidirectional-mask baseline gets the same number of steps. We report its much larger trainable parameter count and training compute alongside its accuracy.
Why not just…?
Why not just give AnchorFold a per-block anchor quota? This is the most serious threat, and we treat it as one. If the loss on figure queries comes only from allocation, meaning figures simply receive too few anchors, the stratified variant should recover most of the gap at no training cost. In that case the right contribution is the diagnosis plus the quota. Our hypothesis is that allocation is not the whole story. A retained chart patch from a causally encoded backbone may still not "know" its axis labels or caption, so its vector aligns poorly with a query that paraphrases the caption. The ablation that keeps the quota but drops the recurrence settles this. So does comparing ColPali with ColQwen2.5: if the recurrence's benefit appears only on the causal backbone, that supports the context explanation.
Why not just fine-tune the retriever with a bidirectional attention mask? This could plausibly match our accuracy, because it addresses one-directional context at the source. It costs full backbone fine-tuning, requires re-encoding the whole corpus, and risks disturbing pretrained alignment. Our compressor adds only a small post-hoc layer on top of frozen vectors. The direct comparison in the baselines tells us whether the add-on is merely cheaper or also competitive. If the fine-tuned model is clearly better, we will report that the add-on trades accuracy for cost.
Why not keep the full index and rerank with a learnable late-interaction scorer or a cross-encoder? LITE shows that a learned scorer over token similarities beats max-similarity at 0.25× ColBERT's storage. Cross-encoders are more accurate still, but as Pre-trained Language Model for Web-scale Retrieval in Baidu Search notes, they are infeasible over a whole corpus. Both remedies act after first-stage retrieval, so they cannot recover a page that compression already pushed out of the candidate list. We therefore report first-stage recall@100 per evidence type in addition to NDCG@5. A LITE-style scorer on our compressed vectors is complementary, and we include it as an optional final stage rather than as a competitor.
Proposed Experiments
The evaluations are ViDoRe (NDCG@5, per evidence type and averaged) and REAL-MM-RAG (NDCG@5 under rephrased queries with little word overlap), at 5×, 10×, and 20× compression. We also report index storage and indexing-time overhead; AnchorFold reports about 11% indexing overhead. Four results would decide the outcome. The figure-masking test should show smaller score changes on figure-evidence queries than on text-evidence queries, confirming the bias exists in retrieval. AnchorFold's per-type breakdown should show the loss concentrated on figure queries, confirming that compression amplifies it. The full compressor should beat the stratified quota on figure queries at 20×, confirming that context matters and not just allocation. The directed-flow variant should either beat or tie symmetric flow, telling us whether backflow applies here.
If the first two results fail, the premise is wrong and we stop. If the third fails, we publish the diagnosis and the quota as the finding.
References
- ColPali: Efficient Document Retrieval with Vision Language Models
- AnchorFold: A Focus-Then-Fold Framework via Recursive Attention Propagation for Efficient Multi-Vector Visual Document Retrieval
- Mitigating Hallucination in Visual-Language Models via Re-balancing Contrastive Decoding
- LLaVA Steering: Visual Instruction Tuning with 500x Fewer Parameters through Modality Linear Representation-Steering
- VASparse: Towards Efficient Visual Hallucination Mitigation via Visual-Aware Token Sparsification
- MLLMs are Deeply Affected by Modality Bias
- Hierarchical Transformers for Multi-Document Summarization
- Bidirectional linear recurrent models for sequence-level multisource fusion
- Hamiltonian Asymmetric Fusion: One-Way Safe Directed Refinement under Modality Imbalance
- Efficient Document Ranking with Learnable Late Interactions
- Pre-trained Language Model for Web-scale Retrieval in Baidu Search