# Pay attention to the activations: a modular attention mechanism for   fine-grained image recognition

**Authors:** Pau Rodr\'iguez L\'opez, Diego Velazquez Dorta, Guillem Cucurull, Preixens, Josep M. Gonfaus, F. Xavier Roca Marva, Jordi Gonz\`alez Sabat\'e

arXiv: 1907.13075 · 2019-07-31

## TL;DR

This paper introduces a modular attention mechanism applied to convolutional feature activations, improving fine-grained image recognition accuracy and robustness without requiring part annotations.

## Contribution

The proposed attention mechanism is architecture-independent, efficient, and enhances existing networks by focusing on feature activations, leading to state-of-the-art results across multiple datasets.

## Key findings

- Improves classification accuracy on CIFAR-10, Stanford Dogs, UEC-Food100.
- Enhances robustness to deformation, pose changes, and clutter.
- Reduces computational cost by up to 10%.

## Abstract

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. 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%.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.13075/full.md

## Figures

24 figures with captions in the complete paper: https://tomesphere.com/paper/1907.13075/full.md

## References

76 references — full list in the complete paper: https://tomesphere.com/paper/1907.13075/full.md

---
Source: https://tomesphere.com/paper/1907.13075