Recurrent Attention Model for Pedestrian Attribute Recognition

Xin Zhao, Liufang Sang, Guiguang Ding, Jungong Han, Na Di, Chenggang Yan

Introduction

Pedestrian Attribute Recognition (PAR) is a critical task in surveillance applications, such as person re-identification and forensic search. Despite its importance, PAR faces significant challenges, including poor image quality (low resolution, blur, occlusion), severe data imbalance among attributes, and the complex spatial and semantic correlations between attributes. Traditional methods often treat attributes as independent labels or use standard LSTMs that flatten image data into vectors, thereby losing crucial spatial information.

Methodology: The Recurrent Attention Framework

To address these challenges, this research proposes moving beyond simple classification to a group-based recurrent approach. The core innovation lies in the use of Convolutional LSTM (ConvLSTM) units. Unlike standard LSTMs that use fully connected layers, ConvLSTMs employ convolution operations, allowing the model to preserve the 2D spatial structure of feature maps throughout the recurrent process.

The authors introduce two architectures: the Recurrent Convolutional (RC) model and the more sophisticated Recurrent Attention (RA) model. The RA model generates a spatial attention heat map for specific attribute groups at each step. It utilizes a residual connection to highlight relevant regions of the feature map before making predictions.

The Recurrent Attention (RA) model architecture, featuring ConvLSTM units and spatial attention modules.

Key Insights: Spatial Preservation and Logical Grouping

The model's success stems from its ability to maintain a "mental map" of the pedestrian. By grouping attributes logically (e.g., Head, Upper Body, Footwear), the model mimics human perception, scanning body parts sequentially. Furthermore, the research identifies that a "global-to-local" prediction order—starting with general traits like gender or age before moving to specific details like shoes—provides better context and improves accuracy compared to random ordering.

Experimental Results

The RA model was evaluated on the PETA and RAP datasets, the two largest publicly available PAR benchmarks. It achieved state-of-the-art performance, with a Mean Accuracy (mA) of 86.11% on PETA and 81.16% on RAP.

Qualitative analysis confirms the effectiveness of the attention mechanism. Visualization of the attention maps demonstrates that the model accurately focuses on the corresponding body regions when predicting specific attributes, such as the head for hair-related traits or the feet for footwear.

Visualization of spatial attention heat maps for various attribute groups, demonstrating the model's ability to localize relevant body parts.

Conclusion

By integrating ConvLSTM with a recurrent attention mechanism, this framework effectively captures both spatial and semantic correlations in pedestrian attributes. While the current grouping and ordering are hand-crafted, future work may explore end-to-end models that automatically learn optimal attribute sequences and handle extreme occlusions more robustly.

Summary updated

BibTeX
@inproceedings{zhao2019recurrent,
  author = {Xin Zhao and Liufang Sang and Guiguang Ding and Jungong Han and Na Di and Chenggang Yan},
  title = {{Recurrent Attention Model for Pedestrian Attribute Recognition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33019275},
}
Figure