mlsanityData to 14 Oct 2026

Differentiable Filtering for Learning Hidden Markov Models

arXiv 2511.10571 ↗First posted 13 Nov 2025cs.LG cs.SY eess.SYcited by 2

Not on the map. Why?

Abstract (arXiv)

Hidden Markov Models (HMMs) are fundamental for modeling sequential data, yet learning their parameters from observations remains challenging. Classical methods like the Baum-Welch 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 differentiable filtering framework that learns HMM parameters by formulating the forward filter as a structured neural network and optimizing it with stochastic gradient descent. This architecture recursively updates the belief state, which represents the posterior probability distribution over hidden states based on the observation history. 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 (causal) architecture and is trained end-to-end with standard autoregressive next-observation prediction loss. On synthetic HMM data, Belief Net achieves faster convergence than Baum-Welch while successfully recovering parameters in both undercomplete and overcomplete settings, whereas spectral methods prove ineffective in the latter. Comparisons with transformer-based models are also presented on real-world language data.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 45 references that are in the map. First posted on arXiv 13 Nov 2025.

Builds on

15 of 45 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  5. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
  6. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
  7. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  8. 2021KalmanNet: Neural Network Aided Kalman Filtering for Partially Known Dynamicscited by 132
  9. 2020How to Train Your Differentiable Filtercited by 23
  10. 2024On Limitation of Transformer for Learning HMMscited by 10
  11. 2017Learning Overcomplete HMMscited by 9
  12. 2020Hidden Markov Neural Networkscited by 3
3 more
  1. 2024Regime Learning for Differentiable Particle Filterscited by 2
  2. 2025DKFNet: Differentiable Kalman Filter for Field Inversion and Machine Learningcited by 2
  3. 2025From Small to Large Language Models: Revisiting the Federalist Paperscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.