scimeatlas

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

NAACL 2022Architectures and efficiency › Attention and transformersapproach: Sparse efficient transformers for long contextopen problems in this approach151 citations (OpenAlex)

University of Warsaw · OpenAI · Google

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
2mixed

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

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

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 changedWhereMeasuredEffect
add Hourglass shortening/upsampling to Transformer-XL (e.g. 2@1 16@3 2@1 vs 12@1)Transformer-XL · enwik8 validBPC: 1.115 -> 1.096Improved
use Hourglass (4@1, 8@3, 4@1) instead of plain Transformer-XL 24LTransformer-XL · enwik8 testBPC: 0.99 -> 0.98 (146M vs 277M params)Improved
Hourglass (3@1, 24@3, 3@1) on ImageNet32autoregressive Transformer · ImageNet32bits/dim: 3.758 -> 3.741 (previous best autoregressive)Improved
add shorten factor dropout (k sampled from {2,3}) (ablation)Hourglass · enwik8 validBPC: 1.116 -> 1.104 (k=2), 1.124 -> 1.116 (k=3)Improved
add vanilla layers (from none to (2,2)) (ablation)Hourglass · enwik8 validBPC: 1.460 -> 1.128Improved
distribute vanilla layers equally before and after shortening ((1,1) vs (0,2) or (2,0)) (ablation)Hourglass · enwik8 validBPC: 1.171 vs 1.176 / 1.189Improved
increase shortened layers from 1 to 16 (ablation)Hourglass · CIFAR-10BPD: 3.28 -> 3.03Improved
increase shortened layers from 1 to 16 (ablation)Hourglass · enwik8 validBPC: 1.164 -> 1.096Improved
use attention upsampling instead of repeat upsampling (ablation)Hourglass · enwik8 validBPC: 1.148 -> 1.132Improved
use linear upsampling instead of repeat upsampling (attention-free) (ablation)Hourglass · enwik8 valid / CIFAR-10BPC / BPD: enwik8 1.148 -> 1.163; CIFAR-10 3.062 -> 3.020Mixed
use linear pooling instead of average pooling (ablation)Hourglass · enwik8 valid / CIFAR-10BPC / BPD: enwik8 1.129 -> 1.159; CIFAR-10 3.116 -> 2.998Mixed
use attention pooling (S=AvgPool) instead of plain AvgPool (ablation)Hourglass · enwik8 validBPC: 1.129 -> 1.124Improved

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy