Pose-Sensitive Embedding by Nonlinear NCA Regression

Graham W. Taylor, Rob Fergus, George Williams, Ian Spiro, Christoph BreglerNeurIPS 2010

This paper, from the NYU Courant Institute (including computer vision researchers Rob Fergus and Christoph Bregler), presents a method for learning a "pose-sensitive" embedding. The goal is to map images of people into a low-dimensional space where their distance from one another depends solely on their physical pose, effectively ignoring "nuisance" variables like clothing, lighting, and background clutter.

TL;DR

The authors introduce Convolutional NCA Regression (C-NCAR), a Siamese neural network that learns to map images into a feature space where Euclidean distance correlates with pose similarity. By training on a mix of crowd-sourced real-world labels and synthetic data, the model achieves robust pose-based image retrieval that significantly outperforms standard descriptors and linear methods.

What Problem Does This Paper Address?

Traditional pose estimation often struggles "in the wild" because of the massive variance in human appearance. Two people in the exact same pose might look entirely different to a computer because one is wearing a red sweater in a park and the other is wearing a suit in an office.

Most existing methods at the time relied on hand-crafted features (like HOG or GIST) or clean background subtraction. This paper seeks to learn a representation directly from raw pixels that is invariant to appearance but sensitive to the coordinates of the head and hands. They treat pose estimation as a retrieval problem: if you can map a query image to a "pose space," you can find its nearest neighbors in a labeled database to infer the pose.

Methods

The core of the paper is an evolution of Neighborhood Component Analysis (NCA).

  1. NCA to NCAR: While standard NCA is designed for classification (grouping similar labels), the authors extend it to Regression (NCAR). Here, the objective function minimizes the distance in "label space" (the actual x,y coordinates of hands/head) for images that are close in the "embedding space."
  2. Convolutional Architecture (C-NCAR): Original NCA doesn't scale to large images. The authors implement a Siamese Convolutional Network.
Siamese Convolutional Architecture for C-NCAR

Two identical streams of convolutional and max-pooling layers process pairs of images. This allows the model to learn local spatial features (like the shape of a hand) that are translation-invariant.

  1. Soft DrLIM: They also experiment with a "soft" version of Dimensionality Reduction by Learning an Invariant Mapping (DrLIM), which uses a contrastive loss to pull similar poses together and push dissimilar ones apart.

Datasets

  • Synthetic (SY): 10,000 training and 5,000 test frames generated using Poser software and motion capture data. This provided perfect ground truth for 6D vectors (x,y for head and both hands).
  • Real (RE): A custom dataset of 30 speakers recorded at a 2010 workshop.
  • Crowd-sourcing: They used Amazon Mechanical Turk to label the head and hands in nearly 80,000 frames.
  • Preprocessing: They used a face detector to center and scale the images, focusing the problem on the relative position of the hands.

Key Insights and Ideas

  • Learning vs. Designing: The model learns features directly from pixels. The authors found that this "domain-adaptive" approach significantly beat out global descriptors like GIST, which are too rigid to ignore complex backgrounds.
  • The Power of Synthetic Data: One of the most interesting findings is that training on "fake" rendered data actually helps real-world performance. By forcing the model to map a synthetic person and a real person in the same pose to the same spot in the embedding, the model learns to be "input-neutral."
  • Implicit Pose Modeling: Even though the model is only trained to locate the head and hands, the resulting embedding captures a more general sense of body pose (e.g., shoulder orientation), suggesting the network learns the underlying constraints of human anatomy.

Key Results

The authors evaluated their method using 1-Nearest Neighbor (1-NN) regression. They took a test image, found its closest match in the embedding space, and assigned the neighbor's pose labels to the test image.

Qualitative comparison of retrieval results across different methods
  • Accuracy: On the real-world dataset, C-NCAR achieved a mean pixel error of 16.41, compared to 25.12 for raw pixels and 25.13 for GIST descriptors. The qualitative results clearly show C-NCAR retrieving images with matching poses despite drastic changes in clothing and background.
  • Dimensionality: The embedding is incredibly efficient. They demonstrated that even when squashing the image data down to just 2 dimensions, the model could still cluster similar poses effectively.
  • Synthetic Transfer: Adding synthetic data improved performance on real data up to a point—specifically until the synthetic-to-real ratio reached about 2:1.

Limitations and Future Work

  • Temporal Ignorance: The model treats every frame of a video as an independent image. It doesn't use the "flow" of motion to resolve ambiguities.
  • Face Detection Dependency: The system relies on a commercial face detector to center the speaker. If the face isn't visible, the current pipeline fails.
  • Simple Regression: The authors used a simple 1-NN match for evaluation. They suggest that more sophisticated regression techniques (like locally weighted regression) could further reduce error.
  • Pre-training: The authors noted they did not use unsupervised pre-training (like RBMs), which was popular at the time, but suggested it might improve the convolutional filters.

Summary updated

BibTeX
@inproceedings{taylor2010pose,
  author = {Graham W. Taylor and Rob Fergus and George Williams and Ian Spiro and Christoph Bregler},
  title = {{Pose-Sensitive Embedding by Nonlinear NCA Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=Hk4AFw-OZH},
}
Figure