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

Yongkang Li, Panagiotis Eustratiadis, Yixing Fan, Evangelos Kanoulas
4/17/2026
cs.IRcs.CL

Official code: liyongkang123/Robust_LLM_Retriever_Eval (0 stars, MIT, last commit 2026-02-15).

Abstract

Decoder-only large language models (LLMs) are increasingly replacing BERT-style architectures as the backbone for dense retrieval, achieving substantial performance gains and broad adoption. However, the robustness of these LLM-based retrievers remains underexplored. In this paper, we present the first systematic study of the robustness of state-of-the-art open-source LLM-based dense retrievers from two complementary perspectives: generalizability and stability. For generalizability, we evaluate retrieval effectiveness across four benchmarks spanning 30 datasets, using linear mixed-effects models to estimate marginal mean performance and disentangle intrinsic model capability from dataset heterogeneity. Our analysis reveals that while instruction-tuned models generally excel, those optimized for complex reasoning often suffer a ``specialization tax,'' exhibiting limited generalizability in broader contexts. For stability, we assess model resilience against both unintentional query variations~(e.g., paraphrasing, typos) and malicious adversarial attacks~(e.g., corpus poisoning). We find that LLM-based retrievers show improved robustness against typos and corpus poisoning compared to encoder-only baselines, yet remain vulnerable to semantic perturbations like synonymizing. Further analysis shows that embedding geometry (e.g., angular uniformity) provides predictive signals for lexical stability and suggests that scaling model size generally improves robustness. These findings inform future robustness-aware retriever design and principled benchmarking. Our code is publicly available at https://github.com/liyongkang123/Robust_LLM_Retriever_Eval.

View on arXivView PDF

Code Implementations(1)

MIT

Evaluate the robustness of LLM-based dense retriever

00Shell, PythonJan 2, 20268 months agoMIT

Similar Papers

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.16576.svg)](https://codeofpaper.com/paper/2604.16576)

Discussion