A Controlled Study of Attention-Only Transformers
Feed-forward networks hold two thirds of a transformer's non-embedding parameters, yet the architecture has not received a necessity test that controls parameters, compute, and depth at once. We pretrain attention-only decoder transformers (Simple Attention Networks, SANs) against standard transformers matched separately for parameter count, training FLOPs, and depth (2 to 48 layers), for up to 105B tokens at 6M to 87M parameters. Deleting feed-forward layers in place is costly: the standard transformer leads by 0.47 nats at matched depth and 0.26 nats at matched FLOPs. Reallocating the freed budget into attention depth closes the gap: at matched parameters the difference is 0.006 nats (0...
| Authors | Henry Ndubuaku, Karen Mosoyan, Jakub Mroz et al. |
|---|---|
| Primary category | cs.LG |
| Published | 20 July 2026 |
| Last updated at source | 20 July 2026 |
Connected in the knowledge graph
- SBDO1/needle2Model · cited by
- Cactus-Compute/needle2Model · cited by
- kenpeter123/x-smallModel · cited by
Models and datasets referencing this paper
- Cactus-Compute/needle2Model
- kenpeter123/x-smallModel
- SBDO1/needle2Model
Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.