Efficient Nonlinear Markov Models for Human Motion

Andreas M. Lehrmann, Peter V. Gehler, Sebastian NowozinCVPR 2014

Modeling human motion is a cornerstone of computer vision, yet it remains a formidable challenge due to the high-dimensional, nonlinear, and multimodal nature of skeletal data. Traditional approaches often rely on Dynamic Bayesian Networks (DBNs), such as Hidden Markov Models (HMMs), which posit a hidden latent state governing observed motion. While theoretically sound, these models suffer from significant computational bottlenecks during inference, often requiring expensive approximate methods like MCMC or particle filtering.

In this paper, originally presented at CVPR 2014, the authors propose a paradigm shift: Dynamic Forest Models (DFMs). By replacing complex latent variable models with an ensemble of autoregressive decision trees, DFMs achieve state-of-the-art performance in action recognition and motion completion while operating with significantly lower computational complexity.

The Problem: The Latent Variable Headache

Modeling human motion requires capturing how a sequence of frames evolves over time. In an HMM, the "state" of the motion is hidden, and one must infer this state to predict future frames or classify a sequence. This inference is computationally expensive, with complexity typically scaling quadratically with the number of states ($O(l^2T)$). The authors argue that if a model is sufficiently expressive, it can operate directly on observed data, bypassing the need for explicit hidden variables.

Methodology: Dynamic Forest Models

The DFM is built upon two core pillars: Autoregressive (AR) Trees and Dynamic Forests.

1. Autoregressive (AR) Trees

An AR tree is a decision tree where each leaf node represents a specific linear regression model rather than a simple class label. The tree uses a short window of past frames (the "parents") to navigate to a leaf.

The structure of an Autoregressive Tree, where leaf nodes $\ell_i$ contain linear regression parameters $A_i$ and covariance $\Sigma_i$.

Once a leaf is reached, the associated linear model predicts the next frame. This structure allows the model to switch between different "dynamics" seamlessly—for instance, using one set of linear rules for a "running" motion and another for "waving."

2. Dynamic Forests and Latent States

To prevent overfitting and capture multimodality, the authors employ an ensemble of these trees (a forest) trained via bagging. The final prediction is a mixture of Gaussians, allowing the model to represent multiple potential future positions simultaneously.

Crucially, the path through a tree acts as an "implicit latent state." Unlike HMMs, where the state is a hidden variable to be estimated, the DFM state is a deterministic function of the input features.

Comparison of graphical models: (a) HMM, (b) Marginalized HMM, and (c) the Latent state formulation of DFMs using decision trees and linear regression.

This shift reduces the complexity of calculating sequence likelihood from $O(l^2T)$ to $O(\log(l)T)$, making the model sublinear in the number of states and exceptionally fast.

Experimental Evaluation

The authors evaluated DFMs on two major datasets: the MSRC-12 dataset, featuring 12 types of gestures from Kinect skeletal data, and the CMU Motion Capture (MoCap) dataset, used for high-fidelity tasks like motion completion and 3D pose prediction.

Key Results

  • Action Recognition: On MSRC-12, DFMs achieved 90.9% accuracy, significantly outperforming HMMs (84.4%) and SVMs (83.1%).
  • Efficiency: DFMs were nearly twice as fast as HMMs and orders of magnitude faster than Gaussian Process Dynamical Models (GPDMs), classifying sequences in roughly 0.23 seconds.
  • Motion Completion: In tasks involving filling missing frames (e.g., a walking sequence), DFMs reduced the Root Mean Square Error (RMSE) to 28.49, compared to 49.31 for GPDMs.

Conclusion

The Dynamic Forest Model offers a compelling alternative to traditional latent variable models for human motion. By leveraging the efficiency of decision trees and the flexibility of autoregressive modeling, it provides a fast, non-parametric framework that excels in both accuracy and real-time performance. While it relies on short-term dependencies, its ability to "discover" nonlinearities through tree splitting makes it a powerful tool for modern motion analysis.

Summary updated

BibTeX
@inproceedings{lehrmann2014efficient,
  author = {Andreas M. Lehrmann and Peter V. Gehler and Sebastian Nowozin},
  title = {{Efficient Nonlinear Markov Models for Human Motion}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.171},
}
Figure