arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.08169stat.MLcs.LG
收藏

视觉Transformer中注意力图的统计检验

Statistical Test for Attention Map in Vision Transformer

University of Information Technology, Ho Chi Minh City, Viet Nam(胡志明市信息技术大学);Vietnam National University, Ho Chi Minh City, Viet Nam(越南国立大学胡志明市分校);RIKEN(理化学研究所);Nagoya University(名古屋大学);Nagoya Institute of Technology(名古屋工业大学)

Tomohiro Shiraishi, Daiki Miwa, Teruyuki Katsuoka, Vo Nguyen Le Duy, Kouichi Taji, Ichiro Takeuchi

AI总结:

针对ViT注意力可能错误聚焦于不相关区域的问题,本文提出一种基于选择性推断的统计检验方法,以p值量化注意力显著性并严格控制错误率,为高风险决策提供可靠证据。

摘要:

视觉Transformer(ViT)在各种计算机视觉任务中表现出卓越的性能。注意力对于ViT捕捉图像块之间复杂的广域关系至关重要,它使模型能够权衡图像块的重要性,并有助于我们理解决策过程。然而,在医学诊断等高风险决策任务中利用ViT的注意力作为证据时,会出现一个挑战,因为注意力机制有可能错误地聚焦于不相关区域。在本研究中,我们提出了一种针对ViT注意力的统计检验方法,使我们能够将注意力作为ViT决策的可靠定量证据指标,并具有严格控制的错误率。利用称为选择性推断的框架,我们以p值的形式量化注意力的统计显著性,从而能够在理论上对注意力的假阳性检测概率进行有根据的量化。我们通过数值实验和脑图像诊断应用证明了所提方法的有效性和实用性。

英文摘要:

The Vision Transformer (ViT) demonstrates exceptional performance in various computer vision tasks. Attention is crucial for ViT to capture complex wide-ranging relationships among image patches, allowing the model to weigh the importance of image patches and aiding our understanding of the decision-making process. However, when utilizing the attention of ViT as evidence in high-stakes decision-making tasks such as medical diagnostics, a challenge arises due to the potential of attention mechanisms erroneously focusing on irrelevant regions. In this study, we propose a statistical test for ViT's attentions, enabling us to use the attentions as reliable quantitative evidence indicators for ViT's decision-making with a rigorously controlled error rate. Using the framework called selective inference, we quantify the statistical significance of attentions in the form of p-values, which enables the theoretically grounded quantification of the false positive detection probability of attentions. We demonstrate the validity and the effectiveness of the proposed method through numerical experiments and applications to brain image diagnoses.

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

↑