arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13779cs.CL
收藏

FoRAG:面向网络增强型长文本问答的事实性优化检索增强生成

FoRAG: Factuality-optimized Retrieval Augmented Generation for Web-enhanced Long-form Question Answering

Ant Group(蚂蚁集团);Tsinghua University(清华大学)

Tianchi Cai, Zhiwen Tan, Xierui Song, Tao Sun, Jiyan Jiang, Yunqi Xu, Yinger Zhang, Jinjie Gu

AI总结:

本文针对网络增强型长文本问答中事实性和逻辑性不足的问题,提出提纲增强生成器与双重细粒度 RLHF 事实性优化方法,构建 FoRAG 框架,在英中基准上以远小参数规模超越 WebGPT-175B。

摘要:

检索增强生成(RAG)由于能够利用搜索引擎提升长文本问答(LFQA)的质量,已在问答任务中变得普遍。尽管出现了各种开源方法和如 Bing Chat 等网络增强型商业系统,仍有两个关键问题未得到解决,即生成的长文本答案缺乏事实性和清晰的逻辑。在本文中,我们通过对网络增强型 LFQA 中答案生成的系统性研究来弥补这些问题。具体而言,我们首先提出一种新颖的提纲增强生成器,以在多方面答案的生成中实现清晰逻辑,并据此构建了两个数据集。然后,我们基于一个精心设计的双重细粒度 RLHF 框架提出一种事实性优化方法,该框架包含不同粒度级别的自动评估和奖励建模。我们的通用框架将传统的细粒度 RLHF 方法作为特例包含其中。大量实验验证了我们所提出的“事实性优化 RAG(FoRAG)”方法在英文和中文基准上的优越性。特别是,当将我们的方法应用于 Llama2-7B-chat 时,所得模型 FoRAG-L-7B 在三个常用指标(即连贯性、有用性和事实性)上优于 WebGPT-175B,而参数量要小得多(仅为 WebGPT-175B 的 1/24)。我们的数据集和模型已公开,以便更好地复现:https://huggingface.co/forag。

英文摘要:

Retrieval Augmented Generation (RAG) has become prevalent in question-answering (QA) tasks due to its ability of utilizing search engine to enhance the quality of long-form question-answering (LFQA). Despite the emergence of various open source methods and web-enhanced commercial systems such as Bing Chat, two critical problems remain unsolved, i.e., the lack of factuality and clear logic in the generated long-form answers. In this paper, we remedy these issues via a systematic study on answer generation in web-enhanced LFQA. Specifically, we first propose a novel outline-enhanced generator to achieve clear logic in the generation of multifaceted answers and construct two datasets accordingly. Then we propose a factuality optimization method based on a carefully designed doubly fine-grained RLHF framework, which contains automatic evaluation and reward modeling in different levels of granularity. Our generic framework comprises conventional fine-grained RLHF methods as special cases. Extensive experiments verify the superiority of our proposed \textit{Factuality-optimized RAG (FoRAG)} method on both English and Chinese benchmarks. In particular, when applying our method to Llama2-7B-chat, the derived model FoRAG-L-7B outperforms WebGPT-175B in terms of three commonly used metrics (i.e., coherence, helpfulness, and factuality), while the number of parameters is much smaller (only 1/24 of that of WebGPT-175B). Our datasets and models are made publicly available for better reproducibility: https://huggingface.co/forag.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑