arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.02160cs.CL
收藏

用高影响力概念解释语言模型的预测

Explaining Language Models' Predictions with High-Impact Concepts

Nanyang Technological University(南洋理工大学);Salesforce AI(Salesforce人工智能研究院)

Ruochen Zhao, Shafiq Joty, Yongjie Wang, Tan Wang

AI总结:

针对语言模型可解释性不足、虚假相关导致解释不可靠的问题,提出将基于概念的可解释性拓展至NLP的框架,通过事后方法提取高影响力预测概念,设计通用评估指标,实验验证其在多方面优于基线。

摘要:

大规模预训练语言模型的兴起,为推导模型做出特定预测的原因带来了前所未有的挑战。源于语言的组合特性,虚假相关性进一步削弱了NLP系统的可信度,导致仅与输出预测相关的模型解释并不可靠。为促进公平性与透明度,目前迫切需要能让用户持续理解模型行为的可靠解释。本研究提出一套完整框架,将基于概念的可解释性方法拓展至NLP领域。具体而言,我们提出一种事后可解释性方法,用于从预训练模型的隐藏层激活中提取具有预测性的高层特征(即概念)。我们对存在时会引发输出预测大幅变化(即产生高影响力)的特征进行优化。此外,我们设计了若干可通用的评估指标。在真实任务与合成任务上开展的大量实验表明,与基线方法相比,我们的方法在预测影响力、可用性和忠实度方面均取得了更优结果。

英文摘要:

The emergence of large-scale pretrained language models has posed unprecedented challenges in deriving explanations of why the model has made some predictions. Stemmed from the compositional nature of languages, spurious correlations have further undermined the trustworthiness of NLP systems, leading to unreliable model explanations that are merely correlated with the output predictions. To encourage fairness and transparency, there exists an urgent demand for reliable explanations that allow users to consistently understand the model's behavior. In this work, we propose a complete framework for extending concept-based interpretability methods to NLP. Specifically, we propose a post-hoc interpretability method for extracting predictive high-level features (concepts) from the pretrained model's hidden layer activations. We optimize for features whose existence causes the output predictions to change substantially, \ie generates a high impact. Moreover, we devise several evaluation metrics that can be universally applied. Extensive experiments on real and synthetic tasks demonstrate that our method achieves superior results on {predictive impact}, usability, and faithfulness compared to the baselines.

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

↑