RAG-NIMBF: A Non-Invasive, Modular Benchmarking Framework for Automated RAG Configuration Analysis
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation also fits: RAG robustness and adaptive retrieval
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) has become the dominant paradigm for grounding the outputs of large language models (LLM) in external knowledge. However, practitioners are faced with a vast configuration space comprising chunking, embedding, retrieval, reranking, prompting and generation models, and there is limited guidance on how these components interact. We present RAG-NIMBF, a modular benchmarking framework that attaches to existing RAG pipelines as a non-invasive evaluation layer. It evaluates the configuration space through controlled ablation with end-to-end experiment tracking. The evaluation combines LLM-based answer quality scores, retrieval correctness measures, and runtime indicators. This study validates the framework across multiple generation models on the SQuAD dataset. This process reveals non-obvious interactions and demonstrates how the experiments are tracked. The findings indicate that the retrieval balance of relevance and diversity substantially enhances the relevance and coverage of retrieved context in comparison to a conventional similarity search, with MMR raising nDCG@5 by +4 to +11 percentage points across the swept models. More detailed prompt instructions meaningfully increase how faithfully generated answers stick to the retrieved evidence, especially for capable and reasoning models (+10 to +13pp on Qwen3.6-27B, GPT-4o-mini and Qwen3.5-think, but negligible on the 20B generator). Overall, RAG-NIMBF transforms the configuration space of RAG into reproducible, comparable experiments. By attaching to existing production pipelines in a non-invasive way, it enables practitioners to systematically evaluate and improve deployed systems without disrupting existing workflows. This replaces ad hoc choices with evidence-based decisions.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 27 of its 40 references that are in the map. Submitted 20 Oct 2026.
Builds on
27 of 40 references.
Closest ancestors · 11
Same direction, newest first
- 2026AI Engineering Blueprint for On-Premises Retrieval-Augmented Generation Systems1 Apr
- 2026RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems11 Mar
- 2025Optimizing Retrieval-Augmented Generation: Analysis of Hyperparameter Impact on Performance and Efficiency13 May
- 2024METIS: Fast Quality-Aware RAG Systems with Configuration Adaptation13 Dec
- 2024RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generation15 Aug
- 2024BERGEN: A Benchmarking Library for Retrieval-Augmented Generation1 Jul
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research22 May
- 2024CRUD-RAG: A Comprehensive Chinese Benchmark for Retrieval-Augmented Generation of Large Language Models30 Jan
- 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec
- 2023ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systems16 Nov
- 2023Ragas: Automated Evaluation of Retrieval Augmented Generation26 Sep
Other references · 16
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,718
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,276
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,990
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,180
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,978
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,566
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 716
- 2022MTEB: Massive Text Embedding Benchmarkcited by 680
4 more
- 2023Active Retrieval Augmented Generationcited by 554
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 325
- 2023Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Modelscited by 191
- 2025Towards practicable Machine Learning development using AI Engineering Blueprintscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning
- 2024CoFE-RAG: A Comprehensive Full-chain Evaluation Framework for Retrieval-Augmented Generation with Enhanced Data Diversity
- 2025RAGtifier: Evaluating RAG Generation Approaches of State-of-the-Art RAG Systems for the SIGIR LiveRAG Competition
- 2024ARAGOG: Advanced RAG Output Grading
- 2024RAGLAB: A Modular and Research-Oriented Unified Framework for Retrieval-Augmented Generation
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs
- 2024RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation
- 2025A Systematic Review of Key Retrieval-Augmented Generation (RAG) Systems: Progress, Gaps, and Future Directions