Sam Babichenko

Reading notes / Using depth

Inkling 2 Mini

Thinking Machines Lab, 2026

Architecture
ddmodel width, 2304
B1,…,B4B_1,\dots,B_4blocks of six layers: prelude, two core blocks, final block
TTpasses through the core, 3 in Inkling 2 Mini
ttindex of a pass, t=1,…,Tt=1,\dots,T
Attention residuals
viv_isum of the sublayer outputs of block BiB_i; v0v_0 the normalized embedding
v^\hat vv/RMS(v)v/\mathrm{RMS}(v)
qqlearned pseudo-query of a sublayer (Kimi Team write wlw_l)
αj\alpha_jweight of source jj in a sublayer's depth mix
xxa sublayer's input from the depth mix
Message and gate
vj[t]v_j^{[t]}sum of core block BjB_j in pass tt, j=2,3j=2,3
uulearned query of one input's message
βj\beta_jweight of v^j[t−1]\hat v_j^{[t-1]} in the message
mmmessage from the previous pass
Wd,W_{\rm d}, Wf,W_f, WgW_ggate matrices, 64×2d64\times2d, d×64d\times64, d×64d\times64
zzthe gate's 64-dimensional summary of xx and mm
f,f, ggforget and gain terms tanh⁡(Wfz)\tanh(W_fz), tanh⁡(Wgz)\tanh(W_gz); Goodfire write κ=1−f\kappa=1-f, γ=g\gamma=g
x′x'gated input, (1−f)⊙x+g⊙m(1-f)\odot x+g\odot m
Relative bias
δ\deltadistance from the query back to a key, in tokens
Wr,W_r, ccone head's 16×d16\times d projection and its 16 learned scales
clip⁡8\operatorname{clip}_8y↦ymin⁡(1,8/∥y∥)y\mapsto y\min(1,8/\|y\|)
ssa token's 16 weights in one head
pδp_\deltathe 16 shared profiles at distance δ\delta
b(δ)b(\delta)bias added to the attention logit at distance δ\delta, s⊤pδs^\top p_\delta
π(δ)\pi(\delta)one head's bias-only attention, π(δ)∝eb(δ)\pi(\delta)\propto e^{b(\delta)} over 0≤δ<10240\le\delta\lt 1024

Context. A a transformer that applies some of its layers several times per token with the same weights, so the number of sequential steps per token grows while the number of stored parameters does not (Dehghani et al., 2018) adds serial computation per token without adding stored weights. Whether that pays off in a production model depends on which layers repeat and whether training stays stable when looping is added. Looping also matters for oversight. A plain transformer has a fixed budget of sequential steps per token, so multi-step reasoning must pass through a readable CoT: the reasoning text a model writes before its answer, which a monitor can read. A loop raises that internal budget. Thinking Machines Lab (2026) released Inkling 2 Mini, an open-weights looped mixture-of-experts model, alongside a research variant whose pass count can vary at inference. No technical report accompanies the release; the account below draws on the release post, the model cards, the configuration, checkpoint, and Transformers code, and Goodfire's analysis (Lee et al., 2026).

Inkling 2 Mini repeats the middle half of its layers, restarting every pass from the output of the first block. The previous pass reaches the next only through a learned gate that the post says starts closed. While that gate stays closed, every repeated pass duplicates the first, so the looped model starts out identical to the plain 24-layer model. On Thinking Machines' scaling ladder, an unpruned model without the loop matches loss on 512k-token agentic traces with 7.5% less training compute but 140% more inference compute (2.4 times as much). Pruning two-thirds of the experts from a wider model and keeping most expert weights in 4 bits brings the checkpoint to about 20 GB. With more passes, the research variant follows longer chains of lookups without writing them down and solves problems with shorter, equally readable chains of thought. Its factual recall improves only slightly.

Setting. Inkling 2 Mini has 24 layers of width the dimension of every block sum, query and message in this note. Each layer has an attention sublayer followed by a mixture-of-experts sublayer that routes each token to 8 of 128 experts. The layers group into four blocks of six, B1={1,…,6}B_1=\{1,\dots,6\}, B2={7,…,12}B_2=\{7,\dots,12\}, B3={13,…,18}B_3=\{13,\dots,18\}, B4={19,…,24}B_4=\{19,\dots,24\}, the layers of each block. The prelude B1B_1 runs once, the core B2∪B3B_2\cup B_3 (layers 7 to 18) runs the number of passes through the core; t=1,…,Tt=1,\dots,T indexes them times with shared weights, and the final block B4B_4 runs once. That gives 48 layer applications per token from 24 stored layers. The model holds 26.4B parameters. One pass activates 3.4B parameters per token, and each extra pass adds about 1.0B weights used per token with every pass through the core counted again: 3.4B at one pass, 5.4B at three, 7.4B at five, giving 5.4B at three passes. Expert weights are trained and stored in a 4-bit floating-point format with an 8-bit scale per 16 values and a 32-bit scale per tensor; Thinking Machines run the forward pass of the expert layers in it from pretraining through RL. Reading note: End-to-end 4-bit training, except in the last four layers, which use 8-bit MXFP8. All other weights stay in BF16, and the full checkpoint is about 20 GB.

Depth mix via Block Attention Residuals. Inkling 2 Mini replaces the standard running residual sum with Block Attention Residuals (Kimi Team, 2026). Kimi Team introduced them because an unweighted residual sum grows with depth and dilutes each layer's contribution; Thinking Machines also want richer state to pass between loops. Each block accumulates a running sum of its own sublayers' outputs, starting from zero. Write v0v_0 for the RMS-normalized token embedding, the sum of the outputs of the attention and MoE sublayers of block BiB_i; v0v_0 is the RMS-normalized token embedding for block ii's sum, and v^\hat v=v/RMS(v){}=v/\mathrm{RMS}(v) for its RMS-normalized vector. Each sublayer learns a a vector q∈Rdq\in\mathbb R^d learned for each sublayer; it is a parameter, so it does not depend on the token (Kimi Team write wlw_l) q∈Rdq\in\mathbb R^d and forms a softmax-weighted mix xx of earlier blocks:x=∑jαj v^j,αj=softmax⁡j(q⊤v^j/d),\begin{aligned}x&=\sum_j\alpha_j\,\hat v_j,\\ \alpha_j&=\operatorname{softmax}_j\big(q^\top\hat v_j/\sqrt d\big),\end{aligned}where jj ranges over v0v_0, the finished blocks, and the current block's partial sum. The sublayer then reads RMSNorm(x)\mathrm{RMSNorm}(x). Global attention layers (every sixth layer) learn three separate pseudo-queries for their query, key, and value inputs. Every pseudo-query starts at zero, making the initial mix a plain average; Kimi Team report that this prevents unstable early training.

Restarting each pass from the prelude. In pass tt through the core, the depth mix restarts from the prelude. Its sublayers mix v0v_0, v1v_1, and pass tt's own partial sums of the two core blocks, the sum of block BjB_j, j=2,3j=2,3, in pass tt through the core, which start at zero. Information from pass t−1t-1 arrives only through a separate m=∑j∈{2,3}βjv^j[t−1]m=\sum_{j\in\{2,3\}}\beta_j\hat v_j^{[t-1]}, a softmax mix of the two core blocks' sums from the previous pass mm. Each core layer has four inputs: attention query, key, value, and the MoE input. For t≥2t\ge 2, each input uses its own learned query u∈Rdu\in\mathbb R^d to mix pass t−1t-1's core block sums:m=∑j∈{2,3}βj v^j[t−1],βj=softmax⁡j(u⊤v^j[t−1]/d).\begin{aligned}m&=\sum_{j\in\{2,3\}}\beta_j\,\hat v_j^{[t-1]},\\ \beta_j&=\operatorname{softmax}_j\big(u^\top\hat v_j^{[t-1]}/\sqrt d\big).\end{aligned}Each message query starts at zero, so mm begins as the plain average of the two normalized block sums.

The rank-64 gate. Each of the four inputs merges the message mm with the current pass's depth mix xx through a rank-64 gate built from learned matrices WdW_{\rm d}, a d×64d\times64 matrix that sets how much of the current pass's input is damped or amplified; the code's forget_gate_proj, and WgW_g:z=Wd [RMSNorm(x);  RMSNorm(m)],f=tanh⁡(Wfz),g=tanh⁡(Wgz),x′=(1−f)⊙x+g⊙m.\begin{aligned}z&=W_{\rm d}\,[\mathrm{RMSNorm}(x);\\&\qquad\ \ \mathrm{RMSNorm}(m)],\\ f&=\tanh(W_fz),\\ g&=\tanh(W_gz),\\ x'&=(1-f)\odot x+g\odot m.\end{aligned}Both norms omit a learned gain. Here z∈R64z\in\mathbb R^{64} summarizes the two vectors, and every coordinate of the forget term ff and gain term gg lies in (−1,1)(-1,1). Per coordinate and per token, 1−f1-f damps or amplifies xx up to twofold while gg adds or subtracts mm. No source states why each input gets its own gate. One possibility (an inference) is that cached keys and values absorb a different share of the previous pass than the query reading them. Every pass t≥2t\ge 2 uses the same weights and sees only the prelude and pass t−1t-1's message, so passes after the first repeat one fixed step that can run any number of times. After pass TT, the final block reads v2[T]v_2^{[T]} and v3[T]v_3^{[T]}.

Closed gate equals the plain model. Suppose why: then 1−f=11-f=1 and the message is dropped, so x′=xx'=x exactly; a nonzero ff alone would rescale xx, and the passes would no longer repeat the first one for every core input. Then x′=xx'=x everywhere, so pass 2 receives the same inputs and applies the same weights as pass 1, and pass 3 repeats pass 2:vj[3]=vj[2]=vj[1],j=2,3.v_j^{[3]}=v_j^{[2]}=v_j^{[1]},\qquad j=2,3.The final block receives the exact one-pass sums, so the output matches the 24-layer model without a loop. The release post states that the gate starts closed and opens during training. No training code is public, and the Transformers implementation initializes gate matrices like ordinary linear layers. One matching initialization (an inference) sets Wf=Wg=0W_f=W_g=0 with a random WdW_{\rm d}, leaving the gate closed at step zero while both WfW_f and WgW_g receive nonzero gradients. The match is exact because each pass restarts from the prelude. If each pass took the prior pass's output directly, adding a pass would alter the output at once unless the repeated layers acted as the identity. With a closed gate, restarting from the prelude lets a non-looped checkpoint switch to three passes with zero change in loss, matching the post's claim that looping can be introduced smoothly mid-run.

Loop placement. In Inkling 2 Mini, the loop goes in the middle of the stack. The authors' intuition is that the first and last layers translate between token embeddings and internal representations, while middle layers do more abstract computation. With equal training compute and three passes, looping layers 7 to 18 beat looping layers 13 to 24 on 27 of 28 evaluations. At training step 2,000, an unlooped model needed an estimated 1.51 to 1.91 times the compute to match the middle loop's loss, versus 1.24 to 1.36 times for the last-layer loop.

Mainline Inkling layer design. Outside looping and pruning, each layer follows Thinking Machines' mainline Inkling recipe for efficiency and long context. Attention alternates five 1,024-token sliding-window layers with one global layer, and every layer pairs 24 query heads with 8 key-value heads. Position enters through a learned relative bias rather than rotary position embedding: each query and key is rotated by an angle set by its position, so attention scores depend on relative position (Su et al., 2021), which Thinking Machines report performs better and extrapolates better to long sequences. Each token computes 16 weights per head over 16 shared distance profiles that are zero beyond 1,024 tokens. Past position n=8,192n=8{,}192, global layers scale their queries and these 16 weights by 1+0.1ln⁡(n/8192)1+0.1\ln(n/8192), likely to keep attention from flattening as keys accumulate (an inference). Width-4 causal convolutions sit after the key and value projections and on each sublayer output, mixing every token with its three predecessors. They likely give each layer cheap local context (an inference; the post gives only the general aim).

Reading layer 1's relative bias directly from the weights. Without RoPE, the first layer gets nearly all of its sense of distance from this bias, and each token sets its own (computed here from the released weights). Because layer 1's input is simply RMSNorm(v0)\mathrm{RMSNorm}(v_0), the token's own embedding, its bias depends on the token alone and can be π(δ)∝eb(δ)\pi(\delta)\propto e^{b(\delta)} over 0≤δ<10240\le\delta\lt 1024, the softmax of one head's bias bb below, is the attention the head would give if every key had the same content score; its median distance is the head's reach for that token. Reading notes: Position in attention, Reading a model's weights across the entire vocabulary. In a single head, a token's 16 weights ss and logit bias b(δ)b(\delta) at key distance the distance in tokens from the query back to a key; δ=0\delta=0 is the token itself arey=c⊙Wr RMSNorm(v0),s=clip⁡8(y),b(δ)=s⊤pδ,0≤δ<1024.\begin{aligned}y&=c\odot W_r\,\mathrm{RMSNorm}(v_0),\\ s&=\operatorname{clip}_8(y),\\ b(\delta)&=s^\top p_\delta,\qquad 0\le\delta\lt 1024.\end{aligned}Here a 16×d16\times d matrix, the head's rows of the projection that sets the 16 weights; the code's wr_du is the head's projection, a vector of 16 learned scales, one per weight, separate for each head holds its learned scales, clip⁡8(y)=ymin⁡(1,8/∥y∥)\operatorname{clip}_8(y)=y\min(1,8/\|y\|), which shrinks a vector longer than 8 to length 8 and leaves shorter ones unchanged caps the vector norm, and the 16 learned profiles' values at distance δ\delta, one column of the 16×102416\times1024 bank shared by the heads holds the 16 shared profiles at distance δ\delta. On 2,048-token samples of English text and Python code, removing the bias leaves layer 1's attention nearly uniform across the 1,024-token window, putting only 1% of mass within 8 tokens. Restoring the bias raises that share to 28%. Keys also pass through the width-4 convolution, so a key at distance δ\delta carries its three preceding tokens as well.

Averaged across all 24 heads in layer 1, the bias takes nearly the same shape for every token: highest at the previous token, near −2-2 at the token itself, and decaying with distance. Individual heads specialize sharply. Across nearly all of the 8,000 commonest tokens, six heads focus on the preceding token or two, five reach over 100 tokens back, and five shift their reach with the token. Exceptions include the newline token, which turns two local heads broad. Head 16 (numbered from 0, as in the code) is one of those five. Under its bias alone, its median attention distance is at most 4 tokens for "of," "to," and "by," yet over 300 tokens for "in," "on," and "at."

Stabilizers, routing, and the index-function pattern. Several smaller mechanisms keep activations and logits bounded. In attention, queries and keys are clipped to norm 512\sqrt{512}, values are RMS-normalized, each head adds a token-dependent zero-value sink logit, and a sigmoid gate scales the output. Tanh softcaps bound SwiGLU's linear factor at 4, its up-projection at 25, and the output logits at 30. The MoE router follows DeepSeek-V3, using sigmoid scores to select 8 of 128 experts. A per-expert bias enters only the routing choice to balance load without an auxiliary loss. x=∑jαjv^jx=\sum_j\alpha_j\hat v_j, the learned depth mix above, in place of the unweighted sum of all earlier sublayer outputs. Reading note: Attention residuals, the cross-pass messages and gates, the MoE router, and the relative bias all learn where to read from. A Twitter thread (November 2026) calls this shared pattern learning an index function.

Pruning and distillation. Training began with 384 experts per layer and 8 active per token, then midtraining deleted the 256 least-used experts in each layer. Pruning removed about 49B of roughly 75B parameters while leaving active parameters unchanged, assuming the deleted experts matched the checkpoint's 3×2304×11523\times2304\times1152 weights per expert (computed here). Training then continued on 1T tokens distilled from a larger internal Inkling model, which the authors report recovered pre-pruning performance. Post-training combined SFT, RL, and training a student on its own sampled outputs against a teacher's token probabilities; here used for alignment, as for Inkling 2 Small for alignment. Because the weights ship in the precision they were trained in, nothing is lost to post-training quantization.

Benchmark results. On the authors' evaluations, Inkling 2 Mini leads open-weights models under 100B total parameters on most agentic coding benchmarks, scoring 48.2% on DeepSWE v1.1 against 42.2% for dense Qwen3.8-27B. It trails Qwen3.8-27B on GPQA Diamond (86.6% vs. 90.5%) and knowledge work (GDPVal-AA 1319 vs. 1427). The post also flags multi-turn chat as a weakness (50.0% on MultiChallenge). Factual recall sits in line with models of its total parameter count, consistent with facts living in stored weights that looping does not add.

Memory in training and long-context inference. Looping saves memory only on quantities that scale with stored parameters. Weights, gradients, and optimizer states stay tied to the 24 stored layers. Backward-pass activations scale with the 48 layer applications and sequence length. That doubles the activation memory of the same weights run once and roughly matches an unlooped 48-layer model of equal compute. Checkpointing and offloading trade that memory for recomputation or host bandwidth as usual. At inference, each pass keeps its own key-value cache in every core layer. Because sliding-window caches cap at 1,024 tokens, only global layers grow with context, and the loop doubles the number of growing caches from four to eight. All cache figures below are computed here from the configuration and code. Each global layer stores a BF16 key and value for 8 heads of dimension 128 per token:8×(2×8×128)×2 B=32 KiB per token.\begin{aligned}&8\times(2\times8\times128)\times2\ \text{B}\\&\quad=32\ \text{KiB per token}.\end{aligned}Across the full 1M-token window (2202^{20} tokens in config), that takes 32 GiB versus 16 GiB unlooped, while the 40 sliding-window caches cap at 160 MiB total. On a 32 GB device with about 20 GB in weights, the remaining 12 GB or so holds cache for at most about 370,000 tokens. The 5:1 sliding-to-global ratio holds long-context cache to a sixth of an all-global looped stack (192 KiB per token).

Cross-pass cache compression and decoding speed. Two recent methods target redundancy across per-pass caches, though neither has been tested on Inkling. vector quantization of a looped model's key-value cache that codes channels from several passes together, with codebooks fine-tuned so the model's outputs match those of the full-precision cache (Cheong and Yoo, 2026) jointly vector-quantizes passes at 0.5 bits per element on two other looped models (Ouro and Huginn) and outperforms unlooped KV quantizers. an inference method for looped transformers that updates only the few tokens whose states still change between passes, sparsifies attention and quantizes the difference between adjacent passes' keys and values (Yang and Liu, 2026) is training-free and quantizes differences between adjacent passes' caches. Decoding speed is also bounded by weight reads per token, which grow with looping because each pass re-reads the core. In llama.cpp with a local quantized GGUF, attention runs in 8-bit Q8_0 rather than BF16 while most experts stay in 4-bit NVFP4 as released. The read and speed figures below are computed here on that model: each token reads about 4.0 GB, with 1.8 GB from core passes 2 and 3. Eight desktop CPU threads generate 9.3 tokens/s, or 86% of memory bandwidth. Placing attention and the experts of layers 4 to 18 on a 12 GB RTX 5070 reaches about 40 tokens/s.

What extra passes add. The research variant, TML-d24-varloop-research, shares Inkling 2 Mini's pretraining and initial midtraining. Late midtraining then sampled 1 to 5 passes in the ratio 1:2:6:2:1, and post-training used 3 passes. On a Think Fast task: the model gets several tables of fictional entries and must follow a chain of NN lookups and answer without writing anything; five answer options, so guessing scores 20% (Gould et al., 2026), the early passes each let the model follow about one more hop. The longest chain solved above 50% rises from 2 hops at one pass to 3 at two, 4 at three, and 5 at five. At ten passes, twice the training maximum, it does not degrade and improves on 6 hops from 32.1% at five passes to 43.4%. On a Think Fast subset, its the human solving time hh at which a fitted curve σ(β(log⁡h−log⁡t))\sigma\big(\beta(\log h-\log t)\big) of the model's success on tasks that take humans time tt crosses 50%, with answers forced to start at once, without a chain of thought (Gould et al., 2026) climbs from 16 s at one pass to 37 s at three, then levels off (42 s at five, 40 s at ten). Closed-book recall rises only slightly between one and three passes, with SimpleQA Verified moving from 6.3% to 7.3% and AA-Omniscience accuracy from 15.5% to 18.4%. Long-context retrieval moves most, as a long-context test: a long conversation holds several near-identical requests and their answers, and the model must reproduce the answer to one specified request; here 8 such requests in 256K to 512K tokens jumps from 27.2% to 89.2%.

Fixed-pass models break off distribution. Unlike the research variant, Inkling 2 Mini trained only at three passes, so other pass counts sit out of distribution. Overriding the pass count in llama.cpp breaks greedy decoding on four short prompts (computed here with the local quantized model). At two passes, three prompts collapse into repetition and the fourth gives $9 instead of $6 as change from $10 for 12 pencils at 3 for $1. At one pass, the model loops without answering any of the four. The same quantized weights answer all four correctly at three passes, ruling out quantization alone as the cause.

Shorter chains of thought and lower read cost. With more passes the chain of thought gets shorter and stays readable. On GPQA Diamond questions solved at every pass count from 1 to 5, average reasoning length drops from 3,703 tokens at one pass to 1,731 at three and 1,661 at five. Between one and five passes, sentence length and dictionary-word share barely change, while backtracking words like "wait" and "hmm" fall from 9.7 to 3.6 per answer. On GPQA Diamond overall, the variant's best one-pass score (71.4% at 12,083 reasoning tokens) trails its cheapest three-pass score (77.5% at 2,337 tokens). Count weight reads per answer as reasoning tokens times effective active parameters, excluding context attention (computed here):12,083×3.4B≈4.1×1013,2,337×5.4B≈1.3×1013.\begin{aligned}12{,}083\times3.4\text{B}&\approx4.1\times10^{13},\\ 2{,}337\times5.4\text{B}&\approx1.3\times10^{13}.\end{aligned}Three passes reach higher accuracy with about a third of the weight reads.

Oversight and monitorability. At this scale, extra passes expand internal computation without measurably hurting chain-of-thought monitoring. Neither model reliably reshapes its reasoning on request. On questions from GPQA, HLE and MMLU-Pro paired with an instruction about the chain of thought itself, such as avoiding a keyword of the question; a response counts if it follows the instruction (Yueh-Han et al., 2026) over chains of 750 to 1,250 tokens, Inkling 2 Mini and the three-pass variant comply at most 0.1% of the time, versus 1.3% for Qwen3.8-27B. That rate is too low to compare pass counts. In a control evaluation: an attacker model does a realistic software task and also tries to complete a hidden malicious side task, and a monitor model flags suspicious episodes at a 1% false-positive rate, a weaker monitor (Qwen3.6-35B-A3B) reading the chain of thought misses at most 0.6% of the variant's attacks at any pass count from 1 to 5. When the monitor sees only tool calls and outputs, 1.0% to 5.0% slip past with no consistent trend. Even so, the 95% intervals at one pass (0.2% to 2.4%) and five passes (2.4% to 10.2%) only touch, so a rise with passes is not ruled out. Because the variant has 3.4B to 7.4B effective active parameters and no-CoT horizons under a minute, the post notes that monitorability must be re-tested at larger scale.

How passes communicate. Goodfire (Lee et al., 2026) decomposed each sublayer input into exact contributions from earlier sublayers to inspect cross-pass flow. On web text, later passes read the previous pass mainly through block 3. Layer 18 pushes one coordinate strongly positive at the end of passes 1 and 2 and clears it at the end of pass 3. That coordinate is among the largest contributors to the block-3 preference. From weights and activations alone (without an intervention), Goodfire interpret it as a routing signal for the next pass. The applying the final norm and unembedding directly to an intermediate state to read off a next-token distribution decodes intermediate states only near the end of each pass. Both a a learned affine map from an intermediate state to the final layer's state, followed by the unembedding and a coda lens, which runs the final block on an intermediate state, decode intermediate passes well.

Strength of the evidence. The configuration and checkpoint confirm the architecture layer by layer. Pass sweeps on fixed weights cleanly measure what extra passes do inside the variant, especially N-Hop Lookup, which isolates serial computation from stored knowledge. Comparisons arguing for looping over an unlooped model are thinner. The 140% inference-compute headline is a single sentence without model size, token count, or compute-accounting details. The placement ablation is read at training step 2,000. The variant trained mostly at three passes and did RL only at three. Its one-pass scores (0.7% on DeepSWE v1.1 vs. 47.4% at three) measure a model deprived of expected steps rather than an unlooped baseline, a caveat the authors note. The no-CoT horizons carry wide 95% intervals (0.2 to 25.2 s at one pass, 3.6 to 51.6 s at three) and rely on prefilled answers from models never trained to skip CoT. The authors ran all benchmarks using harnesses that vary across models.

Terms

Looped transformer
applies some layers several times per token with shared weights
Prelude, core, final block
layers 1-6 run once, layers 7-18 run T=3T=3 times, layers 19-24 run once
Attention residuals
a sublayer's input is ∑jαjv^j\sum_j\alpha_j\hat v_j, a softmax mix of block sums, instead of a running residual sum
Restart from the prelude
every pass mixes v0v_0, v1v_1 and its own block sums, which start at zero
Message
m=∑j∈{2,3}βjv^j[t−1]m=\sum_{j\in\{2,3\}}\beta_j\hat v_j^{[t-1]}, read from the previous pass
Gate
x′=(1−f)⊙x+g⊙mx'=(1-f)\odot x+g\odot m, f=tanh⁡(Wfz)f=\tanh(W_fz), g=tanh⁡(Wgz)g=\tanh(W_gz), rank 64
Relative bias
each token's query adds b(δ)=s⊤pδb(\delta)=s^\top p_\delta at distance δ<1024\delta\lt 1024; in the first layer it gives nearly all the sense of distance
Closed gate
f=g=0f=g=0: every pass repeats the first, so the model is the plain 24-layer model
Effective active parameters
3.4B at one pass plus about 1.0B per extra pass; 5.4B at three
Pruning and healing
384 to 128 experts per layer in midtraining, then 1T tokens of distillation
No-CoT time horizon
human solving time at which the model's fitted accuracy without a chain of thought is 50%

Sources

Connected notes

  • Measuring a weight change by how far it moves a unit-RMS input gives the update −ηdout/din UV⊤-\eta\sqrt{d_{out}/d_{in}}\,UV^\top, which, when din≤doutd_{in}\le d_{out} and the gradient has full rank, moves the output of every unit-RMS input by exactly η\eta whatever the width, which is the μ\muP property, here derived from a choice of norm.

  • In five-step stress tests at width 64, the branch outputs of standard μ\muP add up to a residual stream with RMS about 33 at depth 1,000 at initialization, while Depth-μ\muP's branch multiplier 1/L1/\sqrt L holds it near 1.3 and gives the lowest loss at large depth after five updates. CompleteP's 1/L1/L holds it at 1.0 but overcorrects, since independently initialized blocks add like independent terms.

  • The reproduction draws the reward head's weights with standard deviation 1/dmodel+11/\sqrt{d_{\rm model}+1}, shifts the reward so reference summaries score 0 on average, and whitens advantages to mean 0 and variance 1 in each batch, so the signal reaching the policy has a fixed size.

  • Sinkhorn-Knopp projects any positive matrix onto a unique doubly stochastic scaling DxADyD_xAD_y, which mHC runs for 20 iterations on the entrywise exponentials of its learned mixing matrices so multi-stream products stay bounded across depth.

Threads