Papers › Unsupervised Latent Tree Induction with Deep Inside-Outside Recursive Autoencoders

Unsupervised Latent Tree Induction with Deep Inside-Outside Recursive Autoencoders

3 Apr 2019arXiv:1904.02142archive 2025-07-28

Andrew Drozdov, Pat Verga, Mohit Yadav, Mohit Iyyer, Andrew McCallum

We introduce deep inside-outside recursive autoencoders (DIORA), a fully-unsupervised method for discovering syntax that simultaneously learns representations for constituents within the induced tree. Our approach predicts each word in an input sentence conditioned on the rest of the sentence and uses inside-outside dynamic programming to consider all possible binary trees over the sentence. At test time the CKY algorithm extracts the highest scoring parse. DIORA achieves a new state-of-the-art F1 in unsupervised binary constituency parsing (unlabeled) in two benchmark datasets, WSJ and MultiNLI.

PaperPDFCodeCode 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="1904.02142")

Code

Syntology Ran 4 of 16 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong.

By repository: official repository: 6 samples from 1 repository, 4 ran; community (archive-listed): 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

iesl/diora officialmentioned in papermentioned on GitHubpytorch report
rgalhama/diora mentioned on GitHubpytorchApache-2.0 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

16 samples harvested; 4 ran; 2 honoured the contract we drafted; 12 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.

2ran · honoured contract
2ran · our draft was wrong
12unverified

Licence: 0 of the 16 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. “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.

flatten_tree iesl/diora/pytorch/diora/scripts/parse.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · be633fb138549fac · report
get_ptb_format_from_diora_tree iesl/diora/pytorch/diora/scripts/evalb.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · dc405b16a06bb314 · report
postprocess iesl/diora/pytorch/diora/scripts/parse.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 97a72c5a047620b9 · report
remove_using_flat_mask iesl/diora/pytorch/diora/scripts/parse.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 88ba8def413739a5 · report
get_ptb_format_from_nltk_tree iesl/diora/pytorch/diora/scripts/evalb.py official repository unverified Apache-2.0 (permissive) · 49e41cb57b27ffc0 · report
remove_punctuation_from_tree iesl/diora/pytorch/diora/scripts/evalb.py official repository unverified Apache-2.0 (permissive) · 2ef8eba0e3a234ce · report
calculate_freq_dist rgalhama/diora/pytorch/diora/blocks/negative_sampler.py community (archive-listed) unverified Apache-2.0 (permissive) · 1e93d604e778f7ba · report
choose_negative_samples rgalhama/diora/pytorch/diora/blocks/negative_sampler.py community (archive-listed) unverified Apache-2.0 (permissive) · 2fbf0a00fadbc516 · report
configure_logger rgalhama/diora/pytorch/diora/logging/configuration.py community (archive-listed) unverified Apache-2.0 (permissive) · eafe1b97157e9ce2 · report
get_inside_states rgalhama/diora/pytorch/diora/net/diora.py community (archive-listed) unverified Apache-2.0 (permissive) · da754532b4ccd8b5 · report
get_loss_funcs rgalhama/diora/pytorch/diora/net/trainer.py community (archive-listed) unverified Apache-2.0 (permissive) · 211c02eb344ded7f · report
get_offset_cache rgalhama/diora/pytorch/diora/net/offset_cache.py community (archive-listed) unverified Apache-2.0 (permissive) · 749881a9d1474de6 · report
inside_compose rgalhama/diora/pytorch/diora/net/diora.py community (archive-listed) unverified Apache-2.0 (permissive) · 979fac5ee1a98b47 · report
inside_score rgalhama/diora/pytorch/diora/net/diora.py community (archive-listed) unverified Apache-2.0 (permissive) · bd841f155656f991 · report
load_experiment rgalhama/diora/pytorch/diora/utils/checkpoint.py community (archive-listed) unverified Apache-2.0 (permissive) · 056af46d1aab23e9 · report
pick rgalhama/diora/pytorch/diora/misc/convert_conll_to_jsonl.py community (archive-listed) unverified Apache-2.0 (permissive) · 9d127c4fb21d72be · report

Tasks

Constituency ParsingSentence

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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