Exploiting locality in high-dimensional Factorial hidden Markov models (Journal of Machine Learning Research, 2026)