Abstract
Pedestrian Attribute Recognition (PAR) is a critical task in video surveillance, involving the identification of traits such as gender, age, and clothing. A major challenge in PAR is the "where to look" problem—accurately localizing specific attributes like "Boots" or "Hats" without expensive manual region annotations. This paper introduces a novel framework that automatically learns to focus on the most relevant body regions using a weakly-supervised approach. By combining an Attribute Localization Module (ALM) with a multi-scale feature pyramid, the model achieves state-of-the-art performance across multiple industry-standard benchmarks.
Introduction
Identifying fine-grained pedestrian attributes is essential for modern security systems. However, existing methods often struggle with localization. Global methods may miss small details, while attribute-agnostic attention mechanisms often produce heatmaps that are too broad. Part-based methods, which rely on fixed boxes or external pose estimators, are frequently brittle when faced with occlusions or varying camera angles.
The core challenge addressed here is discovering attribute-specific regions automatically using only image-level labels. This avoids the prohibitive cost of manually drawing bounding boxes for every attribute in a large dataset.
Methodology
The proposed framework is built upon three primary components designed to enhance discriminative feature learning through precise localization.
Attribute Localization Module (ALM)
The ALM is the central innovation of this work. It utilizes a channel-attention sub-network to identify important feature maps, followed by a simplified Spatial Transformer Network (STN). The STN functions as a differentiable Region of Interest (RoI) pooling layer, enabling the model to learn optimal bounding boxes that crop and scale the most relevant regions for each specific attribute.
Multi-Scale Feature Pyramid
To ensure accurate localization across different scales, the model employs a top-down feature pyramid with lateral connections. This architecture allows high-level semantic context (e.g., identifying a person) to guide the extraction of low-level details (e.g., shoe texture), facilitating the detection of both large and small attributes.
Deep Supervision and Voting
The model is trained with losses at multiple scales. During inference, an "element-wise maximum" voting scheme is used. This ensures that the final prediction for an attribute like "Hat" is derived from the resolution where it is most clearly visible.
Key Insights and Results
The shift from attribute-agnostic to attribute-specific attention is a significant advancement. By forcing the model to find a unique region for each trait, the resulting features are far more discriminative.
Performance Benchmarks
The method was evaluated on three major datasets: PETA, RAP, and PA-100K.
- RAP Dataset: Achieved a mean Accuracy (mA) of 81.87%, a substantial improvement over the 75.76% baseline.
- PA-100K: Reached 80.68% mA, surpassing previous state-of-the-art methods like LG-Net by nearly 4%.
- Efficiency: The ALM is lightweight, adding only approximately 0.17 GFLOPs to the backbone network, making it more efficient than methods requiring external pose estimation.
Qualitative Analysis
Visualizations demonstrate the model's ability to "zoom in" on relevant regions such as backpacks or footwear, even in challenging surveillance conditions. The attribute-specific approach provides much finer localization compared to traditional attention heatmaps.
Conclusion and Future Work
This research demonstrates that weakly-supervised, attribute-specific localization significantly improves PAR performance. While the model excels at common attributes, it faces challenges with extremely rare traits due to limited training signals. Future work may involve refining spatial transformations for more complex deformations and extending the framework to exploit temporal context in video sequences.
Summary updated