A Richly Annotated Dataset for Pedestrian Attribute Recognition

Dangwei Li, Zhang Zhang, Xiaotang Chen, Haibin Ling, Kaiqi HuangarXiv 2016

Abstract

Pedestrian attribute recognition—identifying traits such as gender, age, and clothing from surveillance footage—is a critical component of modern security and search systems. However, progress has been hindered by datasets that lack scale and environmental context. This paper introduces the Richly Annotated Pedestrian (RAP) dataset, the largest and most detailed collection of its kind at the time of publication. Comprising 41,585 images annotated with 72 attributes, viewpoints, and occlusions, RAP enables a deeper understanding of how environmental factors influence recognition. Our findings indicate that accounting for viewpoint and occlusion is essential for robust performance, and that deep multi-label learning models significantly outperform traditional hand-crafted feature approaches.

Introduction

The ability to identify specific pedestrian traits from surveillance video is essential for applications ranging from suspect tracking to demographic analysis. Despite its importance, the field has historically relied on "thin" datasets. Many existing benchmarks were repurposed from re-identification (Re-ID) tasks, often assigning identical labels to every image of an individual regardless of whether a specific attribute was visible. These datasets frequently ignored critical contextual factors such as camera angles and body part visibility, which are vital for training models capable of operating in complex, real-world environments.

Methodology

To establish performance baselines on the RAP dataset, several systems were evaluated:

  • Support Vector Machines (SVM): Utilizing both hand-crafted Ensemble of Localized Features (ELF) and deep features from pre-trained Convolutional Neural Networks (CNNs).
  • Deep Multi-label Learning: Implementation of state-of-the-art architectures, specifically the Attribute Convolutional Net (ACN) and Deep Multi-attribute Joint Recognition (DeepMAR). These models learn to predict all attributes simultaneously, leveraging the inherent correlations between traits (e.g., the co-occurrence of "skirt" and "female").
  • Evaluation Metrics: Beyond standard mean Accuracy (mA), the authors introduced example-based metrics—Accuracy, Precision, Recall, and F1-score—to better measure a model's ability to provide a consistent and coherent description of an individual pedestrian.

The RAP Dataset

The Richly Annotated Pedestrian (RAP) dataset represents a significant advancement in data scale and richness:

  • Scale: 41,585 pedestrian samples were collected from 26 indoor cameras over a three-month period.
  • Richness: The dataset includes 72 fine-grained attributes (69 binary and 3 multi-class).
  • Contextual Annotation: Unlike its predecessors, RAP provides explicit annotations for viewpoints (front, back, left, right), occlusions (top, bottom, left, right), and body part locations (head-shoulder, upper body, lower body).
A sample from the RAP dataset showing a pedestrian with fine-grained attributes like a striped shirt and a carried object across different viewpoints.

Discussion: Environmental Factors and Model Insights

The research highlights several key factors that influence attribute recognition:

Viewpoint Bias and Occlusion

Recognition performance is not uniform across different perspectives. Attributes such as "clerk uniforms" or "hats" are more easily identified from the front, whereas "long hair" and "backpacks" are more discernible from the back. Models generally perform better on front and back views compared to side profiles. Furthermore, occlusion significantly impacts accuracy, with a measured drop of approximately 5.6% when body parts are blocked. However, "global" attributes like body shape remain more robust to occlusion than localized traits like footwear.

Illustration of viewpoint-dependent attributes; a backpack is clearly visible from the side/back view but obscured from the front.

Parts-Based Recognition

The study found that certain attributes are intrinsically linked to specific body regions. By training models on these sub-regions and fusing the resulting data with full-body features—a method termed DeepMAR*—the researchers achieved a measurable boost in accuracy.

Consistency in Deep Learning

Multi-label deep learning models (ACN and DeepMAR) outperformed SVM-based methods by over 25% in example-based metrics. This suggests that deep models are superior at generating a coherent description of a person by understanding the relationships between different attributes.

Results

On the RAP dataset, the DeepMAR* model achieved the highest performance with a 74.44% mean Accuracy (mA). The leap in consistency was even more pronounced; DeepMAR achieved an F1-score of 75.56%, compared to 44.95% for the SVM using hand-crafted ELF features.

Conclusion

While the RAP dataset provides a robust foundation, challenges remain regarding the unbalanced distribution of attributes in the real world. Rare attributes, such as "carrying a plastic bag," remain difficult for deep models to master without significantly more data. Future research will focus on better utilizing annotated part information and environmental factors, potentially through advanced attention mechanisms or specialized loss functions, to further refine pedestrian attribute recognition.

Summary updated

BibTeX
@misc{li2016richly,
  author = {Dangwei Li and Zhang Zhang and Xiaotang Chen and Haibin Ling and Kaiqi Huang},
  title = {{A Richly Annotated Dataset for Pedestrian Attribute Recognition}},
  year = {2016},
  eprint = {1603.07054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1603.07054},
}
Figure