arXiv cs.AI· Niclas Hart, Nicolas Weeger·· 12 小时前AI 评分36
RAG-NIMBF:面向自动化 RAG 配置分析的非侵入式模块化基准框架
RAG-NIMBF: A Non-Invasive, Modular Benchmarking Framework for Automated RAG Configuration Analysis
AI 导读
RAG-NIMBF 是一个以非侵入方式挂载到现有 RAG 流水线的模块化基准框架,通过受控消融与端到端实验追踪评估分块、嵌入、检索、重排、提示词和生成模型的配置空间。
正文 · 原文
Abstract: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.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.27816 [cs.SE] |
| (or arXiv:2610.27816v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.27816 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Nicolas Weeger [view email]
[v1]
Tue, 20 Oct 2026 08:08:08 UTC (76 KB)
来源:arXiv cs.AI · arxiv.org