Inducing Regular Grammars Using Recurrent Neural Networks

Mor Cohen, Avi Caciularu, Idan Rejwan, Jonathan Berant
10/28/2017
cs.CL

Official code: aviclu/RnnInduceRegularGrammar (7 stars, Python, last commit 2017-09-10).

Abstract

Grammar induction is the task of learning a grammar from a set of examples. Recently, neural networks have been shown to be powerful learning machines that can identify patterns in streams of data.

Show full abstract

In this work we investigate their effectiveness in inducing a regular grammar from data, without any assumptions about the grammar. We train a recurrent neural network to distinguish between strings that are in or outside a regular language, and utilize an algorithm for extracting the learned finite-state automaton. We apply this method to several regular languages and find unexpected results regarding the connections between the network's states that may be regarded as evidence for generalization.

View on arXivView PDF

Code Implementations(1)

71PythonSep 10, 20179 years ago

Similar Papers

Cite this paper

@article{cohen2017inducing,
  title  = {Inducing Regular Grammars Using Recurrent Neural Networks},
  author = {Mor Cohen and Avi Caciularu and Idan Rejwan and Jonathan Berant},
  year   = {2017},
  eprint = {1710.10453},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1710.10453}
}

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/1710.10453.svg)](https://codeofpaper.com/paper/1710.10453)

Discussion