Beyond Single Embeddings: Capturing Diverse Targets with Multi-Query Retrieval

Hung-Ting Chen, Xiang Liu, Shauli Ravfogel, Eunsol Choi

TL;DR

Standard text retrievers compress a search query into a single vector, which inherently fails when a query requires a diverse, multi-modal set of answers. To overcome this bottleneck, the authors introduce the Autoregressive Multi-Embedding Retriever (AMER), a novel architecture that sequentially generates multiple query vectors to capture distinct target documents. AMER achieves perfect recall on synthetic multi-target datasets and delivers up to a 144% relative performance gain on real-world datasets when target documents are highly diverse.

What Problem Does This Paper Address?

Modern Retrieval-Augmented Generation (RAG) systems rely on dense retrievers to fetch relevant context for Large Language Models (LLMs). Most state-of-the-art retrievers use a bi-encoder architecture, mapping a query to a single vector and finding the closest document vectors in a shared embedding space.

However, this single-vector approach breaks down when a query is ambiguous or requires a list of distinct answers (e.g., "From which country did Seattle Storm make draft selections?"). In these scenarios, the ideal distribution of relevant documents is multi-modal. As the distance between these diverse target documents increases in the embedding space, a single query vector is forced to "average" them out, often landing in an irrelevant region. The authors empirically demonstrate this failure mode across several top-performing retrievers (like NV-Embed and Stella), showing a clear performance degradation as target document diversity increases.

Figure 1: Model performances per the diversity of target document set. We report performance on the whole test set (the leftmost subplots), and subsets of different number of target documents (answer set size). We partition the dataset into 4 bins (<25%, 25-50%, 50-75%, and >75%) in terms of distance between target document embeddings. As the distance becomes larger, the performance worsens. The trend holds true for all models, and is more pronounced in QAMPARI dataset, where there are more answers for each query and larger distance.

Methods

To capture multi-modal target distributions, the authors propose AMER (Autoregressive Multi-Embedding Retriever). Instead of producing one vector, AMER leverages an autoregressive language model to generate a sequence of continuous query embeddings.

Key components of the AMER pipeline include:

  • Frozen Document Encoder: To avoid the massive computational cost of re-indexing a 25-million-passage corpus during training, the document encoder remains frozen, while only the query encoder is optimized.
  • Hungarian Matching Loss: Because the set of target documents is unordered, forcing the model to learn a specific sequence would introduce artificial noise. AMER uses the Hungarian matching algorithm to optimally pair each generated query vector with its closest ground-truth document vector before calculating the InfoNCE contrastive loss.
  • Scheduled Sampling: During training, the model transitions from feeding ground-truth target embeddings as context to feeding its own previous predictions, bridging the gap between training and inference.
  • Round-Robin Aggregation: During inference, AMER generates a fixed number of query vectors, executes a separate search for each, and merges the resulting document lists using a simple round-robin heuristic to ensure diversity.
Figure 2: Visualization of AMER. We visualize both the training (left) and inference (right) proce- dure. The proposed model takes as input the target document embedding (order decided randomly) or predicted embedding in the previous step, and output the next embedding. Linear layers are added to ensure consistent dimensions. During inference, AMER predicts the first embedding after seeing the query text, and outputs multiple query embeddings autoregressively.

Datasets

The architecture was validated using both synthetic and real-world datasets:

  1. Synthetic Vector Dataset: Created by applying five distinct mathematical transformations (Linear or MLP) to standard Gaussian input vectors, generating five highly diverse target vectors per query.
  2. AmbigQA: A dataset containing ambiguous open-domain questions that map to multiple distinct, disambiguated answers (averaging 2.58 targets per query).
  3. QAMPARI: A dataset explicitly designed for list-type questions, filtered by the authors to focus on queries requiring 5 to 8 distinct target documents (averaging 6.09 targets per query).
  4. Low Similarity Subset: A curated subset representing the top 33% most diverse queries (where target document embeddings have the lowest cosine similarity) to evaluate performance under extreme multi-modality.

Key Insights and Ideas

  • The Single-Vector "Dead Zone": On synthetic linear data, single-query baselines failed completely (0% recall). This happens because the average of opposing target vectors is zero, forcing a single-vector retriever to look in the exact center of the space where no valid documents exist.
  • Real-World Data is Surprisingly Homogeneous: The authors discovered that in standard multi-answer datasets like AmbigQA, target documents are actually highly similar to one another (average cosine similarity of 0.90) compared to random documents. This homogeneity masks the limitations of single-vector retrievers in average benchmarks.
  • Scale Drives Diversity: Analysis of the generated embeddings showed that larger base language models (e.g., Llama-3-8B vs. Llama-1B) naturally learn to output more distinct, diverse query vectors, effectively mapping out broader target distributions.

Key Results

  • Synthetic Benchmarks: AMER achieved a flawless 100% MRecall@10/100 across all input distributions, whereas the single-query baseline maxed out at 21.1% recall on MLP transformations and failed entirely on linear ones.
Figure 3: Results on synthetic data of Linear (Orange) and MLP (Blue) transformations. The y-axis represents performance scores, MRECALL @100 and 10. We evaluate systems on different input distributions, from a Single multivariate Gaussian, to Multiple distributions as outlined and OOD distributions. Each section represents one input distribution. AMER (the right half of each section) can successfully model multiple target distributions, while the Single-Query (left) model struggles.
  • Real-World Benchmarks: On the full test sets, AMER achieved macro-averaged relative gains of 4.18% on AmbigQA and 21.35% on QAMPARI over the single-query baseline.
  • Hard Diversity Gains: When evaluated strictly on the Low Similarity Set, AMER's advantages exploded, yielding a 144.74% relative gain on QAMPARI, proving its capability to hunt down highly disparate pieces of information.

Limitations and Future Work

While AMER establishes a strong proof-of-concept for multi-query retrieval, a few limitations remain:

  • Fixed Prediction Steps: The model currently generates a predetermined, fixed number of query vectors ($m_{pred}$) rather than dynamically stopping when a query's intent is fully satisfied.
  • Heuristic Aggregation: Merging document lists via round-robin selection is straightforward but potentially suboptimal compared to a learned, cross-vector reranking mechanism.
  • Frozen Document Index: Keeping the document encoder frozen accelerates training but prevents the system from learning joint query-document representations that could further optimize retrieval spaces.

Summary updated

BibTeX
@misc{chen2025beyond,
  author = {Hung-Ting Chen and Xiang Liu and Shauli Ravfogel and Eunsol Choi},
  title = {{Beyond Single Embeddings: Capturing Diverse Targets with Multi-Query Retrieval}},
  year = {2025},
  eprint = {2511.02770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.02770},
}
Figure