计算机科学 > 计算机视觉与模式识别
[提交于 2020年12月17日]
标题:Transformer Interpretability Beyond Attention Visualization
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Self-attention techniques, and specifically Transformers, are dominating the field of text processing and are becoming increasingly popular in computer vision classification tasks. In order to visualize the parts of the image that led to a certain classification, existing methods either rely on the obtained attention maps or employ heuristic propagation along the attention graph. In this work, we propose a novel way to compute relevancy for Transformer networks. The method assigns local relevance based on the Deep Taylor Decomposition principle and then propagates these relevancy scores through the layers. This propagation involves attention layers and skip connections, which challenge existing methods. Our solution is based on a specific formulation that is shown to maintain the total relevancy across layers. We benchmark our method on very recent visual Transformer networks, as well as on a text classification problem, and demonstrate a clear advantage over the existing explainability methods.
提交历史
来自:Hila Chefer[v1] 2020年12月17日 星期四 18:56:33 UTC