English

Grammar as a Foreign Language

Computation and Language 2015-06-11 v3 Machine Learning Machine Learning

Abstract

Syntactic constituency parsing is a fundamental problem in natural language processing and has been the subject of intensive research and engineering for decades. As a result, the most accurate parsers are domain specific, complex, and inefficient. In this paper we show that the domain agnostic attention-enhanced sequence-to-sequence model achieves state-of-the-art results on the most widely used syntactic constituency parsing dataset, when trained on a large synthetic corpus that was annotated using existing parsers. It also matches the performance of standard parsers when trained only on a small human-annotated dataset, which shows that this model is highly data-efficient, in contrast to sequence-to-sequence models without the attention mechanism. Our parser is also fast, processing over a hundred sentences per second with an unoptimized CPU implementation.

Keywords

Cite

@article{arxiv.1412.7449,
  title  = {Grammar as a Foreign Language},
  author = {Oriol Vinyals and Lukasz Kaiser and Terry Koo and Slav Petrov and Ilya Sutskever and Geoffrey Hinton},
  journal= {arXiv preprint arXiv:1412.7449},
  year   = {2015}
}
R2 v1 2026-06-22T07:42:36.505Z