Research map / Architectures and efficiency / Attention and transformers
R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modeling
Xiang Hu, Haitao Mi, Zujie Wen, Yafang Wang, Yi Su, Jing Zheng, Gerard de Melo
Ant Group · Hasso Plattner Institute · University of Potsdam
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 R2D2 (3 layers, 45M) instead of 3-layer BERT, same epochs | bidirectional LM · WikiText-2, 10 epochs | PPPL: 441.42 -> 57.40 | Improved |
| Use R2D2 (m=8) instead of 12-layer BERT (109M) | bidirectional LM · WikiText-2, 10 epochs | PPPL: 103.54 -> 57.40 | Improved |
| Compare 12-layer BERT with R2D2 at 60 epochs | R2D2 · WikiText-2, 60 epochs | PPPL: 44.70 vs 54.60 | Hurt |
| Increase pruning threshold m from 4 to 8 (ablation) | R2D2 · WikiText-2, 10 epochs | PPPL: 83.10 -> 57.40 | Improved |
| Increase pruning threshold m from 4 to 8 (ablation) | R2D2 · WikiText-2, 60 epochs | PPPL: 55.70 -> 54.60 | No clear effect |
| Replace Transformer composition with Tree-LSTM (ablation) | R2D2 (m=4) · WikiText-2, 10 epochs | PPPL: 83.10 -> 820.57 | Hurt |
| Add pruned tree induction (ablation) | R2D2 · training time per epoch (12x12x1) | hours: 1125h -> 7h (7h for the 768x3072x3 setting) | Improved |
| Use word-piece inputs and word-piece gold trees instead of word level | R2D2 · WSJ unsupervised parsing | unlabeled F1: 48.11 -> 52.28 | Improved |
| Compare R2D2 with C-PCFG at word level | R2D2 · WSJ unsupervised parsing, word-level | unlabeled F1: 54.08 vs 48.11 | Hurt |
| Use R2D2 instead of C-PCFG, word-piece level | R2D2 · CTB unsupervised parsing | unlabeled F1: 60.34 -> 63.94 | Improved |
Open problems in efficient language transformers
Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?
- Experiments stop at small models, often 1B parameters or fewer. · 10 papers state it
- The method is slower or heavier than its baseline in training or inference. · 10 papers state it
- Only English or alphabetic languages were tested. · 9 papers state it
Closest papers by meaning
- Characterizing intrinsic compositionality in transformers with Tree Projections (ICLR 2023 · similarity 0.89)
- Augmenting Transformers with Recursively Composed Multi-grained Representations (ICLR 2024 · similarity 0.88)
- Banyan: Improved Representation Learning with Explicit Structure (ICML 2025 · similarity 0.87)
- Language Models as Hierarchy Encoders (NeurIPS 2024 · similarity 0.86)
- Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA (ICLR 2025 · similarity 0.86)
- Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language Models (ICLR 2025 · similarity 0.86)
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.