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

语言模型的事后解释可以改进语言模型

Post Hoc Explanations of Language Models Can Improve Language Models

Harvard University(哈佛大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California, Irvine(加州大学欧文分校);Google Inc(谷歌公司)

Satyapriya Krishna, Jiaqi Ma, Dylan Slack, Asma Ghandeharioun, Sameer Singh, Himabindu Lakkaraju

AI总结:

本文提出 AMPLIFY 框架,将事后解释转化为自动化自然语言理据并注入上下文学习,在多类任务上较基线提升 10–25% 准确率。

摘要:

大型语言模型(LLM)在执行复杂任务方面展现出了卓越能力。此外,近期研究表明,在上下文学习过程中纳入人工标注的理据(例如 Chain-of-Thought prompting,思维链提示)可以显著提升这些模型的性能,尤其是在需要推理能力的任务上。然而,纳入此类理据在可扩展性方面存在挑战,因为这需要高度的人工参与。在本工作中,我们提出了一个新颖框架 Amplifying Model Performance by Leveraging In-Context Learning with Post Hoc Explanations(AMPLIFY),通过自动化理据生成过程来解决上述挑战。为此,我们利用事后解释方法,这些方法输出归因分数(解释),用以捕捉每个输入特征对模型预测的影响。更具体地说,我们构建了自动化的自然语言理据,其中嵌入从事后解释中获得的洞见,从而为 LLM 提供纠正性信号。在真实世界数据集上进行的大量实验表明,我们的框架 AMPLIFY 在广泛任务上带来了约 10–25% 的预测准确率提升,其中包括一些先前依赖人工标注理据的方法(如 Chain-of-Thought prompting)表现不佳的任务。我们的工作是最早强调事后解释作为提升 LLM 有效性的有价值工具之潜力的尝试之一。此外,我们还进行了额外的实证分析和消融研究,以证明 AMPLIFY 各组成部分的影响,进而得出用于改进上下文学习的关键洞见。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities in performing complex tasks. Moreover, recent research has shown that incorporating human-annotated rationales (e.g., Chain-of-Thought prompting) during in-context learning can significantly enhance the performance of these models, particularly on tasks that require reasoning capabilities. However, incorporating such rationales poses challenges in terms of scalability as this requires a high degree of human involvement. In this work, we present a novel framework, Amplifying Model Performance by Leveraging In-Context Learning with Post Hoc Explanations (AMPLIFY), which addresses the aforementioned challenges by automating the process of rationale generation. To this end, we leverage post hoc explanation methods which output attribution scores (explanations) capturing the influence of each of the input features on model predictions. More specifically, we construct automated natural language rationales that embed insights from post hoc explanations to provide corrective signals to LLMs. Extensive experimentation with real-world datasets demonstrates that our framework, AMPLIFY, leads to prediction accuracy improvements of about 10-25% over a wide range of tasks, including those where prior approaches which rely on human-annotated rationales such as Chain-of-Thought prompting fall short. Our work makes one of the first attempts at highlighting the potential of post hoc explanations as valuable tools for enhancing the effectiveness of LLMs. Furthermore, we conduct additional empirical analyses and ablation studies to demonstrate the impact of each of the components of AMPLIFY, which, in turn, leads to critical insights for refining in-context learning.

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

↑