Belief Net: A Filter-Based Framework for Learning Hidden Markov Models from Observations

Reginald Zhiyan Chen, Heng-Sheng Chang, Prashant G. Mehta
11/13/2025
cs.LGeess.SYmath.PR

No confident code implementation found for this paper.

Abstract

Hidden Markov Models (HMMs) are fundamental for modeling sequential data, yet learning their parameters from observations remains challenging. Classical methods like the Baum-Welch (EM) algorithm are computationally intensive and prone to local optima, while modern spectral algorithms offer provable guarantees but may produce probability outputs outside valid ranges. This work introduces Belief Net, a novel framework that learns HMM parameters through gradient-based optimization by formulating the HMM's forward filter as a structured neural network. Unlike black-box Transformer models, Belief Net's learnable weights are explicitly the logits of the initial distribution, transition matrix, and emission matrix, ensuring full interpretability. The model processes observation sequences using a decoder-only architecture and is trained end-to-end with standard autoregressive next-observation prediction loss. On synthetic HMM data, Belief Net achieves superior convergence speed compared to Baum-Welch, successfully recovering parameters in both undercomplete and overcomplete settings where spectral methods fail. Comparisons with Transformer-based models are also presented on real-world language data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2025belief,
  title  = {Belief Net: A Filter-Based Framework for Learning Hidden Markov Models from Observations},
  author = {Reginald Zhiyan Chen and Heng-Sheng Chang and Prashant G. Mehta},
  year   = {2025},
  eprint = {2511.10571},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.10571v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.10571.svg)](https://codeofpaper.com/paper/2511.10571)

Discussion