Research map / Architectures and efficiency / Attention and transformers
StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling
Yikang Shen, Yi Tay, Che Zheng, Dara Bahri, Donald Metzler, Aaron Courville
Mila · Google
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use StructFormer dependency-constrained attention instead of standard Transformer | masked LM · PTB MLM | perplexity: 64.05 -> 60.94 | Improved |
| use StructFormer instead of Transformer | masked LM · BLLIP-XS MLM | perplexity: 93.90 -> 57.28 | Improved |
| use StructFormer instead of Transformer | masked LM · BLLIP-MD MLM | perplexity: 14.31 -> 13.70 | Improved |
| use both parent and dependent relation masks instead of parent only (ablation) | StructFormer · WSJ dependency parsing (Stanford) | UAS: 32.4 -> 46.2 | Improved |
| use both parent and dependent masks instead of dependent only (ablation) | StructFormer · WSJ dependency parsing (Stanford) | UAS: 15.2 -> 46.2 | Improved |
| use both relations instead of parent only (ablation) | StructFormer · WSJ unsupervised constituency parsing | UF1: 40.2 -> 54.0 | Improved |
| use both relations instead of dependent only (ablation) | StructFormer · WSJ unsupervised constituency parsing | UF1: 51.8 -> 54.0 | Improved |
| use both relations instead of parent only (ablation) | StructFormer · PTB MLM | perplexity: 63.0 -> 60.9 | Improved |
| use mask rate 0.3 instead of 0.1 (ablation) | StructFormer · WSJ dependency parsing (Stanford) | UAS: 31.4 -> 46.2 | Improved |
| use StructFormer instead of C-PCFG | unsupervised constituency parser · WSJ constituency parsing | UF1: 55.2 -> 54.0 | Hurt |
| use StructFormer instead of Tree-T | transformer parser · WSJ constituency parsing | UF1: 49.5 -> 54.0 | Improved |
| raise mask rate from 0.3 to 0.4 (ablation) | StructFormer · PTB MLM | perplexity: 60.9 -> 76.9 | Hurt |
Later papers that compared with this method
1 later accepted paper reports StructFormer as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Unsupervised Dependency Graph Network (ACL 2022 · better on 5 of 7 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Phrase-aware Unsupervised Constituency Parsing (ACL 2022 · similarity 0.89)
- Unsupervised Dependency Graph Network (ACL 2022 · similarity 0.89)
- Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammars (ACL 2023 · similarity 0.88)
- Unsupervised Parsing via Constituency Tests (EMNLP 2020 · similarity 0.88)
- Improving Unsupervised Constituency Parsing via Maximizing Semantic Information (ICLR 2025 · similarity 0.88)
- Ensemble Distillation for Unsupervised Constituency Parsing (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.