2026-11-14: Tiny Transformer — Literature Review
← Back to /hutter/ · previous: 2026-03-17
First archive of the tiny-transformer track: train a small standard transformer on enwik9 prefixes,
re-express it as a UM that behaves the same up to a measured translation error, and publish both.
This archive is the literature review that fixes the architecture before any training.
Artifacts
The Smallest Recognizable Transformer: A Literature Review from Attention Is All You Need to a Modern Block, Read in the Universal Model
Covers the 2017 architecture, decoder-only and byte-level models (enwik8 results), the modern block (pre-RMSNorm, SwiGLU, RoPE, no biases), scaling and the two-layer floor for induction heads, mechanistic interpretability of small transformers, and gives a UM reading for each component. Ends with the architecture tt-2. 8 pages, 52 references.
Later in this track
2026-11-24: Predictions for Eight Runs
Nineteen outcomes with probabilities, written before the runs finished.
2026-11-25: tt-2, a Small Transformer on enwik9
What tt-2 is, how well it predicts, and which expected behaviors it shows.
2026-11-25 (2): Rebuilding tt-2 as a UM, the Plan
The order of work for the UM translation, and two questions.
2026-11-25 (3): A Transformer, Worked Through
Interactive: tt-2 running in the page, one byte at a time.
2026-11-26: tt-2 With a Short Context
tt-2-span16 and tt-2-ctx32 trained and measured. How training works now, and a proposal to train every byte a fixed number of times from its full context.
Terms used here
- tt-2: the model this track trains. A byte-level, decoder-only transformer with 2 layers, 4 heads of width 16, residual width 64, a ReLU MLP of width 256, pre-RMSNorm, RoPE, no biases, tied embeddings, a 128-byte context, and about 1.1×105 parameters.
- tt-1, tt-2-swiglu, tt-2-nonorm: variants of tt-2 trained beside it. tt-1 has one layer and is the control (it should show no induction heads). tt-2-swiglu has a SwiGLU MLP of width 176. tt-2-nonorm has no RMSNorm.
- Translation error: bpc of the UM minus bpc of tt-2 on held-out enwik9 bytes [107, 1.1×107), reported together with mean KL(tt-2 ‖ UM) per byte.
- Attention ES: for each head, layer and query position i, the event space whose events are “this head at i reads from source position j”, for j ≤ i.
UM terms (ES, log support, fp, doubled-E) are as in the CMP paper and the RNN–UM mapping.
Source
Block #tt_literature_review in hutter.c; build with ./hutter-make tt-lit-review. The track plan is #tt_track.