Computational issues in parameter estimation for hidden Markov models with Template Model Builder
Timoth\'ee Bacri, Geir D. Berentsen, Jan Bulla, B{\aa}rd St{\o}ve

TL;DR
This paper enhances parameter estimation for hidden Markov models by integrating Template Model Builder in R, enabling efficient uncertainty quantification and optimizer performance improvements, demonstrated through multiple examples and simulations.
Contribution
It introduces a practical method for confidence interval estimation of smoothing probabilities using TMB, and evaluates optimizer performance, highlighting efficiency gains and potential hybrid approaches.
Findings
TMB enables fast gradient and Hessian computations for HMMs.
Confidence intervals for smoothing probabilities can be obtained without bootstrap.
Using TMB accelerates optimizer convergence and improves accuracy.
Abstract
A popular way to estimate the parameters of a hidden Markov model (HMM) is direct numerical maximization (DNM) of the (log-)likelihood function. The advantages of employing the TMB (Kristensen et al., 2016) framework in R for this purpose were illustrated recently Bacri et al. (2022). In this paper, we present extensions of these results in two directions. First, we present a practical way to obtain uncertainty estimates in form of confidence intervals (CIs) for the so-called smoothing probabilities at moderate computational and programming effort via TMB. Our approach thus permits to avoid computer-intensive bootstrap methods. By means of several examples, we illustrate patterns present for the derived CIs. Secondly, we investigate the performance of popular optimizers available in R when estimating HMMs via DNM. Hereby, our focus lies on the potential benefits of employing TMB.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Data Classification · Machine Learning and Algorithms · Speech Recognition and Synthesis
