A Neural Model for Regular Grammar Induction

Peter Belcák, David Hofer, Roger Wattenhofer
9/23/2022
cs.LGcs.CL

Official code: pbelcak/neregrain (5 stars, Python, MIT, last commit 2022-09-27).

Abstract

Grammatical inference is a classical problem in computational learning theory and a topic of wider influence in natural language processing. We treat grammars as a model of computation and propose a novel neural approach to induction of regular grammars from positive and negative examples.

Show full abstract

Our model is fully explainable, its intermediate results are directly interpretable as partial parses, and it can be used to learn arbitrary regular grammars when provided with sufficient data. We find that our method consistently attains high recall and precision scores across a range of tests of varying complexity.

View on arXivView PDF

Code Implementations(1)

pbelcak/neregrainOfficial100%
MIT

Neural Regular Grammar Induction

50PythonJul 15, 20224 years agoMIT

Similar Papers

Cite this paper

@article{belck2022neural,
  title  = {A Neural Model for Regular Grammar Induction},
  author = {Peter Belcák and David Hofer and Roger Wattenhofer},
  year   = {2022},
  eprint = {2209.11628},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.11628}
}

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

Discussion