English

Learning Directly from Grammar Compressed Text

Machine Learning 2020-03-02 v1 Computation and Language Machine Learning

Abstract

Neural networks using numerous text data have been successfully applied to a variety of tasks. While massive text data is usually compressed using techniques such as grammar compression, almost all of the previous machine learning methods assume already decompressed sequence data as their input. In this paper, we propose a method to directly apply neural sequence models to text data compressed with grammar compression algorithms without decompression. To encode the unique symbols that appear in compression rules, we introduce composer modules to incrementally encode the symbols into vector representations. Through experiments on real datasets, we empirically showed that the proposal model can achieve both memory and computational efficiency while maintaining moderate performance.

Keywords

Cite

@article{arxiv.2002.12570,
  title  = {Learning Directly from Grammar Compressed Text},
  author = {Yoichi Sasaki and Kosuke Akimoto and Takanori Maehara},
  journal= {arXiv preprint arXiv:2002.12570},
  year   = {2020}
}

Comments

12 pages, 4 Postscript figures

R2 v1 2026-06-23T13:57:15.425Z