arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.07517cs.CLcs.AI
收藏

难解释的例子也更难解释吗?人类和模型生成的解释研究

Are Hard Examples also Harder to Explain? A Study with Human and Model-Generated Explanations

UNC Chapel Hill(北卡罗来纳大学教堂山分校);Hugging Face

Swarnadeep Saha, Peter Hase, Nazneen Rajani, Mohit Bansal

摘要:

最近关于可解释NLP的工作表明,Few-Shot提示可以使大型预训练语言模型(LLM)能够为数据标签生成语法和事实自然语言解释。在这项工作中,我们通过调查以下研究问题来研究可解释性和样本硬度之间的联系-“LLM和人类同样擅长解释简单和困难样本的数据标签吗?“我们首先通过收集Winograd Schema Challenge(Winogrande数据集)任务中可推广的常识规则形式的人类书面解释来回答这个问题。我们将这些解释与GPT-3产生的解释进行比较,同时改变测试样品以及上下文样品的硬度。我们观察到,(1)GPT-3的解释与人类的解释一样符合语法,无论测试样本的难度如何;(2)对于简单的例子,GPT-3产生了高度支持的解释,但人类的解释更具概括性;(3)对于困难的例子,人类的解释在标签重复性和概括性判断方面都明显优于GPT-3的解释。我们还发现,在上下文中的例子的硬度影响GPT-3解释的质量。最后,我们表明,人类解释的重复性和概括性方面也受到样品硬度的影响,虽然比模型小得多。支持代码和数据可在https://github.com/swarnaHub/ExplanationHardness上获得

英文摘要:

Recent work on explainable NLP has shown that few-shot prompting can enable large pretrained language models (LLMs) to generate grammatical and factual natural language explanations for data labels. In this work, we study the connection between explainability and sample hardness by investigating the following research question - "Are LLMs and humans equally good at explaining data labels for both easy and hard samples?" We answer this question by first collecting human-written explanations in the form of generalizable commonsense rules on the task of Winograd Schema Challenge (Winogrande dataset). We compare these explanations with those generated by GPT-3 while varying the hardness of the test samples as well as the in-context samples. We observe that (1) GPT-3 explanations are as grammatical as human explanations regardless of the hardness of the test samples, (2) for easy examples, GPT-3 generates highly supportive explanations but human explanations are more generalizable, and (3) for hard examples, human explanations are significantly better than GPT-3 explanations both in terms of label-supportiveness and generalizability judgements. We also find that hardness of the in-context examples impacts the quality of GPT-3 explanations. Finally, we show that the supportiveness and generalizability aspects of human explanations are also impacted by sample hardness, although by a much smaller margin than models. Supporting code and data are available at https://github.com/swarnaHub/ExplanationHardness

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

↑