JMLR

Determine the Number of States in Hidden Markov Models via Marginal Likelihood

Authors
Yang Chen Cheng-Der Fuh Chu-Lan Michael Kao
Paper Information
  • Journal:
    Journal of Machine Learning Research
  • Added to Tracker:
    Jul 15, 2025
Abstract

Hidden Markov models (HMM) have been widely used by scientists to model stochastic systems: the underlying process is a discrete Markov chain, and the observations are noisy realizations of the underlying process. Determining the number of hidden states for an HMM is a model selection problem which is yet to be satisfactorily solved, especially for the popular Gaussian HMM with heterogeneous covariance. In this paper, we propose a consistent method for determining the number of hidden states of HMM based on the marginal likelihood, which is obtained by integrating out both the parameters and hidden states. Moreover, we show that the model selection problem of HMM includes the order selection problem of finite mixture models as a special case. We give rigorous proof of the consistency of the proposed marginal likelihood method and provide an efficient computation method for practical implementation. We numerically compare the proposed method with the Bayesian information criterion (BIC), demonstrating the effectiveness of the proposed marginal likelihood method.

Author Details
Yang Chen
Author
Cheng-Der Fuh
Author
Chu-Lan Michael Kao
Author
Citation Information
APA Format
Yang Chen , Cheng-Der Fuh & Chu-Lan Michael Kao . Determine the Number of States in Hidden Markov Models via Marginal Likelihood. Journal of Machine Learning Research .
BibTeX Format
@article{JMLR:v26:23-0343,
  author  = {Yang Chen and Cheng-Der Fuh and Chu-Lan Michael Kao},
  title   = {Determine the Number of States in Hidden Markov Models via Marginal Likelihood},
  journal = {Journal of Machine Learning Research},
  year    = {2025},
  volume  = {26},
  number  = {58},
  pages   = {1--59},
  url     = {http://jmlr.org/papers/v26/23-0343.html}
}
Related Papers