TL;DR
ConceptFormer is a novel framework for visual document retrieval that learns query-conditioned latent concepts to bridge the gap between localized visual evidence and page-level semantics. By dynamically adjusting the capacity of these latent concepts during training and aligning them with ranking objectives, it achieves massive performance gains without adding any computational overhead during inference.
What Problem Does This Paper Address?
Visual document retrieval (VDR) is a backbone component of multimodal Retrieval-Augmented Generation (RAG) systems. Unlike standard text retrieval, VDR requires models to find relevant pages within document collections where critical information is embedded in text, complex layouts, charts, tables, and visual structures.
Currently, most visual retrievers rely on coarse, page-level contrastive learning (like InfoNCE). While effective at a high level, this approach provides weak supervision for identifying exactly which localized piece of evidence makes a page relevant to a query. Recent attempts to introduce finer-grained supervision rely on text descriptions or cropped visual regions as proxies for evidence. However, text descriptions fail to capture intricate spatial layouts and chart structures, while isolated visual crops lack the global context of the document page.
Methods
ConceptFormer addresses these limitations by introducing continuous, query-conditioned latent concepts as an intermediate representation space that connects localized visual grounding with page-level semantic relevance.
The framework operates in two main phases during training:
- Adaptive Concept Capacity Allocation: Rather than using a fixed number of tokens for all queries, ConceptFormer uses a powerful vision-language model (VLM) as an "evidence proposer" to identify query-relevant bounding boxes on a page. These boxes are projected onto the retriever's visual token grid to dynamically calculate how many latent concept tokens (
<|lcon|>) are required. Complex visual structures (like maps or charts) receive more tokens, while simpler text blocks receive fewer. - Visual-Language Alignment via Representation Learning: The retriever generates hidden states for these tokens. Instead of optimizing them via standard contrastive matching, ConceptFormer uses a KL-divergence loss to align the document ranking distribution induced by these latent concepts with the distribution induced by the query itself.
Crucially, latent concepts are only used during training. At inference time, the latent concept generation pathway is completely bypassed, allowing the model to maintain the exact speed and efficiency of a standard visual retriever.
Datasets
The authors evaluated ConceptFormer across a robust mix of datasets:
- Training Data: Approximately 38,000 query-document pairs aggregated from diverse visually rich sources, including
DocVQA,InfoVQA,VisualMRC,OpenWikiTable,DUDE, andMHDocVQA. - Evaluation Benchmarks: Six distinct retrieval datasets were used to test both in-domain and out-of-domain generalization:
InfoVQA(in-domain),ChartQA,SlideVQA,TQA,OWID Charts, andWikimedia Maps.
Key Insights and Ideas
- Latent Spaces Over Explicit Proxies: Continuous latent concepts outperform explicit text descriptions or raw visual features. They occupy a unique intermediate geometry in the embedding space, successfully retaining both fine-grained textual cues and complex document-level visual structures.
- Dynamic Capacity Matters: Evidence complexity varies wildly across documents. By dynamically allocating token capacity based on evidence coverage (Matryoshka-style), the model avoids wasting representational capacity on simple queries while ensuring sufficient bandwidth for data-dense graphics.
- Distribution Alignment as Supervision: Forcing the latent concepts to mimic the query's overall ranking preference across a batch (via KL divergence) provides a much richer, smoother supervision signal than standard binary contrastive pairing.
Key Results
ConceptFormer demonstrates state-of-the-art performance across all evaluated visual document retrieval benchmarks:
- Overall Performance: It achieved a 16.7% relative improvement in average NDCG@10 over the strongest visual retrieval baseline (
VisRAG-Ret) and a 22.1% relative improvement over the top OCR-based text retriever (NV-Embed-v2). - Spatially Complex Documents: On the highly visual
Wikimedia Mapsdataset, ConceptFormer achieved over 2× the NDCG@10 of prior visual retrievers, proving its superior ability to handle distributed spatial evidence. - Ablation Success: Dynamic token allocation consistently beat all fixed-token length baselines (ranging from 8 to 256 fixed tokens), proving that adaptive capacity prevents performance saturation.
Limitations and Future Work
- Training-Time VLM Dependency: The framework relies heavily on a high-quality, large VLM (such as Qwen3.6-Plus) during the training data preparation phase to propose accurate evidence bounding boxes. If the evidence proposer misidentifies or misses key regions, the quality of the latent concept supervision degrades.
- Future Work: The authors suggest exploring more efficient methods for generating evidence proposals without relying on massive external VLMs, as well as extending the latent concept paradigm directly into the generation phase of multimodal RAG pipelines.
Summary updated