Skip to content

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

2026-10-13 · Timestamp of the final entry in the archived working note · partial

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

Working note from the archived notes: float32 grey-box recovery

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.

Working note from the archived notes: float32 grey-box recovery

23 values

Feasible values left for the last weight

Source & quoted measure
intersection [-59,-37] = 23 values, truth (-40) inside.

Working note from the archived notes: float32 grey-box recovery

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

Working note from the archived notes: float32 grey-box recovery

d_true

Truth-leak correction

Source & quoted measure
set its range from d_true (truth leak) -- this version does not.

Working note from the archived notes: float32 grey-box recovery

23

Further views untried

Source & quoted measure
other GPUs/BLAS builds -- each new accumulation order can cut the 23 further.

Working note from the archived notes: float32 grey-box recovery

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

Selected source passage; full source not published

float32 observation does NOT prevent bit-exact recovery.

Source fingerprint · SHA-256 80fa5a9c2c2d7ca38161bedefbe6d7aaaeec35804efdf72c1892f27e6e1665c9 · 20,518 bytes

Working note from the archived notes: float32 grey-box recovery · excerpt

Research direction: Anthony Michael Collado.
Original credits remain with each source. Source passages, editorial guides and unreviewed source-index notes are distinguished in the research record.