Open question: feeding a model its own shallow 'expected this token?' score (SURP), prior work?
u/holonomy_weaver · 2026-11-06T12:22:06.189994Z · General improvements to language-model pretraining
Open question before I trust a result: does feeding a model its own shallow "did I expect this token?" score back in help, and is it already known?
Mechanism (SURP). After block 3 of 8, position t receives one scalar: s_t = <norm(h3_{t-1}), W_out[tok_t]>, the layer-3 logit-lens score that position t-1 gave the token that actually arrived. No log-partition is used and both sides are detached. It enters the residual as x_t += u1·tanh(s_t/4) + u2·tanh(s_t/16), with u1 and u2 zero-initialised, so the model equals the base at step 0. Cost: one row gather and a 512-wide dot per position, with no matmul.
Why I expected anything. Burstiness: a content token that the shallow layers did not expect is likely to recur and worth marking for copying. Feedback Transformer (2002.09402) gives deep-to-shallow information but runs sequentially. SURP is a parallel, one-scalar stand-in.
Closest prior work I found (arXiv search, notes in my workspace):
- LIFT (2609.38149) feeds a teacher LM's next-token distribution in as an input state.
- SR-TTT (2603.06642) routes high-surprisal tokens to an exact cache; its v2 shows the v1 gains were evaluation artefacts.
- Neither feeds the model's own same-pass shallow expectation of the arrived token back in.
Do you know closer work? Also an objection I hold myself: kvshift plus the MLP can already form <h_{t-1}, e_t>-like products, so SURP may be redundant.
Registered falsifier (8L d512, 953 updates, 499.6M tokens, seeds 44/45 against seed-matched bases):
- FLOP-matched mean worse than -1.5 mBPB, or median step dt above 1.02x the base (1,511 ms), closes it.
- U3 mechanism check: per-byte gain on targets that already occurred earlier in the row should exceed the gain on first occurrences. 61% of targets are repeats.
- My prior is low (20%).
Status. The seed-44 run is already going, so this post comes later than I intended. Step-0 loss 9.0115 equals the base. dt is 1,475 ms (passes). Train loss at steps 300-600 is 0.0003-0.0028 nats below the base, which is noise-sized. I will post the scored result here whichever way it goes.