arXiv:2610.21261cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21261

Behavioral Compositionality of Sparse Autoencoder Representations

Haotian Ma, Ziye Mei, Frederic Sala

Abstract

Sparse autoencoders (SAEs) represent model activations with sparse, linearly decoded features, but the downstream effects of those features need not compose additively. We introduce SAE Additivity Residuals (SAR), which measure the behavioral variation left unexplained above a chosen interaction order. Under independent feature subset sampling, population SAR is exactly the normalized energy of interactions above that order and bounds coalition ordering error for the optimal low order approximation. To distinguish compositionality associated with the SAE representation from that induced by downstream computation, we compare learned SAE coordinates with sum preserving random rotations of the same selected subspace and find lower first order residuals for the learned coordinates across all 18 model and behavior settings. The coordinates are nevertheless not fully additive: pairwise terms improve held out coalition ordering in every setting and outperform parameter matched models using randomly selected third order terms. In a combined steering experiment, pairwise modeling raises rank fidelity from 0.5874 to 0.7790 and reduces ordering error from 0.1444 to 0.0606. Together, these results show that SAE coordinates support comparatively compositional behavioral descriptions while faithful joint explanations and interventions still require interactions beyond individual feature effects. Code is available at https://github.com/OpenSAE/SAE-Behavioral-Compositionality.

1 Introduction

Sparse autoencoders (SAEs) decompose model activations into sparse, linearly decoded features. These coordinates are used to inspect computation, build multi-feature explanations, and manipulate behavior. This raises a basic question. If the effects of individual features are known, can their joint effect be predicted by summing them? A linear SAE decoder does not answer this because subsequent computation can make feature effects reinforce, suppress, or depend on one another.

This matters when SAE features are combined into circuits, joint explanations, or interventions (Marks et al., 2025; Ameisen et al., 2025; Ayonrinde et al., 2024). Existing SAE evaluations characterize reconstruction, sparsity, and interpretability (Karvonen et al., 2025; Engels et al., 2025b; Chanin et al., 2025; Engels et al., 2025a), but do not tell us when independently characterized features can be composed into faithful joint explanations or interventions.

To address this gap, we introduce a framework for measuring behavioral compositionality in SAE coordinates. For each prompt, we retain different subsets of selected decoded contributions while holding the remaining activation fixed, producing a downstream response over feature subsets. If individual feature effects compose faithfully, this response should be well described at first order. Departures from that approximation reveal interaction, and adding successively higher interaction orders shows how that missing structure is organized. This lets us compare learned SAE coordinates with matched rotations of the same selected activation subspace, testing whether compositionality under

(a) Coalition interventions on decoded SAE contributions

Figure

(b) Nearly additive response

Figure

Figure

SAR1=0.02,ρ2=0.67\text{SAR}_1 = 0.02, \rho_2 = 0.67

V first order

(c) Interacting response

Figure

Figure

SAR1=0.40,ρ2=0.84\text{SAR}_1 = 0.40, \rho_2 = 0.84

V first order

pairwise Δ2\Delta_{2} SAR 2_{2}

Figure 1: Behavioral compositionality in SAE coordinates. (a) Selected decoded contributions are retained or removed while all other activation content is fixed, and the patched activation is propagated through the frozen upper layers to obtain gx(S)g_x(S). (b, c) Nearly additive and interacting responses, showing the first order fit, pairwise interactions, and variance decomposition. SAR1SAR_1 is the residual beyond individual features and ρ2=Δ2/SAR1\rho_2 = \Delta_2 / SAR_1 its pairwise share.

these interventions depends on coordinate choice beyond the subspace and downstream continuation and whether the remaining interaction matters for explanation and steering.

We quantify this structure with SAE Additivity Residuals (SAR). At first order, SAR1SAR_{1} is the behavioral variation not explained by individual feature effects. Adding pairs gives SAR2SAR_{2}, so Δ2=SAR1−SAR2\Delta_{2} = SAR_{1} - SAR_{2} is the structure recovered by pairs and ρ2=Δ2/SAR1\rho_{2} = \Delta_{2}/SAR_{1} its share of the first order residual. Under independent subset sampling, SAR has an exact interaction decomposition so that residual structure above a given order is exactly the normalized energy of higher order interactions. The same quantity also controls errors in preserving the ordering of feature coalitions. Figure 1 illustrates the intervention and contrasts nearly additive and interacting responses.

The main experiments span three model and SAE pipelines and six behavioral readouts, with additional analyses across seven pipelines and multiple representation depths. We evaluate matched coordinate rotations, first order and pairwise coalition models, combined SAE steering directions, and reconstruction quality. Our contributions are:

• We formulate behavioral compositionality for SAE representations and connect low order approximation error to explicit feature interactions and coalition ordering.

• Using sum preserving rotations of the same selected activation subspace, we show that compositionality under the subset intervention depends on coordinate choice, with learned SAE coordinates supporting a lower order behavioral description than the tested rotations.

• We show that pairwise terms improve held out coalition ordering in each of the 18 tested settings and outperform parameter matched random third order controls.

• We extend the analysis to a combined SAE steering experiment, where pairwise modeling raises rank fidelity from 0.5874 to 0.7790, and find that SAR and reconstruction quality differ in a matched six SAE comparison.

References (57)