Papers › Recurrent Neural Network Grammars

Recurrent Neural Network Grammars

25 Feb 2016NAACL 2016 6arXiv:1602.07776archive 2025-07-28

Chris Dyer, Adhiguna Kuncoro, Miguel Ballesteros, Noah A. Smith

We introduce recurrent neural network grammars, probabilistic models of sentences with explicit phrase structure. We explain efficient inference procedures that allow application to both parsing and language modeling. Experiments show that they provide better parsing in English than any single previously published supervised generative model and better language modeling than state-of-the-art sequential RNNs in English and Chinese.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1602.07776")

Code

Syntology Ran 6 of 10 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · violated contract; 5 ran · our draft was wrong.

By repository: community (archive-listed): 9 samples from 2 repositories, 5 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

clab/rnng officialmentioned in papermentioned on GitHub report
dpfried/rnng-bert mentioned on GitHubtf report
gofortargets/rnng mentioned on GitHub report
tempra28/nmtrnng mentioned on GitHubtf report
yv/rnng mentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
5ran · our draft was wrong
4unverified

Licence: 6 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_between_brackets dpfried/rnng-bert/scripts/retag.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 2347da1339a984a0 · report
get_graph dpfried/rnng-bert/scripts/bert_parse.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 4289934e599d98d1 · report
get_tags_tokens_lowercase dpfried/rnng-bert/scripts/retag.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 5791adaa76c577c0 · report
make_command dpfried/rnng-bert/scripts/bert_parse.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · bf01d3fec3465c34 · report
parse dpfried/rnng-bert/scripts/bert_parse.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · d73ae4737d0072dc · report
copy_dim Psarpei/Recognition-of-logical-document-structures/cnn/pycnn/pycnn_viz.py community (archive-listed) unverified MIT (permissive) · 7983fa98d9f8a780 · report
ensure_same_dim Psarpei/Recognition-of-logical-document-structures/cnn/pycnn/pycnn_viz.py community (archive-listed) unverified MIT (permissive) · 8248591e58ec8b6b · report
make_dim Psarpei/Recognition-of-logical-document-structures/cnn/pycnn/pycnn_viz.py community (archive-listed) unverified MIT (permissive) · 59f803e03a8d8e91 · report
run_lstm Psarpei/Recognition-of-logical-document-structures/cnn/pyexamples/attention.py community (archive-listed) unverified MIT (permissive) · cae93ce40fd6beae · report
is_next_open_bracket identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · 625f98c10e41a690 · report

Tasks

Constituency ParsingLanguage ModelingLanguage Modelling

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Constituency Parsing Penn Treebank RNN Grammar F1 score 93.3 #27 of 27 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections