Focus Longer to See Better: Recursively Refined Attention for Fine-Grained Image Classification

Prateek Shroff, Tianlong Chen, Yunchao Wei, Zhangyang Wang

Abstract

Fine-grained image classification (FGIC) involves distinguishing between highly similar categories, such as specific bird species or dog breeds. Traditional approaches often rely on labor-intensive manual part annotations to guide the model's focus. This paper introduces a novel two-stream architecture that utilizes a Recursively Refined Attention module to automatically identify and refine discriminative features. By processing image patches through a recurrent LSTM-based framework for multiple time steps, the model progressively narrows its attention from coarse regions to minute, class-defining details. Experimental results on benchmark datasets show that this "focusing longer" approach significantly improves classification accuracy without the need for expensive human supervision.

Introduction

Fine-grained image classification is often considered the "expert level" of computer vision. Unlike general classification tasks, FGIC requires the ability to detect marginal visual differences while managing high intra-class variance. Historically, achieving high performance in this domain required human experts to provide bounding boxes for specific object parts (e.g., beaks, wings, or ears). However, this manual process is not scalable. Recent weakly supervised methods attempt to automate part localization but often fail to capture the truly subtle features necessary for near-identical classes.

Methodology

The proposed solution is a two-stream architecture designed to mimic the human ability to "squint" or focus intently on difficult objects to perceive finer details.

  1. Global Stream: A standard VGG19 Convolutional Neural Network (CNN) processes the entire image to provide broad contextual information.
  2. Local Stream: This stream focuses on specific image patches extracted via a weakly supervised framework. The core innovation is the Recursively Refined Attention module.
Figure 2: The two-stream architecture featuring a global CNN and a local stream with recurrent LSTM-based attention refinement.

Instead of a deep feed-forward stack, the model passes the same feature map through stacked LSTMs for 10 sequential "time steps." Each step allows the model to refine its internal representation. An attention layer then performs a weighted aggregation of the outputs from all 10 steps, learning which level of detail is most relevant for the final classification.

Visualizing the "Focusing" Process

The most significant insight of this work is the use of temporal recurrence to achieve spatial precision. As the number of time steps ($T$) increases, the model's internal attention shifts. Visualization using Grad-CAM reveals that at $T=1$, the model typically observes a broad area, such as a bird's entire head. By $T=10$, the focus has narrowed specifically to highly discriminative parts like the eye or the tip of the beak.

Figure 1: Visualization of attention refinement over 10 time steps. The model progressively narrows its focus from coarse regions to fine, discriminative details.

Experimental Results

The model was evaluated on the CUB200-2011 (bird species) and Stanford Dogs (dog breeds) benchmarks. The addition of the local recurrent stream provided a consistent performance boost over the baseline VGG19:

  • CUB200-2011: Accuracy increased from 77.8% to 79.6%.
  • Stanford Dogs: Accuracy increased from 77.2% to 78.7%.

Ablation studies confirmed that both the LSTM recurrence and the weighted attention aggregation are critical. Simply summing features across time steps led to a significant drop in performance, indicating that the model must actively learn which "focus level" is most informative for a given image.

Conclusion and Future Work

While effective, the framework currently depends on the quality of the initial patch extraction. If the object is missed initially, the refinement process cannot succeed. Additionally, the sequential nature of the 10-step LSTM adds computational overhead. Future research could explore integrating this recurrent attention mechanism with modern architectures like Vision Transformers (ViTs) to further enhance performance and efficiency.

Summary updated

BibTeX
@inproceedings{shroff2020focus,
  author = {Prateek Shroff and Tianlong Chen and Yunchao Wei and Zhangyang Wang},
  title = {{Focus Longer to See Better: Recursively Refined Attention for Fine-Grained Image Classification}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00442},
}
Figure