arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.12114cs.LGcs.CLcs.CV
收藏

通过忠实违反测试重新思考注意力模型的可解释性

Rethinking Attention-Model Explainability through Faithfulness Violation Test

City University of Hong Kong(香港城市大学);National University of Singapore(新加坡国立大学);The Hong Kong Polytechnic University(香港理工大学)

Yibing Liu, Haoliang Li, Yangyang Guo, Chenqi Kong, Jing Li, Shiqi Wang

摘要:

注意力机制决定着深层模型的可解释性。它们在输入上产生概率分布,这被广泛认为是特征重要性指标。然而,在本文中,我们发现一个关键的限制,注意力的解释:在识别功能的极性影响的弱点。这在某种程度上会产生误导--具有较高注意力权重的特征可能不会忠实地对模型预测做出贡献;相反,它们会施加抑制效应。有了这一发现,我们反映了目前的注意力为基础的技术,如注意力$\odot$梯度和LRP为基础的注意力解释的可解释性。首先,我们提出了一个可行的诊断方法(以下简称忠实违反测试)来衡量解释权重和影响极性之间的一致性。通过大量的实验,我们发现,大多数测试的解释方法出乎意料地阻碍了忠实违反问题,特别是原始的注意。对违规问题影响因素的实证分析进一步为注意模型中采用解释方法提供了有益的观察。

英文摘要:

Attention mechanisms are dominating the explainability of deep models. They produce probability distributions over the input, which are widely deemed as feature-importance indicators. However, in this paper, we find one critical limitation in attention explanations: weakness in identifying the polarity of feature impact. This would be somehow misleading -- features with higher attention weights may not faithfully contribute to model predictions; instead, they can impose suppression effects. With this finding, we reflect on the explainability of current attention-based techniques, such as Attentio$\odot$Gradient and LRP-based attention explanations. We first propose an actionable diagnostic methodology (henceforth faithfulness violation test) to measure the consistency between explanation weights and the impact polarity. Through the extensive experiments, we then show that most tested explanation methods are unexpectedly hindered by the faithfulness violation issue, especially the raw attention. Empirical analyses on the factors affecting violation issues further provide useful observations for adopting explanation methods in attention models.

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

↑