arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.15679cs.CVcs.LG
收藏

解释双模态和编码器-解码器Transformers的一般注意模型解释性

Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers

Tel Aviv University(特拉维夫大学);Facebook AI Research (FAIR)(Facebook AI研究院)

Hila Chefer, Shir Gur, Lior Wolf

摘要:

Transformers越来越多地主导多模态推理任务,例如视觉问答,由于其使用自我注意和协同注意力机制将信息上下文化的能力,实现了最先进的结果。这些注意力模块还在其他计算机视觉任务中发挥作用,包括目标检测和图像分割。与仅使用自我注意力的Transformers不同,具有共同注意力的Transformers需要并行考虑多个注意力地图,以突出与模型输入中的预测相关的信息。在这项工作中,我们提出了第一种方法来解释预测的任何变压器为基础的架构,包括双模态Transformers和Transformers共同关注。我们提供了通用的解决方案,并将其应用于这些架构中最常用的三种:(i)纯自我注意,(ii)自我注意与共同注意相结合,以及(iii)编码器-解码器注意。我们表明,我们的方法是优于所有现有的方法,这是适应单一的模态可解释性。

英文摘要:

Transformers are increasingly dominating multi-modal reasoning tasks, such as visual question answering, achieving state-of-the-art results thanks to their ability to contextualize information using the self-attention and co-attention mechanisms. These attention modules also play a role in other computer vision tasks including object detection and image segmentation. Unlike Transformers that only use self-attention, Transformers with co-attention require to consider multiple attention maps in parallel in order to highlight the information that is relevant to the prediction in the model's input. In this work, we propose the first method to explain prediction by any Transformer-based architecture, including bi-modal Transformers and Transformers with co-attentions. We provide generic solutions and apply these to the three most commonly used of these architectures: (i) pure self-attention, (ii) self-attention combined with co-attention, and (iii) encoder-decoder attention. We show that our method is superior to all existing methods which are adapted from single modality explainability.

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

↑