Telling Standing Redundancy from Triggered Compensation in Language Models

When researchers knock out one part of a language model and nothing breaks, two very different things may be happening. The model may simply carry two copies of the same computation that both run all the time, so losing one costs little. Alternatively, a downstream part that normally does almost nothing may switch on because the first part disappeared. Geneticists separate these two cases as redundancy and genetic compensation. A duplicated gene that is always expressed buffers its twin passively, as with the soybean LEAFY1/LEAFY2 pair (LEAFY1 and 2 are required for floral organ development in soybean). By contrast, deleting KDM5B actively triggers upregulation of KDM5A and KDM5C (The Lysine Demethylase KDM5B Regulates Islet Function and Glucose Homeostasis). Interpretability research has evidence for both cases and no way to measure which one is operating. On one side, "backup" attention heads stay silent until their primary heads are removed (Interpretability in the Wild; The Hydra Effect). On the other, many disjoint circuits appear to be active at the same time in the unablated model (All Circuits Lead to Rome).

We propose a pairwise knockout map for attention heads that borrows the genetics method of quantitative epistasis. Epistasis here means how far the damage from removing two parts together departs from what their separate damages predict. We extend it with one manipulation that only a neural network allows: during a single knockout, we pin a candidate backup to the exact output it produces in the undamaged run, so it cannot respond. That intervention splits each redundant interaction into a standing share, which the backup contributes regardless, and a triggered share, which it adds only in response to damage. The claim is that this split is measurable and stable, and that it matters downstream. It predicts which multi-head knockouts actually remove a capability, and the two kinds of redundancy call for different removal strategies.

Core Claim

Let $W_S$ denote normalized task performance after ablating the set of heads $S$. We use the logit difference on the task, divided by its clean value, playing the role of "fitness." Following the null models compared for yeast double-deletion data in Exploring weighting schemes for the discovery of informative generalized between pathway models, the epistasis between heads $A$ and $B$ is

$$\varepsilon_{AB} = W_{AB} - N(W_A, W_B),$$

where $N$ is the multiplicative null $W_A W_B$, the minimum null $\min(W_A, W_B)$, or the additive-in-log null. Strongly negative $\varepsilon_{AB}$ is the analog of synthetic lethality: each head alone is dispensable, but the pair is not.

The new ingredient is the pinned single knockout $W_A^{[B]}$. Here we ablate $A$ while overwriting $B$'s output with its clean-run value on the same input. The triggered share of $B$'s buffering of $A$ is

$$\rho_{B\leftarrow A} = \frac{W_A - W_A^{[B]}}{W_A - W_{AB}}.$$

This ratio is near 0 when $B$ protects against losing $A$ only through what it already contributes. It is near 1 when the protection comes from $B$ changing its behavior after $A$ is removed. We will show that $\rho$ separates known backup name mover heads from heads that are redundant by construction. We will also show that $\rho$ and $\varepsilon$ together predict held-out higher-order knockouts better than single-ablation scores or binary gate labels.

Relation to Prior Work

Three papers motivate the gap. The Hydra Effect separates the direct effect of a layer, meaning what it writes to the output logits, from its total effect under resample ablation in Chinchilla 7B, and finds that downstream amplification plus reduced suppression by late MLPs restore roughly 70% of the lost probability. That analysis covers single layers only, never pairs. Explorations of Self-Repair in Language Models attributes about 30% of direct-effect repair to LayerNorm rescaling and identifies sparse anti-erasure neurons. It reports high per-token variance with no predictive model and no combinatorial knockouts. Missed Causes and Ambiguous Effects argues that overdetermination defeats single counterfactuals but provides no scalable tool.

Two papers are the closest competitors and constrain the design. Rethinking Circuit Completeness labels interactions as AND, OR or ADDER gates by combining noising and denoising (Ns+Dn), and notes that OR gates join components with identical roles. Those labels are binary, and an OR gate looks the same whether the backup was already running or switched on. Our $\rho$ measures exactly the distinction the gate labels erase. All Circuits Lead to Rome finds structurally disjoint "sheaves" (alternative circuits that each solve the task). On IOI, two sheaves share only 4.1% of edges, and it explains this as simultaneous co-presence. That paper never measures interactions between sheaves, so it cannot say whether those alternatives are standing or triggered. Our map tests its co-presence hypothesis directly.

Two papers supply methods. Who Does What? fits a monotone function of summed element contributions to multi-lesion data (PPA) and reaches 0.9978 correlation on a 10-neuron network. We use PPA as a higher-order prediction baseline at a scale it has never been tested. The yeast study supplies the null models, the sign-preserving squaring of weights that suppresses noise, and LocalCut. LocalCut is an algorithm that finds pairs of modules with negative interactions between them and positive interactions within them, which is the signature of two parallel pathways buffering each other. We reuse it to extract compensatory head modules.

Research Program

The core measurement is exhaustive pairwise head ablation on GPT-2 Small and Pythia-160M, each with 144 heads and therefore about 10,300 pairs. We add Pythia-410M, with 384 heads and about 73,000 pairs. Each condition is evaluated on a fixed batch of a few hundred prompts using resample ablation, so activations stay in their normal range. Mean and zero ablation serve as robustness checks. Every single knockout is run with each other head pinned in turn, which adds about one forward pass per pair. The full map therefore costs roughly three times an exhaustive pair sweep and fits comfortably on a single GPU node for these models.

Because LayerNorm rescaling is a known non-specific source of repair, every quantity is computed twice: once with the normalization scale free, and once with it frozen at clean values, as done in Rushing et al. A head that buffers only through normalization should lose its triggered share under freezing. A genuine backup head should keep it.

The analyses proceed in four steps. First, we validate $\rho$ against ground truth. Second, we determine which null model makes $\varepsilon$ most predictive of held-out triple and quadruple knockouts, a question the yeast work left open because its three nulls recovered different pathways. Third, we run LocalCut on the squared, signed $\varepsilon$ graph to extract compensatory modules and compare them with OASR sheaves, the alternative circuits found by the overlap-penalizing search of All Circuits Lead to Rome. Fourth, we use the map to choose capability-removal targets.

For LLaMA-7B we restrict the sweep to heads in the last eight layers, where both Rushing et al. and McGrath et al. place most self-repair.

Baselines

The naive reference point is ranking heads by single-ablation effect and removing the top $k$. On IOI, the 28-head circuit of Interpretability in the Wild is reported as 94% faithful to the full model's logit difference, which fixes what a hand-built single-path circuit achieves. Any method that cannot beat single-ablation ranking at removing the task for a fixed budget $k$ fails.

The strongest existing method for redundancy-aware circuits is Ns+Dn from Rethinking Circuit Completeness. The paper reports that task performance drops significantly more when its complete circuits are removed than when faithful circuits are removed. No reported result was found on Lacuna for the exact size of that drop, so we will reimplement Ns+Dn and rerun it ourselves. It gets the same models, tasks, prompt batches and ablation type as our method, and its sparsity hyperparameter is tuned on a validation split with the same number of trials we spend on our null-model choice. Beating it means a lower remaining logit difference at equal $k$ on held-out prompts, with no larger increase in Pile loss.

For predicting higher-order knockouts, the baselines are an additive model, which sums single damages, and PPA fitted on the same budget of lesion configurations. PPA's 0.9978 correlation comes from a 10-neuron network, so we expect it to degrade on transformers. Beating it means higher correlation and lower mean error on held-out triples and quadruples drawn from the same distribution.

The key ablation compares the full map against the same map with $\rho$ discarded, using $\varepsilon$ alone. This isolates whether the pinned knockout adds anything beyond borrowing the genetic null model.

Why not just…?

Why not just run an exhaustive pair sweep and remove the pairs with the largest joint drop? This is the most serious alternative. It costs a third of our compute, and for choosing double-knockout targets it may match us. We therefore treat it as a baseline in the target-selection experiment. Our claims rest on what it cannot provide. A raw joint-drop ranking has no null model, so it confounds heads that are each individually important with heads that are only jointly important, and it extrapolates poorly beyond pairs. It also cannot say whether a backup is standing or triggered. If it predicts triple knockouts as well as $\varepsilon$ under the best null model, we will report that the epistasis calculus adds nothing at the prediction level, and the contribution then reduces to the $\rho$ decomposition.

Why not just use the AND/OR labels from Ns+Dn? An OR gate records that either input suffices. It does not record whether the second input was already doing the work or started doing it after the first was removed, and that difference changes the intervention. Removing a standing backup also removes its normal contribution on other inputs. Pinning a triggered backup at its clean value disables repair without touching its normal output, a "block the response, not the responder" strategy analogous to blocking transcriptional adaptation. The planted-paralog test below shows directly whether the gate labels collapse the two cases while $\rho$ separates them.

Why not just freeze LayerNorm and say the rest is noise? Rushing et al. attribute only about 30% of repair to normalization. McGrath et al. find MLP and attention amplification that persists beyond it. We compute every quantity with normalization both frozen and free, so this alternative becomes a measured outcome rather than an assumption. If triggered shares vanish under freezing, self-repair is mostly a normalization artifact, which would itself be an informative negative result.

Why not use second-order gradients or attribution patching to estimate pair interactions cheaply? GIM shows that gradients through softmax approach zero exactly when redundant positions redistribute attention. Cheap gradient estimates are therefore biased toward missing the interactions we care about. We will still report the agreement between gradient-estimated and measured $\varepsilon$ on GPT-2 Small, because a strong agreement would make the method viable at 7B scale.

Proposed Experiments

The first decisive check uses planted ground truth. In GPT-2 Small we split a primary IOI name mover head into two half-weight copies writing to the same output space. This builds a pure standing redundancy whose $\rho$ should be near 0. We then compare it with the documented backup name mover heads, which are silent on clean runs and should show $\rho$ near 1. If $\rho$ does not separate these cases with low per-prompt variance, the decomposition fails.

The second check is predictive. Using pairwise data alone, each null model plus pairwise $\varepsilon$ terms predicts 2,000 random held-out triple and quadruple knockouts. This runs on IOI, Greater-Than, Syntactic Agreement and the Counterfact factual-recall prompts, and is compared against additive and PPA predictions.

The third check tests the co-presence account. If the disjoint sheaves of All Circuits Lead to Rome are simultaneously active alternatives, the negative-$\varepsilon$ edges between sheaves should have low $\rho$. If the dynamic-repair account is right, they should have high $\rho$. Finding a mix that depends on layer depth would reconcile the two views.

The fourth check is capability removal at a fixed head budget. Targets are chosen from LocalCut modules on the epistasis graph and compared with single ranking, the pair-sweep ranking and Ns+Dn. We score remaining task logit difference against the increase in Pile loss, on held-out prompts. For heads with high $\rho$, we additionally compare ablating the backup against pinning it at mean output, which tests whether blocking the response costs less collateral damage.