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

大型语言模型能否自我解释?关于LLM生成的自我解释的研究

Can Large Language Models Explain Themselves? A Study of LLM-Generated Self-Explanations

UC Santa Cruz(加州大学圣克鲁兹分校);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Shiyuan Huang, Siddarth Mamidanna, Shreedhar Jangam, Yilun Zhou, Leilani H. Gilpin

AI总结:

本研究探究ChatGPT等LLM生成的自我解释在情感分析中的质量,发现其忠实度与传统方法相当、成本更低,但一致性差异显著,促使重新思考可解释性实践。

摘要:

诸如ChatGPT之类的大型语言模型(LLMs)已在各种自然语言处理(NLP)任务中展现出卓越性能,包括情感分析、数学推理和摘要生成。此外,由于这些模型经过指令微调以在人类对话中产生“有帮助”的回应,它们能够且经常会在回应中附带生成解释,我们称之为自我解释。例如,在分析电影评论的情感时,模型不仅会输出情感的积极性,还会输出解释(例如,通过列出评论中诸如“fantastic”和“memorable”等带有情感的词语)。这些自动生成的自我解释质量如何?在本文中,我们针对情感分析任务以及特征归因解释(在解释性文献中,针对ChatGPT之前模型最常研究的情境之一)来探究这一问题。具体而言,我们研究了引发自我解释的不同方式,在一组评估指标上评估其忠实性,并将其与传统解释方法(如遮挡法或LIME显著性图)进行比较。通过大量实验,我们发现ChatGPT的自我解释在性能上与传统方法相当,但在各种一致性指标上与传统方法差异显著,同时生成成本更低(因为它们是随预测一同生成的)。此外,我们识别出这些自我解释的几个有趣特征,这促使我们重新思考在ChatGPT(类)LLM时代当前许多模型可解释性实践。

英文摘要:

Large language models (LLMs) such as ChatGPT have demonstrated superior performance on a variety of natural language processing (NLP) tasks including sentiment analysis, mathematical reasoning and summarization. Furthermore, since these models are instruction-tuned on human conversations to produce "helpful" responses, they can and often will produce explanations along with the response, which we call self-explanations. For example, when analyzing the sentiment of a movie review, the model may output not only the positivity of the sentiment, but also an explanation (e.g., by listing the sentiment-laden words such as "fantastic" and "memorable" in the review). How good are these automatically generated self-explanations? In this paper, we investigate this question on the task of sentiment analysis and for feature attribution explanation, one of the most commonly studied settings in the interpretability literature (for pre-ChatGPT models). Specifically, we study different ways to elicit the self-explanations, evaluate their faithfulness on a set of evaluation metrics, and compare them to traditional explanation methods such as occlusion or LIME saliency maps. Through an extensive set of experiments, we find that ChatGPT's self-explanations perform on par with traditional ones, but are quite different from them according to various agreement metrics, meanwhile being much cheaper to produce (as they are generated along with the prediction). In addition, we identified several interesting characteristics of them, which prompt us to rethink many current model interpretability practices in the era of ChatGPT(-like) LLMs.

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

↑