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

ViT-ReciproCAM:面向 Vision Transformer 的无梯度、无注意力视觉解释方法

ViT-ReciproCAM: Gradient and Attention-Free Visual Explanations for Vision Transformer

Intel Corp.(英特尔公司)

Seok-Yong Byun, Wonju Lee

AI总结:

针对 ViT 预测解释依赖注意力或梯度的问题,本文提出 ViT-ReciproCAM,通过 token masking 与目标层输出生成显著图,ADCC 指标较 Relevance 提升 4.58%–5.80%。

摘要:

本文提出一种新方法,以应对理解 Vision Transformer(ViT)预测过程并调试预测错误的挑战。ViT 已在图像分类、目标检测等多种计算机视觉任务中表现出优越性能。尽管 CAM、Grad-CAM、Score-CAM 和 Recipro-CAM 等多种视觉可解释性技术已在卷积神经网络(CNN)上得到广泛研究,但针对 ViT 的研究仍然有限。当前 ViT 的最先进解决方案依赖于与类别无关的 Attention-Rollout 和 Relevance 技术。在本工作中,我们提出一种新的无梯度 ViT 视觉解释方法,称为 ViT-ReciproCAM,它不需要注意力矩阵和梯度信息。ViT-ReciproCAM 利用 token masking,并根据目标层的输入生成新的层输出,以挖掘被激活 token 与目标类别网络预测之间的相关性。我们提出的方法在 Average Drop-Coherence-Complexity(ADCC)指标上比最先进的 Relevance 方法提升 4.58% 至 5.80%,并生成更具局部性的显著图。实验证明了 ViT-ReciproCAM 的有效性,并展示了其在理解和调试 ViT 模型方面的潜力。该方法为生成视觉解释提供了一种高效且易于实现的替代方案,且不需要注意力和梯度信息,可惠及计算机视觉领域的多种应用。

英文摘要:

This paper presents a novel approach to address the challenges of understanding the prediction process and debugging prediction errors in Vision Transformers (ViT), which have demonstrated superior performance in various computer vision tasks such as image classification and object detection. While several visual explainability techniques, such as CAM, Grad-CAM, Score-CAM, and Recipro-CAM, have been extensively researched for Convolutional Neural Networks (CNNs), limited research has been conducted on ViT. Current state-of-the-art solutions for ViT rely on class agnostic Attention-Rollout and Relevance techniques. In this work, we propose a new gradient-free visual explanation method for ViT, called ViT-ReciproCAM, which does not require attention matrix and gradient information. ViT-ReciproCAM utilizes token masking and generated new layer outputs from the target layer's input to exploit the correlation between activated tokens and network predictions for target classes. Our proposed method outperforms the state-of-the-art Relevance method in the Average Drop-Coherence-Complexity (ADCC) metric by $4.58\%$ to $5.80\%$ and generates more localized saliency maps. Our experiments demonstrate the effectiveness of ViT-ReciproCAM and showcase its potential for understanding and debugging ViT models. Our proposed method provides an efficient and easy-to-implement alternative for generating visual explanations, without requiring attention and gradient information, which can be beneficial for various applications in the field of computer vision.

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

↑