Pay Attention to the Activations: A Modular Attention Mechanism for Fine-Grained Image Recognition

被引:64
作者
Rodriguez, Pau [1 ]
Velazquez, Diego [2 ]
Cucurull, Guillem [1 ]
Gonfaus, Josep M. [3 ]
Roca, E. Xavier [2 ]
Gonzalez, Jordi [2 ]
机构
[1] Element AI, Montreal, PQ H2S 3G9, Canada
[2] Univ Autonoma Barcelona, Comp Vis Ctr, Bellaterra 08193, Spain
[3] Univ Autonoma Barcelona, Visual Tagging Serv, Parc Recerca, Bellaterra 08193, Spain
关键词
Computer architecture; Computational modeling; Image recognition; Task analysis; Proposals; Logic gates; Clutter; Image Retrieval Deep Learning Convolutional Neural Networks Attention-based Learning; VISUAL-ATTENTION; MODEL; AGE;
D O I
10.1109/TMM.2019.2928494
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Fine-grained image recognition is central to many multimedia tasks such as search, retrieval, and captioning. Unfortunately, these tasks are still challenging since the appearance of samples of the same class can be more different than those from different classes. This issue is mainly due to changes in deformation, pose, and the presence of clutter. In the literature, attention has been one of the most successful strategies to handle the aforementioned problems. Attention has been typically implemented in neural networks by selecting the most informative regions of the image that improve classification. In contrast, in this paper, attention is not applied at the image level but to the convolutional feature activations. In essence, with our approach, the neural model learns to attend to lower-level feature activations without requiring part annotations and uses those activations to update and rectify the output likelihood distribution. The proposed mechanism is modular, architecture-independent, and efficient in terms of both parameters and computation required. Experiments demonstrate that well-known networks such as wide residual networks and ResNeXt, when augmented with our approach, systematically improve their classification accuracy and become more robust to changes in deformation and pose and to the presence of clutter. As a result, our proposal reaches state-of-the-art classification accuracies in CIFAR-10, the Adience gender recognition task, Stanford Dogs, and UEC-Food100 while obtaining competitive performance in ImageNet, CIFAR-100, CUB200 Birds, and Stanford Cars. In addition, we analyze the different components of our model, showing that the proposed attention modules succeed in finding the most discriminative regions of the image. Finally, as a proof of concept, we demonstrate that with only local predictions, an augmented neural network can successfully classify an image before reaching any fully connected layer, thus reducing the computational amount up to 10.
引用
收藏
页码:502 / 514
页数:13
相关论文
共 50 条
  • [21] Fine-Grained Age Estimation With Multi-Attention Network
    Hu, Chunlong
    Gao, Junbin
    Chen, Jianjun
    Jiang, Dengbiao
    Shu, Yucheng
    IEEE ACCESS, 2020, 8 : 196013 - 196023
  • [22] CMSEA: Compound Model Scaling With Efficient Attention for Fine-Grained Image Classification
    Guang, Jinzheng
    Liang, Jianru
    IEEE ACCESS, 2022, 10 : 18222 - 18232
  • [23] A Fine-Grained Image Classification Model Based on Hybrid Attention and Pyramidal Convolution
    Wang, Sifeng
    Li, Shengxiang
    Li, Anran
    Dong, Zhaoan
    Li, Guangshun
    Yan, Chao
    TSINGHUA SCIENCE AND TECHNOLOGY, 2025, 30 (03): : 1283 - 1293
  • [24] Fine-Grained Classification of Wild Mushrooms Based on Feature Fusion and Attention Mechanism
    Qian Jiaxin
    Yu Pengfei
    Li Haiyan
    Li Hongsong
    LASER & OPTOELECTRONICS PROGRESS, 2023, 60 (04)
  • [25] Learn to Pay Attention Via Switchable Attention for Image Recognition
    Cheng, Qishang
    Li, Hongliang
    Wu, Qingbo
    Meng, Fanman
    Xu, LinFeng
    King Ngi Ngan
    THIRD INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION PROCESSING AND RETRIEVAL (MIPR 2020), 2020, : 291 - 296
  • [26] Deep Attention-Based Spatially Recursive Networks for Fine-Grained Visual Recognition
    Wu, Lin
    Wang, Yang
    Li, Xue
    Gao, Junbin
    IEEE TRANSACTIONS ON CYBERNETICS, 2019, 49 (05) : 1791 - 1802
  • [27] Attention-Guided CutMix Data Augmentation Network for Fine-Grained Bird Recognition
    Guo, Wenming
    Wang, Yifei
    Han, Fang
    PROCEEDINGS OF 2021 2ND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INFORMATION SYSTEMS (ICAIIS '21), 2021,
  • [28] Incremental Learning for Fine-Grained Image Recognition
    Cao, Liangliang
    Hsiao, Jenhao
    de Juan, Paloma
    Li, Yuncheng
    Thomee, Bart
    ICMR'16: PROCEEDINGS OF THE 2016 ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA RETRIEVAL, 2016, : 363 - 366
  • [29] Wavelet and Adaptive Coordinate Attention Guided Fine-Grained Residual Network for Image Denoising
    Ding, Shifei
    Wang, Qidong
    Guo, Lili
    Li, Xuan
    Ding, Ling
    Wu, Xindong
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2024, 34 (07) : 6156 - 6166
  • [30] Feature Correlation Residual Network for Fine-Grained Image Recognition
    Xu, Jiazhen
    Wei, Yantao
    Deng, Wei
    IEEE ACCESS, 2020, 8 : 214322 - 214331