arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2404.10774cs.CLcs.AI

MiniCheck:基于证据文档的LLM高效事实核查

MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documents

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Salesforce AI Research(Salesforce AI研究院)

Liyan Tang, Philippe Laban, Greg Durrett

AI总结:

本文提出MiniCheck,通过GPT-4合成含结构化事实错误的训练数据来构建小型事实核查模型,以400倍更低成本达到GPT-4级准确率,并发布统一基准LLM-AggreFact。

摘要:

识别大语言模型(LLM)输出能否在证据中得到支撑,是自然语言处理(NLP)中许多任务的核心,包括检索增强生成、摘要、文档驱动的对话等。当前针对此类事实核查的方法,通常需要利用LLM将模型生成内容的每一部分与潜在证据逐一进行验证。然而,这一过程在计算上可能极其昂贵,仅检查单个响应就需要多次调用模型。在本工作中,我们展示了如何构建小型事实核查模型,使其达到GPT-4级别的性能,同时成本降低400倍。我们通过使用GPT-4构建合成训练数据来实现这一目标,其中涉及通过结构化生成过程创建既真实又具有挑战性的事实错误实例。在此数据上进行训练,可以教会模型核查声明中的每个事实,并识别跨句子的信息综合。在评估方面,我们将近期关于事实核查和LLM生成内容证据支撑研究中的多个数据集统一到一个新的基准——LLM-AggreFact。我们最好的系统MiniCheck-FT5(7.7亿参数)优于所有规模相当的系统,并达到GPT-4的准确率。我们发布了LLM-AggreFact基准、数据合成代码以及模型。

英文摘要:

Recognizing if LLM output can be grounded in evidence is central to many tasks in NLP: retrieval-augmented generation, summarization, document-grounded dialogue, and more. Current approaches to this kind of fact-checking are based on verifying each piece of a model generation against potential evidence using an LLM. However, this process can be very computationally expensive, requiring many calls to a model to check a single response. In this work, we show how to build small fact-checking models that have GPT-4-level performance but for 400x lower cost. We do this by constructing synthetic training data with GPT-4, which involves creating realistic yet challenging instances of factual errors via a structured generation procedure. Training on this data teaches models to check each fact in the claim and recognize synthesis of information across sentences. For evaluation, we unify datasets from recent work on fact-checking and grounding LLM generations into a new benchmark, LLM-AggreFact. Our best system MiniCheck-FT5 (770M parameters) outperforms all systems of comparable size and reaches GPT-4 accuracy. We release LLM-AggreFact, code for data synthesis, and models.

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

↑