Max Margin AND/OR Graph learning for parsing the human body

Long Zhu, Yuanhao Chen, Yifei Lu, Chenxi Lin, Alan L. YuilleCVPR 2008

Abstract

We present a novel structure learning method, Max Margin AND/OR graph (MM-AOG), for parsing the human body into parts and recovering their poses. Our method represents the human body and its parts by an AND/OR graph, which is a multi-level mixture of Markov random fields (MRFs). Max-margin learning, which is a generalization of the training algorithm for support vector machines (SVMs), is used to learn the parameters of the AND/OR graph model discriminatively. There are four advantages from this combination of AND/OR graphs and max-margin learning. Firstly, the AND/OR graph allows us to handle enormous articulated poses with a compact graphical model. Secondly, max-margin learning has more discriminative power than the traditional maximum likelihood approach. Thirdly, the parameters of the AND/OR graph model are optimized globally. In particular, the weights of the appearance model for individual nodes and the relative importance of spatial relationships between nodes are learnt simultaneously. Finally, the kernel trick can be used to handle high dimensional features and to enable complex similarity measure of shapes. We perform comparison experiments on the base ball datasets, showing significant improvements over state of the art methods.

Introduction

Parsing the human body—identifying the location and pose of limbs and the torso—is a fundamental challenge in computer vision. Two major hurdles make this difficult: appearance variation due to clothing and lighting, and structural complexity arising from the human body's highly articulated nature. Prior models like "Pictorial Structures" often lacked the variety needed for complex poses, while more complex grammars were difficult to train, frequently relying on computationally expensive Maximum Likelihood Estimation (MLE) or manual parameter tuning.

Methods: The MM-AOG Framework

The authors propose Max Margin AND/OR Graph (MM-AOG) learning, which represents the body hierarchically to combine structural flexibility with discriminative power.

AND/OR Graph Representation

The model decomposes the body into a hierarchy:

  • AND Nodes: Represent the decomposition of a part into sub-parts (e.g., a "Body" consists of a "Torso," "Left Leg," and "Right Leg").
  • OR Nodes: Represent different "aspects" or variations of a part (e.g., a leg can be bent or straight).
  • LEAF Nodes: Link directly to image features like gradients and Gabor filters.
The AND/OR graph structure maps hierarchical part decompositions to image features for pose estimation.

This structure allows a compact model to represent an exponential number of poses (98 distinct configurations in this specific implementation).

Max-Margin Learning

To avoid the computational burden of the partition function in MLE, the authors adapt Max-Margin Structure Learning. This extends the Support Vector Machine (SVM) principle to complex structures, finding weights such that the ground-truth pose's "energy" is significantly lower than any incorrect pose. This approach allows for global optimization of both appearance weights and spatial relationships simultaneously. Key technical highlights include the use of the kernel trick (Linear for appearance, RBF for shape) and a "working set" algorithm to handle the exponential number of possible incorrect poses during training.

Experimental Results

The method was evaluated on a dataset of 48 human baseball images from Mori’s dataset, known for high-variance athletic poses. Training was conducted on a new dataset of 156 manually labeled images.

Comparison of average position error between MM-AOG and the state-of-the-art method by Shi et al.

The MM-AOG method significantly outperformed the state-of-the-art by Srinivasan and Shi. As shown in the performance metrics, the best parse from the MM-AOG model achieved a lower average position error than even the best results selected from the top 10 parses of competing models. Furthermore, the model demonstrated superior pixel-level segmentation through higher overlap scores (Intersection over Union).

Conclusion and Future Work

By combining the structural flexibility of grammar-based models with the discriminative power of max-margin learning, MM-AOG provides a robust framework for articulated pose estimation. The model's ability to learn parameters globally rather than tuning them manually represents a significant step forward.

While inference currently takes approximately 3 minutes per image, future work aims to implement coarse-to-fine search strategies to improve speed. Additionally, the current model excludes arms to simplify the graph; extending the model to include hands and more granular details is a necessary next step.

Summary updated

BibTeX
@inproceedings{zhu2008max,
  author = {Long Zhu and Yuanhao Chen and Yifei Lu and Chenxi Lin and Alan L. Yuille},
  title = {{Max Margin AND/OR Graph learning for parsing the human body}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2008},
  url = {https://openreview.net/forum?id=HyW1fT-ObS},
}
Figure