Pose Embeddings: A Deep Architecture for Learning to Match Human Poses

Greg Mori, Caroline Pantofaru, Nisarg Kothari, Thomas Leung, George Toderici, Alexander Toshev, Weilong YangarXiv 2015

Abstract

We present a method for learning an embedding that places images of humans in similar poses nearby. This embedding can be used as a direct method of comparing images based on human pose, avoiding potential challenges of estimating body joint positions. Pose embedding learning is formulated under a triplet-based distance criterion. A deep architecture is used to allow learning of a representation capable of making distinctions between different poses. Experiments on human pose matching and retrieval from video data demonstrate the potential of the method.

Introduction

Traditional human pose analysis has long relied on explicit pose estimation—the process of identifying the exact (x, y) coordinates of body joints such as elbows, knees, and shoulders. While this approach provides a granular understanding of body mechanics, it is fraught with practical challenges. Occlusions, unusual body types, and the difficulty of defining a universal set of joints often lead to errors that propagate through downstream tasks.

Furthermore, for applications like large-scale video retrieval, performing full pose estimation on every frame is computationally prohibitive. This paper addresses these issues by proposing a direct method to compare poses based on visual similarity. By mapping images into a "pose embedding" space, the authors enable fast and effective pose-based retrieval without the intermediate, error-prone step of joint localization.

Methodology

The core of the proposed approach is a triplet-based learning framework. Rather than treating pose as a classification problem, the network is trained to rank images based on geometric similarity.

The Triplet Loss and Architecture

The model is trained on sets of three images: an "anchor" ($p_i$), a "positive" example with a similar pose ($p_i^+$), and a "negative" example with a different pose ($p_i^-$). The training objective is to minimize the distance between the anchor and the positive in the embedding space while maximizing the distance to the negative. The architecture utilizes a deep "Inception"-style convolutional neural network, where the final layer produces a compact, L2-normalized 128-dimensional vector.

Training Efficiency

To ensure efficient training, the authors implemented a "hard negative mining" scheme. This involves identifying images within each training batch that the current model mistakenly perceives as similar, forcing the network to learn finer distinctions. Once trained, searching through a database becomes a simple matter of calculating Euclidean distances between these small vectors, a process that can be significantly accelerated using standard data structures like KD-trees.

Experimental Setup and Datasets

The study primarily utilizes the MPII Human Pose Dataset, which contains over 19,000 diverse human pose images with full joint annotations. For training, 10,000 images were used to generate approximately 20 million triplets. While the model does not require joint labels at test time, these labels were used during training to define ground-truth similarity based on the average Euclidean distance between joints after torso alignment.

Key Insights and Ideas

Pose vs. Content

A critical insight from this research is the distinction between pose embeddings and generic deep features (such as those trained on ImageNet). While generic features tend to group images by semantic content (e.g., grouping all "cyclists" together), the pose embedding groups images by geometry. It learns to be sensitive to limb orientation regardless of whether the subject is dancing, directing traffic, or reaching for a shelf.

The embedding space identifies pose similarity regardless of the semantic context or background.

Bypassing Localization

The results suggest that a deep network can capture the "essence" of a pose directly from pixel data. By bypassing explicit joint localization, the system remains robust to occlusions and variations in body type that might confuse traditional estimators. Interestingly, the authors found that their embedding captures information complementary to traditional methods; fusing the embedding with a state-of-the-art pose estimator (Deep Pose) resulted in superior performance compared to using either method in isolation.

Key Results

The pose embedding significantly outperformed generic ImageNet features and random baselines across multiple metrics, including average distance to nearest match and Hit at K. While explicit pose estimation was slightly more accurate in specific retrieval tasks, the embedding method proved highly competitive and significantly more flexible for unsupervised or weakly supervised settings.

Example of pose-based retrieval where a basketball query finds a geometrically similar pose in a different setting.

Qualitative evaluations demonstrate the model's success in retrieving similar poses across vastly different backgrounds and clothing, showcasing strong generalization capabilities.

Limitations and Future Work

The most notable limitation is the "front-back flip." Because the model relies heavily on silhouettes and limb orientations, it occasionally confuses a person facing the camera with someone facing away in a similar stance. Future work may address this by incorporating face detection features to clarify orientation or by using human-in-the-loop ratings to define similarity, capturing nuanced semantic details that joint coordinates might miss. Additionally, the authors see potential in applying this framework to group activity analysis and video-based pose retrieval.

Summary updated

BibTeX
@misc{mori2015pose,
  author = {Greg Mori and Caroline Pantofaru and Nisarg Kothari and Thomas Leung and George Toderici and Alexander Toshev and Weilong Yang},
  title = {{Pose Embeddings: A Deep Architecture for Learning to Match Human Poses}},
  year = {2015},
  eprint = {1507.00302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1507.00302},
}
Figure