atlas

Research map / Architectures and efficiency / Attention and transformers

The emergence of sparse attention: impact of data distribution and benefits of repetition

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head mechanisms · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Studies how sparse attention emerges during training in a single-location linear regression toy model and a small Transformer on associative recall, showing emergence time follows power laws in data properties and that repetition accelerates it.

Problem

Understanding how and when emergent abilities appear during training, and why they appear suddenly, by linking emergence to the formation of sparse attention and to how data distribution (sequence length, dimension, repetition) affects emergence timing.

Approach

Uses a linear regression variant requiring attention to a single token as an analytically tractable model of sparse attention emergence; derives ODE dynamics and plateau-escape time, shows in-context and cross-sample repetition speed emergence, and checks predictions on small Transformers and an associative recall (induction head) task.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Repeat the relevant token B times within the context (ablation)Simplified Transformer · Single-location linear regressionplateau length: T_\mathrm{plateau} = 1.51 \, T^{\,0.99} \, B^{-0.99} \, d^{\,0.49}Helped
Repeat the relevant token across samples with probability p (ablation)Simplified Transformer · Single-location linear regressionplateau length: T_\mathrm{plateau} = 2.15 (\sqrt{d}T / \sqrt{p^2d + (1- p)^2})^{1.02}Helped
Increase sequence length T (ablation)Simplified Transformer · Single-location linear regressionplateau length: T_\varepsilon = \frac{\sqrt{d}T}{2} \, \ln\left ( \varepsilon \sqrt{d}T \right )Hurt
Increase input/output dimension d (ablation)Simplified Transformer · Single-location linear regressionplateau length: T_\varepsilon = \frac{\sqrt{d}T}{2} \, \ln\left ( \varepsilon \sqrt{d}T \right )Hurt
Replace Adam with SGD (ablation)2-layer 4-head Transformer · Single-location linear regressionemergence speedHurt
Increase number of pairs in the context (ablation)Transformer · Associative recallplateau length: T_\mathrm{plateau} = 0.55 \, N_\mathrm{tokens}^{0.79}\, N_\mathrm{pairs}^{2.25}Hurt
Increase vocabulary size (ablation)Transformer · Associative recallplateau length: T_\mathrm{plateau} = 0.55 \, N_\mathrm{tokens}^{0.79}\, N_\mathrm{pairs}^{2.25}Hurt
Repeat the query as a key within the context (ablation)Transformer · Associative recallemergence speed: by a factor of 4Helped
Use too much in-context repetition (ablation)Transformer · Associative recalltest accuracyHurt
Increase cross-sample repetition probability p (ablation)Transformer · Associative recallemergence speed: by a factor of 2Helped
Use too much cross-sample repetition (ablation)Transformer · Associative recalltest accuracyHurt
Increase cross-sample repetition probability p (ablation)Transformer · Single-location linear regressiontest lossMixed

Surprising findings

Limitations

Experimental setup

Datasets: single-location linear regression (synthetic) in-context associative recall (synthetic)

Benchmarks: single-location linear regression in-context associative recall

Metrics: plateau length test loss accuracy

Baselines: SGD

Builds on: induction head deep linear networks Adam

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