arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17097cs.CLcs.AI
收藏

Re-Ex:基于解释后的修正减少LLM响应中的事实错误

Re-Ex: Revising after Explanation Reduces the Factual Errors in LLM Responses

Yonsei University(延世大学);Linq(林克科技)

Juyeon Kim, Jeongeun Lee, Yoonho Chang, Chanyeol Choi, Junseong Kim, Jy-yong Sohn

AI总结:

针对LLM的幻觉问题,提出Re-Ex后编辑方法,通过事实错误解释步骤及新提示技术修正响应,在多个基准上较FacTool等现有方法实现更好的检测与修正性能,且推理时间更短、token更少。

摘要:

缓解幻觉问题是在现实场景中可靠部署大型语言模型(LLMs)必须克服的关键挑战。最近,已有多种方法被提出用于检测和修正LLM生成文本中的事实错误,以减少幻觉。本文提出Re-Ex,一种LLM生成响应的后编辑方法。Re-Ex引入了一个名为事实错误解释步骤的新型推理步骤。Re-Ex通过三步修正LLM的初始响应:首先,使用外部工具检索初始响应中事实错误的证据;其次,指导LLM基于收集的证据解释响应中的问题部分;最后,LLM利用前一步提供的解释修正初始响应。除了解释步骤,Re-Ex还融入了新的提示技术,以减少响应修正过程所需的token数量和推理时间。与包括FacTool、CoVE和RARR在内的现有方法相比,Re-Ex在多个基准测试中实现了更好的检测和修正性能,同时所需的推理时间更短、token数量更少。

英文摘要:

Mitigating hallucination issues is a key challenge that must be overcome to reliably deploy large language models (LLMs) in real-world scenarios. Recently, various methods have been proposed to detect and revise factual errors in LLM-generated texts, in order to reduce hallucination. In this paper, we propose Re-Ex, a method for post-editing LLM-generated responses. Re-Ex introduces a novel reasoning step dubbed as the factual error explanation step. Re-Ex revises the initial response of LLMs using 3-steps : first, external tools are used to retrieve the evidences of the factual errors in the initial LLM response; next, LLM is instructed to explain the problematic parts of the response based on the gathered evidence; finally, LLM revises the initial response using the explanations provided in the previous step. In addition to the explanation step, Re-Ex also incorporates new prompting techniques to reduce the token count and inference time required for the response revision process. Compared with existing methods including FacTool, CoVE, and RARR, Re-Ex provides better detection and revision performance with less inference time and fewer tokens in multiple benchmarks.

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

↑