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

不只是文字:文本分类器的更高质量解释

More Than Words: Towards Better Quality Interpretations of Text Classifiers

Amazon Web Services(亚马逊云科技);Amazon Search(亚马逊搜索);Santa Clara University(圣克拉拉大学)

Muhammad Bilal Zafar, Philipp Schmidt, Michele Donini, Cédric Archambeau, Felix Biessmann, Sanjiv Ranjan Das, Krishnaram Kenthapadi

摘要:

最先进的文本分类器的大尺寸和复杂的决策机制使得人类难以理解它们的预测,从而导致用户可能缺乏信任。这些问题导致了采用SHAP和集成标记等方法,通过为输入标记分配重要性分数来解释分类决策。然而,先前的工作,使用不同的随机化测试,已经表明,这些方法产生的解释可能不稳健。例如,在测试集上做出相同预测的模型仍然可能导致不同的特征重要性排名。为了解决基于标记的可解释性缺乏鲁棒性的问题,我们探索了更高语义级别的解释,如句子。我们使用计算指标和人类受试者的研究,以比较基于标记的解释的质量。我们的实验表明,更高级别的特征属性提供了几个优点:1)通过随机化测试测量,它们更鲁棒,2)当使用基于近似的方法(如SHAP)时,它们导致更低的可变性,3)在语言连贯性位于更高粒度级别的情况下,它们更容易被人类理解。基于这些发现,我们表明,基于令牌的可解释性,虽然是一个方便的首选ML模型的输入接口,但并不是在所有情况下最有效的。

英文摘要:

The large size and complex decision mechanisms of state-of-the-art text classifiers make it difficult for humans to understand their predictions, leading to a potential lack of trust by the users. These issues have led to the adoption of methods like SHAP and Integrated Gradients to explain classification decisions by assigning importance scores to input tokens. However, prior work, using different randomization tests, has shown that interpretations generated by these methods may not be robust. For instance, models making the same predictions on the test set may still lead to different feature importance rankings. In order to address the lack of robustness of token-based interpretability, we explore explanations at higher semantic levels like sentences. We use computational metrics and human subject studies to compare the quality of sentence-based interpretations against token-based ones. Our experiments show that higher-level feature attributions offer several advantages: 1) they are more robust as measured by the randomization tests, 2) they lead to lower variability when using approximation-based methods like SHAP, and 3) they are more intelligible to humans in situations where the linguistic coherence resides at a higher granularity level. Based on these findings, we show that token-based interpretability, while being a convenient first choice given the input interfaces of the ML models, is not the most effective one in all situations.

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

↑