Proceedings

Hidden 1-Counter Markov Models and How to Learn Them

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 4857-4863.

https://doi.org/10.24963/ijcai.2022/673

Abstract

We introduce hidden 1-counter Markov models (H1MMs) as an attractive sweet spot between standard hidden Markov models (HMMs) and probabilistic context-free grammars (PCFGs). Both HMMs and PCFGs have a variety of applications, e.g., speech recognition, anomaly detection, and bioinformatics. PCFGs are more expressive than HMMs, e.g., they are more suited for studying protein folding or natural language processing. However, they suffer from slow parameter fitting, which is cubic in the observation sequence length. The same process for HMMs is just linear using the well-known forward-backward algorithm. We argue that by adding to each state of an HMM an integer counter, e.g., representing the number of clients waiting in a queue, brings its expressivity closer to PCFGs. At the same time, we show that parameter fitting for such a model is computationally inexpensive: it is bi-linear in the length of the observation sequence and the maximal counter value, which grows slower than the observation length. The resulting model of H1MMs allows us to combine the best of both worlds: more expressivity with faster parameter fitting.

  1. [Bahi-Jaber and Pontier, 2003] Narges Bahi-Jaber and Do- minique Pontier. Modeling transmission of directly trans- mitted infectious diseases using colored stochastic petri nets. Mathematical biosciences, 185(1):1-13, 2003.
  2. [Baker, 1979] James K Baker. Trainable grammars for speech recognition. The Journal of the Acoustical Soci- ety of America, 65(S1):S132-S132, 1979.
  3. [Baum and Petrie, 1966] Leonard E Baum and Ted Petrie. Statistical inference for probabilistic functions of finite state markov chains. The annals of mathematical statis- tics, 37(6):1554-1563, 1966.
  4. [Baum et al., 1970] Leonard E Baum, Ted Petrie, George Soules, and Norman Weiss. A maximization technique oc- curring in the statistical analysis of probabilistic functions of markov chains. The annals of mathematical statistics, 41(1):164-171, 1970.
  5. [Ben-Amram and Genaim, 2013] Amir M Ben-Amram and Samir Genaim. On the linear ranking problem for integer linear-constraint loops. In Proceedings of the 40th Annual ACM Symposium on Principles of programming languages (POPL), pages 51-62, 2013.
  6. [Bilmes, 2000] Jeff Bilmes. A gentle tutorial of the em algo- rithm and its application to parameter estimation for gaus- sian mixture and hidden markov models. Technical Report ICSI-TR-97-021, University of Berkeley, 4, 06 2000.
  7. [Braverman, 2006] Mark Braverman. Termination of integer linear programs. In International conference on computer aided verification, pages 372-385. Springer, 2006.
  8. [Chappelier et al., 1998] J.-C. Chappelier, M. Rajman, and Ch-Lausanne. A generalized cyk algorithm for parsing stochastic cfg, 1998.
  9. [Chitic and Rosu, 2004] Cristiana Chitic and Daniela Rosu. On validation of xml streams using finite state ma- chines. In Proceedings of the 7th International Workshop on the Web and Databases: colocated with ACM SIG- MOD/PODS 2004, pages 85-90, 2004.
  10. [Eisner, 2016] Jason Eisner. Inside-outside and forward- backward algorithms are just backprop (tutorial paper). In Proceedings of the Workshop on Structured Prediction for NLP, pages 1-17, Austin, TX, November 2016. Associa- tion for Computational Linguistics.
  11. [Etessami and Yannakakis, 2009] Kousha Etessami and Mi- halis Yannakakis. Recursive markov chains, stochastic grammars, and monotone systems of nonlinear equations. Journal of the ACM (JACM), 56(1):1-66, 2009.
  12. [Etessami et al., 2010] Kousha Etessami, Dominik Wo- jtczak, and Mihalis Yannakakis. Quasi-birth-death pro- cesses, tree-like qbds, probabilistic 1-counter automata, and pushdown systems. Perform. Eval., 67(9):837-857, September 2010.
  13. [Fine et al., 1998] Shai Fine, Yoram Singer, and Naftali Tishby. The hierarchical hidden markov model: Analysis and applications. Machine learning, 32(1):41-62, 1998.
  14. [Fischer et al., 1968] Patrick C Fischer, Albert R Meyer, and Arnold L Rosenberg. Counter machines and counter languages. Mathematical systems theory, 2(3):265-283, 1968.
  15. [Galassi et al., 2007] Ugo Galassi, Attilio Giordana, and Lorenza Saitta. Incremental construction of structured hid- den markov models. In IJCAI, pages 798-803, 2007. IJCAI
  16. [Lee and Ng, 2005] Honglak Lee and Andrew Y Ng. Spam deobfuscation using a hidden markov model. In CEAS, 2005.
  17. [Lee et al., 2007] Seunghak Lee, Iryoung Jeong, and Se- ungjin Choi. Dynamically weighted hidden markov model for spam deobfuscation. In IJCAI, volume 7, pages 2523- 2529, 2007. IJCAI
  18. [Mayr et al., 2006] Richard Mayr, Antonín Kucera, and Javier Esparza. Model checking probabilistic pushdown automata. Logical Methods in Computer Science, 2, 2006.
  19. [Rabiner, 1990] Lawrence R. Rabiner. A tutorial on hidden markov models and selected applications in speech recog- nition. In Alex Waibel and Kai-Fu Lee, editors, Readings in Speech Recognition, pages 267-296.
  20. [Sakharov and Sakharov, 2018] Alexander Sakharov and Timothy Sakharov. The viterbi algorithm for subsets of stochastic context-free languages. Information Processing Letters, 135:68 -72, 2018.
  21. [Skounakis et al., 2003] Marios Skounakis, Mark Craven, and Soumya Ray. Hierarchical hidden markov models for information extraction. In IJCAI, pages 427-433, 2003. IJCAI
  22. [Wojtczak, 2009] Dominik Wojtczak. Recursive Probabilis- tic Models: efficient analysis and implementation. PhD thesis, University of Edinburgh, UK, 2009.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards