Explicit-Duration Markov Switching Models

Silvia ChiappaarXiv 2019

Introduction

Standard Markov Switching Models (MSMs) are mathematically elegant but suffer from a significant limitation: they assume that the time spent in any given state follows a geometric distribution. This implies that the most likely duration for any event is a single time step, with the probability decaying exponentially thereafter. In reality, physical processes like human speech, biological rhythms, or robotic movements have natural durations with distinct beginnings, middles, and ends.

The Problem of Geometric Durations

In a standard Hidden Markov Model (HMM), the probability of remaining in a state is constant. While mathematically convenient, this "memoryless" property is physically unrealistic for most real-world applications. To address this, various "Hidden Semi-Markov Models" and "Segment Models" have been proposed. However, the literature remains fragmented. This work provides a comprehensive, pedagogical framework to unify these approaches by explicitly modeling the time spent within a regime.

The Explicit-Duration Framework

The paper utilizes the formalism of Graphical Models (Belief Networks) to describe three fundamental ways to encode duration:

  1. Decreasing Count Variables: Tracking the distance to the end of the current segment.
  2. Increasing Count Variables: Tracking the distance from the beginning of the current segment.
  3. Count-Duration Variables: Tracking both the total duration and the current position.

The choice of encoding dictates computational complexity and the types of statistical dependencies the model can handle. A key feature of these models is the "Reset" property, which allows system dynamics to restart from initial conditions upon entering a new regime—a critical requirement for modeling physical systems.

Inference in Complex Models

For models like the Switching Linear Gaussian State-Space Model (SLGSSM), where each regime has internal linear dynamics, exact inference is computationally "explosive" and intractable. The author discusses approximation schemes such as Gaussian collapsing and pruning to maintain tractability while deriving efficient Expectation-Maximization (EM) updates.

Experimental Evaluation

The framework was evaluated across three distinct datasets to demonstrate its versatility and accuracy:

  • Artificial Data: In a switching autoregressive process, the explicit-duration model achieved a significantly lower error rate (18-25%) compared to standard models (30-43%).
  • Motion Capture Data: Using the CMU Graphics Lab database, the model successfully segmented complex human actions like jumping and hopping. As shown in Figure 1(a), the model correctly inferred movement types and detected exact start times.
  • Robot Trajectory: The SLGSSM framework provided accurate denoising and localization for a simulated two-wheeled robot moving in 2D space, as illustrated in Figure 1(b).
Segmentation of human motion (a) and robot trajectory localization (b).

Conclusion

This work clarifies that "Hidden Semi-Markov Models," "Segment Models," and "Changepoint Models" are often different names for the same underlying logic. While explicit-duration models offer superior performance, they come with increased computational overhead that scales with the maximum segment duration ($d_{max}$). Future work may involve more advanced approximation schemes like beam sampling to further mitigate this burden.

Summary updated

BibTeX
@misc{chiappa2019explicit,
  author = {Silvia Chiappa},
  title = {{Explicit-Duration Markov Switching Models}},
  year = {2019},
  eprint = {1909.05800},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.05800},
}
Figure