A Temporal Attentive Approach for Video-Based Pedestrian Attribute Recognition

Zhiyuan Chen, Annan Li, Yunhong Wang

Introduction

Pedestrian attribute recognition—identifying characteristics like gender, age, and clothing—is a cornerstone of modern surveillance and security systems. Traditionally, this task has relied on static, single-frame images. However, static images often suffer from motion blur, poor lighting, or occlusions. For instance, a backpack might be invisible from a frontal view, or a person's hair length might be obscured if they are looking down.

This research shifts the paradigm from static images to video sequences. By analyzing "tracklets" (sequences of frames of the same person), the proposed model leverages temporal cues and multi-view consistency. As a person moves, attributes hidden in one frame often become visible in another, and certain characteristics, like the swing of a skirt, are inherently defined by motion.

Figure 1: Examples of video tracklets showing how different viewpoints reveal various pedestrian attributes over time.

Methodology: A Two-Channel Approach

The core of the proposed system is a multi-task deep learning architecture designed to handle the diverse nature of pedestrian attributes. The model utilizes a ResNet-50 backbone for spatial feature extraction and introduces two key innovations:

1. Two-Channel Strategy

The researchers observed that mixing motion-based attributes (e.g., "walking," "running") with static identity-based attributes (e.g., "top color," "gender") can lead to "feature competition," degrading performance. To solve this, the model splits into two distinct channels:

  • Pose & Motion Channel: Focuses on behavior-relevant attributes.
  • Identity-Relevant Channel: Focuses on static physical characteristics.
Figure 2: Categorization of pedestrian attributes into Pose & Motion vs. Identity-Relevant groups to prevent feature competition.

2. Temporal Attention Module

The "secret sauce" of the architecture is a per-attribute temporal attention mechanism. Rather than simply averaging features across all frames, the model assigns a specific weight to each frame for every attribute. For example, when identifying a "backpack," the model learns to prioritize frames showing the person's back while ignoring frontal views.

Datasets and Benchmarking

To facilitate this research, the authors re-annotated two major person re-identification (ReID) datasets—MARS and DukeMTMC-VideoReID—with 52 different attribute labels. These datasets now serve as a benchmark for video-based attribute recognition.

Key Results

The video-based model consistently outperformed image-based baselines and standard video architectures like 3DCNNs and CNN-RNNs.

  • Performance: On the MARS dataset, the model achieved an average accuracy of 87.01% and an F1 score of 72.04%, a significant jump from the image-based baseline (85.85% / 67.28%).
  • Occlusion Handling: The model showed dramatic improvements in identifying attributes prone to occlusion, such as "backpack" and "handbag."
  • Motion Sensitivity: By analyzing movement, the model became much more adept at distinguishing between "bottom types," such as pants versus skirts.

Conclusion

This work demonstrates that "timing is everything" in pedestrian attribute recognition. By moving beyond static snapshots and employing a per-attribute temporal attention mechanism within a dual-channel framework, the model achieves superior accuracy and robustness. Future work will look toward reducing computational complexity and handling longer, more complex video sequences.

Summary updated

BibTeX
@inproceedings{chen2019temporal,
  author = {Zhiyuan Chen and Annan Li and Yunhong Wang},
  title = {{A Temporal Attentive Approach for Video-Based Pedestrian Attribute Recognition}},
  booktitle = {PRCV},
  year = {2019},
  doi = {10.1007/978-3-030-31723-2\_18},
}
Figure