arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.13124cs.CL
收藏

基于事实一致性模型的带引用答案生成学习方法

Learning to Generate Answers with Citations via Factual Consistency Models

University of Cambridge(剑桥大学);Amazon Web Services(亚马逊网络服务)

Rami Aly, Zhiqiang Tang, Samson Tan, George Karypis

AI总结:

针对大语言模型幻觉及答案引用标注难的问题,提出基于事实一致性模型的弱监督微调方法,通过交替生成带引用文本与过滤数据微调、融入聚焦学习,在引用性能和事实准确性上均优于基线方法且具备领域迁移能力。

摘要:

大语言模型(LLMs)频繁出现幻觉问题,阻碍了其在关键任务场景中的可靠性。解决该问题的一种思路是在生成内容的同时提供相关来源的引用,以提升生成结果的可验证性,但在答案中准确标注引用段落仍是一项重大挑战。本文提出一种利用事实一致性模型(FCMs)的弱监督微调方法,该方法在生成带引用文本与使用FCM过滤的引用数据进行监督微调之间交替迭代。目标函数中融入了聚焦学习机制,引导微调过程重点关注由FCM衡量的事实单元标记。在ALCE少样本引用基准上,针对多种指令微调LLMs的实验结果显示,该方法性能优于上下文学习、普通监督微调和现有最优方法,引用F1值分别平均提升34.1、15.5和10.5个点。此外,在领域迁移设置下,实验证明所获得的引用生成能力可稳健迁移到未见过的数据集上。值得注意的是,本文在引用方面的改进使得事实错误率在所有基线中最低。

英文摘要:

Large Language Models (LLMs) frequently hallucinate, impeding their reliability in mission-critical situations. One approach to address this issue is to provide citations to relevant sources alongside generated content, enhancing the verifiability of generations. However, citing passages accurately in answers remains a substantial challenge. This paper proposes a weakly-supervised fine-tuning method leveraging factual consistency models (FCMs). Our approach alternates between generating texts with citations and supervised fine-tuning with FCM-filtered citation data. Focused learning is integrated into the objective, directing the fine-tuning process to emphasise the factual unit tokens, as measured by an FCM. Results on the ALCE few-shot citation benchmark with various instruction-tuned LLMs demonstrate superior performance compared to in-context learning, vanilla supervised fine-tuning, and state-of-the-art methods, with an average improvement of $34.1$, $15.5$, and $10.5$ citation F$_1$ points, respectively. Moreover, in a domain transfer setting we show that the obtained citation generation ability robustly transfers to unseen datasets. Notably, our citation improvements contribute to the lowest factual error rate across baselines.

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

↑