arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.08035cs.CV

可解释性感知的视觉Transformer

Interpretability-Aware Vision Transformer

Computer Science Department, Wayne State University(韦恩州立大学计算机科学系)

Yao Qiang, Chengyin Li, Prashant Khanduri, Dongxiao Zhu

AI总结:

提出可解释性感知的视觉Transformer(IA-ViT),通过联合训练特征提取器、预测器和解释器,利用单头自注意力机制模拟预测器行为,本质上增强模型可解释性,在图像分类任务中表现有效。

摘要:

视觉Transformer(ViTs)已成为解决各种视觉任务的突出模型。然而,ViTs的可解释性并未与其充满希望的性能同步发展。尽管在开发事后解决方案来解释ViTs的输出方面兴趣激增,但这些方法不能泛化到不同的下游任务和各种Transformer架构。此外,如果ViTs没有用给定数据进行适当训练,并且没有优先考虑感兴趣区域,那么事后方法将不太有效。我们没有开发另一种事后方法,而是引入了一种新的训练过程,本质上增强模型可解释性。我们的可解释性感知ViT(IA-ViT)从一个新的见解中汲取灵感:类补丁和图像补丁一致地生成预测分布和注意力图。IA-ViT由特征提取器、预测器和解释器组成,它们通过可解释性感知训练目标联合训练。因此,解释器模拟预测器的行为,并通过其单头自注意力机制提供忠实的解释。我们全面的实验结果证明了IA-ViT在几个图像分类任务中的有效性,并对模型性能和可解释性进行了定性和定量评估。源代码可在以下网址获得:https://github.com/qiangyao1988/IA-ViT。

英文摘要:

Vision Transformers (ViTs) have become prominent models for solving various vision tasks. However, the interpretability of ViTs has not kept pace with their promising performance. While there has been a surge of interest in developing {\it post hoc} solutions to explain ViTs' outputs, these methods do not generalize to different downstream tasks and various transformer architectures. Furthermore, if ViTs are not properly trained with the given data and do not prioritize the region of interest, the {\it post hoc} methods would be less effective. Instead of developing another {\it post hoc} approach, we introduce a novel training procedure that inherently enhances model interpretability. Our interpretability-aware ViT (IA-ViT) draws inspiration from a fresh insight: both the class patch and image patches consistently generate predicted distributions and attention maps. IA-ViT is composed of a feature extractor, a predictor, and an interpreter, which are trained jointly with an interpretability-aware training objective. Consequently, the interpreter simulates the behavior of the predictor and provides a faithful explanation through its single-head self-attention mechanism. Our comprehensive experimental results demonstrate the effectiveness of IA-ViT in several image classification tasks, with both qualitative and quantitative evaluations of model performance and interpretability. Source code is available from: https://github.com/qiangyao1988/IA-ViT.

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

↑