Skip to main content
QUICK REVIEW

[Paper Review] Selecting the Number of States in Hidden Markov Models - Pitfalls, Practical Challenges and Pragmatic Solutions

Jennifer Pohle, Roland Langrock|arXiv (Cornell University)|Jan 30, 2017
Bayesian Methods and Mixture ModelsComputer Science41 references12 citations
TL;DR

This paper addresses the critical challenge of selecting the number of states in Hidden Markov Models (HMMs), particularly in ecological and behavioral data analysis, where interpretability of states is essential. It demonstrates that standard information criteria (AIC, BIC) often overestimate the number of states due to sensitivity to data complexities like outliers and seasonality, and proposes a pragmatic, step-by-step approach integrating model selection criteria, expert knowledge, and diagnostic checks to achieve biologically meaningful state counts—validated in a muskox movement case study.

ABSTRACT

We discuss the notorious problem of order selection in hidden Markov models, i.e. of selecting an adequate number of states, highlighting typical pitfalls and practical challenges arising when analyzing real data. Extensive simulations are used to demonstrate the reasons that render order selection particularly challenging in practice despite the conceptual simplicity of the task. In particular, we demonstrate why well-established formal procedures for model selection, such as those based on standard information criteria, tend to favor models with numbers of states that are undesirably large in situations where states shall be meaningful entities. We also offer a pragmatic step-by-step approach together with comprehensive advice for how practitioners can implement order selection. Our proposed strategy is illustrated with a real-data case study on muskox movement.

Motivation & Objective

  • To identify why standard model selection criteria like AIC and BIC frequently select too many states in HMMs applied to real-world ecological data.
  • To highlight the practical pitfalls of relying solely on formal information criteria when the goal is to infer meaningful behavioral states in animal movement or ecological time series.
  • To develop and advocate for a pragmatic, multi-step approach to order selection that integrates statistical criteria with domain expertise and model diagnostics.
  • To demonstrate through simulations and a real-world case study that models with fewer, interpretable states often outperform those with higher numbers, even if fit is slightly worse.

Proposed method

  • Conducting extensive simulation studies to evaluate the performance of AIC, BIC, and ICL under various data conditions, including overlapping distributions and neglected data structures.
  • Proposing a step-by-step pragmatic framework for order selection that includes initial model fitting, evaluation of model fit and interpretability, and iterative refinement using expert knowledge.
  • Using the Viterbi algorithm to decode state sequences and inform model checking, while assessing the stability and biological plausibility of identified states.
  • Applying information criteria (AIC, BIC, ICL) not as sole decision tools, but as part of a broader diagnostic process to assess model adequacy.
  • Incorporating visual and quantitative diagnostics (e.g., density plots of state-dependent distributions) to assess whether additional states capture noise or real structure.
  • Validating the proposed approach in a real muskox movement data case study, comparing models with 2–5 states for fit, interpretability, and biological relevance.

Experimental results

Research questions

  • RQ1Why do standard information criteria like AIC and BIC tend to select an excessive number of states in HMMs applied to ecological data?
  • RQ2To what extent do data features such as seasonality, outliers, and heterogeneity bias model selection toward overfitting?
  • RQ3How can practitioners balance statistical fit with biological interpretability when selecting the number of states in HMMs?
  • RQ4What role does expert knowledge play in refining model selection when formal criteria fail to yield interpretable results?
  • RQ5Can a hybrid, pragmatic approach combining formal criteria and diagnostic checks lead to more reliable and meaningful state counts than purely statistical methods?

Key findings

  • Standard information criteria such as AIC and BIC frequently overestimate the number of hidden states in HMMs due to their sensitivity to data features like seasonality and outliers, even when the true number of states is low.
  • In simulations with three true states, AIC selected four states in 41% to 46% of runs, while BIC correctly selected three states in 98% to 100% of runs, indicating BIC's superior performance under these conditions.
  • The ICL criterion performed poorly in scenarios with overlapping state-dependent distributions, often selecting too few states (e.g., 64% of runs selected two states in Scenario 9), confirming known limitations.
  • The proposed pragmatic approach successfully identified a five-state model as optimal for muskox movement data, balancing fit and interpretability, despite AIC/BIC favoring higher numbers.
  • In the muskox case study, models with five or more states provided better fit but lacked biological interpretability, as states did not clearly correspond to distinct behavioral modes like foraging or resting.
  • The study concludes that no single formal criterion reliably yields interpretable state counts in practice, necessitating a hybrid approach that integrates statistical tools with domain expertise and model diagnostics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.