Papers › Multilingual Constituency Parsing with Self-Attention and Pre-Training

Multilingual Constituency Parsing with Self-Attention and Pre-Training

31 Dec 2018ACL 2019 7arXiv:1812.11760archive 2025-07-28

Nikita Kitaev, Steven Cao, Dan Klein

We show that constituency parsing benefits from unsupervised pre-training across a variety of languages and a range of pre-training conditions. We first compare the benefits of no pre-training, fastText, ELMo, and BERT for English and find that BERT outperforms ELMo, in large part due to increased model capacity, whereas ELMo in turn outperforms the non-contextual fastText embeddings. We also find that pre-training is beneficial across all 11 languages tested; however, large model sizes (more than 100 million parameters) make it computationally expensive to train separate models for each language. To address this shortcoming, we show that joint multilingual pre-training and fine-tuning allows sharing all but a small number of parameters between ten languages in the final model. The 10x reduction in model size compared to fine-tuning one model per language causes only a 3.2% relative error increase in aggregate. We further explore the idea of joint fine-tuning and show that it gives low-resource languages a way to benefit from the larger datasets of other languages. Finally, we demonstrate new state-of-the-art results for 11 languages, including English (95.8 F1) and Chinese (91.8 F1).

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="1812.11760")

Code

Syntology Ran 3 of 28 code samples harvested from 3 repositories linked to this paper; 25 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

By repository: official repository: 10 samples from 1 repository, 0 ran; community (archive-listed): 15 samples from 2 repositories, 0 ran; 3 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.

nikitakit/self-attentive-parser officialmentioned in papermentioned on GitHubtfMIT report
dpfried/rnng-bert mentioned on GitHubtf report
ghazalkhalighinejad/approximating-cky mentioned on GitHubpytorchMIT 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

28 samples harvested; 3 ran; 0 honoured the contract we drafted; 25 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.

3ran · our draft was wrong
25unverified

Licence: 3 of the 28 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 3 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.

arabic nikitakit/self-attentive-parser/src/transliterate.py official repository unverified MIT (permissive) · c6fbc9f36f128a4d · report
collapse_unary_strip_pos nikitakit/self-attentive-parser/src/benepar/decode_chart.py official repository unverified MIT (permissive) · bd029ebdc4c2a411 · report
evalb nikitakit/self-attentive-parser/src/evaluate.py official repository unverified MIT (permissive) · f800c1f3fd0d012a · report
format_elapsed nikitakit/self-attentive-parser/src/export.py official repository unverified MIT (permissive) · d568621c7cfd96cc · report
get_labeled_spans nikitakit/self-attentive-parser/src/benepar/decode_chart.py official repository unverified MIT (permissive) · 3f9e76811bf1f815 · report
guess_space_after nikitakit/self-attentive-parser/src/benepar/ptb_unescape.py official repository unverified MIT (permissive) · 9c0f1355ed00c9d1 · report
guess_space_after_non_english nikitakit/self-attentive-parser/src/benepar/ptb_unescape.py official repository unverified MIT (permissive) · 2da31f9e8d6c6497 · report
hebrew nikitakit/self-attentive-parser/src/transliterate.py official repository unverified MIT (permissive) · 98db1b220dd2ecb7 · report
pad_charts nikitakit/self-attentive-parser/src/benepar/decode_chart.py official repository unverified MIT (permissive) · 5fa1c233f4e619bb · report
ptb_unescape nikitakit/self-attentive-parser/src/benepar/ptb_unescape.py official repository unverified MIT (permissive) · 8aedd0d17836b284 · report
UniversalTransformerRandomLayerEncoderWithLayer ghazalkhalighinejad/approximating-cky/models/ndr.py community (archive-listed) unverified MIT (permissive) · 5304ef0f453a56ad · report
chartscores_from_2hids ghazalkhalighinejad/approximating-cky/models/all_models.py community (archive-listed) unverified MIT (permissive) · 1248ec1004d55757 · report
chartscores_from_hids ghazalkhalighinejad/approximating-cky/models/all_models.py community (archive-listed) unverified MIT (permissive) · 6707b9653e35add5 · report
collapse_unlabel_binarize thomaslu2000/incremental-parsing-representations/src/tree_transforms.py community (archive-listed) unverified MIT (permissive) · ad00821962c48d10 · report
cub_traverse thomaslu2000/incremental-parsing-representations/src/tree_transforms.py community (archive-listed) unverified MIT (permissive) · 29605c9c3042ed16 · report
extract_parse ghazalkhalighinejad/approximating-cky/my_utils.py community (archive-listed) unverified MIT (permissive) · 1e2e209296c87494 · report
get_potentials_and_trees ghazalkhalighinejad/approximating-cky/get_data/get_pcfg.py community (archive-listed) unverified MIT (permissive) · ec1bd125cee0d5c8 · report
get_trees_and_vocs ghazalkhalighinejad/approximating-cky/get_data/get_pcfg.py community (archive-listed) unverified MIT (permissive) · aa0d9a3ff9c7e9c0 · report
inner_score2 ghazalkhalighinejad/approximating-cky/models/all_models.py community (archive-listed) unverified MIT (permissive) · 321467c6959866dd · report
make_voc ghazalkhalighinejad/approximating-cky/get_data/get_pcfg.py community (archive-listed) unverified MIT (permissive) · 782a5dffeb3d6b35 · report
make_voc ghazalkhalighinejad/approximating-cky/get_data/make_data.py community (archive-listed) unverified MIT (permissive) · d501ca5164d5e1b1 · report
random_subspan thomaslu2000/incremental-parsing-representations/src/tree_transforms.py community (archive-listed) unverified MIT (permissive) · 8ec94d08b3904eba · report
sinusoidal_pos_embedding ghazalkhalighinejad/approximating-cky/models/ndr.py community (archive-listed) unverified MIT (permissive) · 1189a8b722298cac · report
stupid_extract_parse2 ghazalkhalighinejad/approximating-cky/my_utils.py community (archive-listed) unverified MIT (permissive) · 801802f2f39d3775 · report
tree_from_span ghazalkhalighinejad/approximating-cky/my_utils.py community (archive-listed) unverified MIT (permissive) · a7368615fa47e4fe · report
get_graph identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 4289934e599d98d1 · report
make_command identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · bf01d3fec3465c34 · report
parse identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · d73ae4737d0072dc · report

Tasks

Constituency ParsingUnsupervised Pre-training

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Constituency Parsing CTB5 Kitaev etal. 2019 F1 score 91.75 #6 of 9 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.

Methods

AdamAttentionAttention DropoutBERTBiLSTMDense ConnectionsDropoutELMoLSTMLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSigmoid ActivationSoftmaxTanh ActivationWeight DecayWordPiecefastText

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