TL;DR
Standard dense text retrievers map each query to a single vector, which fundamentally struggles when a query has multiple, semantically distant target documents. To solve this, the authors propose AMER (Autoregressive Multi-Embedding Retriever), an architecture that autoregressively predicts a sequence of distinct query vectors to comprehensively cover multimodal target spaces. AMER matches all target distributions perfectly on synthetic tests and delivers major retrieval gains on real-world multi-answer benchmarks—especially when target documents are far apart in embedding space.
What Problem Does This Paper Address?
Retrieval-Augmented Generation (RAG) relies on retrieving a comprehensive set of relevant documents. However, many real-world questions are either inherently ambiguous (admitting several valid interpretations) or seek list-style answers (e.g., "Who are the directors of movies produced by Eric Newman?").
Current dense retrievers rely on bi-encoders that map the input query to a single query embedding. The authors demonstrate that existing retrievers (including Contriever, Stella, Inf-Retriever, and NV-Embed-V2) experience steep performance drops as the geometric distance between gold target documents increases. When relevant targets sit in separate, distant clusters in embedding space, no single query vector can be close to all of them at once.
Methods
Instead of forcing a single vector to compromise between divergent targets, the authors propose AMER:
Query Text ──► [ LM Query Encoder ] ──► q₁ ──► Retrieve D₁ ──┐
│ │
(Feed q₁ / d₁) ├──► Round-Robin Merge
▼ │ ──► Final Ranked List
[ LM Query Encoder ] ──► q₂ ──► Retrieve D₂ ──┘
- Autoregressive Continuous Generation: AMER uses a decoder-only language model as a query encoder. After encoding the query prompt, it autoregressively emits continuous query vectors in latent space ($q_1, q_2, \dots, q_m$) rather than discrete tokens.
- Frozen Document Encoder: To avoid re-indexing 25M+ corpus documents, the document encoder (Inf-Retriever) is kept frozen. Lightweight input and output linear projection layers align dimensionalities between the query LM and document encoder.
- Hungarian Matching Loss: Because the set of gold documents is unordered, training against a fixed order would introduce noise. AMER predicts $m$ vectors and uses the Hungarian matching algorithm to pair each generated query vector with its optimal ground-truth document vector before calculating the InfoNCE contrastive loss.
- Scheduled Sampling: During training, AMER gradually shifts from consuming ground-truth document vectors to feeding back its own previous predicted vectors (clipping at 80% predicted inputs), bridging the train/inference exposure gap.
- Round-Robin Retrieval: During inference, each generated query vector independently searches the corpus. The resulting ranked lists are merged via a round-robin schedule into a unified top-$k$ output.
Datasets
- Synthetic Vector Dataset: A controlled benchmark where 1024-dimensional vectors from 5 continuous distributions (Standard Gaussian, High-variance Gaussian, Correlated Gaussian, Uniform, and Laplace + Gaussian) are mapped to 5 distinct targets using linear rotations or two-layer MLPs. The corpus consists of 105k target vectors plus 95k Gaussian noise vectors (200k total).
- Real-World Multi-Answer QA Benchmarks:
- AmbigQA: Ambiguous questions requiring multiple disambiguated answers, augmented with multi-answer questions from NQ-Open (5,044 train / 827 test; average 2.58 targets/query).
- QAMPARI: Open-domain questions requiring multi-paragraph entity lists, filtered to instances with 5–8 answers (32,023 train / 531 test; average 6.09 targets/query).
- Both datasets retrieve against a 2021 Wikipedia corpus containing ~25 million 100-word passages.
- The authors also extract a "low similarity set" (the bottom 33rd percentile of target pairwise cosine similarity) to isolate queries with highly dispersed targets.
Key Insights and Ideas
- The geometric failure of single-query averaging: In the synthetic linear setting, two pairs of transformations are exact opposites (negatives of each other). A single-vector retriever attempts to capture their centroid—which is zero—and completely fails (0% recall). This confirms that single embeddings cannot represent multimodal distributions geometrically.
- Latent-space querying vs. agentic text loops: While agentic systems loop LLMs over discrete sub-queries via tool use, AMER performs multi-hop retrieval directly in the embedding space within a single forward trajectory, maintaining dense representations without token discretization.
- Real-world benchmarks mask diversity challenges: In AmbigQA and QAMPARI, gold documents for a given query are unexpectedly close to each other in embedding space (average cosine similarity of 0.86–0.90, compared to 0.74–0.77 for random documents). Because target documents share similar phrasing and entity co-occurrences, standard benchmarks understate the difficulty of diverse retrieval.
Key Results
- Synthetic Setting: AMER achieves 100% MRecall@10 and MRecall@100 across both linear and MLP transformations in in-distribution and out-of-distribution tests. By contrast, the single-query baseline caps at 21.1% on MLPs and 0.0% on linear data.
- Real-World Benchmarks: Evaluating across four base query backbones (Llama-3.2-1B, Llama-3.2-3B, Qwen3-4B, Llama-3.1-8B):
- Overall Test Sets: AMER provides an average relative gain of +6.50% on AmbigQA and +16.12% on QAMPARI over single-query models.
- Low-Similarity Sets (Diverse Targets): The advantage grows dramatically to +8.08% on AmbigQA and +183.58% on QAMPARI. In specific backbones (e.g., Qwen3-4B on QAMPARI), AMER boosts MRecall@100 by +300.0% (from 1.13 to 4.52).
- Comparison with Traditional Diversity Baselines: Standard methods like GPT-4.1-mini Query Expansion and MMR Re-ranking often degrade overall performance (e.g., -13.50% and -8.28% on QAMPARI, respectively), whereas AMER consistently yields statistically significant improvements.
Limitations and Future Work
- Fixed Query Budget: AMER currently outputs a hardcoded number of embeddings ($N=2$ for AmbigQA, $N=5$ for QAMPARI) rather than dynamically halting based on the perceived ambiguity or number of answer candidates.
- Basic Merging Strategy: Retrieved documents are merged using simple round-robin selection. A learned or similarity-weighted rank aggregation method could improve precision.
- Training Simplifications: The authors trained using LoRA and in-batch random negatives without mining hard negatives or fine-tuning the document encoder. Incorporating modern dense retrieval pipelines could further improve absolute performance numbers.
Summary updated