Effective Split-Merge Monte Carlo Methods for Nonparametric Models of Sequential Data

Michael C. Hughes, Emily B. Fox, Erik B. Sudderth

The Challenge of Scaling Behavior Discovery

The Beta Process Hidden Markov Model (BP-HMM) is a sophisticated Bayesian nonparametric model used to discover shared "behaviors"—such as walking, jumping, or stirring—across multiple time series like videos or motion capture data. Because it is nonparametric, it learns the number of behaviors directly from the data rather than requiring upfront specification.

However, training these models is notoriously difficult. Standard Markov chain Monte Carlo (MCMC) inference algorithms are "local," meaning they only change one small variable at a time. In complex models, this leads to slow mixing: the sampler gets stuck in local optima where two distinct behaviors are merged into one, or a single behavior is redundantly split. Previously, researchers had to rely on clever initialization and tens of thousands of iterations just to analyze a handful of motion capture sequences. This paper introduces two powerful new MCMC moves that eliminate this computational bottleneck, enabling the discovery of shared behaviors across hundreds of time series.

Proposed Methods

To make the BP-HMM practical for large-scale datasets, the authors introduce two primary innovations to the MCMC toolkit:

  1. Split-Merge Proposals via Sequential Allocation: Instead of changing one bit at a time, these moves propose global structural changes: splitting one feature into two or merging two existing features. To ensure these large moves are likely to be accepted, they use sequential allocation. The algorithm picks two "anchor" sequences and greedily assigns other sequences to the new split features based on how well they fit, ensuring the proposed split is supported by the data.
  2. Data-Driven Reversible Jump Moves: When the model needs to "birth" a new, unique behavior for a sequence, standard methods propose parameters from a vague prior. In high-dimensional spaces, these random guesses are almost always rejected. The authors propose looking at a small sub-window of the actual data to suggest parameters for the new behavior. This data-driven approach significantly increases the acceptance rate for new features.
BP-HMM graphical model and split-merge illustration

Crucially, these methods are designed to work with any conjugate likelihood (e.g., Gaussian, Multinomial, or Autoregressive), making them versatile for different types of sensor data.

Experimental Setup and Datasets

The authors evaluated their methods on several datasets to test scalability and accuracy:

  • Synthetic Data: Toy datasets with known ground truth behaviors using Gaussian, Autoregressive (AR), and Multinomial emissions.
  • CMU Motion Capture (Mocap): A small set of 6 sequences (physical exercises) for direct comparison with prior work, and a large set of 124 sequences ("Physical Activities & Sports") to demonstrate scalability.
  • CMU Kitchen: 126 video sequences of actors preparing recipes (pizza, brownies, etc.), represented as quantized interest point descriptors.

Key Insights and Results

The introduction of these new global and data-driven moves yields striking improvements in both scalability and accuracy.

  • Initialization Independence: With these new moves, clever initialization is no longer necessary. The sampler can start with a single global behavior and rapidly discover the true underlying library of actions.
  • Scalability and Accuracy: The new methods successfully analyzed 124 mocap sequences and 126 kitchen videos, whereas previous state-of-the-art methods were limited to roughly 6 sequences. On the 6-sequence mocap benchmark, the new sampler achieved a Hamming distance of 0.22 (lower is better), significantly outperforming the 0.30 reported in previous work.
  • Convergence Speed: In synthetic tests, the split-merge (SM) and data-driven (DD) moves recovered all true states within minutes. In contrast, the standard "Prior" approach remained stuck in sub-optimal configurations even after an hour.
Convergence comparison on Gaussian data
  • Qualitative Discovery: In the CMU Kitchen dataset, the model automatically identified shared sub-actions like "Stir Bowl" and "Slice/Chop" across different recipes without being explicitly programmed to look for them.

Limitations and Future Directions

While highly effective, the current split-merge formulation relies on conjugate likelihoods to keep the marginal likelihood calculations tractable. Extending this to non-conjugate models (like those using deep neural network emissions) would require more complex "instantiated" proposals.

Additionally, while these moves lead to faster overall convergence, each split-merge proposal is computationally more expensive than a simple local flip. However, the authors demonstrate that the trade-off is overwhelmingly worth it for the massive gain in mixing speed. Ultimately, the authors suggest these guiding principles—data-driven and sequentially-allocated proposals—could be successfully applied to other nonparametric models beyond the BP-HMM, such as hierarchical Dirichlet processes.

Summary updated

BibTeX
@inproceedings{hughes2012effective,
  author = {Michael C. Hughes and Emily B. Fox and Erik B. Sudderth},
  title = {{Effective Split-Merge Monte Carlo Methods for Nonparametric Models of Sequential Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2012},
}
Figure