Research map / Architectures and efficiency / Attention and transformers
Hierarchical Transformers Are More Efficient Language Models
Piotr Nawrot, Szymon Tworkowski, Michał Tyrolski, Łukasz Kaiser, Yuhuai Wu, Christian Szegedy, Henryk Michalewski
University of Warsaw · OpenAI · 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.
On benchmark leaderboards
- Enwik8 leaderboard bits per character 0.98 · rank 4 of 15 papers
This paper tried a common change: Add dropout
add shorten factor dropout (k sampled from {2,3}) · enwik8 valid · BPC: 1.116 -> 1.104 (k=2), 1.124 -> 1.116 (k=3) Improved
What 1,045 accepted papers report for this change
- 716 improved
- 114 no clear effect
- 21 mixed
- 194 hurt
- Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference ICML 2026 · apply layer dropout to whole transformer blocks instead of attention and FFN sub-blocks separately · 20 TPP val loss, 271M · val loss: 2.377 -> 2.367Improved
- Quantifying the Uncertainty of Foundation Models with Singular Value Ensembles ICML 2026 · use MC Dropout · vision and SST-2 · accuracy: 86.3 -> 76.6 on Flowers102Hurt
- Motion Planning in Compressed Representation Spaces ICML 2026 · add nested dropout during training · WOMD guided generation · goal FDE: 4.145 -> 1.104Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Hourglass shortening/upsampling to Transformer-XL (e.g. 2@1 16@3 2@1 vs 12@1) | Transformer-XL · enwik8 valid | BPC: 1.115 -> 1.096 | Improved |
| use Hourglass (4@1, 8@3, 4@1) instead of plain Transformer-XL 24L | Transformer-XL · enwik8 test | BPC: 0.99 -> 0.98 (146M vs 277M params) | Improved |
| Hourglass (3@1, 24@3, 3@1) on ImageNet32 | autoregressive Transformer · ImageNet32 | bits/dim: 3.758 -> 3.741 (previous best autoregressive) | Improved |
| add shorten factor dropout (k sampled from {2,3}) (ablation) | Hourglass · enwik8 valid | BPC: 1.116 -> 1.104 (k=2), 1.124 -> 1.116 (k=3) | Improved |
| add vanilla layers (from none to (2,2)) (ablation) | Hourglass · enwik8 valid | BPC: 1.460 -> 1.128 | Improved |
| distribute vanilla layers equally before and after shortening ((1,1) vs (0,2) or (2,0)) (ablation) | Hourglass · enwik8 valid | BPC: 1.171 vs 1.176 / 1.189 | Improved |
| increase shortened layers from 1 to 16 (ablation) | Hourglass · CIFAR-10 | BPD: 3.28 -> 3.03 | Improved |
| increase shortened layers from 1 to 16 (ablation) | Hourglass · enwik8 valid | BPC: 1.164 -> 1.096 | Improved |
| use attention upsampling instead of repeat upsampling (ablation) | Hourglass · enwik8 valid | BPC: 1.148 -> 1.132 | Improved |
| use linear upsampling instead of repeat upsampling (attention-free) (ablation) | Hourglass · enwik8 valid / CIFAR-10 | BPC / BPD: enwik8 1.148 -> 1.163; CIFAR-10 3.062 -> 3.020 | Mixed |
| use linear pooling instead of average pooling (ablation) | Hourglass · enwik8 valid / CIFAR-10 | BPC / BPD: enwik8 1.129 -> 1.159; CIFAR-10 3.116 -> 2.998 | Mixed |
| use attention pooling (S=AvgPool) instead of plain AvgPool (ablation) | Hourglass · enwik8 valid | BPC: 1.129 -> 1.124 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Transformer-XL 6@1 — Transformer-XL: Attentive Language Models beyond a Fixed-Length Context (ACL 2019) · better on 3 of 3 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 sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- Efficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer (EMNLP 2023 · similarity 0.90)
- Structural Guidance for Transformer Language Models (ACL 2021 · similarity 0.90)
- Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Models (NeurIPS 2025 · similarity 0.88)
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025 · similarity 0.88)
- Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language Models (ICLR 2025 · similarity 0.88)
- Language Models as Hierarchy Encoders (NeurIPS 2024 · similarity 0.88)
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.