scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Simple Local Attentions Remain Competitive for Long-Context Tasks

Wenhan Xiong, Barlas Oğuz, Anchit Gupta, Xilun Chen, Diana Liskovich, Omer Levy, Wen-tau Yih, Yashar Mehdad

NAACL 2022Architectures and efficiency › Attention and transformersapproach: State space and recurrent sequence modelsopen problems in this approach21 citations (OpenAlex)

Meta

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

11measured effects
5improved
2no clear effect
3hurt
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 changedWhereMeasuredEffect
use other efficient attentions instead of simple local attention on LRA text taskstwo-layer Transformer, LRA · LRA ListOps/Text/Matchingaccuracy: Avg 61.7 (Nystrom, Long-Short) vs 61.6 (Local Window)No clear effect
use Performer instead of local attention in pretrain-finetuneRoBERTa-large-sized model · TriviaQAanswer EM/F1: 65.6/70.7 (Sliding Window) -> 24.5/31.9Hurt
use Blockwise LW instead of Linformer or Nystrompretrained long-context encoder · TriviaQAanswer EM/F1: 59.8/65.2 (Linformer), 51.5/57.3 (Nystrom) -> 68.1/72.9Improved
use hybrid Long-Short attention instead of Blockwise LWpretrained long-context encoder · MLM perplexity vs downstreamperplexity / TriviaQA: PPL 3.39 -> 3.36; TriviaQA 68.1/72.9 -> 66.5/71.4Mixed
add attention-window overlap to Blockwise LW (ablation)Blockwise LW · MLM perplexityperplexity: 3.52 -> 3.39Improved
add attention-window overlap to Blockwise LW (ablation)Blockwise LW · TriviaQAanswer EM/F1: 68.4/73.2 -> 68.1/72.9Hurt
add attention-window overlap to Blockwise LW (ablation)Blockwise LW · Hyperpartisanaccuracy: 96.5 -> 95.0Hurt
add global tokens to non-overlap Blockwise LW (ablation)Blockwise LW w/o overlap · TriviaQAanswer EM/F1: 56.5/61.0 -> 68.4/73.2Improved
add global tokens to non-overlap Blockwise LW (ablation)Blockwise LW w/o overlap · NQ document retrievalMRR: 85.4 -> 86.3No clear effect
increase local block size from 64 to 512 (no overlap) (ablation)Blockwise LW w/o overlap · TriviaQAanswer F1: 68.9 -> 73.5Improved
drop window overlap (disjoint blocks) when initializing from RoBERTa instead of LongformerBlockwise LW · TriviaQA (init from RoBERTa)answer EM/F1: 73.1/77.8 -> 73.2/77.9 at 14.8k vs 6.6k words/sImproved

Open problems in state space and recurrent sequence models

Do state space and recurrent models keep their efficiency and recall at large scale and long context?

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