scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Characterizing the Expressivity of Local Attention in Transformers

Jiaoda Li, Ryan Cotterell

ACL 2026Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach7 citations (OpenAlex)

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

8measured effects
3improved
1no 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.

This paper tried a common change: Add positional encoding

add RoPE or sinusoidal positional encoding to global-only · formal languages · accuracy Hurt

What 733 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 local attention heads (hybrid, k=1) to global attentiontransformer · WikiText-2perplexity: -69.7, -15.2, -11.5 across positional encodingsImproved
increase local window size (ablation)hybrid transformer · WikiText-2perplexityHurt
local-only instead of global-only attentiontransformer · WikiText-2perplexityImproved
add local attention to global attentiontransformer (NoPE) · formal languages, length 41-500longest perfect lengthImproved
use window k=2 or 4 instead of k=1 (ablation)local/hybrid transformer (NoPE) · formal languagesaccuracyHurt
add RoPE or sinusoidal positional encoding to global-only (ablation)global-only transformer · formal languagesaccuracyHurt
use RoPE with larger local windows (ablation)local-only/hybrid transformer · formal languagesaccuracyMixed
use any attention on languages beyond the hybrid fragment (ablation)all variants · bounded Dyck / right-deterministic polynomialaccuracyNo clear effect

Open problems this paper states

Open problems in attention head mechanisms

Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?

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