Abstract
Pedestrian attribute recognition is a critical component of intelligent video surveillance, yet it remains challenging due to low image resolution, occlusions, and varying viewpoints. Traditional methods often treat attribute prediction as independent multi-label classification tasks, ignoring the intrinsic semantic correlations between labels. This paper introduces Attribute Aware Pooling (AAP) and the CoCNN architecture, which leverages a co-occurrence prior matrix to refine predictions. By integrating spatial specialization with semantic context, the proposed model achieves state-of-the-art performance across major benchmarks.
Introduction
Identifying attributes such as age, gender, and clothing in surveillance footage is a cornerstone of person re-identification and security monitoring. However, standard Convolutional Neural Networks (CNNs) frequently struggle when visual evidence is "tangled" or weak. For instance, a model might fail to identify a "skirt" if the lower body is partially obscured, even if it is highly confident the subject is "female" and has "long hair."
The core insight of this work is that attributes are highly correlated. By treating these correlations as a form of auxiliary regularization, the model can use high-confidence predictions to "pull" indistinct or ambiguous attributes toward the correct classification. This approach mimics human perception, where context often compensates for visual noise.
Methodology
The authors propose the CoCNN framework, which consists of two primary components: a multi-branch spatial architecture and the Attribute Aware Pooling (AAP) layer.
Multi-Branch Architecture
Rather than relying on a single global feature vector, the model utilizes a ResNet-50 backbone that splits into four distinct branches. One branch processes the entire image to capture global context, while the remaining three focus on specific spatial regions: the head, upper body, and lower body. This spatial awareness prevents the network from searching for region-specific attributes (like "hats") in incorrect areas (like the feet).
Attribute Aware Pooling (AAP)
The AAP layer is the system's central innovation. It utilizes a Co-occurrence Priori Matrix calculated from the training data, which maps the conditional probabilities between different attributes.
During inference, each branch generates an initial set of predictions ($P$). The AAP layer then refines these using the Total Probability Theorem, considering both the presence and absence of correlated attributes across all branches. The final prediction is a weighted balance (controlled by a hyperparameter $\lambda$) between direct visual evidence and the semantic context provided by the prior matrix.
Experiments and Results
The CoCNN model was evaluated on three large-scale pedestrian attribute datasets: PETA (19,000 images), RAP (41,585 images), and PA-100K (100,000 images).
Quantitative Performance
The proposed method consistently outperformed state-of-the-art models such as DeepMAR, HP-net, and GRL:
- PETA: Achieved a Mean Accuracy (mA) of 86.97%, a significant improvement over the 84.68% baseline.
- PA-100K: Reached an mA of 80.56%, surpassing the previous best of 79.96%.
Qualitative Analysis
Qualitative results demonstrate the power of the AAP layer in correcting errors made by purely visual branches. As shown in the examples below, the multi-branch model alone occasionally misidentifies attributes due to visual ambiguity (e.g., mistaking a skirt for shorts). The CoCNN corrects these by leveraging high-confidence correlations from other body regions.
Discussion and Conclusion
While CoCNN demonstrates superior performance, it relies on a static co-occurrence prior and requires hyperparameter tuning ($\lambda$) to balance visual data against semantic context. Future work may explore dynamic priors that adapt to different deployment environments. Nevertheless, the Attribute Aware Pooling framework provides a robust general logic for multi-task learning, successfully "untangling" complex attributes through the effective use of semantic context.
Summary updated