Attend and Rectify: a Gated Attention Mechanism for Fine-Grained Recovery

Pau Rodríguez, Josep M. Gonfaus, Guillem Cucurull, F. Xavier Roca, Jordi Gonzàlez
7/19/2018
cs.CV
transformer-attention

Official code: prlz77/attend-and-rectify (52 stars, Python, last commit 2019-08-05).

Abstract

We propose a novel attention mechanism to enhance Convolutional Neural Networks for fine-grained recognition. It learns to attend to lower-level feature activations without requiring part annotations and uses these activations to update and rectify the output likelihood distribution.

Show full abstract

In contrast to other approaches, the proposed mechanism is modular, architecture-independent and efficient both in terms of parameters and computation required. Experiments show that networks augmented with our approach systematically improve their classification accuracy and become more robust to clutter. As a result, Wide Residual Networks augmented with our proposal surpasses the state of the art classification accuracies in CIFAR-10, the Adience gender recognition task, Stanford dogs, and UEC Food-100.

View on arXivView PDF

Code Implementations(1)

Pytorch code for the IEEE TM/ECCV paper "Attend and rectify"

5210Python, ShellJul 19, 20187 years ago

Similar Papers

Cite this paper

@article{rodrguez2018attend,
  title  = {Attend and Rectify: a Gated Attention Mechanism for Fine-Grained Recovery},
  author = {Pau Rodríguez and Josep M. Gonfaus and Guillem Cucurull and F. Xavier Roca and Jordi Gonzàlez},
  year   = {2018},
  eprint = {1807.07320},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.07320}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.07320.svg)](https://codeofpaper.com/paper/1807.07320)

Discussion