Abstract
In this report, we propose a statistical model to deal with the discrete-distribution data varying over time. The proposed model — HMM+DM — extends the Dirichlet mixture model to the dynamic case: Hidden Markov Model with Dirichlet mixture output. Both the inference and parameter estimation procedures are proposed. Experiments on the generated data verify the proposed algorithms. Finally, we discuss the potential applications of the current model.
Introduction
In fields ranging from computer vision to social sciences, researchers often work with "discrete-distribution data." This refers to observations that represent proportions or shares (e.g., the percentage of a document dedicated to specific topics, or the budget shares of a household). Mathematically, this data lives on a simplex—a space where all components are non-negative and sum to exactly one.
The challenge arises when this data changes over time. Standard temporal models like Hidden Markov Models (HMMs) typically use Gaussian Mixture Models (GMMs) for their outputs. However, Gaussians are a poor fit for simplex data because they assume an infinite range, potentially assigning probability to impossible values (like negative proportions). While researchers often transform this data (using logs or other projections) to make it "look" Gaussian, these workarounds lose the inherent geometric properties of the original data. This paper introduces the Dynamical Dirichlet Mixture Model (HMM+DM), a novel statistical framework designed to model proportional data directly in its native space.
Methods
The authors propose the HMM+DM model, which combines the temporal sequencing of an HMM with the simplex-appropriate Dirichlet Mixture (DM) distribution.
Model Architecture
The model uses a Markov hidden state ($h_t$) to capture temporal transitions and a mixture indicator ($m_t$) to select specific Dirichlet components for the observed data ($O_t$). The Dirichlet distribution is the conjugate prior for the multinomial distribution, making it the most mathematically sound choice for proportional data. Using it as an HMM emission removes the need for awkward data transformations.
Inference and Parameter Estimation
The authors derive specialized forward-backward recursions (Alpha, Beta, and Gamma recursions) to calculate the probability of hidden states given the observed sequence. To manage complex derivations, the authors introduce a summation convention inspired by Einstein summation to keep the math tractable.
Parameter estimation is performed using the Expectation-Maximization (EM) algorithm. A notable contribution is the M-step for Dirichlet parameters. Since the log-likelihood of a Dirichlet distribution is convex, the authors employ the Newton-Raphson method to find unique global maximums for the parameters. The Newton-Raphson iterations converge extremely quickly, typically requiring only about three iterations per M-step.
Experimental Evaluation
Because this was a foundational theoretical paper, the authors primarily used synthetic (artificial) data to verify their algorithms.
Datasets
- Single Dirichlet & Dirichlet Mixtures: Small datasets (100 to 2,000 samples) to test basic parameter recovery.
- HMM+DM Sequences: A dataset of 19,637 samples across 6 sequences generated from a known model to test the full EM framework.
- Comparative Benchmark: 1,000 sequences with lengths between 1 and 20 were generated to compare HMM+DM against standard HMM+GMM approaches.
Key Results
The experiments yielded clear quantitative evidence for the model's efficacy. The EM algorithm successfully recovered the "ground truth" parameters from synthetic sequences, with the log-likelihood increasing monotonically as expected. In head-to-head comparisons on proportional data, HMM+DM significantly outperformed the standard HMM+GMM:
- Word Error Rate (WER): HMM+DM achieved 11.75%, while HMM+GMM lagged at 35.14%.
- Frame Error Rate (FER): HMM+DM reached 12.21%, compared to 33.30% for the Gaussian approach.
Discussion and Future Work
The paper demonstrates that modeling data in its original domain is far superior to the common practice of applying a Log-Karhunen Loeve Transform (KLT) and then fitting a Gaussian. However, several areas for further development remain:
- Initialization: The model is sensitive to starting conditions due to the "permutation-invariant" nature of clustering. Better heuristic or greedy initialization methods are needed.
- Model Selection: The paper assumes the number of hidden states ($K$) and mixture components ($M$) are known. Future work could incorporate entropy-based criteria to automatically determine these values.
- Sparsity: Real-world bag-of-words data is often very sparse. Integrating the model with Probabilistic Latent Semantic Analysis (pLSA) could help handle sparsity more effectively.
- Generalization: This work could be a stepping stone toward a generalized "HMM + Exponential Family Mixture" model.
Summary updated