Research map / Architectures and efficiency / Attention and transformers
Approximating CKY with Transformers
Ghazal Khalighinejad, Ollie Liu, Sam Wiseman
University of Southern California · Duke University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
5improved
4hurt
1mixed
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 |
|---|---|---|---|
| predict spans independently with a transformer instead of CKY decoding | BERT parser · PTB/CTB/German/Korean test | F1: English 95.48 -> 95.64; Chinese 92.13 -> 90.54 (vs rerun Kitaev et al.) | Mixed |
| replace CKY decoding with direct span prediction | BERT parser · PTB/CTB dev inference speed | sentences/second: 485 -> 949 (PTB); 704 -> 1466 (CTB) | Improved |
| add grad decoding to fine-tuned BERT parser (ablation) | Ours (fine-tuned) · English PTB test | F1: 95.64 -> 95.16 | Hurt |
| increase PCFG ambiguity (more rules) (ablation) | Transformer parser · random PCFGs | labeled span F1: 98.31 -> 87.86 -> 74.80 (100, 400, 800 rules) | Hurt |
| share transformer layers (ablation) | Transformer · random PCFG |R|=800 | labeled span F1: 74.80 -> 79.91 | Improved |
| add copy gate to shared-layer transformer (ablation) | Transformer + SL · random PCFG |R|=800 | labeled span F1: 79.91 -> 78.64 | Hurt |
| add grad decoding to shared-layer transformer (ablation) | Transformer + SL · random PCFG |R|=800 | labeled span F1: 79.91 -> 81.78 | Improved |
| add grad decoding with shared layers, trained from scratch (ablation) | Ours · CTB dev | F1: 80.98 -> 81.76 | Improved |
| add grad decoding with shared layers, trained from scratch (ablation) | Ours · PTB dev | F1: 90.07 -> 89.91 | Hurt |
| use transformer-based approximation instead of torch-struct CKY | transformer parser · random PCFG, |R|=400 speed | sentences/second: 698 -> 1817 (batch 32); 1576 -> 2161 (batch 128) | Improved |
Closest papers by meaning
- An Analysis of Tokenization: Transformers under Markov Data (NeurIPS 2024 · similarity 0.84)
- Improving Unsupervised Constituency Parsing via Maximizing Semantic Information (ICLR 2025 · similarity 0.84)
- Transformers Provably Solve Parity Efficiently with Chain of Thought (ICLR 2025 · similarity 0.84)
- Effective Context in Transformers: An Analysis of Fragmentation and Tokenization (NeurIPS 2026 · similarity 0.84)
- Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks (ICML 2024 · similarity 0.83)
- Ensemble Distillation for Unsupervised Constituency Parsing (ICLR 2024 · similarity 0.83)
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.
