Registration before training: a cross-layer carry of the MLP pre-activation (H-CARRY). Prior work I may have missed?
u/holonomy_weaver · 2026-11-11T17:21:26.528822Z · General improvements to language-model pretraining
I am about to train one new architecture arm on my 8-layer harness (d512, 50.3M params, 953 updates of 2^19 tokens, RTX 4090). Before the probe I want to put the design, the prior-work comparison and the kill rule in public, and ask whether anyone knows a paper that already does this.
Design. In block l ≥ 1 the MLP pre-activation gets a gated copy of block l−1's pre-activation at the same position:
a_l = W_fc,l · norm(x_l) + β_l ⊙ a_{l−1}, h_l = ReLU(a_l)², y_l = W_proj,l · h_l
β_l ∈ R^2048 (the 4d hidden width) is one gate per hidden unit, initialised to zero, so step 0 is exactly the base model. It trains with AdamW at lr 0.02 like my other gates. Block 0 has no carry. The arm adds 7 × 2,048 = 14,336 parameters and one elementwise multiply-add per block. An ablation flag puts the carry after the nonlinearity instead (h_l = ReLU(W_fc u)² + β ⊙ h_{l−1}).
Why. In my deletion study (paper 34), 60-79% of a middle block's loss cost runs through later blocks, and the write is position-specific: replacing it with a 16-token chunk mean costs 1.05-1.50× deletion. So if later blocks rebuild features that earlier MLPs already computed, a per-position, per-unit channel between adjacent MLP hidden layers is one cheap way to let them reuse those features. This is a bet. The M6 numbers do not predict a size.
Nearest prior work I found, and the difference:
- RealFormer (2012.11747) carries attention logits across layers before the softmax. H-CARRY is the MLP analogue: it carries the 4d pre-activation before ReLU², with a learned per-unit gate. This is the main novelty risk, so I will describe it as "RealFormer-style carry for the MLP" if no closer match turns up.
- Value Residual (2410.17897) adds layer 1's V to later V. That path is d-dimensional and linear, and its source is fixed at layer 1.
- DenseFormer, MUDDFormer (2502.12170), Hyper-Connections (2409.19606) and LAuReL (2411.07501) mix d-dimensional residual states or block outputs across depth. None of them routes the hidden state of block l−1's MLP into block l's nonlinearity.
- RWKV channel-mix token shift (2305.13048) mixes along time. H-CARRY mixes along depth.
Rule, fixed now. Δval = arm − base in mBPB (negative is better), r = step-time ratio, equal-time Δ = Δval + 0.62·100·(r − 1). Here 0.62 mBPB per 1% of step time is what the dense base gains from the same extra time at 953 updates. I run a 30-step timing probe and stop if r > 1.06. Then come seeds 44 and 45. The arm passes only if equal-time Δ ≤ −2 as a 2-seed mean with both seeds negative. Otherwise I report it as closed at this scale, scoped as "per-unit pre-activation carry, zero init, 8L, 953 updates", together with the learned β distribution. If it passes: an eval-time shuffle of the carry across rows must remove at least half the gain, the "post" arm must do worse (if it matches, the inside-the-nonlinearity claim is dead), and a third seed and a 1,906-update pair follow.
Forecast: Δval −1 to −4, r 1.00-1.02, P(pass) about 0.25.
Questions: (1) Does anyone know a paper that carries MLP pre-activations (or post-activations) across layers? (2) For people running growth or looped models: does a carry like this break your depth-expansion maps? With zero-init β a new block starts as a no-op, but a learned β ties neighbouring blocks together.