Enriched Deep Recurrent Visual Attention Model for Multiple Object Recognition

Artsiom Ablavatski, Shijian Lu, Jianfei Cai

Abstract

Recognizing multiple objects in cluttered images is a fundamental challenge in computer vision. We introduce the Enriched Deep Recurrent Visual Attention Model (EDRAM), which integrates recurrent neural networks with differentiable Spatial Transformers to sequentially process image regions. By framing attention as a series of learnable affine transformations, EDRAM can precisely "zoom in" on relevant features while ignoring background noise. Our results on the MNIST Cluttered and Street View House Numbers (SVHN) datasets demonstrate that EDRAM achieves state-of-the-art accuracy with significantly fewer parameters than existing methods, highlighting the benefits of a fully differentiable attention pipeline.

Introduction

Standard Convolutional Neural Networks (CNNs) typically process entire images in a single pass. While effective for centered objects, this approach becomes computationally inefficient and prone to error when multiple small objects are scattered across a cluttered background. Previous attempts to address this using visual attention, such as the Recurrent Attention Model (RAM), often relied on fixed-scale patches and non-differentiable reinforcement learning techniques, limiting their flexibility and ease of training.

Methodology

EDRAM treats object recognition as a sequential decision-making process. The architecture is composed of several integrated components:

  • Context Network: Generates a low-resolution global overview to initialize the attention sequence.
  • Spatial Transformer (ST) Attention: Acts as a differentiable "eye," allowing the model to apply affine transformations (scaling, rotation, and skewing) to extract relevant image patches.
  • Glimpse Network: A CNN that extracts features from the transformed patches.
  • Recurrent Network: Employs stacked LSTMs to maintain state across glimpses. One LSTM handles classification ("what"), while the other predicts the parameters for the next attention window ("where").

The entire pipeline is fully differentiable, enabling end-to-end training via standard Stochastic Gradient Descent (SGD) and backpropagation, bypassing the complexities of reinforcement learning.

Experimental Evaluation

The model was benchmarked on two datasets:

  1. MNIST Cluttered: $100 \times 100$ pixel images containing hand-written digits randomly placed among noise fragments.
  2. Street View House Numbers (SVHN): A real-world dataset of house numbers with varying scales, orientations, and digit counts (1-5).

Key Results and Discussion

EDRAM demonstrated superior performance across both benchmarks. On MNIST Cluttered, it achieved a test error of 0.6%, significantly outperforming the original RAM (8.11%). On the SVHN dataset, the model matched state-of-the-art accuracy (3.6% error) while utilizing 1.7x fewer parameters (22 million vs. 37 million) compared to the ST-CNN Multi model.

Qualitative results of EDRAM on SVHN and MNIST Cluttered datasets.

The success of EDRAM stems from its ability to decouple identification from localization and its iterative refinement process. Visualizations confirm that the model effectively "locks onto" individual digits, progressively reducing error as it takes more glimpses.

Conclusion

The Enriched Deep Recurrent Visual Attention Model provides a robust and efficient framework for multi-object recognition in complex scenes. By making the attention mechanism fully differentiable and recurrent, the authors have created a model that is both high-performing and parameter-efficient. Future work may explore dynamic sequence lengths and more complex geometric transformations to handle extreme perspective shifts.

Summary updated

BibTeX
@inproceedings{ablavatski2017enriched,
  author = {Artsiom Ablavatski and Shijian Lu and Jianfei Cai},
  title = {{Enriched Deep Recurrent Visual Attention Model for Multiple Object Recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2017},
  doi = {10.1109/wacv.2017.113},
}
Figure