OmniEval:金融领域中一个全方位、自动化的 RAG 评估基准
OmniEval: An Omnidirectional and Automatic RAG Evaluation Benchmark in Financial Domain
AI总结:
本文提出金融领域自动化 RAG 基准 OmniEval,通过场景矩阵、GPT-4 与人工结合的数据生成、检索生成多阶段评估及稳健指标,全面衡量不同任务和主题下的 RAG 能力。
摘要:
作为大语言模型(LLM)的一种典型且实用的应用,检索增强生成(RAG)技术受到广泛关注,尤其是在 LLM 可能缺乏领域专门知识的垂直领域中。本文提出金融领域的全方位、自动化 RAG 基准 OmniEval。该基准的特点是多维评估框架,包括:(1)基于矩阵的 RAG 场景评估体系,将查询划分为 5 个任务类别和 16 个金融主题,从而对多样查询场景进行结构化评估;(2)多维评估数据生成方法,结合基于 GPT-4 的自动生成与人工标注,在对生成样本的人工评估中达到 87.47% 的接受率;(3)多阶段评估系统,同时评估检索和生成性能,从而对 RAG 流程进行全面评估;(4)源自基于规则和基于 LLM 的稳健评估指标,通过人工标注以及对 LLM 评估器进行监督微调来提升评估可靠性。实验证明了 OmniEval 的全面性:它包含大规模测试数据集,并凸显 RAG 系统在不同主题和任务上的性能差异,揭示了 RAG 模型在垂直领域提升能力的重要机会。我们在 https://github.com/RUC-NLPIR/OmniEval 开源了该基准代码。
英文摘要:
As a typical and practical application of Large Language Models (LLMs), Retrieval-Augmented Generation (RAG) techniques have gained extensive attention, particularly in vertical domains where LLMs may lack domain-specific knowledge. In this paper, we introduce an omnidirectional and automatic RAG benchmark, OmniEval, in the financial domain. Our benchmark is characterized by its multi-dimensional evaluation framework, including (1) a matrix-based RAG scenario evaluation system that categorizes queries into five task classes and 16 financial topics, leading to a structured assessment of diverse query scenarios; (2) a multi-dimensional evaluation data generation approach, which combines GPT-4-based automatic generation and human annotation, achieving an 87.47\% acceptance ratio in human evaluations on generated instances; (3) a multi-stage evaluation system that evaluates both retrieval and generation performance, result in a comprehensive evaluation on the RAG pipeline; and (4) robust evaluation metrics derived from rule-based and LLM-based ones, enhancing the reliability of assessments through manual annotations and supervised fine-tuning of an LLM evaluator. Our experiments demonstrate the comprehensiveness of OmniEval, which includes extensive test datasets and highlights the performance variations of RAG systems across diverse topics and tasks, revealing significant opportunities for RAG models to improve their capabilities in vertical domains. We open source the code of our benchmark in \href{https://github.com/RUC-NLPIR/OmniEval}{https://github.com/RUC-NLPIR/OmniEval}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。