PANDA: Pose Aligned Networks for Deep Attribute Modeling

Ning Zhang, Manohar Paluri, Marc'Aurelio Ranzato, Trevor Darrell, Lubomir D. Bourdev

Abstract

We propose a method for inferring human attributes (such as gender, hair style, clothes style, expression, action) from images of people under large variation of viewpoint, pose, appearance, articulation and occlusion. Convolutional Neural Nets (CNN) have been shown to perform very well on large scale object recognition problems. In the context of attribute classification, however, the signal is often subtle and it may cover only a small part of the image, while the image is dominated by the effects of pose and viewpoint. Discounting for pose variation would require training on very large labeled datasets which are not presently available. Part-based models, such as poselets [4] and DPM [12] have been shown to perform well for this problem but they are limited by shallow low-level features. We propose a new method which combines part-based models and deep learning by training pose-normalized CNNs. We show substantial improvement vs. state-of-the-art methods on challenging attribute classification tasks in unconstrained settings. Experiments confirm that our method outperforms both the best part-based methods on this problem and conventional CNNs trained on the full bounding box of the person.

Introduction

Recognizing human attributes—such as gender, age, or clothing style—is a fundamental task in computer vision that remains notoriously difficult in "unconstrained" real-world settings. Unlike controlled environments, real-world images feature significant variations in pose, occlusion, and viewpoint.

The authors identify two primary hurdles:

  1. Subtle Signals: Attributes like "wearing glasses" occupy only a tiny fraction of the total pixels in a person's bounding box.
  2. Pose Variance: The visual appearance of a body part (e.g., the head) changes drastically depending on whether the person is looking left, right, or down.

While Convolutional Neural Networks (CNNs) are excellent at learning invariance to these changes, they typically require millions of labeled examples. In 2014, attribute datasets were relatively small, meaning standard CNNs often struggled to outperform older methods using hand-crafted geometric features.

Methodology: Pose-Normalized CNNs

The PANDA (Pose Aligned Networks for Deep Attribute modeling) framework bridges the gap between traditional part-based geometric models and deep learning. The core innovation is the Pose-Normalized CNN, which breaks the problem down into manageable, aligned parts.

The PANDA pipeline: Poselet detection followed by part-specific CNN feature extraction and linear classification.

The system operates in three main stages:

  • Part Localization (Poselets): The system uses "poselets"—detectors trained to find specific body parts in specific poses (e.g., a "facing-left head and shoulder"). This ensures that the image patches are semantically aligned, making the learning task significantly easier for the CNN.
  • Deep Feature Extraction: For every detected poselet, the corresponding image patch is resized and fed into a dedicated CNN. Because the poselet has already "normalized" the pose, the CNN can focus entirely on discriminative attributes rather than learning pose invariance.
  • Feature Fusion: The activations from these part-specific CNNs are concatenated with a "global" feature (DeCAF) extracted from the entire person bounding box.
  • Classification: A linear SVM is trained on this massive, concatenated feature vector to make final attribute predictions.
Detailed architecture of the pose-normalized CNN used for attribute prediction from poselet patches.

Key Insights

A critical finding of the research was the importance of semantic alignment. The authors noted that using Deformable Part Models (DPM) was less effective than Poselets because DPM parts satisfy global location constraints but do not ensure local patch consistency. CNNs thrive on the consistent local appearance provided by Poselets. Furthermore, the system benefited from redundancy; even on frontal faces, combining signals from multiple redundant part-detectors improved accuracy.

Datasets and Results

The researchers evaluated PANDA on several key benchmarks:

  • Berkeley Attributes of People (BAP): A challenging dataset with high variation in pose. PANDA achieved 78.98% mAP, a massive jump over the previous state-of-the-art of 70.7%.
  • Attributes 25K: A new dataset introduced in this paper (sourced from Facebook) containing ~25,000 images to provide enough data for effective deep model training.
  • Labeled Faces in the Wild (LFW): On this dataset, PANDA reached 99.54% accuracy for gender recognition.

The model also demonstrated remarkable robustness, maintaining high performance (77.06% mAP) even on "back-facing" subjects where traditional facial-attribute algorithms typically fail.

Conclusion

PANDA represents a pivotal moment in computer vision, demonstrating that part-based geometric alignment can significantly boost the performance of CNNs on tasks with limited data and high spatial variance. While holistic "end-to-end" CNNs have since become more common as datasets grew to ImageNet scales, PANDA's approach to pose normalization remains a foundational concept in robust attribute modeling.

Summary updated

BibTeX
@inproceedings{zhang2014panda,
  author = {Ning Zhang and Manohar Paluri and Marc'Aurelio Ranzato and Trevor Darrell and Lubomir D. Bourdev},
  title = {{PANDA: Pose Aligned Networks for Deep Attribute Modeling}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  url = {https://openreview.net/forum?id=SkE7K6b_ZS},
}
Figure