NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Robustness of LLM-Based Dense Retrievers: A Systematic Analysis of Generalizability and Stability

Yongkang Li, Panagiotis Eustratiadis, Yixing Fan, Evangelos KanoulasarXiv 2026

TL;DR

While decoder-only Large Language Models (LLMs) now dominate dense information retrieval leaderboards, their real-world robustness remains poorly understood. This paper presents the first systematic evaluation of LLM-based retrievers across two key dimensions—generalizability and stability—revealing that reasoning-specialized models pay a steep "specialization tax" on standard tasks, and that embedding geometry offers a powerful diagnostic tool for predicting model vulnerability.

What Problem Does This Paper Address?

Dense retrieval systems map queries and documents into a shared vector space to find relevant information based on semantic similarity. Recently, the field has shifted from BERT-style encoder-only architectures to massive decoder-only LLMs.

However, standard leaderboard metrics fail to capture how these models perform in dynamic, open-world environments. If a user makes a typo, rephrases a query, or if an attacker injects malicious documents into the corpus ("corpus poisoning"), how well do these models hold up? This paper tackles this gap by systematically analyzing both the generalizability (performance across diverse, unseen tasks) and stability (resilience against query noise and adversarial attacks) of state-of-the-art open-source LLM retrievers.

Methods

The authors introduce a rigorous evaluation framework consisting of several key components:

  • Linear Mixed-Effects Models (LMMs): Standard macro-averaging can skew results due to varying dataset sizes and query difficulties. The authors use LMMs to calculate Estimated Marginal Means (EMMs), effectively isolating a model's intrinsic capability from dataset-specific noise.
  • Query Perturbation Modeling: To test stability, queries are subjected to five natural variations: misspellings, word reordering, synonym substitution, paraphrasing, and "naturalizing" (removing stopwords).
  • Corpus Poisoning Attacks: The authors simulate adversarial document injection using the HotFlip algorithm under both white-box (full model access) and black-box direct-transfer settings.
  • Embedding Space Geometry: They analyze embedding isotropy—specifically angular uniformity (via pairwise cosine similarity) and variance uniformity (via IsoScore)—to see if geometric traits predict robustness.

Datasets

The study evaluates models across a comprehensive suite of 30 datasets spanning four major benchmarks:

  1. MS MARCO: In-domain passage retrieval.
  2. BEIR: Heterogeneous zero-shot evaluation.
  3. BRIGHT: Reasoning-intensive retrieval tasks.
  4. BrowseComp-Plus: Web-scale retrieval featuring long, noisy documents.

The full breakdown of these datasets, categorized by task, query type, and corpus source, is detailed in the paper's dataset statistics:

Table 1. Statistics of datasets used in our work. Domain KB stands for Domain-Specific Knowledge Base. Avg. D/Q indicates the average number of relevant documents per query. Note that we report statistics exclusively for the evaluation test splits, ignoring training sets even where available.

Key Insights and Ideas

  • The "Specialization Tax": Models explicitly optimized for complex, reasoning-heavy benchmarks (like ReasonEmbed) suffer severe performance drops on simpler, everyday query types. For instance, ReasonEmbed achieved near-zero scores on instruction-following and experience-based queries, highlighting a stark trade-off between specialization and broad generalizability.
  • Asymmetric Vulnerabilities: LLM retrievers are highly resilient against character-level noise (typos) compared to older encoder-only models, but they remain universally fragile against semantic perturbations like synonym substitution.
  • Geometry as a Diagnostic, Not a Cure: High average cosine similarity (poor angular uniformity) strongly correlates with vulnerability to lexical perturbations and corpus poisoning. However, when the authors explicitly regularized angular uniformity during training, robustness did not automatically improve. This indicates that embedding geometry is an excellent diagnostic signal rather than a standalone training target.
  • The Power of Scale: Within the same model family (Qwen3), scaling up parameter size consistently mitigates performance drops from surface-form query alterations and reduces adversarial attack success rates.

Key Results

  • Generalizability: Instruction-augmented LLMs (Qwen3, Linq, GTE) achieved the highest overall generalizability, consistently outperforming both classical BM25 and encoder-only baselines across almost all task types.
  • Adversarial Resilience: GTE emerged as exceptionally robust, maintaining a 0% Attack Success Rate (ASR) under white-box corpus poisoning across multiple datasets and attack budgets.
  • Black-Box Security: Direct-transfer black-box corpus poisoning attacks proved completely ineffective, yielding an ASR of less than 1% across all tested model pairs. This suggests that while white-box risks are severe, the threat of cross-model attack transferability in no-access settings is minimal.

Limitations and Future Work

The authors note several boundaries to their current work:

  • Language Scope: The evaluation was strictly limited to English-language datasets and models.
  • Attack Models: The study did not explore more sophisticated surrogate-based black-box attacks or training-time backdoor exploits.
  • Causality: The relationship between embedding space geometry and downstream robustness remains primarily correlational.

Future research directions include developing training objectives that explicitly target paraphrase invariance (e.g., consistency losses) and extending this systematic robustness benchmarking to multilingual retrieval settings.

Summary updated

BibTeX
@misc{li2026robustness,
  author = {Yongkang Li and Panagiotis Eustratiadis and Yixing Fan and Evangelos Kanoulas},
  title = {{On the Robustness of LLM-Based Dense Retrievers: A Systematic Analysis of Generalizability and Stability}},
  year = {2026},
  eprint = {2604.16576},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.16576},
}
Figure