大型语言模型(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.
Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective
School of Computer and Information Technology, Shanxi University, China(山西大学计算机与信息学院);Key Laboratory of Computational Intelligence and Chinese Information Processing of Ministry of Education, Shanxi University, China(教育部计算智能与中文信息处理重点实验室);Institute for Infocomm Research, A*Star, Singapore(A*Star信息与通信研究所)
Post-Hoc Merging is Not Enough: Many-Shot Model Merging with Loss-Gap Balancing
Soongsil University, Republic of Korea(韩国顺斯大学);Department of Electrical and Computer Engineering, Sungkyunkwan University, Republic of Korea(成均馆大学电子与计算机工程系)
On the Faithfulness of Post-Hoc Concept Bottleneck Models
Institute of Data Science, German Aerospace Center(数据科学研究所,德国航空航天中心);Computer Vision Group Jena, Friedrich Schiller University Jena(贾恩计算机视觉小组,弗里德里希·席勒大学贾恩);GEOMAR Helmholtz Centre for Ocean Research Kiel(基尔海洋研究赫尔姆霍茨中心)
Identifying the Source of Vulnerability in Explanation Discrepancy: A Case Study in Neural Text Classification
University of Virginia(弗吉尼亚大学)
最近的一些工作观察到不稳定的事后解释时,输入侧扰动施加到模型。这引起了人们对事后解释的稳定性的兴趣和关注。然而,剩下的问题是:不稳定性是由神经网络模型还是事后解释方法引起的?这项工作探讨了导致不稳定的事后解释的潜在来源。为了分离模型的影响,我们提出了一个简单的输出概率扰动方法。与现有的输入侧扰动方法相比,输出概率扰动方法可以避免神经模型对解释的潜在影响,并允许对解释方法进行分析。我们用三种广泛使用的事后解释方法(LIME(Ribeiro等人,2016),Kernel Shapley(Lundberg and Lee,2017 a),以及Sample Shapley(Strumbelj and Kononenko,2010))。结果表明,事后方法是稳定的,几乎没有产生不一致的解释下输出概率扰动。观察表明,神经网络模型可能是脆弱解释的主要来源。
Explanation Bias is a Product: Revealing the Hidden Lexical and Position Preferences in Post-Hoc Feature Attribution
Computational Linguistics and Text Mining Lab, Vrije Universiteit Amsterdam(计算语言学与文本挖掘实验室,荷兰自由大学);TNO–The Netherlands Organization for Applied Scientific Research, The Hague(荷兰应用科学研究院(TNO),海牙);Leiden University Centre for Linguistics (LUCL), Leiden University, Leiden(莱顿大学语言中心(LUCL),莱顿大学,莱顿)
Gender Bias in Explainability: Investigating Performance Disparity in Post-hoc Methods
Technical University of Munich(慕尼黑技术大学);School of Computation, Information and Technology(计算、信息与技术学院);Department of Computer Science(计算机科学系);Technische Universität Berlin(柏林技术大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心)