arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.13986cs.CLcs.AIcs.LG
收藏

通过解释一致性微调实现一致的自然语言解释

Towards Consistent Natural-Language Explanations via Explanation-Consistency Finetuning

Columbia University(哥伦比亚大学);Microsoft Research(微软研究院);University of California, Berkeley(加州大学伯克利分校);NYU(纽约大学)

Yanda Chen, Chandan Singh, Xiaodong Liu, Simiao Zuo, Bin Yu, He He, Jianfeng Gao

AI总结:

本文提出 EC-finetuning,通过包含一致解释的合成数据微调 LLM,以提升相关问答示例上的自然语言解释一致性,并在域内和分布外数据集上验证其效果。

摘要:

大型语言模型(LLM)通常会生成有说服力且流畅的解释。然而,与人类不同,它们经常在不同输入上生成不一致的解释。例如,某个 LLM 在回答“麻雀会飞吗?”这一问题时,可能会生成“所有鸟类都会飞”的解释,但同时又对相关问题“企鹅会飞吗?”回答“不会”。解释应当在相关示例之间保持一致,从而使人类能够在多个示例上模拟 LLM 的决策过程。我们提出解释一致性微调(EC-finetuning),这是一种调整 LLM、使其在相关示例上生成更一致自然语言解释的方法。EC-finetuning 涉及在经过精心构建、包含一致解释的合成数据上微调 LLM。在多个领域的各类问答数据集上,EC-finetuning 在四个微调数据集上带来 10.0% 的相对解释一致性提升,并且可泛化到微调期间未见过的七个分布外数据集(相对提升 +4.5%)。代码可在 https://github.com/yandachen/explanation-consistency-finetuning 获取。

英文摘要:

Large language models (LLMs) often generate convincing, fluent explanations. However, different from humans, they often generate inconsistent explanations on different inputs. For example, an LLM may generate the explanation "all birds can fly" when answering the question "Can sparrows fly?" but meanwhile answer "no" to the related question "Can penguins fly?". Explanations should be consistent across related examples so that they allow a human to simulate the LLM's decision process on multiple examples. We propose explanation-consistency finetuning (EC-finetuning), a method that adapts LLMs to generate more consistent natural-language explanations on related examples. EC-finetuning involves finetuning LLMs on synthetic data that is carefully constructed to contain consistent explanations. Across a variety of question-answering datasets in various domains, EC-finetuning yields a 10.0% relative explanation consistency improvement on four finetuning datasets, and generalizes to seven out-of-distribution datasets not seen during finetuning (+4.5% relative). Code is available at https://github.com/yandachen/explanation-consistency-finetuning .

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

↑