Introduction
Clustering sequential data—such as medical patient histories, financial time series, or genomic sequences—is a fundamental task in machine learning. Mixtures of Hidden Markov Models (MHMMs) are a popular, probabilistically sound tool for this purpose. However, these models often function as "black boxes." While an MHMM can group sequences effectively, it is frequently difficult for researchers to interpret the model parameters to understand why a specific cluster was formed. This paper addresses the lack of a quantifiable metric for interpretability in MHMMs and proposes a novel training algorithm to optimize for transparency without sacrificing accuracy.
Quantifying Interpretability via Entropy
The authors propose using the entropy of the stationary Markov chain as a proxy for interpretability. In an MHMM, each cluster is defined by a matrix of state transition probabilities.
- High Entropy: Transitions are uniform and "fuzzy" (e.g., a 33% chance to transition to any of three states), revealing no distinct pattern.
- Low Entropy: Transitions are near-deterministic (e.g., a 99% chance to transition from State A to State B), making the underlying logic highly interpretable to human observers.
By framing interpretability as the reduction of "surprise" in state transitions, the authors bridge the gap between human-centric explainability and rigorous information theory.
The iMHMM Algorithm
To optimize for lower entropy, the authors introduce the Informational MHMM (iMHMM). This approach modifies the standard Expectation Maximization (EM) algorithm by incorporating a Maximum A Posteriori (MAP) framework. During the M-step, a dynamically calculated Dirichlet prior is applied to the transition matrices. This prior acts as a regularizer, pushing probabilities toward 0 or 1 by assigning higher weights to the most frequent transitions. To maintain stability, the algorithm only adopts the regularized update if it strictly reduces entropy compared to the standard EM update.
Experimental Evaluation
The approach was evaluated on two distinct types of sequential data:
- Biological Data: Single-cell DNA sequencing of cancer cells, focusing on chromosome copy numbers (Chromosome 4 and Chromosomes 18–21) to distinguish primary colon tumor cells from metastatic cells.
- Hand Movement Data: The "Libras movement" dataset, containing sequences of 15 different hand movement classes.
Key Results
The iMHMM demonstrated significant improvements in both clustering accuracy and interpretability. On the "Chromosome 4" dataset, the standard MHMM failed with a V-measure of only 4%, while iMHMM achieved 59%. For the "Chromosomes 18–21" dataset, iMHMM reached a perfect 100% V-measure.
Crucially, these accuracy gains were accompanied by a sharp reduction in entropy. In the "Chromosomes 18–21" task, iMHMM reduced entropy to just 8%, compared to 47% in the standard MHMM, resulting in far more decisive and interpretable transition patterns.
Furthermore, the regularization used in iMHMM often led to faster convergence. By pushing the model toward more certain probabilities, the algorithm typically required fewer EM iterations than the standard baseline, thereby reducing computational overhead.
Conclusion and Future Work
The iMHMM framework demonstrates that regularization can be used not just to penalize complexity, but to actively guide models toward more interpretable states. While forcing low entropy may be counterproductive for data that is inherently stochastic, it proves highly effective for structured sequential tasks. Future research will explore additional interpretability metrics, such as optimizing the number of hidden states, and investigate more complex optimization techniques like disciplined convex-concave programming (DCCP).
Summary updated