Research map / Architectures and efficiency / Attention and transformers
Tree Transformer: Integrating Tree Structures into Self-Attention
National Taiwan University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
6improved
5hurt
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 |
|---|---|---|---|
| add Constituent Attention (tree constraint) to the Transformer encoder | Transformer · WSJ-test masked LM | perplexity: 48.1 -> 45.6 (L=12); 48.5 -> 45.7 (L=10); 48.8 -> 46.1 (L=8) | Improved |
| add Constituent Attention rather than adding parameters (hidden size, L=10-B) | Transformer · WSJ-test masked LM | perplexity: 49.2 (Transformer 10-B, 67M) -> 45.7 (Tree-T L=10, 51M) | Improved |
| increase number of layers from 6 to 10 (ablation) | Tree Transformer · WSJ-test parsing | F1 (median): 47.4 -> 49.5 | Improved |
| increase number of layers from 10 to 12 (ablation) | Tree Transformer · WSJ-test parsing | F1 (median): 49.5 -> 48.4 | Hurt |
| train on WSJ-all instead of WSJ-train | Tree Transformer L=10 · WSJ-test parsing | F1 (median): 49.5 -> 50.5 | Improved |
| combine layers with threshold-based top-down parsing instead of parsing from the single best layer (ablation) | Tree Transformer · WSJ-test parsing | F1: 49.07 -> 52.0 | Improved |
| set minimum layer m to 3 (ablation) | Tree Transformer · WSJ-test parsing | F1 | Improved |
| initialize Tree Transformer from pre-trained BERT (ablation) | Tree Transformer · WSJ-test parsing | F1 | Hurt |
| remove positional encoding (ablation) | Tree Transformer · induced parse quality | parse quality | Hurt |
| use Tree Transformer instead of C-PCFG for unsupervised parsing | Tree Transformer L=10 · WSJ-test parsing | F1 (median): 55.2 -> 49.5 | Hurt |
| use Tree Transformer instead of PRPN | Tree Transformer L=10 · WSJ-10 parsing | F1 (median): 70.5 -> 66.2 | Hurt |
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
- Tree-Structured Attention with Hierarchical Accumulation (ICLR 2020 · similarity 0.91)
- You Only Need Attention to Traverse Trees (ACL 2019 · similarity 0.88)
- Treeformer: Dense Gradient Trees for Efficient Attention Computation (ICLR 2023 · similarity 0.88)
- Recursive Tree-Structured Self-Attention for Answer Sentence Selection (ACL 2021 · similarity 0.87)
- SparseBERT: Rethinking the Importance Analysis in Self-attention (ICML 2021 · similarity 0.87)
- Guiding Attention for Self-Supervised Learning with Transformers (EMNLP 2020 · 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.