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

学会注意

Learn To Pay Attention

Department of Engineering Science, University of Oxford(牛津大学工程科学系)

Saumya Jetley, Nicholas A. Lord, Namhoon Lee, Philip H. S. Torr

摘要:

我们提出了一个端到端的可训练注意力模块,用于为图像分类构建的卷积神经网络(CNN)架构。该模块将在CNN流水线中的不同阶段形成输入图像的中间表示的2D特征向量图作为输入,并输出每个图的2D分数矩阵。标准的CNN架构通过合并该模块进行修改,并且在如下约束下进行训练:由得分矩阵参数化的中间2D特征向量的凸组合必须用于分类\textit{alone}。由于被激励去放大相关性,抑制不相关或误导性,分数因此承担了注意力价值的角色。我们的实验观察为这种效果提供了明确的证据:学习的注意力地图整齐地突出了感兴趣的区域,同时抑制了背景杂波。因此,所提出的函数能够引导标准的CNN架构,用于图像分类的任务,在6个看不见的基准数据集上表现出优异的泛化能力。当二进制化时,我们的注意力图优于其他基于CNN的注意力图,传统的显着性图,以及在对象发现数据集上证明的弱监督分割的顶级对象建议。我们还证明了改进的鲁棒性对快速梯度符号方法的对抗攻击。

英文摘要:

We propose an end-to-end-trainable attention module for convolutional neural network (CNN) architectures built for image classification. The module takes as input the 2D feature vector maps which form the intermediate representations of the input image at different stages in the CNN pipeline, and outputs a 2D matrix of scores for each map. Standard CNN architectures are modified through the incorporation of this module, and trained under the constraint that a convex combination of the intermediate 2D feature vectors, as parameterised by the score matrices, must \textit{alone} be used for classification. Incentivised to amplify the relevant and suppress the irrelevant or misleading, the scores thus assume the role of attention values. Our experimental observations provide clear evidence to this effect: the learned attention maps neatly highlight the regions of interest while suppressing background clutter. Consequently, the proposed function is able to bootstrap standard CNN architectures for the task of image classification, demonstrating superior generalisation over 6 unseen benchmark datasets. When binarised, our attention maps outperform other CNN-based attention maps, traditional saliency maps, and top object proposals for weakly supervised segmentation as demonstrated on the Object Discovery dataset. We also demonstrate improved robustness against the fast gradient sign method of adversarial attack.

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

↑