Learning Directly from Grammar Compressed Text

Yoichi Sasaki, Kosuke Akimoto, Takanori Maehara
2/28/2020
stat.MLcs.CLcs.LG

Official code: aurtg/learning-on-grammar-compression (0 stars, Python, GPL-3.0, last commit 2020-02-19).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Experimental code which apply neural sequence models on grammar compressed texts.

00Python, C++Feb 19, 20206 years agoGPL-3.0

Similar Papers

Cite this paper

@article{sasaki2020learning,
  title  = {Learning Directly from Grammar Compressed Text},
  author = {Yoichi Sasaki and Kosuke Akimoto and Takanori Maehara},
  year   = {2020},
  eprint = {2002.12570},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.12570}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.12570.svg)](https://codeofpaper.com/paper/2002.12570)

Discussion