One ranking of the architectures most worth testing for general-purpose intelligence. Language modeling comes first.
ORIGINAL VISUAL GUIDE
One problem. Many designs.
Full guide · 4 min 48 sec · silent animation
Read the full guide transcript
00:00–00:08. The opening map connects model families, evidence and the research roadmap.
00:08–00:16. Start by asking how a model handles context. Then check the experiment behind any comparison.
00:16–00:24. In this index, Transformer neural networks are a family of AGI algorithms.
00:24–00:32. Shared design principles can produce very different trained models. Training data, model size and evaluation still matter.
00:32–00:40. Attention reads across positions. A recurrent design carries a state that changes with each input.
00:40–00:48. Hybrid designs can combine the two. The family list includes more approaches than these three examples.
00:48–00:56. The catalogue order is an evidence-led research judgment, not a calibrated performance score.
00:56–01:04. A measured result answers a narrower question. Check which model, task and conditions produced it.
01:04–01:12. The architecture tree goes from family to variant to proposed direction. A branch is not a rank.
01:12–01:20. Expand it to inspect the next test, or use Copy all branches to include even the branches that are collapsed.
01:20–01:28. With twelve distinct entries, choosing any two without order yields sixty-six pairs.
01:28–01:36. For each pair, A then B and B then A give two ordered labels: one hundred and thirty-two. These are not completed experiments.
01:36–01:44. The same pair can be arranged in two orders. Layer counts and placement create further choices.
01:44–01:52. Some catalogue entries are already hybrids, and diffusion can be an overlay. An empty evidence cell is not a zero.
01:52–02:00. A looped Transformer reuses a block over depth. The weights stay the same as the hidden state changes.
02:00–02:08. A useful diagram is encode, refine more than once, then read out. This is internal work, not extra output tokens.
02:08–02:16. A fixed-depth loop runs a chosen number of passes. An adaptive rule can stop earlier, subject to a cap.
02:16–02:24. Autoregression produces the next token; sparse routing selects participating tokens or blocks. These are separate choices.
02:24–02:32. Titans combines attention and a neural memory that updates as new inputs arrive. Surprise can affect the size of an update.
02:32–02:40. The paper explores memory as context, as a gate and as a layer. These are different ways to combine the same broad ingredients.
02:40–02:48. Looped Titans here is a research proposal: write each observation once, then freeze memory for repeated reads.
02:48–02:56. Hold the inputs and write budget fixed. Compare different depths and a no-memory attention control. Extra passes must not replay writes.
02:56–03:04. A proposed RWKV research branch uses fast and slow memory at the same total state size. It is not an official RWKV variant.
03:04–03:12. Try changing the forgetting rate, not the budget. Test recent recall, older recall and whether the newest update replaces an old fact.
03:12–03:20. The reference Transformer can be set to one hundred within a matched experiment. It is not a mark of one hundred percent accuracy.
03:20–03:28. Compare only scores from that same test setup. Read the underlying quality and resource measurements before making a decision.
03:28–03:36. Accuracy counts correct answers. Held-out loss also reflects confidence; lower negative log-likelihood is better.
03:36–03:44. Typical latency is p50 and slower requests show in p95. Separate time to first token from decode speed and retained state from peak memory.
03:44–03:52. One combined index can summarize a matched test, but its weights encode priorities. Choose and publish them before comparing.
03:52–04:00. A quality-heavy weighting and a latency-heavy weighting can value the same measurements differently. Always show the raw metrics too.
04:00–04:08. Choose one mechanism to change. Match data, hardware and budgets, and run more than one seed when possible.
04:08–04:16. Measure recall apart from reasoning. Include overwrites, distractors and missing facts, so a model cannot look good by guessing every time.
04:16–04:24. A roadmap turns an idea into an experiment. Check correctness and use a controlled pilot before scaling.
04:24–04:32. Repeat the result, profile real work and only then decide if the broader comparison is worth its cost.
04:32–04:40. Start in the architecture tree, open the linked evidence, and use the roadmap to choose the next test.
04:40–04:48. The catalogue helps navigate possibilities. A persistent, matched result gives you a reason to change the ranking.
Watch the 2-minute-14-second guideRead the extended guide transcript
00:00–00:10. Opening: the Architecture Index. A branching diagram introduces designs for how a sequence model uses its context.
00:10–00:22. In this index, Transformer neural networks are a family of AGI algorithms. Models built on a design differ with their data, size, training and evaluation.
00:22–00:34. A tokenizer maps pieces of the input to token IDs. An embedding table maps those IDs to vectors. This picture is illustrative; exact boundaries depend on the tokenizer.
00:34–00:46. Attention can mix information across positions. In a causal decoder, a token can attend only to tokens already available. A window restricts this look-back; global attention does not.
00:46–00:58. Position matters: the same tokens in a different order can change meaning. RoPE rotates query and key representations by position; ALiBi biases attention by distance. They are not tokenizers.
00:58–01:10. A key/value cache stores attention data for past tokens. The current query can reuse it. That saves recomputation, while memory footprint and traffic still matter.
01:10–01:22. Mamba carries a learned state forward and updates it with each input. This is a different mechanism from keeping attention keys and values for old tokens.
01:22–01:34. A Transformer–Mamba hybrid can use recurrent state in some layers and attention in others. How those layers are arranged depends on the design and needs testing.
01:34–01:46. For the index's experimental scores, Transformer equals 100 only within a matched test. One hundred is a reference, not accuracy. Held-out quality, latency and memory have different units. Do not combine unrelated tests.
01:46–02:00. Future branches include sparse attention, recurrent depth and hybrid retrieval memory. These are hypotheses. Test each against a matched baseline and measure quality and actual runtime.
02:00–02:14. Start with the architecture and variant tree. Open the matched experiments and look at the evaluation conditions and primary sources. Use that evidence to choose the next test.
00:00–00:08. RWKV-7, called Goose, is a recurrent language model. This guide explains how its state changes and what the paper tested.
00:08–00:16. The source is arXiv version two. The diagrams are simplified illustrations, not footage or reproduced figures from the paper.
00:16–00:24. A recurrent model passes a state forward. A new token and the preceding state produce the next state.
00:24–00:32. Unlike a full attention cache, this state does not keep a separate record of every earlier token.
00:32–00:40. The time-mixing state includes a matrix for each head. The matrix can support associations between different features.
00:40–00:48. An input-derived read combines those features. The matrix is not an addressable archive of exact tokens.
00:48–00:56. A plain additive write can pile new information on top of old information. A delta rule can correct a previous association.
00:56–01:04. Goose generalizes that idea: the amount of correction can vary, and the model can use different keys to remove and to write.
01:04–01:12. The Goose recurrence can be read as a retention term, a correction term and a new write.
01:12–01:20. These are input-dependent operations. Their combined transition is not restricted to a diagonal state update.
01:20–01:28. A single decay rate would fade all channels together. A vector can retain some channels more strongly than others.
01:28–01:36. These gates depend on the input. This explains a mechanism, not a promise of indefinite retention.
01:36–01:44. Goose also replaces a scalar in-context learning rate with a vector. It can vary the correction across key channels.
01:44–01:52. This is part of the state update when reading the sequence; it is not the optimizer learning rate used to train the network weights.
01:52–02:00. Goose does not require removal and replacement to use the same key. One key helps choose the old contribution to reduce.
02:00–02:08. A separate key determines how the new value enters the state. The diagram shows directions in a learned representation, not physical memory addresses.
02:08–02:16. The recurrent state has a fixed shape for a fixed model and batch size. Its size does not increase just because more tokens arrive.
02:16–02:24. This statement is about the model's recurrent state. Total memory also includes weights, runtime workspaces and other implementation costs.
02:24–02:32. Accepting a long stream is not the same as remembering every item. Updates can overwrite or blur associations.
02:32–02:40. Measure exact recall across distances, including after distractors and conflicting facts. Do not infer unlimited recall from fixed- size state.
02:40–02:48. With training tokens already known, structured state transitions can be grouped for parallel work inside chunks.
02:48–02:56. Related DeltaNet work explains this style of parallelization. State must still cross chunk boundaries correctly; it is not independent attention-free shuffling.
02:56–03:04. During ordinary autoregressive decoding, the next token depends on earlier generated tokens and on the previous state.
03:04–03:12. The cost per state update need not grow with the prefix, but actual speed depends on batching, kernels, precision and hardware.
03:12–03:20. The authors evaluate the World3 2.9-billion-parameter checkpoint on selected English and multilingual tasks.
03:20–03:28. The paper uses LM Evaluation Harness version 0.4.8 in float32, mostly zero-shot, with five-shot MMLU.
03:28–03:36. In Table 4 the paper reports a 61.1 percent average for RWKV-7 World3 2.9B, 58.1 for Llama 3.2 3B and 55.6 for Qwen2.5 3B.
03:36–03:44. These are reported multilingual accuracy averages across the table's selected tasks. The separate perplexity column uses a different measure.
03:44–03:52. The model comparison uses different training data and token budgets. It does not isolate the effect of recurrence.
03:52–04:00. Other languages, tasks, precision and hardware may change the tradeoffs. A close English-suite comparison is not proof of statistical equivalence.
04:00–04:08. The paper constructs recognition of regular languages with a constant number of layers under its formal settings.
04:08–04:16. Its separation from a specified Transformer class assumes TC zero differs from NC one. This does not show practical superiority on arbitrary tasks.
04:16–04:22. The authors provide four pretrained model sizes from approximately 0.19 to 2.9 billion parameters, plus training and inference code.
04:22–04:28. The official links and the related DeltaNet paper are listed in the transcript.
With two exact clues, indexed memory and a scan of every record both answered 1,024 of 1,024 queries, including 239 correct “not found” answers. No answer address was supplied. Both returned the newest matching record. The records and queries were synthetic; this is a storage and retrieval benchmark, not a trained-model comparison.
Method
Index
Median time / query
Storage
1. Indexed exact memory
353.3
37.6 µs
34.1 MiB
2. Whole-history scan
100.0
1,600 µs
10.0 MiB
42.5× faster including index construction, at 3.4× the data storage. At these measured times the index paid for itself by query 24. In a separate test with the byte address supplied, direct lookup and a full scan each got 1,024/1,024; a 4 KiB tail got 256/1,024, under a fixture with exactly one quarter of queries inside that tail.
How the benchmark works
One Xeon Platinum 8573C CPU thread; seven alternating timing runs over the same 1,024 queries. The posting lists let the index check the rarer clue first. Median index construction: 36.8 ms; median indexed query time before construction: 1.66 µs. The time in the table charges the full build divided by 1,024 queries. Storage covers the input arrays and allocated posting-list capacity, not process RSS. Both methods pass the same exact-answer gate; the index is 100 times the geometric mean of relative inverse time and relative inverse storage, with the full scan set to 100.
Lean’s lower bound of 2n distinguishable states means at least n bits to distinguish arbitrary n-bit histories. It does not require reading every bit on every query. Finding the right address in natural language remains a different problem. RetrievalAttention uses an approximate KV index ↗.
Does spending more compute than standard pairwise attention buy better language modeling or reasoning? Test higher-order neural interactions, more rounds of pairwise interaction, and broader joint search separately. A higher compute budget alone is not evidence that an algorithm is better.
01 / Joint neural attention
Score a query against two history positions jointly. Compare explicit triple interactions with deeper and looped full-attention controls. Brute-force all-position triplets scale cubically in sequence length; that describes enumeration, not a lower bound for every implementation.
02 / Iterative global mixing
Run several full-context neural passes with shared weights. Compare with untied depth at similar compute, and measure whether extra passes help more on joint evidence than on ordinary next-token prediction.
03 / Branch and merge
Keep several candidate neural states through an evidence-composition step before merging or choosing one. Charge the cost of every branch and compare against the same number of serial refinement steps.
First real-language test: streamed public Hugging Face text, held-out documents, pinned data revision, identical tokenizer and token exposure. Target GTX 1660. Compare held-out bits per byte and learning curves at matched exposure and separately at matched wall-clock or compute budgets; measure prefill, decode, and peak memory on the same device. Use joint-cue recall as a diagnostic, not a substitute for real language. These are planned measurements, not posted language results.
Non-neural and hybrid comparisons
Score a frozen variable-order byte predictor on the same held-out text. On structured reasoning, compare exact joins and bounded symbolic program search on the same inputs as the neural models. When a symbolic method receives pre-parsed facts, label that advantage and test the end-to-end parsing cost separately. No single result here establishes general intelligence. Prediction by partial matching ↗ · DreamCoder, a hybrid program-search example ↗.
A backbone says how information moves. A decoder says how output is generated. Check those axes separately before comparing a Transformer diffusion model with another denoiser.
P039 / MATCHED PILOT / GTX 1660 / 2 SEEDS
The fastest diffusion arm predicted only spaces
Matched 36k-parameter models crossed attention-only and an attention–selective-scan hybrid with greedy AR and masked diffusion. Each arm trained on the same sampled windows for 1,000 steps per seed. Both decoders saw the same 80-byte prompt and were scored on the next 16 bytes. There were 36 held-out windows across WikiText, public-domain fiction and curated dialogue, tested with two seeds.
Attention + four-pass diffusion: 17.53% correct bytes, 3.00 ms median; diagnostic index 257.2. Every predicted byte was a space. This exactly ties the trivial most-common-byte baseline.
Attention–selective-scan + four-pass diffusion: 14.32%, 7.36 ms; index 148.3. Below the trivial baseline. The same hybrid reached 17.45% in one pass, also dominated by spaces.
Attention AR: 9.55%, 10.79 ms; index 100. Generated more varied output but did not complete any suffix exactly.
Attention–selective-scan AR: 9.20%, 18.61 ms; index 74.8. Better teacher-forced compression than attention AR (3.558 vs 3.968 bits/byte), not better free generation.
Decision: no model passes. Every arm got 0/72 exact suffixes. The index is 100 × the geometric mean of relative byte accuracy and relative inverse latency, with attention AR as 100. It ranks raw diagnostics, not useful generation: a fast guess at the most common byte can inflate it. Latency uses reference decoders without a KV cache. The selective scan is a small Mamba-1-inspired implementation, not a stock Mamba or Jamba checkpoint. No change to the main architecture ranking or 890B.
CPU baseline check: a training-only byte trigram scored 9.03% (52/576), with 0/36 exact suffixes and 25% space predictions. Adding fixed position phase did not improve it. The trivial all-space mode still scores 17.53%, proving this raw byte metric is not enough by itself. CPU baselines are not included in the CUDA timing index.
Next: use non-space accuracy and exact output alongside diversity; compare shorter denoising schedules on a larger held-out sample before promoting any hybrid.
P039-L1 / LONGER MATCHED TEST / CPU / 22 NOV 2026
More training did not fix the diffusion collapse
This follow-up used 476,736 parameters and 3,200 updates per arm and seed, with matched supervised byte counts within each seed (332,910 and 333,360). Both seeds used two CPU threads. Held-out evaluation used the same 143 document windows per seed: 43 article, 44 fiction and 56 dialogue. Fill-in-the-middle asked for 8 bytes using the same 48 left and 24 right context bytes.
Cached autoregression: 22.85% on four-choice fill-in-the-middle; 0/286 exact fills and 0/286 exact suffixes. About 3.18% of non-whitespace target bytes were correct. Fill latency p50/p95 26.53/29.31 ms; mean fit 352.8 seconds.
Four-pass masked diffusion: 24.15% on four-choice fill-in-the-middle; 0/286 exact fills and 0/286 exact suffixes. Every generated fill byte was a space. Fill latency p50/p95 22.45/29.97 ms; mean fit 436.0 seconds.
No qualified rank: neither arm beat the 25% four-choice chance reference, and neither met the preregistered quality and diversity requirements. The combined index is unassigned. Diffusion's lower median latency isn't evidence of faster useful generation, and this CPU experiment does not settle how stronger architectures or decoding methods perform.
P039-L2 / MATCHED GPU TEST / GTX 1660 SUPER / 22 NOV 2026
At 3.3M parameters and 20,000 updates, masked diffusion trails a byte 9-gram
Verdict: both autoregressive (AR) models pass the quality gate and both masked-diffusion models fail it. The two AR models are close, and which one ranks first depends on how cost is counted.
#
model
combined index (attention AR = 100)
quality index
held-out bits/byte [95% CI]
non-space accuracy
exact 16/16
space rate
degenerate
decode ms, GPU kernel
decode ms, wall-clock
train GPU min
GPU min to common dev target
train-step peak MiB
gate
1
Attention AR ★
100.0
100.0
1.823 [1.780–1.873]
15.0%
0.10%
20.8%
0.3%
6.50
27.4
14.2
12.8
393
pass
2
Hybrid AR ★
97.5
102.2
1.784 [1.741–1.832]
15.4%
0.20%
20.9%
0.3%
6.18
29.7
17.2
11.2
639
pass
–
Hybrid diffusion, 16 passes ★
not ranked
68.3
2.449 [2.414–2.485]
9.4%
0.00%
25.4%
2.4%
34.67
48.7
25.2
not reached
918
fail: bits, non-space
–
Attention diffusion, 16 passes ★
not ranked
64.9
2.543 [2.510–2.577]
8.8%
0.00%
24.7%
2.7%
19.16
31.4
16.3
not reached
393
fail: bits, non-space
ref
Byte 9-gram (Kneser-Ney)
–
–
2.040 [1.996–2.088]
14.1%
0.15%
21.0%
0.4%
–
–
–
–
–
reference
ref
Attention AR, learned absolute positions (v1)
–
–
1.745 [1.709–1.785]
15.0%
0.12%
21.1%
0.4%
–
–
–
–
–
reference, not timed
ref
Always a space
–
–
–
0.0%
0.00%
100.0%
100.0%
–
–
–
–
–
reference
P039-L1 found that masked diffusion produced only spaces at 476,736 parameters on a CPU. This GPU follow-up trains four matched arms of 3,290,880–3,291,224 parameters (4 layers, width 256, 256-byte context, rotary positions): attention, or a hybrid that alternates Mamba-1-style selective-scan layers with attention (the diffusion hybrid scans both ways), each trained AR or as masked diffusion, with the same 20,000 updates of 16 × 256 bytes and two seeds. The data is the byte corpus of our P045 benchmark: WikiText-2 articles, Project Gutenberg fiction and OpenAssistant dialogue, 11.9M training bytes. Scoring used 4,768 answers (240-byte prompt, 16-byte answer) from 303 held-out test documents, with equal weight per domain. Intervals are 95% document-bootstrap intervals; they cover test documents, not training seeds.
Diffusion fails the quality gate. Scored by its exact left-to-right likelihood (one byte revealed per step), it reaches 2.449 bits/byte (hybrid) and 2.543 (attention), worse than the 9-gram’s 2.040, and its best non-space accuracy, 9.7%, is below the 9-gram’s 14.1%. With 16 passes it no longer collapses to spaces as in P039-L1 (2–3% of answers degenerate), but it needs more GPU time than cached AR. With 1–4 passes (attention) or 1–2 (hybrid) it needs less, but 20–94% of those answers repeat one byte, mostly spaces. On raw byte accuracy one-pass diffusion scores 21%, above AR’s 19%, only because spaces are common; hence the non-space gate.
Among the rotary-position models, the hybrid predicts best: 1.784 against 1.823 bits/byte for attention (paired −0.039, 95% CI −0.048 to −0.030; per seed the hybrid leads by 0.052 and 0.026), with level non-space accuracy. It uses slightly less GPU kernel time per answer (6.18 against 6.50 ms) but is slower in eager wall-clock time (29.7 against 27.4 ms). It reaches the common dev target sooner (11.2 against 12.8 GPU minutes), but its full 20,000 updates take 21% more GPU time (17.2 against 14.2 minutes).
Rotary positions cost attention AR quality here. With P045’s learned absolute positions the same attention AR scores 1.745 bits/byte: better than rotary attention by 0.078 (CI 0.064–0.092) and than the rotary hybrid by 0.038 (CI 0.025–0.053), with level non-space accuracy. The matched arms use rotary because attention diffusion with absolute positions was still on the unigram plateau (4.5 dev bits/byte at update 2,000) when we stopped both seeds near update 2,600. The hybrid was not trained with absolute positions, so these runs cannot tell whether it is the better design or only less hurt by rotary.
Ranking: the preset combined index (likelihood, non-space accuracy, GPU-kernel decode time and the GPU time of the full 20,000-update run, 25% each) gives attention AR 100 and the hybrid 97.5. Counting GPU time to the common dev target instead gives the hybrid 105.8; counting wall-clock decode time gives it 94.4. On quality alone the hybrid leads rotary attention, 102.2. This is one small scale, one corpus (article and fiction rest on 31 and 32 test documents), two seeds and one 20,000-update budget (about 7 passes over the data; every diffusion run was still improving at its last dev check). It does not settle diffusion at larger scale, with longer training, or with other objectives and samplers.
Combined index = weighted geometric mean of each metric’s ratio to attention AR (inverted where lower is better); quality index = likelihood and non-space accuracy only. Gate: bits/byte below the 9-gram, non-space accuracy above the 9-gram’s greedy answers, and fewer than half the answers degenerate (one byte 12 or more times in 16). The gate, the weights and the ★ decoders were set before any network was scored on the test set. AR decodes greedily; a diffusion pass commits the most confident masked bytes. Decode ms = one 16-byte answer at batch 1, median of three rotated rounds with no other GPU process: GPU kernel time (torch.profiler) and eager wall-clock time; kernel time leaves out Python and launch overhead, which weighs most on cached AR. Train GPU min = 20,000 × the median over three rounds of the mean kernel time per training step. Dev scores: exact NLL for AR, an 8-sample NELBO for diffusion, every 2,000 updates; common dev target = 1.748 dev bits/byte (the weaker attention AR seed’s best), minutes are the mean of the two seeds. Train-step peak MiB = one training step in the timing pass; the full runs, with dev evaluation, peaked at 388–905 MiB. Code, all 14 decoder rows and run logs · 10 checkpoints · CPU follow-up P039-L1 · first P039 pilot
Hybrid pairs and permutations
These are unordered design labels, not completed benchmarks or independent architectures. Some entries are already hybrids; diffusion is an overlay. Order, layer allocation and datasets add more choices. An empty evidence cell is not a zero.
MEASURED / 22 NOV 2026
Experimental rankings vs Transformer
Transformer = 100 within each matched benchmark only
OM2 + OM3 · one index, all metrics · 16 matched models · 22 Nov 2026
Which model is best overall, at a glance
At a glance: the Transformer (100.0; spread 96.9–101.2) and the Transformer-Mamba hybrid (99.9;
98.5–101.1) are level at the top: their spreads overlap, and the timing on this shared machine cannot separate them (with the second
timing pass alone the hybrid leads, 103.7 against 100.0). Mamba-2 is third (96.7; 93.1–98.1) and the only model in the
top four under all 16 ways of counting (ranks 1–4). Our v2 with positive decay (93.8) and RetNet (93.6)
follow. No model is best on every metric: on held-out text, which this page ranks first, the Transformer is 15th of 16
(2.379 bits/byte) and RetNet 16th (2.475); both rank high on fast training steps. Best quality: our Mamba v1
(2.151) and v2 with the always-on store (2.153), level (-0.002 [-0.005, +0.002]). Fastest decoding: our Mamba v1 (1.9
ms/token), which ranks 16th of 16 under these weights because each training step takes 18.1× as long as the Transformer's and
needs 10.5× its training memory. Smallest decode state: Griffin (24 KiB).
#
model
combined (spread)
rank under 16 ways of counting
quality (bits/byte)
repeat-span accuracy
training (s/step)
decode (ms/token)
prefill (k tok/s)
inference memory (fp32 weights + decode state at 256 tokens; state in brackets)
training memory (MiB above baseline)
1
Transformer
100.096.9–101.2
1–11
100 (2.379)
100 (52%)
100 (0.22)
100 (2.4)
100 (24.2)
100 (1024 KiB)
100 (290)
2≈
Transformer-Mamba hybrid
99.998.5–101.1
1–8
114 (2.189)
106 (55%)
74 (0.30)
100 (2.4)
78 (19.0)
119 (584 KiB)
73 (394)
3
Mamba-2
96.793.1–98.1
1–4
115 (2.178)
108 (56%)
59 (0.37)
104 (2.3)
62 (15.1)
145 (143 KiB)
52 (561)
4≈
Our Mamba v2, positive decayMamba (ours)
93.890.0–94.6
3–7
116 (2.168)
107 (56%)
56 (0.39)
90 (2.7)
59 (14.3)
145 (143 KiB)
50 (574)
5≈
RetNet
93.690.5–95.2
2–14
94 (2.475)
95 (50%)
93 (0.23)
82 (2.9)
69 (16.8)
151 (66 KiB)
69 (418)
6≈
Our Mamba v2Mamba (ours)
90.888.1–92.6
4–8
116 (2.168)
108 (56%)
54 (0.40)
79 (3.0)
55 (13.3)
145 (143 KiB)
45 (637)
7≈
Hyena
90.487.5–92.0
5–15
102 (2.355)
102 (53%)
79 (0.28)
82 (2.9)
60 (14.6)
100 (1036 KiB)
71 (408)
8≈
Griffin (RG-LRU + local attention)Griffin / RecurrentGemma
90.387.4–91.8
1–10
109 (2.257)
103 (54%)
59 (0.37)
71 (3.4)
68 (16.5)
155 (24 KiB)
55 (530)
9≈
v2 + placebo sidecarMamba (ours) + sidecar
89.086.2–90.4
5–10
116 (2.163)
107 (56%)
53 (0.41)
74 (3.2)
54 (13.0)
137 (143 KiB)
46 (633)
10≈
Gated DeltaNet (mixer only)
87.785.2–89.0
6–11
113 (2.209)
106 (55%)
42 (0.52)
84 (2.8)
46 (11.2)
147 (117 KiB)
60 (484)
11≈
RWKV-7-style
85.181.4–86.0
9–14
109 (2.258)
104 (54%)
49 (0.44)
74 (3.2)
48 (11.7)
146 (132 KiB)
40 (729)
12≈
v2 + always-on exact storeMamba (ours) + exact store
84.882.3–88.6
7–13
117 (2.153)
108 (56%)
51 (0.43)
58 (4.1)
51 (12.4)
129 (271 KiB)
45 (643)
13≈
v2 + state-gated exact store ("Mamba-4" idea, gate as designed)Mamba (ours) + exact store
84.784.0–88.8
8–13
113 (2.198)
108 (56%)
53 (0.41)
60 (4.0)
50 (12.1)
129 (271 KiB)
45 (640)
14≈
xLSTM (mLSTM)
83.781.5–84.7
9–14
116 (2.170)
107 (56%)
40 (0.55)
71 (3.4)
43 (10.3)
137 (272 KiB)
48 (603)
15
Titans-style (MAG, linear memory)Google Titans
73.270.2–73.7
15–16
105 (2.310)
102 (53%)
36 (0.61)
46 (5.2)
29 (6.9)
132 (345 KiB)
60 (485)
16
Our Mamba v1Mamba (ours)
61.159.5–63.0
2–16
117 (2.151)
108 (56%)
6 (3.95)
124 (1.9)
20 (4.8)
152 (44 KiB)
10 (3040)
16 models covering ten of the twelve families ranked on this page (all except discrete diffusion and
Perceiver AR), each 0.47–0.48M parameters (the three exact-store and sidecar variants 0.50M; 4 layers, bytes in, tied
embeddings), trained on the same 2,000 updates of 8 × 256 bytes from the P056 corpus (encyclopedia articles, public-domain
fiction, OpenAssistant dialogue), with the same data stream for every model at each of two seeds, scored at the final checkpoint on
303 held-out test windows. Each column is an index where Transformer = 100 and higher is better; raw values are in brackets. Combined = weighted
geometric mean of the columns: quality 35%, repeat-span accuracy 15%, training speed 15%, decode speed 15%, inference memory 10%, prefill speed 5%, training memory 5%. Quality index = 100 × 2^(Transformer
bits/byte − the model's), the ratio of per-byte perplexities; bits/byte is the mean of the three domains' held-out scores (31
article, 32 fiction and 240 dialogue windows). Speed and memory: one machine (Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz), one thread, every model in
its own process; every timing is the median over the rounds of two passes (the state-gated store and the control: three rounds of the
second pass). Inference memory = fp32 weights plus the per-sequence decode state after 256 tokens at batch 1; training memory is the
training step's peak above the process baseline (PyTorch and data, about 0.46 GiB). The spread under each combined score is its lowest
and highest value over the seed × timing-round pairs (each round's own timings against the Transformer's medians, each seed's
quality against the Transformer's at that seed); "≈" in the first column marks a row whose spread overlaps the row above, i.e. not
separated from it. "Rank under 16 ways of counting" is the best and worst rank under these weights and
15 alternatives: equal weights; quality 50%; speed-heavy; without repeat-span accuracy; training cost as time to quality; inference only (no training cost); bf16 weights in inference memory; inference memory at batch 8; decode state only as memory (OM2 definition); whole-process training memory (OM2 definition); whole decode cache as memory (incl. input-independent tables); best round instead of the median for prefill and decode; timings from the first pass only; timings from the second pass only; prefill and decode timed interleaved in one process. Each alternative's weights are listed in the README. Brackets in the findings are paired
differences in bits/byte, mean of both seeds (negative = first model better), with descriptive 95% intervals from resampling test
documents, which leave out seed-to-seed variation. All 16 models pass the quality gate (index ≥
80) and are ranked.
What it shows
Who leads depends on how costs are counted. With equal weights, Transformer leads (100.0; next Transformer-Mamba hybrid 93.2); with quality at 50%,
Transformer-Mamba hybrid leads (103.2; next Mamba-2 100.8); with speed-heavy weights, Transformer and Transformer-Mamba hybrid are level at the top (100.0 and 95.4); without the repeat-span column, Transformer and Transformer-Mamba hybrid are level at the top (100.0 and 98.9); when training cost is counted
as time to reach a given quality, Transformer-Mamba hybrid and Mamba-2 are level at the top (112.6 and 111.8); when only inference counts, Mamba-2 and Our Mamba v1 are level at the top (112.0 and 111.3); with memory at batch 8, Mamba-2 and RetNet are level at the top (105.2 and 103.7).
("Level" means their spreads overlap.) Mamba-2 is in the top four under all 16 ways, the hybrid under 15
(8th with OM2's state-only memory) and the Transformer under 12: it is 6th with time to quality,
11th with inference only, 6th with memory at batch 8 and 10th with state-only memory.
Attention kernel. The attention layers (Transformer, hybrid, Griffin, Titans-style, the exact store) run on
PyTorch's fused CPU attention kernel; the recurrent mixers run as ordinary PyTorch ops. With its attention written out in ordinary ops
(the same function to 5.7e-7), the Transformer takes 1.16× as long per training step, needs 1.68×
the training memory and prefills 1.23× slower; its decode difference is not resolved (its rounds 2.47–3.17 ms against
the Transformer's 2.30–2.92 ms in the same pass). It would score 93.3, inside the spreads of the rows ranked 3–5. Part
of the Transformer's lead is the kernel PyTorch ships, not the design.
Quality ranks differently. Our Mamba v1 (2.151) and v2 with the always-on store (2.153) lead,
level with each other. xLSTM's mLSTM (2.170) is level with plain v2 (2.168; +0.003 [-0.002, +0.007], the two seeds
+0.009 and -0.004) and ahead of Mamba-2 (-0.008 [-0.012, -0.003]). Every model except RetNet beats the Transformer (2.379); RetNet is
+0.097 [+0.091, +0.102] behind. The RetNet paper's perplexity scaling comparison with Transformers is at 1.3B, 2.7B and 6.7B parameters,
where it calls them comparable and reports RetNet ahead above about 2B, so it says nothing direct about 0.47M parameters; this arm's
heads, value width and FFN are also narrower than the paper's.
Hybrids and recurrent designs. The hybrid (Mamba-2, attention + MLP, Mamba-2, attention + MLP: a 1:1
interleave where Jamba puts one attention layer in eight) is +0.011 [+0.005, +0.016] behind the Mamba-2 arm and trains 1.3× faster per
step; the gap is not the swap alone, since the Mamba-2 arm keeps Hugging Face's initialisation and the hybrid the benchmark's. Its
two attention layers keep a KV cache (584 KiB of decode state against Mamba-2's 143). Gated DeltaNet (mixer only)
trails Mamba-2 (+0.031 [+0.026, +0.036]); its paper reports it ahead at 1.3B parameters (Wiki perplexity 16.42 against 16.56), and we did not
test why it is behind here: both arms are mixer-only with 32-wide key heads, narrower than the 128 the Gated DeltaNet paper chose,
and the Gated DeltaNet arm has half as many heads and a 25% smaller recurrent state (6,144 against 8,192 values per layer). Griffin
and the RWKV-7-style model are not separated (the two seeds +0.013 and -0.016) and both trail Mamba-2 (Griffin +0.078 [+0.071, +0.086]).
The Titans-style arm is Titans' MAG design (a 64-token attention window beside the long-term memory) with a small linear memory (2
heads of 32×32) instead of the deep MLP memory, a combination the paper does not report (its linear-memory ablation is of the
memory-only model). With linear memory its update is the same kind of gated delta rule as Gated DeltaNet's, with a third of the
memory state (2,048 against 6,144 values per layer), so its quality (2.310) says nothing about Titans against Gated
DeltaNet; it decodes slowest (5.2 ms/token). Hyena edges the Transformer (-0.024 [-0.028, -0.019]).
Speed and memory. Per training step the Transformer (0.22 s) and RetNet (0.23) are fastest,
then Hyena (0.28) and the hybrid (0.30); our Mamba v1 is slowest (3.95). Counted as time to quality the order
changes: the hybrid reaches the common dev-set target (2.427 bits/byte, the worst final dev score of any single run; dev scores run
lower than the test scores in the table) in 3.1 training minutes on this CPU and Mamba-2 in 3.3, against the
Transformer's 5.1; the Transformer's own final dev score (2.325) takes the hybrid 4.4 minutes and Mamba-2
5.0, against the Transformer's 7.2. These are read off the dev curves of one 2,000-step cosine schedule; separately
scheduled shorter runs were not trained. Griffin has the smallest decode state (24 KiB, fixed in size because its
attention is local). Hyena's per-sequence state, the history of its long-convolution inputs, is 1036 KiB after 256 tokens,
about the Transformer's 1024 KiB KV cache. The shared machine switched between a fast and a slow mode within tens of seconds:
between timing rounds a model's decode time varied by up to 35% and its training step by up to 23%, which is what the
spreads show.
The "Mamba-4" store. The exact-token store helps quality when every token reads it (always-on minus placebo
-0.010 [-0.014, -0.007]). The state-gated version does not work as designed: by the end of training its gate had not become selective (mean
gate weight 0.05 and 0.09 in the two seeds), and reading only where the gate exceeds 0.5, as designed, it reads on 0.04% of
tokens and scores 2.198 bits/byte, worse than plain v2 (2.168). Used as a soft weight on every token it scores
2.157 (soft minus placebo -0.006 [-0.010, -0.002]). So it fails this page's test for state-gated retrieval (better exact recall
without worse held-out loss) on held-out loss alone; this benchmark has no working recall measure, since no model copies.
No model shows in-context copying. Every model predicts a 32-byte span repeated after 16–176 bytes of
another document worse than its first occurrence, which follows its own text (copy gain -0.14 to -0.01 bits/byte over every model, seed and
gap), so any copying is smaller than the cost of the change of context. The repeat-span column (50–56% next-byte accuracy)
therefore measures ordinary next-byte skill, a second quality score, not recall; leaving it out changes no model's rank by more than
2.
Choices made after seeing the results, and their effect. Memory: OM2's card (8 models) scored it by the decode
state alone, which put Mamba-2 first and the Transformer 7th of 8; on these 16 models that definition puts Griffin (RG-LRU + local attention) first,
RetNet 2nd, the hybrid 8th and the Transformer 10th, because its 10% column
multiplies Griffin's score by 1.45× while the 35% quality column moves no model by more than 6% (the training-speed
column, which multiplies our v1's score by 0.65×, was kept as a real difference in training time). Memory now
counts fp32 weights plus the per-sequence decode state, which leaves out 1024 KiB of input-independent filter taps that
Hyena's decoder caches (counting them, Hyena is 9th instead of 7th). Training memory is measured above the
process baseline (with the whole process, as in OM2, Transformer-Mamba hybrid and Transformer are level at the top (100.8 and 100.0)). Timings are medians over two passes, a choice made after
both were seen: with the first pass alone Transformer and Transformer-Mamba hybrid are level at the top (100.0 and 98.8); with the second alone Transformer-Mamba hybrid and Transformer are level at the top (103.7 and 100.0); with each model's best decode and
prefill round Transformer and Transformer-Mamba hybrid are level at the top (100.0 and 99.4); with prefill and decode timed interleaved in one process Transformer-Mamba hybrid leads (102.5; next Mamba-2 100.5). Each of these is one of the
16 ways of counting. The state-gated store is scored with its gate as designed; scored with its soft read it would be
11th (85.5) instead of 13th. The recall column was renamed. Because these choices came after the
results, and the top of this table matches the family ranking above (Transformer, hybrid, Mamba), that agreement is not independent
support for that ranking.
Short context only. Every speed and memory figure is at 256 tokens or fewer, where the Transformer's KV
cache (1024 KiB) is still smaller than its weights; long contexts, where attention caches and decode time grow and fixed
recurrent states do not, are not tested here.
Each of the eight new families is one implementation written from its paper and scaled down to the
shared budget, with its simplifications listed in its file; the Transformer, Mamba-2 (Hugging Face's definition and initialisation)
and our Mamba arms are OM2's. Five of the new ones (Gated DeltaNet, Titans, xLSTM, RetNet, RWKV-7) were reviewed independently against
their papers: RWKV-7's initialisation was fixed before training; Titans' major finding (linear instead of deep memory) was not, so that
arm is Titans' MAG design with a linear memory, a combination the paper does not report, with one minor fix (a bounded inner step
size). The hybrid, Griffin and Hyena were checked by tests only. Every model's whole-sequence and token-by-token outputs agree after
training (largest logit difference 2.3e-05 on two 96-byte test sequences). Training ran on
two machines (Mamba-2, our v1 and the two exact-store arms on PyTorch 2.10, the other twelve on 2.7.1) with the same data stream,
seeds and settings. The attention layers (Transformer, hybrid, Griffin, Titans-style, the exact store) use PyTorch's fused CPU
attention kernel, while the recurrent mixers run as ordinary PyTorch ops; Hyena runs its forward FFT in float64 and the Titans-style
arm takes an exact inner gradient step per token, both slower than their papers' recipes. Not included: discrete diffusion language
models (trained and scored with an upper bound on the likelihood, so their bits per byte would not be a matched number) and Perceiver
AR (its latents predict only the last positions of each window, and at 256 bytes its long-input bottleneck has little to compress).
Small CPU models, one corpus: a matched comparison of these designs at this size, not a ranking of the families at scale. The #
column ranks models inside this benchmark only: it places no design against the twelve-family ranking above, which is unchanged, and
the "Mamba-4" proposal (row 13) stays unranked there, its first test not passed.
P056/P057 · WikiText byte prediction
Approximately 25K parameters, two CPU seeds, 192 updates and 36,864 byte targets per seed. Evaluation held out 12 articles. Index = 100 × 2(Transformer BPB − model BPB); higher index and lower bits per byte are better. CPU fit time is separate from this quality-only index.
Mamba‑2 (official HF implementation) · 174.27 · 3.22237 bits/byte · 9.86s CPU fit
Mamba‑1 · 171.09 · 3.24888 bits/byte · 21.53s CPU fit
ScAGI parallel affine-scan Mamba · 159.11 · 3.35364 bits/byte · 9.45s CPU fit
Mamba‑3 SISO CPU reference · 133.11 · 3.61107 bits/byte · 14.49s CPU fit
Transformer · 100.00 · 4.02366 bits/byte · 3.76s CPU fit
Mamba‑2 leads this sample, but its confidence interval for the difference versus Mamba‑1 crosses zero. Mamba‑3 here is a SISO CPU reference, not official CUDA and not MIMO. Training progress between updates 64 and 192 (held-out BPB reduced per CPU second): Transformer 0.217, ScAGI 0.097, Mamba‑2 0.071, Mamba‑3 SISO 0.054, Mamba‑1 0.030. Starting losses differed; these slopes are not inference speed.
P055 · held-out fiction and dialogue
Two CPU seeds, 28-second fit budget, no target-domain adaptation. Mamba‑1 127.34 (3.92139 bits/byte), Transformer 100 (4.27002 bits/byte). This Mamba‑1 is not the custom ScAGI model above.
See also the P036 memory-hybrid experiment, where the attention baseline equals 100 only within that test. Scores across tasks or budgets are not interchangeable and do not change the architecture-family ranking.
When an experimental design can join a combined benchmark
Combined rank: unassigned. The rows above support a quality ranking within one matched cohort, not a reliable placement against the full family list. To bridge that gap, run the experimental variants and the reference families with the same Transformer control, frozen datasets and holdouts, tokenizer, parameter/compute targets, hardware and precision. Report training exposure and fit cost, exact generation/retrieval, peak memory and end-to-end inference latency. Keep models without comparable runs unranked rather than averaging distinct Transformer=100 tests.
These choices are independent: a single model can be decoder-only, use grouped-query attention, alternate windowed and global layers, and route feed-forward experts. They are not separate ranks in the architecture index.
Backbone: encoder, decoder or both
Encoder-only reads both directions for representations; causal decoder-only generates from preceding tokens; encoder–decoder adds cross-attention from the decoder to encoded input. BERT ↗ · GPT‑3 ↗ · T5 ↗
Attention heads and cache representation
MHA has separate key/value heads; MQA shares one; GQA shares them in groups. MLA instead stores a learned compressed key/value representation, plus separate positional information in DeepSeek‑V2. MQA ↗ · GQA ↗ · DeepSeek‑V2 / MLA ↗
Differential attention (DIFF V1 / V2)
V1 subtracts a scaled softmax attention map from another, so the resulting weights can cancel shared attention. V2 takes the same kind of difference between paired query-head outputs that share keys and values within one GQA group. A token- and head-specific sigmoid gate scales the subtraction; the extra query heads do not require extra cached KV heads. This is a Transformer attention variant, not a cache-compression method. What to test: Compare V2 with ordinary GQA at matched parameters, training budget, KV bytes per token, context, hardware and precision. Report held-out loss and distractor recall alongside prefill and decode latency and peak memory headroom. No independent ranking follows from the authors’ runs. DIFF V1 paper ↗ · DIFF V2 research note ↗ AGILLM 890B family KV memory budget and recommended test order ↓
Use a cache budget, not a reply-length limit. Lowest persistent KV memory: recompute the prefix instead of caching it. Best practical experiment for this model family: qualify the existing INT8 cache first, with FP32 as the reference. If bounded memory matters more than exact old-token attention, keep a recent window and continue generating after the cache fills.
Historical serving snapshot, 23 Nov 2026: Binary 892B checkpoint #9151 (891,205,713,920 parameters; 560 layers). The following are runtime-reported KV allocation rates, not end-to-end peak GPU memory or generation benchmarks. Binary model weights do not make the KV cache binary.
FP32, the default in this snapshot: 35 MiB/token. Reported full-retention budget: 256 total tokens, about 8.75 GiB of KV.
FP16 / BF16: 17.5 MiB/token. Reported full-retention budget: 512 total tokens, about 8.75 GiB of KV.
INT8 / adaptive INT8: about 9.02 MiB/token at the INT8 rate, including per-head scales. Reported full-retention budget: 992 total tokens, about 8.74 GiB at that rate. A 1,024-token all-INT8 cache would be about 9.02 GiB, above this reported full-retention limit. The runtime reports an INT8 geometry probe, not matched generation quality; hardware-auto is supported but not qualified or the UI default.
Live recheck, 24 Nov 2026: The serving worker reports checkpoint #9334 (Binary 905B). It reports the same KV allocation rates and bounded AR cache budgets above, with FP32 still the runtime default. The cache budget is not a reply-length limit and does not show that generation quality improved.
Practical order to test (engineering judgment, not a benchmark ranking):
Keep full history where it fits: qualify INT8, with FP16/BF16 as the fallback. Compare each against FP32 on the same checkpoint, prompts and settings. Measure loss, exact recall with distractors, generation quality, time to first token, p95 decode time and peak memory including dequantization scratch. Leave the live default unchanged until the gates pass.
If the budget fills: choose what to preserve. A rolling window bounds KV and can keep producing tokens, but evicted tokens are no longer attended. An attention sink can help streaming stability, not recover their contents. If full-history attention is required, test same-precision CPU offload instead: it reduces GPU residency, not total KV memory, and adds host RAM and transfer latency. Saved input token IDs plus indexed replay can recover selected text, but are not equivalent to attending the entire old prefix.
Only then test INT4 / INT2. Ideal payload lower bounds are 4.375 / 2.1875 MiB per token here, before scales, residual buffers and scratch. KIVI demonstrates low-bit KV on other models, not these levels of quality, speed or peak memory on AGILLM.
Absolute minimum: 0 persistent KV bytes with exact full-prefix recomputation using the same weights, precision and attention rule. Working memory is still required. Repeated prefill makes this a useful correctness reference or emergency fallback, not the expected cheapest option in compute time. GQA and MLA change the attention architecture or weights; neither is a drop-in compression setting for this checkpoint. No RoPE change is required for the cache options above.
Cross-Layer Attention (CLA) lets one layer use key and value tensors computed by another, with its own queries. That is different from GQA and MQA, which share KV heads within a layer, and from reusing KV between passes through a loop. Brandon et al. reported roughly half the KV cache of standard MQA with nearly unchanged accuracy in from-scratch 1B and 3B experiments. YOCO uses a different layout: a self-decoder builds one global KV cache and a separate cross-decoder reuses it. Neither method is a lossless retrofit for the existing 890B checkpoint. CLA paper ↗ · YOCO paper ↗ Fair test: train per-layer and shared-KV versions on the same data and budget; hold KV-head count, cache precision and hardware fixed. Compare held-out loss and long-range recall before weighing retained bytes, peak memory and prefill/decode latency.
Which positions interact
Dense attention covers all allowed positions. Sliding windows and sparse patterns omit position pairs, while linear-attention designs factor or approximate the interaction rather than merely choosing fewer pairs. Longformer ↗ · Performer ↗
Segment recurrence and compressed memory
Transformer-XL lets each segment attend to cached hidden states from earlier segments, with relative positions and gradients stopped through the cached states. Rereading an old state is not the same as jointly updating it with the new segment. Compressive Transformer adds a second memory tier: as detailed states age out, it compresses them instead of dropping them immediately. This trades exact older detail for more history under a memory budget, not guaranteed exact recall. Neither is ordinary KV quantization. Transformer-XL paper ↗ · Compressive Transformer paper ↗ Fair test: match training data and persistent memory bytes, then compare an ordinary sliding window, segment recurrence, and a two-tier cache on long-text loss, exact distant-fact recall and end-to-end latency. Include facts that are overwritten and facts that were never seen.
Each recurrent layer builds keys and values for later tokens from its own outputs, not just the layer below. This makes a dependency chain across token positions without repeatedly applying a depth block to the same token. The authors report lower C4 cross-entropy than parameter-matched Transformers at 150M and 300M parameters. Their tiling result concerns memory traffic, not linear-time attention or a fixed-size KV cache. Recurrent Transformer paper ↗ Fair test: compare same-depth and parameter-matched controls separately; report held-out loss, training and prefill time, and KV bytes per token.
Teacher-supervised token feedback: LIFT
LIFT predicts an auxiliary latent state as well as the next token and feeds its predicted state into the next generation step. The training targets come from a teacher model’s next-token distribution and are precomputed so student pretraining can still run in parallel across positions. This is not segment memory or another pass through the same block. The authors report gains over token-matched baselines at 135M–1B parameters; this is not a confirmed result at larger scales. LIFT paper ↗ Fair test: compare against a no-feedback student with the same teacher supervision, include teacher preprocessing in cost, and test rollout quality with the student’s own latent states.
Gated state across blocks: Block-Recurrent Transformer
A recurrent attention layer updates a fixed set of state vectors as successive token blocks arrive. The cell uses self-attention and cross-attention over tokens and state, with LSTM-style gates for state updates. Tokens inside a training block run in parallel; the state passes between blocks in sequence. This is recurrence across the input, not repeated depth on the same input block. The paper evaluates long-text language modeling on books, papers and code; its comparisons do not establish a speedup on every implementation. Block-Recurrent Transformers, NeurIPS 2022 ↗
Recurrent memory tokens: RMT
In the causal version, each segment reads memory tokens at its start and writes updated memory tokens at its end. The outputs at those write positions become the next segment’s read memory. Unlike the dedicated gated cell above, RMT uses ordinary Transformer layers to update these slots. Unlike Transformer-XL’s cached hidden states, these are learned summaries rather than a direct cache of earlier token states. A fixed number of carried slots limits cross-segment storage; it does not guarantee exact distant recall. Recurrent Memory Transformer, NeurIPS 2022 ↗ Fair test for both designs: match local window, total carried bytes, data and training compute. Compare against a sliding window and Transformer-XL-style segment caching; measure held-out loss, prefill and decode, exact recall at several distances, overwrites, and false answers to missing facts.
A latent bottleneck over a long prefix
Perceiver AR maps a longer input into fewer latent positions with causal cross-attention, then applies the deep self-attention stack to those latents. It is not the same as sparsifying the original token-to-token attention graph: it changes which positions go through the deep stack. Cross-attention still reads the longer input, so fewer latent positions do not imply context-independent memory or latency. Perceiver AR paper ↗ Fair test: compare against a strong causal Transformer at matched context, data and training compute. Report prefill and decode separately and test whether summaries and exact distant strings survive as the latent count is reduced.
Fixed sparse attention: BigBird
BigBird connects nearby positions, a fixed number of random positions, and a small set of global tokens. With those counts bounded, the attention graph has linear rather than quadratic size as the sequence grows. The original global-token pattern allows two-way attention; an autoregressive adaptation must enforce causality, including through globals. Sparsity alone does not prove smaller retained KV or faster decoding. Big Bird, NeurIPS 2020 ↗
Content-based sparse attention and reversible training: Reformer
Reformer uses locality-sensitive hashing to group similar query/key vectors and approximate dense attention, with an O(L log L) attention scaling argument. Its reversible residual layers are a separate technique that reconstructs activations during backpropagation. In a matched test, switch hashing and reversibility on independently. Compare held-out loss, long-distance retrieval, peak training memory and end-to-end prefill and decode against dense and fixed-window baselines; count hashing, sorting and recomputation. Reformer, ICLR 2020 ↗
Learned sparse attention: Routing Transformer
Routing Transformer uses online k-means to group content-similar queries and keys and combines this with local attention. Unlike Reformer’s hash buckets, these clusters are learned online. It routes attention interactions, not feed-forward experts or whole-layer computation. The paper describes subquadratic attention work; clustering, balancing and gathering can still matter for actual latency. Routing Transformer, TACL 2021 ↗ Fair test: compare fixed-window, hashed and learned routing at the same data budget and similar attention work. Report end-to-end time, cluster balance, and distant-fact recall.
Low-rank sequence projection: Linformer
Linformer projects keys and values along the sequence dimension into a smaller number of slots before attention. This approximates dense attention rather than selecting individual token pairs, as a sparse graph does. It is not the same as compressing feature channels in an inference KV cache. A projection that mixes future positions cannot be used unchanged for causal next-token prediction. Linformer paper ↗ Fair test: sweep projection width against dense attention, report actual memory and quality, and test for future-token leakage before accepting any causal adaptation.
Attention replacement: FNet
FNet replaces the encoder’s self-attention sublayer with fixed Fourier mixing while retaining the feed-forward and residual structure. The mixer combines positions without a learned attention map. The original result is for encoder tasks such as GLUE, not causal generation; unrestricted Fourier mixing lets each position depend on later tokens. FNet, NAACL 2022 ↗ Fair test: compare with a matched bidirectional encoder on quality, wall time and memory. A future causal Fourier mixer needs a separate causal construction and a language-model comparison.
Dense versus routed experts
MoE selects feed-forward experts per token; it can coexist with dense or sparse attention and changes active versus stored parameters. Routing and communication can erase compute savings. Switch Transformer ↗
Recurrent memory and hybrids
Transformer‑XL carries forward prior segment representations; Jamba combines attention, selective state-space layers and routed experts. Neither is equivalent to pure recurrent Mamba. Transformer‑XL ↗ · Jamba ↗
Depth: weight sharing, routing and early exits
Universal Transformer repeatedly applies the same attention and transition weights across depth, with optional independent halting at each position. Mixture-of-Depths routes a fixed number of token positions through selected blocks in training; its proposed predictor makes routing causal in autoregressive decoding. CALM exits the decoder early when a token is sufficiently confident, using thresholds calibrated to a sequence-level consistency target. These change different things: which weights repeat, which tokens enter a block, or when decoding stops computing a token. Compare quality and measured latency under the same task, hardware and token budget. Universal Transformer ↗ · Mixture-of-Depths ↗ · CALM ↗
Inputs: vision and multimodal
A ViT processes image patches as tokens. Multimodal models combine streams, e.g. visual and textual representations; this choice is independent of head sharing or sparse routing. ViT ↗ · Flamingo ↗
Training and generation objectives
Autoregression predicts the next token. Text diffusion can train on corruption and iteratively refine tokens; it can use a Transformer backbone. Do not count another mixer/decoder combination as a new family by default. LLaDA ↗
Residual paths and normalization
Pre-LN normalizes the input to each attention or feed-forward branch before adding its output to the residual stream. Post-LN normalizes after that addition. RMSNorm changes the normalization rule, scaling by the root mean square without subtracting the mean. DeepNorm couples residual scaling with a depth-dependent initialization; its 1,000-layer result is from the authors' translation experiments, not a general language-model benchmark. These choices affect training stability without changing which tokens can attend to each other. What to test: Compare Pre-LN and Post-LN at several depths, then substitute RMSNorm within the same placement. Test DeepNorm with its prescribed initialization as a separate arm. Match data and training time, and report loss, gradient spikes and time to a fixed loss target. Pre-LN and Post-LN ↗ · RMSNorm ↗ · DeepNorm ↗
Feed-forward activations and gating
A conventional feed-forward block applies ReLU or GELU between its input and output projections. A gated block instead multiplies two projected vectors element by element before the output projection; GEGLU uses GELU on the gate branch, while SwiGLU uses SiLU. This is a dense per-token operation, not expert routing or an attention variant. A third projection changes the parameter count at the same width, so compare a narrower gated block at matched parameters and training tokens. Report held-out loss, training throughput and batch-1 decode latency. Shazeer reports gains in a controlled sequence-to-sequence study; LLaMA is an example of SwiGLU in a decoder-only model, not an isolated ablation. GLU variants ↗ · LLaMA ↗
Within-model drafts and verification
LayerSkip trains shallower layers to produce usable draft tokens with depth-dependent layer dropout and a shared output head. At inference, the remaining layers of the same Transformer check those drafts and correct disagreements. Unlike an unverified early exit, accepted output is governed by the full model. Unlike auxiliary multi-token heads, the draft is produced with fewer layers of the same model. This is a training and decoding variant, not another backbone family. LayerSkip paper ↗ · Official implementation ↗ Fair test: use the same checkpoint, hardware and prompts for full-depth autoregressive decoding and self-speculation. Check greedy output parity, then report draft acceptance, end-to-end latency and peak memory across context lengths. Compare the training recipe against an equally trained baseline separately.
Auxiliary objective: multi-token prediction
Train a shared Transformer to predict several future tokens, in addition to its normal next-token objective. Gloeckle et al. use separate future-token heads; DeepSeek‑V3 uses sequential auxiliary modules. A model can still serve with ordinary AR and discard these extra predictions, or use them as drafts and verify with the main model. This is not a new architecture family or a guarantee of faster serving. Gloeckle et al. (ICML 2024) ↗ · DeepSeek‑V3 report, §2.2 ↗ Fair test: at matched training compute, data and backbone, first compare next-token-only against the auxiliary objective under the same vanilla AR decoding. Then separately compare verified drafts for acceptance, end-to-end p95 latency and output parity.
Position, cache and kernel techniques
RoPE and ALiBi encode positional relationships differently. KV paging changes cache allocation; FlashAttention executes exact attention with better memory traffic. These do not by themselves constitute new architecture families. RoPE ↗ · ALiBi ↗ · PagedAttention ↗ · FlashAttention ↗
22 Nov 2026 taxonomy update: Added residual placement, RMS normalization, DeepNorm and multi-token prediction under Transformer design choices. No family rankings changed.
Skip the output head for ignored labels
Training optimization · analytically exact under the stated objective · not an architecture rank
Keep every token in the Transformer, including prompt tokens used as attention context. After the final block, send only positions with supervised next-token labels through the vocabulary projection and cross-entropy. The softmax still includes the entire vocabulary for each retained position.
What Lean checks
Masked sums and the corresponding gradient contributions equal the sums over retained positions. An unweighted mean divides by the retained label count, not the physical token count. The packaged proof (Lean 4.33.0, standard library) verifies the finite accumulation identities; the accompanying derivation and tests cover the cross-entropy, head and contextual gradients. Empty batches use an explicit guarded zero convention.
What was measured
On one Xeon Platinum 8573C CPU thread, FP32 head-only loss forward and backward took 15.38 → 4.49 ms with 75% of labels ignored (~3.4×), and 15.20 → 7.13 ms with 50% ignored (2.13×). With no ignored labels it was 14.81 vs 14.76 ms, essentially unchanged. Shape: 256 positions, width 256, vocabulary 4,096; 17 timed pairs after four warmup pairs. Loss and gradients passed 22 FP64 checks at 10−12 tolerance. This omits the Transformer blocks and optimizer; it is not a full training-step speedup.
CUDA validation
On the GTX 1660 SUPER, at 512 positions × width 512 × vocabulary 8,192, the FP16 head was 1.99×, 3.95× and 7.71× faster at 50%, 25% and about 10% retained labels. For 50% retained, synchronized median wall time was 23.00 → 11.57 ms; at about 10%, 23.00 → 2.98 ms and incremental peak CUDA allocation fell from 25.2 MB to 9.3 MB. FP32 was 1.99× and 5.93× faster at 50% and about 10% retained, respectively. With no ignored labels there was no meaningful gain. All 36 CUDA correctness cases and 32 timing-shape checks passed. This measures only the output head; RTX 2080 Ti was not measured in this result.
When it is not equivalent
Removing earlier prompt tokens, dividing by total rows, or discarding logits consumed by an auxiliary loss can change training. For global means, combine the loss sums and retained counts across microbatches or workers. A tied embedding still receives its other gradient contributions. See the counterexamples and assumptions.
This is a complementary optimization, not a novelty claim or a comparison win over Apple’s Cut Cross-Entropy ↗. Apple’s method avoids materializing the vocabulary logits in global memory; this reference implementation reduces the number of positions that produce logits.
2:04 · Narrated walkthrough with English captions. Transcript · Download video. Cover uses decorative AI art; diagrams are drawn with code.
What is the fastest possible training run?
Lean-checked results · conditional on the task and resources · no architecture-rank change
Fix the starting checkpoint, allowed recipes, hardware and success criterion first. A lower bound rules out earlier success. A successful run supplies an upper bound. They prove an exact minimum only when they meet within the same stated scope.
1. A capacity floor
If a target requires W work units and hardware cannot exceed R work units per tick, training requires at least ⌈W/R⌉ ticks. If a serial phase of S ticks can overlap, use the larger of S and ⌈W/R⌉. Add S only if the counted work cannot overlap it. Combining worker ceilings is not a claim of linear speedup.
2. Exact within a finite set of recipes
Give every feasible recipe a valid lower bound and exhibit a run that attains the smallest permissible time. In the Lean toy, the exact minimum is 13 ticks: three standard workers spend five ticks on setup and eight on parallel work. Two fast workers would take nine ticks but do not fit the memory requirement; four fast workers would take ten but exceed the budget.
3. A closed-form optimum under a specified loss law
For exact loss L = E + A/N + B/D, work kND and a positive excess-loss target δ, the minimum work is 4kAB/δ² over positive rational N and D. N = 2A/δ and D = 2B/δ attain it. Divide by rate R for a time floor; reaching that floor additionally requires attaining the rate at that recipe with no uncounted overhead. A nonpositive δ is unreachable at finite positive N and D under this loss law.
Counterexamples
Four work units at rate one take four ticks; six units at rate three take only two. One measured throughput does not cap another recipe. A failed check at tick 1 and success at tick 10 can hide first hits at tick 2 or 8, even with monotonicity. A rational optimum of 64/9 work at (8/3, 8/3) becomes an integer optimum of 8 at (2, 4), not 9 at the symmetrically rounded (3, 3). Two classifiers can have the same true-label likelihood product, 9/25, but greedy accuracy of 1/2 and 2/2. A starting checkpoint already at the target needs no new training for that setup.
Measured anchors, not universal minimums
In the P039-L2 matched GTX 1660 SUPER comparison, the hybrid AR model reached one fixed development target in 11.2 GPU minutes, versus 12.8 for attention AR; both masked-diffusion arms missed that target within their measured runs. Those are observed times for that tiny byte-model benchmark, not fastest-possible times. In the masked-head experiment, skipping ignored output rows sped up one operation, not the full training run. Hoffmann et al.’s Chinchilla study ↗ is a separate empirical compute-allocation reference; it does not establish this exact rational law or a time to match any frontier model.
2:29 · Narrated walkthrough with English captions. Transcript · Download video. Cover uses decorative AI art; diagrams are drawn with code.
A Mamba state may query a bounded exact-token store only when a small gate predicts recall failure. Related work: Jamba’s attention/state layering and Memorizing Transformers’ external lookup. Jamba ↗ · Memorizing Transformers ↗ Test: Compare same-budget always-on lookup, learned gate, and no lookup. Require better exact recall under distractors without worse held-out loss or end-to-end p95, including retrieval.
Mixed-head distance tiers
A local grouped-query path preserves nearby detail while a compressed latent path covers distant blocks. Related work: Grouped query, latent attention and local/global attention already exist; the tier assignment is the proposed test. GQA ↗ · DeepSeek‑V2 ↗ · Longformer ↗ Test: Compare all-GQA, all-MLA and fixed versus learned tiers at equal cache bytes. Require a gain in exact multi-hop retrieval or lower measured decode latency at matched loss.
State-checked speculative blocks
A recurrent draft proposes a block; a causal target verifies it before advancing accepted cache or state. Related work: Speculative decoding already supports draft/verify; test recurrent draft state reuse and rollback as implementation choices. Speculative decoding ↗ Test: Compare same-target vanilla AR and a matched Transformer draft. First require token-distribution parity (and exact greedy agreement), then count verified tokens per second, tail latency and rollback cost.
Selective masked repair
A causal hybrid proposes a span; a masked-refinement pass may revise only a small uncertain span before commitment. Related work: Text diffusion and recurrent-attention hybrids are existing ingredients; targeted repair policy remains a hypothesis here. LLaDA ↗ · Jamba ↗ Test: Compare fixed AR, fixed masked passes, and adaptive repair with matched budgets. Require better exact completion without sacrificing coherence, and account for all repair passes.
Freeze training data, tokenizer and evaluation cases. Record actual weight and KV/state costs, include all prefill and decode work, and report failed controls. No design moves the family ranking on a pilot alone.
VISUAL GUIDE / POSITION & ORDER
How models know what came first
Historical evidence and future experiments
A token’s position can be added to its representation, built into the interaction between tokens, or conveyed by a causal mask or recurrent state. Long-context adaptations typically modify one of these mechanisms; they are not separate architecture ranks.
A design map, not a citation genealogy. Rotary implements relative sensitivity through a different mechanism from adding a score bias.
Timeline of selected papers
Years are first arXiv postings for these papers, not priority claims.
2017 · Absolute sinusoidal. Add deterministic sine/cosine coordinates to token embeddings. Attention Is All You Need ↗
2018 · Relative and learned absolute. Shaw et al. add learned relative-position representations to attention; BERT uses learned absolute embeddings. Shaw et al. ↗ · BERT ↗
2019 · Relative buckets. T5 learns attention-score biases over buckets of relative displacement, grouping distant positions more coarsely. T5 ↗
2021 · Rotary and ALiBi. RoPE rotates each query/key pair according to position, making dot products sensitive to displacement. ALiBi adds a head-specific linear attention-score penalty for distance. RoFormer ↗ · ALiBi ↗
2023 · No explicit position and context extension. NoPE is a useful causal-mask baseline, not proof that the model lacks order information. Position Interpolation rescales positions into the trained range; YaRN adapts RoPE scaling across frequencies. FIRE ↗ instead learns a continuous normalized relative bias. NoPE study ↗ · Position Interpolation ↗ · YaRN ↗
2024 · Nonuniform scaling and multiple axes. LongRoPE searches nonuniform interpolation; Qwen2‑VL applies multimodal rotary position embeddings over temporal and spatial axes. LongRoPE ↗ · Qwen2‑VL ↗
Measure separately: standard RoPE decoding often caches keys after rotation; implementations can instead store unrotated keys and apply the consistent transform when needed. Cache layout, precision and attention kernels are serving choices. Accepting more input positions is not proof the model reliably retrieves or reasons over them.
Speculative milestones, not forecasts
Target windows for experiments, not projected release dates. Novelty is unverified.
2026–27 target · Reset-safe position tests
Compare RoPE, ALiBi and NoPE after shifting, truncating and restoring prefixes. Require cache/recompute parity with identical semantics, then measure held-out loss and retrieval under distractors.
2027–29 target · Local precision plus distant references
Test dense local relative positions with a bounded, document-aware distant lookup. Against a matched window and a plain retrieval control, require improved exact multi-hop recall without exceeding the state/latency budget. A frequency-budget variant would reserve exact local phase and let selected distant heads use coarse segment coordinates; bind each cached key to its coordinate frame and test fork/reset/replay parity.
2030+ target · Coordinate maps across media
Test separable time, page geometry and image axes against one-dimensional positions and multimodal RoPE. Require invariance to irrelevant coordinate shifts while preserving real event order and spatial relations. Use shuffled-axis and full-data controls.
TRANSFORMER DESIGN BRANCH · 22 NOV 2026
Binary Transformer
Low-bit weights are a design choice. Training, storage and execution are separate questions.
Binary weights: two values
The binary weight alphabet is −1 and +1, often with separate scales. The original BitNet / BitLinear paper ↗ trains with binary weights and 8-bit activations in its reported low-bit implementation. Binary weights do not make activations binary.
Ternary weights: three values
BitNet b1.58 ↗ adds a zero value: −1, 0 and +1, with 8-bit activations in the paper. The name uses log₂(3) ≈ 1.58 to describe the three-symbol alphabet. It is not a guarantee of the actual size of a packed file, which also depends on packing, scales and other tensors.
How a model becomes low-bit
Quantization-aware training exposes the model to low-bit operations while it learns. Post-training quantization converts an already trained checkpoint. Other routes exist: BinaryBERT ↗ used a ternary initialization and then fine-tuned the resulting binary model.
What the device actually runs
Report weight storage, activation precision and accumulator precision separately. W1A1 means one-bit weights and activations; a binary weight file alone does not demonstrate it. Microsoft’s bitnet.cpp ↗ is an inference framework with packed kernels, not the training method. A low-bit kernel’s speed does not establish an end-to-end serving speedup.
AGILLM 890B: native binary-track roadmap
This is our project’s binary-weight track. It does not establish that every 890B tensor, training operation or serving mode is binary. The training checkpoint and the public serving release are separate artifacts. The steps below are proposed verification gates, not completed measurements or a rollout.
Checkpoint and rollback first. Pin model shape, tokenizer, packed format, scales and any higher-precision tensors. Verify exact restore and a clean rollback in isolation, keeping the prior known-good serving artifact intact.
Establish packed/unpacked parity. Compare unpacked weights bit for bit against the reference. Exercise tails, padding and scaling. Check outputs against a reference that uses the same arithmetic, recording any predeclared numerical tolerance separately from exact weight parity.
Measure kernels before the full system. Break out weight loading, unpacking, accumulation and memory traffic with device microbenchmarks. Then measure prefill, time to first token and decode throughput and latency at the same lengths, batch sizes and hardware. Keep those results separate from kernel-only speed.
Prove quality before promoting edits. Test quantization-aware training or inference edits in isolation at matched token budgets on held-out text and tasks. Check every supported generation mode and preserve SAT-var. Do not promote a change that lacks checkpoint recovery, parity or matched quality checks.
Neither smaller-model BitNet results nor these planned checks predict 890B quality, speed, or readiness to migrate live serving.
TRANSFORMER DESIGN BRANCH
Looped Transformer
Reuse the same weights to refine a hidden state over depth.
A looped Transformer applies a shared block more than once before reading out its prediction. Think encode → refine → refine → read out: the weights repeat, but the hidden state changes. In an autoregressive model, this loop can run inside the calculation for a new token. It does not replace the outer process that generates tokens one at a time.
Design tree
These branches describe design choices, not scores or a claim that a later paper is directly descended from an earlier one.
Transformer family
Untied stack: ordinary layers can have different weights.
Shared recurrent depth: reuse one block or shared stack across successive refinements.
Fixed depth: run a chosen number of passes. Weight sharing does not require an exit gate. Inkling 2 Mini ↘.
Configurable depth: choose a supported pass count before inference, as in the separate Inkling variable-pass research checkpoint.
Adaptive depth: let a stopping rule choose how many passes to use, subject to a cap.
Sparse routing is a separate choice. It decides which tokens or blocks participate in a step, not whether a block’s weights are shared across steps. A model can combine routing, looping and autoregressive generation.
Published lineage
Years reflect first public preprints. The papers use different tasks and budgets, so this is a timeline, not a performance ranking.
· Universal Transformer ↗. Repeated self-attention and a shared transition refine positions in parallel. An optional adaptive computation rule lets positions halt at different steps.
· ALBERT ↗. A BERT-style encoder shares parameters across layers to reduce the number of unique weights. Its configured layer count is fixed; tying weights does not itself decide when to stop.
· Huginn / recurrent-depth language model ↗. A shared core sits between input and output layers. Training samples the recurrence count; inference can spend more passes refining hidden representations without generating extra reasoning tokens.
· Ouro / LoopLM ↗. A pretrained looped model adds an entropy-regularized objective so the exit distribution explores different depths, then trains a gate to choose when another pass is worth the compute.
· Inkling 2 Mini ↘. A fixed shared core, previous-pass reads and a separate configurable-depth research checkpoint.
SOURCE REVIEW · 20 NOV 2026
Inkling 2 Mini: messages across shared passes
Thinking Machines’ multimodal autoregressive MoE runs layers 1–6 once, reuses layers 7–18 for three core passes, then runs layers 19–24 once. That is 24 distinct decoder layers and 48 layer applications per token (6 + 3 × 12 + 6). The model card reports 26.4B total weights, 3.4B active for one pass and 5.4B effective weight activations per token at three passes. The last figure counts work from reused weights (about 1.0B more per extra core pass), not additional stored parameters, FLOPs, or measured latency.
The released Mini uses three fixed passes. The separate TML-d24-varloop-research checkpoint was trained with one to five passes and post-trained at three. Its card reports 3.4B / 5.4B / 7.4B effective weight activations at one / three / five passes. Choosing a pass count at inference is not learned per-token halting.
Depth-wise residual attention in the current pass reads block outputs already computed for the same token. A separate cross-loop read accesses completed core-block outputs from the preceding pass. A layer can therefore read what appears “later” in the layer numbering, but only because it already ran in the earlier pass. Neither mechanism sees a future token: sequence attention is a separate part of the decoder.
Goodfire’s preliminary analysis found that a few large activation coordinates contributed strongly to the dot-product preference for the previous pass’s later core block in one examined setting. This is a geometric association in the measured routing scores, not evidence that the coordinates are necessary or sufficient for the model’s behavior.
Untested proposal: a low-rank read from earlier in the same pass
Give the later core block a rank-r projection of the earlier finished block’s same-token output. Compare it with an equal-parameter, equal-rank projection from the reader’s current hidden state. Keep the existing previous-pass reads, pass count, training data and training budget the same. Measure held-out next-token loss, exact recall, batch-one latency and state bytes; verify that no future-token or future-pass state is accessed. Proposed experiment only, not a prediction or a ranking result.
Sharing weights does not automatically share attention memory. A looped layer can keep separate keys and values for each pass, reuse earlier ones, or combine reuse with a small fresh cache. That choice is separate from how many times the layer runs.
GLM-5.4: shared sparse history + fresh local window
Z.ai describes 28 shared middle layers run twice. Pass two reuses the sparse keys and values selected by pass one, and keeps its own fresh keys and values for a sliding window of recent tokens. Both versions can be read at the same token position. Pass two also reuses the sparse attention indices rather than selecting them again. The extra persistent cache for the second pass is window-sized; the first-pass long-context cache still remains. Z.ai architecture note ↗
KV replay: train under the same policy used to decode
In a separate 406M-parameter, six-pass preprint experiment, every third pass writes fresh keys and values and the two following passes query those same tensors. This keeps two persistent KV groups instead of six: a calculated 192 rather than 576 KiB per token for that model, not measured whole-device memory. On CORE, training and decoding with stride 3 scored 18.71, versus 11.66 for imposing stride 3 only at inference and 18.96 with independent per-pass caches. These are distinct fixed-sharing policies, not a test of GLM-5.4’s sliding-window design. The paper uses one training seed per configuration. Cache-policy experiment ↗ · Memory accounting ↗
Looped CED: retain the final pass’s global cache
In this causal encoder–decoder, selected encoder layers produce the global keys and values. Training with varying loop counts lets earlier passes query the final-pass cache of previous tokens. Global KV storage still grows with sequence length, but does not multiply with loop count. In controlled experiments up to 340M non-embedding parameters, changing from per-pass to final-pass KV shifted validation bits per byte by less than 0.001 with stochastic depth. The 150M fixed-depth control worsened by 0.0317. In a separate 552B DeepSeek-V4.1-Flash serving test, eight loops on 4×GB200 used 36.8× less KV per token and achieved up to 3.6× throughput on 8K-input requests versus per-layer, per-pass caching. This did not test quality at 552B or establish compatibility with AGILLM. Leng et al. preprint ↗
LooM: write once, loop the readers
In this causal encoder–decoder, the encoder and first decoder layer complete global memory before any repeated read. Each later decoder layer publishes a token's local keys and values on its first visit; additional visits update the current token and can retrieve different global entries without adding cache entries. A path can use 3–21 decoder layer calls with one trained checkpoint and a validation-selected static path at each budget. Unlike the final-pass global-cache design above, the global writer here never loops. Cache size is invariant to depth, not to prompt length; its contents can differ across paths.
Authors' controlled result: In 204M-parameter models trained on the same 5B target tokens with one seed, test cross-entropy was 3.0506 nats/token for the six-call single-pass control versus 3.1941, 3.0465 and 3.0307 at 6, 11 and 21 calls for Random-Depth. Each used 364.1 KiB of persistent cache after a 128-token prompt. Equal cache and training data do not mean equal compute: Random-Depth used 2.94× the training GPU-hours. Its own 6-to-21-call reference decode slowed from 56.52 to 112.54 ms/token on one H800 at batch one. This is preprint evidence, not optimized throughput or a comparison with the 890B model. Architecture & cache policy ↗ · Paper results & costs ↗
A useful test would compare independent caches, periodic replay, replay plus a fresh local window, and final-pass sharing trained with variable loop counts. Keep the training budget fixed and include a fixed-depth control. Measure near and far recall, held-out loss, retained bytes and batch-one decode time. This is an untested comparison, not a performance claim for AGILLM or a change to the architecture rankings.
What to test next
How much depth helps?
Compare an untied stack with a tied loop on the same tokenizer, held-out data and hardware. Sweep 1, 2, 4 and 8 passes. Report matched-parameter and matched-compute comparisons separately, and record loss or task success alongside latency and peak memory.
When should it stop?
Test a capped, calibrated exit gate against fixed depth at the same average compute. Check the hardest held-out cases and tail latency, not just mean passes. If early exits save nominal work but batching erases the speedup, report that.
What is the state buying?
Change one thing at a time: keep or reintroduce the input into each loop, or vary how attention cache is reused. Measure held-out long-context recall, bytes per token and decoding latency against the same baseline.
Fewer unique weights do not guarantee fewer operations or faster inference. These tests are proposals, not new benchmark results.
EVIDENCE REVIEW / 22 NOV 2026
Mamba lineage: what changed
Public paper evidence · incomparable setups stay separate
Input-dependent selective state updates. The original paper benchmarks language modeling alongside other modalities. The model’s fixed-size recurrent state is not exact long-range retrieval.
SISO uses one input and one output per state-space channel. MIMO handles vectors within a channel. At 1.5B, the authors reported +0.6 percentage points over Gated DeltaNet for SISO, then another +1.2 for MIMO on their task aggregate. This is not a comparison with frontier Transformer or hybrid deployments.
Evidence gap: compare pure Mamba-2, Mamba-3 SISO, Mamba-3 MIMO, a matched attention baseline and an attention–Mamba hybrid using the same data, tokenizer and training budgets. Report held-out language loss first, exact retrieval under distractors second, then deployment cost with matched hardware. Account separately for recurrent state, attention cache and any lookup store.
Mamba‑4 (working name) is our independent unranked proposal, not an official upstream model. It pairs a recurrent core with a bounded store and a learned trigger. See the controls and promotion criteria in Projects.
22 Nov 2026 changelog: split Mamba-3 into SISO/MIMO, added evidence and comparison gates, and expanded the tree. No family positions changed; the top three remain Transformer, Transformer–Mamba hybrid, and Mamba.
DeepSeek‑V4 (April 2026) mixes compressed sparse and heavily compressed attention. At one million tokens its Pro model needs 27% of the single-token inference FLOPs and 10% of the KV cache of DeepSeek‑V3.2. LongCat Sparse Attention (August 2026) reports parity with full attention from 69B to 560B total parameters. Position unchanged (1st).
NVIDIA's June 2026 model is a 550B-total, 55B-active Mamba–attention mixture of experts trained on 20T tokens with a 1M-token context. NVIDIA reports up to about 6× higher inference throughput than public models at on-par accuracy; open checkpoints allow independent checks. Position unchanged (2nd).
Gated DeltaNet‑2 (May 2026, NeurIPS 2026) separates the erase and write gates. At 1.3B parameters and 100B tokens its authors report the best overall results against Mamba‑2, Gated DeltaNet, KDA and Mamba‑3, with the largest gains on long-context retrieval. Qwen3.5 (February 2026) uses Gated DeltaNet in 45 of the 60 layers of its 397B model. Position unchanged (4th) for now: the Gated DeltaNet‑2 result is one author-run comparison at 1.3B, and Mamba also has large hybrid deployments; an independent matched run would decide the order.
An ICLR 2026 study covering 80M–7B parameters and 2B–2T tokens reports xLSTM reaching lower loss than Transformers at the same training compute. A June 2026 comparison with Mamba‑2 and Gated DeltaNet finds it strongest overall across code pre-training, code distillation and time-series tasks. Both come from xLSTM's own groups (JKU Linz and NXAI). Moved 6th → 5th.
No new matched comparison turned up. It moves below xLSTM because xLSTM gained matched scaling evidence, not because of a negative RWKV result. Moved 5th → 6th.
A lightweight reimplementation found the full model does not always beat baselines because of chunking; its neural-memory component consistently improved on attention-only models. Position unchanged (7th).
Google's open-weight DiffusionGemma (July 2026) fine-tunes Gemma 4 (3.8B active, 25.2B total parameters) into a block-diffusion model: about 20 tokens per forward pass and roughly 1,500 output tokens/s on one H100, with thinking mode, multimodal input and long context kept, and an autoregressive mode with only minor loss. The authors report a new speed–quality frontier on GPQA-Diamond and LiveCodeBench-v6. The Index's own 36k-parameter pilot (P039) still found no passing arm. Moved 10th → 8th.
RetNet and Hyena
No new primary language-model results turned up. They sit below discrete diffusion, which now has open-weight results from a frontier lab. Moved 8th → 9th and 9th → 10th.
23 Nov 2026 attention taxonomy update: Added differential attention V1 and V2 and a matched GQA test plan. Family positions are unchanged.
23 Nov 2026 taxonomy update: Added dense feed-forward gating and a matched comparison protocol. Family positions are unchanged.
23 Nov 2026 cache taxonomy update: added Looped CED final-pass caching, with separate quality and serving evidence. No ranking change.
25 Nov 2026 memory taxonomy update: added gated block recurrence and recurrent memory tokens. Both carry learned state across segments, but update it differently. Family rankings are unchanged.
23 Nov 2026 changelog: added cross-pass KV sharing under Looped Transformer, with GLM-5.4 and a separate matched cache-policy study. No ranking change.
23 Nov 2026 formal training update: added training-time bounds and exact optima, plus narrated explainers for this work and masked output-head compaction. No ranking change.
23 Nov 2026 training note: added masked output-head compaction with Lean proof, reference implementation and CPU results. No ranking change.
22 Nov 2026 changelog (second review): xLSTM 6 → 5, RWKV‑7 5 → 6, discrete diffusion 10 → 8, RetNet 8 → 9, Hyena 9 → 10. The top four are unchanged. Hybrid evidence labels are now matched by family rather than list position, and the Hybrids section lists Nemotron 3, Qwen3.5 and DiffusionGemma.
Evidence gap: run Gated DeltaNet‑2, Mamba‑3 and xLSTM against a matched attention baseline with the same data, tokenizer and training budget, by a group that authored none of them.
FAMILY MAP
Architecture tree
Families → variants → directions
Explore how designs branch. A connection is a design relationship, not a higher rank or a benchmark result. Expand “Proposed · untested” paths to see the control and what result would count as progress.
02 / WHAT TO BUILD NEXT
Design directions
Hypotheses to test, not predictions
03 / EXPERIMENTS
Research projects
Unranked until validated
22 Nov 2026 ranking update: Griffin / RecurrentGemma enters at #8. Published language checkpoints make it easier to reproduce comparisons; this is an editorial evidence judgment, not a matched win over RetNet or Hyena. Diffusion stays listed at #11 as a generation objective that can cross architecture families. Perceiver AR joins provisionally at #12 for its published latent attention bottleneck and long-context evidence, not a matched cross-family win.
04 / HOW TO READ IT
What earns a place
One list, not an AGI certification
01 / Language modeling
Held-out next-token loss, transfer, scaling across meaningful budgets and robustness to changed wording or domains.
02 / Generalization
Novel tasks and compositional reasoning, evaluated away from training examples and with comparable prompts and tools.
03 / Practical efficiency
Matched compute and data, including training cost, decode speed, memory at long contexts and implementation constraints.
Architecture families are not individual models. Variants are not independently scored or ranked. Evidence comes from different papers, scales and setups. Positions are research judgments, not a calibrated performance score.