Skip to content

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.

Browse 47 source notes awaiting synthesis →

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.