Proceedings

Compressed Nonparametric Language Modelling

Download BibTeX Cite

Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence. Main track. Pages 2701-2707.

https://doi.org/10.24963/ijcai.2017/376

Abstract

Hierarchical Pitman-Yor Process priors are compelling for learning language models, outperforming point-estimate based methods. However, these models remain unpopular due to computational and statistical inference issues, such as memory and time usage, as well as poor mixing of sampler. In this work we propose a novel framework which represents the HPYP model compactly using compressed suffix trees. Then, we develop an efficient approximate inference scheme in this framework that has a much lower memory footprint compared to full HPYP and is fast in the inference time. The experimental results illustrate that our model can be built on significantly larger datasets compared to previous HPYP models, while being several orders of magnitudes smaller, fast for training and inference, and outperforming the perplexity of the state-of-the-art Modified Kneser-Ney count-based LM smoothing by up to 15%.

  1. [Buck et al., 2014] Christian Buck, Kenneth Heafield, and Bas van Ooyen. N-gram counts and language models from the common crawl. In Proceedings of the Language Re- sources and Evaluation Conference, 2014.
  2. [Buntine and Hutter, 2012] Wray Buntine and Marcus Hut- ter. A bayesian view of the Poisson-Dirichlet process. arXiv preprint arXiv:1007.0296, 2012.
  3. [Burrows and Wheeler, 1994] Michael Burrows and David Wheeler. A block sorting lossless data compression al- gorithm. Technical Report 124, Digital Equipment Corpo- ration Systems Research Center, 1994.
  4. [Chen and Goodman, 1999] Stanley F Chen and Joshua Goodman. An empirical study of smoothing techniques for language modeling. Computer Speech & Language, 13(4):359-393, 1999.
  5. [Ferragina et al., 2008] Paolo Ferragina, Rodrigo González, Gonzalo Navarro, and Rossano Venturini. Compressed text indexes: From theory to practice. ACM J. of Exp. Algorithmics, 13, 2008.
  6. [Gasthaus and Teh, 2010] Jan Gasthaus and Yee W. Teh. Im- provements to the sequence memoizer. In Advances in Neural Information Processing Systems 23, pages 685- 693, 2010.
  7. [Gasthaus et al., 2010] Jan Gasthaus, Frank Wood, and Yee Whye Teh. Lossless compression based on the se- quence memoizer. In 2010 Data Compression Conference (DCC 2010), pages 337-345, 2010.
  8. [Goldwater et al., 2011] Sharon Goldwater, Thomas L Grif- fiths, and Mark Johnson. Producing power-law distribu- tions and damping word frequencies with two-stage lan- guage models. Journal of Machine Learning Research, 12(Jul):2335-2382, 2011.
  9. [Hsu and Shiue, 1998] Leetsch C Hsu and Peter Jau-Shyong Shiue. A unified approach to generalized stirling numbers. Advances in Applied Mathematics, 20(3):366-384, 1998.
  10. [Kneser and Ney, 1995] Reinhard Kneser and Hermann Ney. Improved backing-off for m-gram language modeling. In Proceedings of IEEE International Conference on Acous- tics, Speech and Signal Processing, volume 1, pages 181- 184, 1995.
  11. [Koehn, 2005] Philipp Koehn. Europarl: A parallel corpus for statistical machine translation. In Proceedings of the Machine Translation summit, 2005.
  12. [Manber and Myers, 1993] Udi Manber and Eugene W. My- ers. Suffix arrays: A new method for on-line string searches. SIAM Journal on Computing, 22(5):935-948, 1993.
  13. [Ohlebusch et al., 2010] Enno Ohlebusch, Johannes Fischer, and Simon Gog. CST++. In Proceedings of the Interna- tional Symposium on String Processing and Information Retrieval, 2010.
  14. [Parker et al., 2011] Robert Parker, David Graff, Junbo Kong, Ke Chen, and Kazuaki Maeda. English gigaword fifth edition. Linguistic Data Consortium, (LDC2011T07), 2011.
  15. [Pitman and Yor, 1997] Jim Pitman and Marc Yor. The two- parameter Poisson-Dirichlet distribution derived from a stable subordinator. The Annals of Probability, pages 855- 900, 1997.
  16. [Schnattinger et al., 2010] Thomas Schnattinger, Enno Ohlebusch, and Simon Gog. Bidirectional search in a string with wavelet trees. In Proceedings of the Annual Symposium on Combinatorial Pattern Matching, 2010.
  17. [Shareghi et al., 2015] Ehsan Shareghi, Matthias Petri, Gho- lamreza Haffari, and Trevor Cohn. Compact, efficient and unlimited capacity: Language modeling with compressed suffix trees. In Proceedings of the Conference on Empiri- cal Methods in Natural Language Processing, 2015.
  18. [Shareghi et al., 2016a] Ehsan Shareghi, Trevor Cohn, and Gholamreza Haffari. Richer interpolative smoothing based on modified kneser-ney language modeling. In Proceed- ings of the Conference on Empirical Methods in Natural Language Processing, 2016.
  19. [Shareghi et al., 2016b] Ehsan Shareghi, Matthias Petri, Gholamreza Haffari, and Trevor Cohn. Fast, small and exact: Infinite-order language modelling with compressed suffix trees. Transactions of the Association for Computa- tional Linguistics, 4:477-490, 2016.
  20. [Stolcke, 2002] Andreas Stolcke. SRILM-an extensible lan- guage modeling toolkit. In Proceedings of the Interna- tional Conference of Spoken Language Processing, 2002.
  21. [Teh et al., 2012] Yee Whye Teh, Michael I Jordan, Matthew J Beal, and David M Blei. Hierarchical dirichlet processes. Journal of the american statistical association, 2012.
  22. [Teh, 2006a] Yee Whye Teh. A Bayesian interpretation of interpolated Kneser-Ney. Technical report, NUS School of Computing, 2006.
  23. [Teh, 2006b] Yee Whye Teh. A hierarchical Bayesian lan- guage model based on Pitman-Yor processes. In Proceed- ings of the Annual Meeting of the Association for Compu- tational Linguistics, 2006.
  24. [Weiner, 1973] Peter Weiner. Linear pattern matching algo- rithms. In Proceedings of the Annual Symposium Switch- ing and Automata Theory, 1973.
  25. [Wood et al., 2011] Frank Wood, Jan Gasthaus, Cédric Ar- chambeau, Lancelot James, and Yee Whye Teh. The sequence memoizer. Communications of the ACM, 54(2):91-98, 2011.

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

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