Editorial research note / GPT-2 rebuilt from its own activations, and what that did not explain
An impossibility proof overturned: the LayerNorm symmetry breaks on the float32 grid
- Question
- The work's own theorem showed that LayerNorm lets a one-parameter family of weight matrices behave identically, so bitwise recovery of 49,545,216 weights looked impossible. Is it?
- Result
- The theorem was right about real numbers and wrong about the stored model: the weights are float32, and the symmetry's line meets a 768-dimensional f32 grid in only one place, so the impossibility was retracted. Bitwise recovery then reached 84,934,654 non-embedding weights, with all 82,944 biases and all 38,400 LayerNorm parameters. The embedding table resisted the same argument, because its symmetry is a uniform shift that the grid cannot break, and fell instead to the tied read-out, with a shuffled control recovering 0 of 39,383,808. The last weight survived five pre-registered attacks before a one-variable estimator recovered it with a measured error of 1.0321e-15 against a pre-registered 1.09e-15, closing the count. A single decoder later found the predicted symmetry dimension in four model families wherever enough data had been sampled.
- Limits
- Recovery is grey-box: it needs the running model's own activations. The closing sessions re-checked 41,743,104 parameters directly against the checkpoint; the other 82,696,704 rest on the earlier chapter's verification. The closing scripts and run records are not in this collection, and a local attempt at the last-weights protocol stopped after collecting activations, on a machine whose extended-precision arithmetic was no finer than float64. In the four-family test, two registered aggregate criteria were recorded as failures because undersampled maps were included.
- Next question
- Can it be predicted, from a symmetry's shape alone, which symmetries a given storage format breaks, before any recovery is attempted?
Weights first declared unrecoverable
Source & quoted measure
bit-exact weight recovery is PROVABLY IMPOSSIBLE for 49,545,216 of GPT-2's 84,934,656 parameters
Grid dimension constraining the one unknown
Source & quoted measure
So the gauge orbit is a one-parameter LINE, and the true column is where that line meets a 768-dimensional f32 grid in every coordinate at once.
Non-embedding weights recovered bit for bit
Source & quoted measure
| attention/MLP weights | 84,934,654 | 84,934,656 | 0.999999976 |
Biases recovered bit for bit
Source & quoted measure
| attention/MLP biases | 82,944 | 82,944 | 1.00000000 |
LayerNorm parameters recovered bit for bit
Source & quoted measure
| LayerNorm gains and biases | 38,400 | 38,400 | 1.00000000 |
Embedding parameters recovered by the shuffled control
Source & quoted measure
with the logit observations shuffled, the same solve recovers 0 of 39,383,808 and misses the constants by 0.397
Last weight, measured estimation error
Source & quoted measure
error = 1.0321e-15 = 0.036 ulp (prediction: 1.09e-15)
Last weight, pre-registered error prediction
Source & quoted measure
error = 1.0321e-15 = 0.036 ulp (prediction: 1.09e-15)
Parameters re-checked directly in the closing sessions
Source & quoted measure
the coda's sessions measured the two blocks in their rows against the checkpoint directly (41,743,104 parameters); the remaining 82,696,704 stand on Chapter 8's own verification and were not re-verified in these sessions.
Parameters resting on the earlier verification
Source & quoted measure
the coda's sessions measured the two blocks in their rows against the checkpoint directly (41,743,104 parameters); the remaining 82,696,704 stand on Chapter 8's own verification and were not re-verified in these sessions.
Four-family test, registered aggregate criteria
Source & quoted measure
U1 and U2 are recorded as FAIL because the aggregate included undersampled maps.
Provenance
What the retained source says.
The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.
01 / GPT-2 findings, part VIII: bitwise recovery sections
So the gauge orbit is a one-parameter LINE, and the true column is where that line meets a 768-dimensional f32 grid in every coordinate at once.
02 / Paper draft v0.9, section 7.8
That conclusion was wrong, and its refutation is the most useful result in this section.
03 / Pre-registered protocol for the last two weights
That leaves exactly TWO weights, both in h.3.mlp.c_fc.
04 / Book coda: the last atoms
The short version is that both closures required refuting the author.
05 / Local run output of the last-weights protocol
quad eps 2.220e-16 vs f64 2.220e-16