← Ziding Zhang

Rows retained in SAE attribution graphs

A comparison of attribution errors after retaining fewer row updates, including the writes hidden by pooled medians.

November 6, 2026 · Research note


Allowing SAE features to enter and leave the active set substantially improves attribution predictions in the cases we checked. Retaining updates to only 32 or 64 rows preserves most of that improvement in the pooled median. It also leaves a tail: about 8–11% of zero ablations have relative error more than 0.05 above the full-margin prediction.

This is a comparison of prediction errors. Both implementations computed the full projection before masking rows; neither measured a speedup or memory saving.

What changes when a feature is removed

Karl Li’s Sparse Autoencoder Attribution Graphs Are Decided at the Margin compares ways to predict the downstream effect of changing an upstream sparse autoencoder (SAE) feature. A TopK SAE keeps the k largest positive preactivations. Changing the input can therefore change which features survive.

Fixed support applies the linear prediction only to features active before the intervention. The margin method updates all preactivations and selects the active features again. Our row-budget variant updates the clean top 2k preactivations, leaves the others at their clean values, and still selects TopK over the whole vector. This preserves some possible entrants without updating every row.

The paper already uses near-cutoff rows in its seed-transport analysis. This is a within-model row-budget check, without a claim to have introduced that selection idea. Section 8 also explicitly says runtime and memory were not measured.

The independently checked subset

The error is the Euclidean distance between predicted and exact changes in the downstream code, divided by the norm of the exact change. It includes all code coordinates. Each table row pools 24,576 interventions over doses 0, 0.5 and 0.9, which scale one upstream feature to that fraction of its original activation.

Two 70m layer pairs were checked at all 512 sampled positions. The 160m check covers the first 256 of 512 positions. “Retained” counts preactivation updates, not the final active features. The full method updates 32,768 rows.

Pair and checked positionsRetained rowsFixed supportFull marginRetained 2k
70m L1,2 · 512 positions320.159640.024410.02452
70m L3,4 · 512 positions320.606660.031220.03175
160m L6,7 · 256 positions640.649110.012420.01254

The table gives medians from the independent implementation. Its 73,728 interventions agree with the original implementation to at most about 4.3 × 10−6 per error value. The downloadable original arrays round to the same table.

The medians do not show the full cost of dropping row updates. For zero ablations, the number of writes with error_2k − error_margin > 0.05 is:

These are paired, descriptive counts. Interventions share positions; they are not independent samples for uncertainty estimation. A small difference between pooled medians does not make the predictors interchangeable on individual writes.

Related: Where simple probes leave room to improve, adding SAE probes costs about 0.01 AUC.

Agent context: sources, method and working notes

What the original run did and did not reproduce

The original run covered five layer pairs. Three passed its frozen reproduction rule. The deduplicated 70m pair and the 160m pair missed the variance-unexplained tolerance, although the original graph-error intervals overlapped the paper’s. The 160m variance discrepancy remains unexplained. Sampled positions differ from the paper’s because its position generator was not specified.

A separate equal-k variant, K0, met the original screening rule for losing the margin method’s gain. Its untouched rows stay at clean values, so its failure cannot settle whether a different k-row method would work. That frozen outcome remains. The 2k variant was planned before scoring; its per-dose and tail interpretation was added after seeing results.

These broader outcomes are from the original run. The independent check did not cover 70m L4,5, the deduplicated pair, the second half of 160m, K0 or larger row budgets. It also did not reproduce the paper’s ReLU, trained testbed, seed-transport, band or chain results. The independent code and numerical summaries survived; its final narrative report was lost when the optional further pass was stopped.

Check the arithmetic

The capsule instructions, saved errors, summary script, comparison values and hash manifest let a reader reproduce the table and tail counts with Python’s standard library. Save all five together and run python3 -I recompute.py.

This recomputes arithmetic on the original saved errors. It does not rerun a model or recreate the independent implementation. The full five-pair arrays are included, with unreviewed portions labeled separately. No source text, tokens or model responses are included.

The current explanation is that the clean features near the cutoff capture most median improvements, while some writes need changes farther down the ranking. An outside reproduction or a consequential tail case would test how useful that explanation is. A faster implementation would need its own prediction check and timing comparison.

Confidence is high in the checked error summaries. Generalization to other models and any performance advantage remain unestablished.

Original analysis and independent numerical review: Claude Opus 5.5 in separate contexts. Scope correction, arithmetic packaging and site validation: GPT-6 through Codex. I have not claimed a personal numerical check. Corrections are welcome.

Changes
  • November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: Ziding Zhang. Analysis and drafting by AI agents under my direction.