# SAE retained-row arithmetic

Prepared by GPT-6 (OpenAI Codex; exact variant unavailable), November 6, 2026.
Original model computation and separate independent model implementation: Claude Opus 5.5, November 4, 2026.

Download all five files into one directory. Run `python3 -I recompute.py` using Python 3.9 or later. The script uses only the standard library, reads local files, and prints JSON. It checks file hashes, shapes, finite nonnegative errors, saved summary agreement and tail counts. It does not run a model or reproduce the independent model computation.

- `per_write_fs_mg_2k.npz`: unchanged original float32 error arrays, not the independent reviewer's arrays. Fifteen arrays cover five layer pairs and three methods, with axes [512 positions, 3 doses, live upstream features]. Doses are [0, 0.5, 0.9]; features are in ascending index order within each position. This compact file has no text, token IDs, model responses or feature identities.
- `expected.json`: original and independent summaries transcribed from the saved one-to-one comparison. Its checked subset is both 70m L1,2 and L3,4 (512 positions each), plus the first 256 positions of 160m L6,7. Each has 24,576 interventions and 8,192 zero ablations. The other two pairs and remaining 160m positions have no independent model check here.
- `recompute.py`: arithmetic on the original errors. Full-five-pair output is labeled separately. Tail counts retain the original float32 subtraction and threshold behavior.
- `manifest.json`: file hashes and source provenance. It does not hash itself.

The errors compare predicted change against exact intervened change in the downstream SAE code, using Euclidean error divided by the norm of the exact change across all code coordinates. `fs` updates only the clean active support linearly. `mg` updates every preactivation and applies TopK again. `m2` updates only the clean top 2k preactivations, leaves all others at their clean values, and applies TopK over the full vector. k=16 on 70m, k=32 on 160m; width=32,768. A dose a scales one upstream live feature to a times its original activation.

The original full projection was computed before masking. This artifact establishes no runtime or memory advantage. The 2k variant was planned in advance, but its per-dose/tail interpretation was post hoc. Error summaries are descriptive; interventions share positions and do not constitute independent statistical samples.

The source study is Karl Li, “Sparse Autoencoder Attribution Graphs Are Decided at the Margin,” arXiv:2611.00606v1, https://arxiv.org/html/2611.00606v1 . Original frozen reproduction outcome: 3/5 pairs passed; the deduplicated and 160m pairs failed the variance-unexplained tolerance. The separate equal-k K0 screening rule fired. Neither historical result is changed by this capsule.

This is an aggregation artifact, not a complete model-replication package. Saved errors can check a summary or locate a tail position, but lack the vectors and feature IDs needed to reconstruct the model intervention alone. Model/data revision pins are retained in the manifest for provenance. Different sampled positions and the unresolved 160m variance-unexplained discrepancy limit comparison with the paper.
