# Emergent Capabilities Arise Randomly from Learning Sparse Attention Patterns

- **ID:** 652
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2606.25010
- **Authors:** Vatsal Baherwani, Zixi Chen, Shikai Qiu, Andrew Gordon Wilson, Pavel Izmailov
- **Venue:** arXiv / NYU
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** arXiv perpetual non-exclusive license 1.0
- **License family:** Other (auto-classified)
- **Tags:** emergence, sparse-attention, pythia, mlp-mixer, nyu, x
- **Topics:** emergence, mechanistic interpretability, attention
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/652

## 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.

## Attributes

- **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

## From the source (fetched 2026-10-03)

- **Published:** Jun 23, 2026 (arXiv)
- **arXiv categories:** cs.LG, cs.CL (arXiv)
- **Author comment:** 18 pages, 13 figures (arXiv)
- **Citations:** 1 (Semantic Scholar)
- **References:** 23 (Semantic Scholar)

## Abstract

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.

## 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

- [Flash-MSA: Accelerating Million-Token Training With Sparse Attention Kernels](https://papers.projxon.ai/entries/627) (other, #627)
- [HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing](https://papers.projxon.ai/entries/1031) (paper, #1031)
- [LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing](https://papers.projxon.ai/entries/452) (paper, #452)
- [The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks](https://papers.projxon.ai/entries/1263) (paper, #1263)
- [Emergent One-Third Scaling Law as Attention Tries to Concentrate](https://papers.projxon.ai/entries/852) (paper, #852)
- [Alignment Forecasting: Predicting Misalignment from Training Data](https://papers.projxon.ai/entries/1057) (paper, #1057)
