AI RESEARCH

libhmm: A Modern C++20 Library for Hidden Markov Models with Correct MLE Emission M-Steps

arXiv CS.LG

ArXi:2605.29208v1 Announce Type: cross We describe libhmm, a C++20 library for Hidden Marko Model parameter estimation, sequence decoding, and model selection. libhmm addresses two gaps in existing software: the absence of a well-maintained, zero-dependency C++ HMM library suitable for embedding in production systems, and the widespread use of method-of-moments (MOM) approximations in the emission distribution M-step of the Baum-Welch algorithm.