Measurement and exactness / paused
Exact weight recovery from a model's own activations
Given only the inputs and outputs of each linear map during forward passes, can every stored weight of a transformer be recovered bit for bit, and what exactly does each claim rest on?
- Built
- The input and output activations of every learned map are recorded, the weights are solved for by least squares and rounded to the checkpoint's storage format. Where a LayerNorm creates an exact symmetry, the discrete float grid is used to break it. Each run counts weights against a denominator fixed in advance, keeps a shuffled-pairing control that must fail, and compares the assembled file's hash with the published checkpoint.
- Found
- Working notes and a public repository report bit-identical recoveries of GPT-2 small and Qwen3-32B from activations the recoverer computes, and of every observable parameter of Qwen3.8-27B. From stock float32 inference hooks, GPT-2's first block came out exact except for one weight pinned to a small set of equivalent values; the whole-model float32 chain stopped at 1,903 wrong values after its workstation was retired.
- Boundary
- These are white-box results: the recoverer runs the model and reads its internal activations, so none of this is an attack through an API. A hash match proves the bytes, not the recovery, and the method for the large models is not published. Recovery from returned logits alone failed.
- Next question
- Can the float32 hook route finish all of GPT-2, and can any route work without internal activations?
Evidence and development
7 research records.
Qwen3-32B: every bfloat16 weight recovered from float64 activations →Qwen3.8-27B: every observable weight exact, 34,816 provably unobservable →GPT-2 small: all 124,439,808 weights recovered, with the method public →GPT-2 block 0 from stock float32 hooks: 7,087,871 of 7,087,872 →GPT-2 from float32 hooks, whole model: 1,903 values still wrong →Logits only: statistics cannot find the hidden basis →Two models side by side: a node atlas and cross-model similarity →