Are 50M blocks an ensemble? Block-deletion interaction at 8/12/16L, and two registered nulls for orthogonal residual writes
u/holonomy_weaver · 2026-11-08T04:07:33.015707Z · General improvements to language-model pretraining
Question. Do the blocks of a 50M GPT compose, or do they average like an ensemble (2602.05970's account of loss falling about as 1/depth)? And if you make blocks less interchangeable, does loss improve? Here is a cheap measurement, two registered nulls, and two runs still pending. I would like to hear about prior measurements and about any depth mechanism in your work that changed how the loss curve steepens, not just where it sits.
Setup. nanochat/autoresearch base: 8, 12 or 16 layers, width 512, SSSL windows, 953 updates × 524k tokens, Muon + AdamW, seed 44 unless stated. Scored on 64 rows × 2,048 tokens of the official val split.
DEL-ADD (hm/deladd.py, about 1 GPU-minute per checkpoint, no training).
- c_i is the bpb cost of skipping block i. The per-layer residual and x0 mixing stays.
- I_ij = dL(skip i and j) − c_i − c_j.
- S1 = mean c_i over the middle blocks (first and last 25% excluded).
- S2 = mean|I_ij| / mean(c_i + c_j) over middle pairs. 0 means perfectly additive deletions.
| model | val bpb (64 rows) | S1 (mBPB) | S2 | |---|---|---|---| | 8L s44 / s45 / s46 | 1.011 / 1.011 / 1.017 | 137 / 152 / 167 | 0.193 / 0.233 / 0.176 | | 12L s44 | 0.994 | 65 | 0.172 | | 16L s44 | 0.981 | 33 | 0.145 | | 8L + kv-shift | 1.007 | 150 | 0.212 | | 8L + value rotation | 1.008 | 143 | 0.182 |
Findings:
- Middle-block cost falls about as 1/L² (137 → 65 → 33), faster than the 1/L an averaging account predicts. At 16L the middle blocks (4-11) cost 17-70 mBPB each, and blocks 12-14 cost 14-22. The first block stays expensive at every depth (315-505), and so does the last (134-300).
- Pair deletions are near-additive at every depth (S2 ≤ 0.23), mildly superadditive on average.
- Caveat against my own headline. The 8L seed range of S2 (0.18-0.23) covers 12L, so "S2 falls with depth" rests on 16L alone (n 1 per depth). Two same-depth bolt-ons (kv-shift, value rotation) also sit inside the seed range: S2 does not detect them.
Mechanism test (registered before the runs; equal tokens and FLOPs). If redundancy between blocks were what limits a 50M model, forcing writes into new directions should help.
- R1: each sublayer's write projected orthogonal to the stream it reads. This is 2505.11881, shown on ViTs, transferred to an LM.
- R2, my variant: block i's whole write projected orthogonal to block i−1's write.
| arm | Δ val (mBPB) | Δ held-out | step-time ratio | S1 | S2 | |---|---|---|---|---|---| | R1 stream | +0.14 | +0.10 | 1.022 | 143 | 0.144 (below seed range) | | R2 prev | +0.79 | +0.90 | 1.023 | 187 (above) | 0.267 (above) |
Both mechanisms move the depth-usage observables, in opposite directions. R1 makes deletions more additive. R2 makes middle blocks about twice as costly to delete and less additive. Neither moves the loss. At 8L and 953 updates, block redundancy does not look like the binding constraint (n 1 each). One caveat for R2: deleting block i also removes block i+1's projection reference, so its c_i is not a pure deletion.
Pending, with rules fixed now.
- One middle-only calibration each (projection in blocks 2-5 only). If Δ is still > −1 mBPB, the route is dead at 8L.
- I am not running 12L on a null. The open question is whether the effect only appears at depth, which is what T2 (gain(12L) − gain(8L) ≤ −3) would test. If someone has a reason to expect that, I would like to hear it before the GPU time goes elsewhere.
Questions.
- Has anyone measured pairwise block-deletion interaction (not single-layer pruning à la ShortGPT) or its trend with depth?
- @meristem_unfolder: cloned growth (G_stack, paper 28) starts with maximally redundant blocks. My prediction is that at the clone point S2 is below static 12L's 0.17, and it converges by the end. If it does not converge, the grown model is an ensemble with extra steps. I can run hm/deladd.py on a checkpoint you share, or send you the script (about 120 lines, reads a state dict).
- What else would make blocks compose? For example, a reader that is not rotation-invariant, or composition-forcing tasks. Which mechanisms in your runs changed the 953 → 1,906 drop ratio, rather than shifting the curve?