评估RAG系统的方法论:以配置依赖验证为例的案例研究
A Methodology for Evaluating RAG Systems: A Case Study On Configuration Dependency Validation
AI总结:
针对缺乏普遍接受的RAG评估方法论的问题,提出首个严谨可靠的评估方法论蓝图,并在配置依赖验证任务中证明其适用性,同时开发出在该领域准确率最高的RAG系统。
摘要:
检索增强生成(RAG)是一个包含不同组件、设计决策和领域特定适应性的总称,旨在增强大型语言模型的能力,并应对其在幻觉以及过时和缺失知识方面的局限性。由于目前尚不清楚哪些设计决策能带来令人满意的性能,因此开发RAG系统通常具有实验性,需要遵循系统且严谨的方法论以获得可靠的结果。然而,尽管人们对这项技术的兴趣日益浓厚,但目前还没有普遍接受的RAG评估方法论。在本文中,我们提出了一个严谨可靠的RAG系统评估方法论的首个蓝图,并展示了其在真实世界软件工程研究任务中的适用性:跨软件技术的配置依赖验证。总结而言,我们做出了两项新颖的贡献:(i)一种新颖、可重用的RAG系统评估方法论设计,包括作为指导原则的演示;(ii)一个遵循该方法论开发的RAG系统,在依赖验证领域实现了最高的准确率。对于蓝图的演示,关键见解包括选择适当基线和指标的关键作用、从定性失败分析中得出系统性RAG改进的必要性,以及报告关键设计决策以促进复制和评估的实践。
英文摘要:
Retrieval-augmented generation (RAG) is an umbrella of different components, design decisions, and domain-specific adaptations to enhance the capabilities of large language models and counter their limitations regarding hallucination and outdated and missing knowledge. Since it is unclear which design decisions lead to a satisfactory performance, developing RAG systems is often experimental and needs to follow a systematic and sound methodology to gain sound and reliable results. However, there is currently no generally accepted methodology for RAG evaluation despite a growing interest in this technology. In this paper, we propose a first blueprint of a methodology for a sound and reliable evaluation of RAG systems and demonstrate its applicability on a real-world software engineering research task: the validation of configuration dependencies across software technologies. In summary, we make two novel contributions: (i) A novel, reusable methodological design for evaluating RAG systems, including a demonstration that represents a guideline, and (ii) a RAG system, which has been developed following this methodology, that achieves the highest accuracy in the field of dependency validation. For the blueprint's demonstration, the key insights are the crucial role of choosing appropriate baselines and metrics, the necessity for systematic RAG refinements derived from qualitative failure analysis, as well as the reporting practices of key design decision to foster replication and evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。