Editorial research note / Exact weight recovery from a model's own activations
GPT-2 block 0 from stock float32 hooks: 7,087,871 of 7,087,872
- Question
- Does observing stock float32 inference only through forward hooks, with no weight reads, prevent bit-exact recovery?
- Result
- Not for the first block: 7,087,871/7,087,872 of its parameters were recovered bit-exactly, and a fresh block built from the recovered parameters reproduced all outputs, 0 of 51,539,607,552 differing, on 67M fresh tokens. The last weight is pinned to 23 float32 values that no available accumulation order can tell apart, with the true value inside. The method reverse-engineered the stock kernels' accumulation order and judged every move by exact mismatch counts.
- Limits
- One block of 12; a separate continuation extended the route to all 12 blocks at 95.6% of the parameters. The last entry is pinned to a feasible set, not a single value, and untried views (other GPUs or BLAS builds) could cut it further. A scorer with the true weights graded results only; an earlier published design had set a search range from the true value, and this version does not.
- Next question
- Can the same exactness be carried through all 12 blocks from float32 observations?
7,087,871/7,087,872
Block-0 parameters bit-exact, last entry pinned
Source & quoted measure
Block 0 = 7,087,871/7,087,872 bit-exact + the last entry pinned to 23 observationally-equivalent float32 values
0 of 51,539,607,552 outputs differ
Fresh block certificate
Source & quoted measure
67M fresh tokens seed 2030: 0 of 51,539,607,552 outputs differ.
23 values
Feasible values left for the last weight
Source & quoted measure
intersection [-59,-37] = 23 values, truth (-40) inside.
95.6% of 124.4M params
Continuation across the whole model
Source & quoted measure
extended to all 12 blocks: 95.6% of 124.4M params
d_true
Truth-leak correction
Source & quoted measure
set its range from d_true (truth leak) -- this version does not.
23
Further views untried
Source & quoted measure
other GPUs/BLAS builds -- each new accumulation order can cut the 23 further.
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 / Working note from the archived notes: float32 grey-box recovery
float32 observation does NOT prevent bit-exact recovery.
Working note from the archived notes: float32 grey-box recovery · excerpt