Investigating the Robustness of Retrieval-Augmented Generation at the Query Level
Preprint
Abstract
Large language models (LLMs) are very costly and inefficient to update with new information. To address this limitation, retrieval-augmented generation (RAG) has been proposed as a solution that dynamically incorporates external knowledge during inference, improving factual consistency and reducing hallucinations. Despite its promise, RAG systems face practical challenges-most notably, a strong dependence on the quality of the input query for accurate retrieval. In this paper, we investigate the sensitivity of different components in the RAG pipeline to various types of query perturbations. Our analysis reveals that the performance of commonly used retrievers can degrade significantly even under minor query variations. We study each module in isolation as well as their combined effect in an end-to-end question answering setting, using both general-domain and domain-specific datasets. Additionally, we propose an evaluation framework to systematically assess the query-level robustness of RAG pipelines and offer actionable recommendations for practitioners based on the results of more than 1092 experiments we performed.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Robust Neural Information Retrieval: An Adversarial and Out-of-Distribution PerspectiveACM Transactions on Information Systems, 2025
- On the Robustness of Generative Information Retrieval Models: An Out-of-Distribution Perspective2025
- Prompt Perturbation in Retrieval-Augmented Generation based Large Language Models2024
- C-Pack: Packed Resources For General Chinese Embeddings2024
- Benchmarking Large Language Models in Retrieval-Augmented GenerationProceedings of the AAAI Conference on Artificial Intelligence, 2024
- Explainability for Large Language Models: A SurveyACM Transactions on Intelligent Systems and Technology, 2024
- CharacterBERT and Self-Teaching for Improving the Robustness of Dense Retrievers on Queries with Typos2022
- Evaluating the Robustness of Retrieval Pipelines with Query Variation Generators2022
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- An overview of the BIOASQ large-scale biomedical semantic indexing and question answering competitionBMC Bioinformatics, 2015