← All entries
Paper2026#652

Emergent Capabilities Arise Randomly from Learning Sparse Attention Patterns

Summary

NYU (18 pp / 13 figs). On Pythia 14M–410M × 10 seeds, copy, in-context repetition, pattern completion, and IOI appear at random training steps; larger models find them earlier and more often. Patching the top-K post-emergence attention maps into the previous checkpoint elicits the skill, so attention-pattern search is the bottleneck rather than a metric illusion. Synthetic linear-map (sparse Ax mod 2) and cellular-automata tasks: difficulty is governed by context length and medium sparsity; biasing attention logits to the ground-truth pattern removes the loss plateau. More heads help; MLP-Mixer beats a transformer by ~10× on linear maps but loses on automata. Dyck/NCA pre-pretraining has mixed effects on emergence timing. No official code on the abs.

Venue
arXiv / NYU
Source
arxiv
Access
free
License
arXiv perpetual non-exclusive license 1.0
License family
Other
Language
en
Purpose
Show that emergent capabilities are the stochastic discovery of sparse task-relevant attention routing circuits
Scale
Pythia 14M/31M/70M/160M/410M × 10 seeds. Synthetic 1-layer D=128 H=8; CA 4-layer. Tweet ~749 likes / 96 retweets / ~45k views at fetch.
Time period
arXiv 2606.25010 v1 2026-06-23. Tweet 2026-08-03. Discord posted 2026-08-03.
Author type
human
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jun 23, 2026
arXiv categories
cs.LG, cs.CL
Author comment
18 pages, 13 figures
Citations
1
References
23

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Neural scaling laws for transformer language models predict smooth improvements in pretraining loss with increasing parameters, but downstream capabilities such as in-context learning are known to emerge abruptly past a certain model scale. In this paper, we show that emergent capabilities arise stochastically throughout training, with larger models acquiring them earlier on average. We demonstrate that the emergence of capabilities such as pattern completion and indirect object identification corresponds to the abrupt learning of task-relevant attention patterns. To isolate this phenomenon, we train transformer models on synthetic linear map and cellular automata datasets, and we show that the difficulty of learning attention patterns depends on context length and pattern sparsity. Moreover, scaling the number of attention heads improves learning efficiency on our synthetic tasks, while increasing the head dimension yields diminishing returns past a minimum capacity. We additionally investigate architectures with alternative attention mechanisms, showing that MLP-Mixer outperforms a transformer on linear map tasks with complex attention patterns. Our findings provide a mechanistic insight into emergence, showing that downstream capabilities arise abruptly due to the intrinsic difficulty of learning sparse attention patterns in transformer models.

Tags

emergencesparse-attentionpythiamlp-mixernyux

Topics

emergence, mechanistic interpretability, attention

Research notes

  • Primary: arxiv abs 2606.25010 (cs.LG/cs.CL). Discord/X https://x.com/che_shr_cat/status/2084239996790120638 via fxtwitter (third-party recap; author also writes arxiviq.substack.com). Correspondence vatsalbaherwani@nyu.edu. Author page https://vatsal0.github.io/ links paper+blog; no code URL at check. Synthetic training data not released. Not a hosted corpus, so no datasets_local row.

Similar entries