Manuscript Offprint

arXiv:2610.26489

Strength Controls Change How Interventions Compare Across Sparse Autoencoder Codes

Jinchen Zhang, Zheyuan Liu, Yihan Zhu, Meng Jiang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Changing sparse autoencoder (SAE) codes can alter both intervention direction and magnitude, so comparing intervention effects requires a strength control specifying what is held equal. Norm matching and output calibration provide different controls, but whether interventions yield different effects across codes after strength matching remains unclear. We compare intervention effects under these controls for fixed feature groups in Gemma and Llama and observe: (1) Whole-patch scaling. With one coefficient per input, full-output Kullback–Leibler (KL) calibration leaves smaller mean effect gaps from the encoder-based reference intervention than total-norm matching for non-negative least-squares (NNLS) refits. On new Llama inputs, total-norm matching loses 11 reference transfers, whereas full-output calibration preserves every transfer decision. (2) Positionwise scaling. On a small matched gender-agreement subset, positionwise norm matching leaves smaller observed mean gaps than full-output calibration. (3) Answer exclusion. Compared with unscaled NNLS, answer-excluded calibration reduces gaps in the measured subject–verb agreement comparisons but increases them for gender refits. Full-output KL calibration also reduces larger gaps for norm-matched constructed candidates, although matching coverage is incomplete in several settings. Since calibration uses the evaluated input’s outputs, it serves as a diagnostic of residual disagreement.

1 Introduction

Sparse autoencoders (SAEs) represent model activations through feature directions and sparse coefficients (Bricken et al., 2023; Huben et al., 2024). The decoder supplies a dictionary of feature directions, and the encoder assigns coefficients, collectively called a code, that specify their contributions

1 A concrete agreement task

A measured Llama-128K example

Donor

The schoolgirls near the iceberg are

Recipient before patching

The schoolgirl near the iceberg is

2 Does the transfer survive?

Separate patches on the same recipient

Reference E

are > is

Transfer

NNLS + total norm

is > are

No transfer

NNLS + full-output KL

are > is

Transfer

Same NNLS code, different strength controls

3 Across all 304 inputs

Reference E: 175 transfers

Total norm

11 lost

1 gained

Full-output KL

0 lost

0 gained

Figure 1: Strength control can change a transfer decision. A Llama-128K example selected post hoc. (1) Prompts with task answers appended. (2) E is the reference intervention built from the released encoder's codes. Separate patches on the same native recipient. Rankings (> ) compare only the two answer logits. Ticks indicate donor-answer transfer, crosses its absence. (3) Transfers lost or gained relative to E across all 304 inputs. Agreement with E is not a faithfulness standard.

to an activation’s reconstruction. Intervening on selected features lets researchers test their role in model behavior (Marks et al., 2025).

One way to test these roles is activation patching, which transfers selected internal activation values between runs of the same model and measures the

∗^{*}Equal contribution.

Figure

Figure 2: Four-step comparison with a fixed model, dictionary, feature group, and sentence pair. The reference intervention E, built from the released encoder's codes, supplies the reference targets (gray) for rescaling the original alternative patch (color). Norm segments show squared patch norms, matched in sum or per position. KL controls use trial model outputs to choose one scaling coefficient (knob) per input for matching scalar KL. Q2 excludes both answer tokens (crossed) and renormalizes before matching conditional KL. Step 4 keeps beginning-of-sequence (BOS) and last prompt tokens, comparing native-to-patched KL (nats), donor-oriented margin change (logits) and transfer with E. Matching can fail.

resulting output change (Heimersheim and Nanda, 2024). The input supplying these values is the donor. The recipient is the input whose activations are modified and whose output is evaluated (Baumgartner et al., 2025, Appendix D.3).

We use sentence pairs with contrasting grammatical answers to test whether patching shifts the recipient toward the donor’s answer. For a fixed group of SAE features, we decode the donor-minus-recipient coefficient difference into a patch. The unscaled intervention adds this patch to the recipient’s activations. We quantify the resulting shift by the change in the logit margin between the two task answers. A transfer occurs when the donor answer outranks the recipient answer (Figure 1).

The coefficients used to construct this patch can differ across sparse inference methods, even when the dictionary and activations are fixed (O'Neill et al., 2025; Carbo and Nalisnick, 2026). Changing the code can alter both the direction and magnitude of the patch, so a larger answer effect may reflect a larger perturbation. Comparing interventions therefore requires a strength control specifying what is held equal across patches.

We use the intervention built from the released encoder’s codes as the reference E for both strength matching and effect comparison. We rescale each alternative patch to match E in either patch norms or Kullback–Leibler (KL) divergence from the unpatched to the patched next-token distribution. We compare total-norm and positionwise norm matching with full-output KL calibration and an answer-excluded variant that omits the two task-answer tokens. Matching norms or KL need not equate answer effects. Do these controls lead to the same conclusions about whether alternative codes preserve the reference intervention’s effects?

We test subject–verb and reflexive gender agreement in five selected Gemma and Llama model–dictionary–group configurations (Table 1). Alternatives to the encoder codes are ordinary nonnegative least-squares (NNLS) refits and constructed candidates constrained by reconstruction and positionwise patch norms. We measure an alternative’s effect gap as the absolute difference between its answer-margin effect and that of E, and also compare their transfer decisions. For NNLS refits, we find:

  1. Controls differ with one scaling coefficient per input. Full-output KL leaves smaller mean NNLS gaps than total-norm matching in all five configurations, confirmed prospectively on new Llama material.

  2. Positionwise scaling can improve agreement. On each comparison’s common inputs, it lowers observed mean gaps relative to total-norm matching in four configurations and is descriptively closest to the reference intervention E on 24 gender inputs, without a paired interval.

  3. The output criterion matters. Compared with unscaled NNLS, answer-excluded calibration reduces mean effect gaps in the measured subject–verb comparisons but increases them in the gender comparison despite successful KL matching.

For constructed candidates, full-output KL also reduces mean effect gaps on matched inputs relative to the unscaled interventions, although matching coverage is incomplete in several settings (Section 6.5). For both code families, per-input output calibration uses the evaluated input's own outputs to select scaling coefficients, so we interpret it as a diagnostic of residual disagreement.

References (11)