Elamur Research

Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models

Paper · 2024 · Samuel Marks, Can Rager, Eric J. Michaud et al.

Summary

A language model can choose the right verb even when another noun stands between it and the subject. Finding the part of the network that helps with that choice is a start. The harder question is what that part contributes. An attention head can participate in several computations, and an individual neuron can respond to a mixture of unrelated cues. This paper proposes building causal graphs out of smaller units whose roles are easier to describe. The graphs, called sparse feature circuits, let researchers trace how a particular prediction comes about and test what happens when they remove some of its causes. Mechanistic interpretability · Language model

The authors use sparse autoencoders, or SAEs, to express an internal activation as a sum of learned directions, with relatively few active directions at each token. They also keep the reconstruction error as a separate node, so the graph can show where a prediction still depends on information the autoencoder has left unexplained. To search a large graph, they use gradients to estimate the effects of changing nodes and connections. Attribution patching uses the gradient from the original run. Integrated gradients sample along the change and give better estimates where the original gradient misses much of the effect. In subject–verb agreement tests, circuits with 100 nodes for Pythia-70M and 500 for Gemma-2-2B recovered most of the agreement performance under the paper’s evaluation procedure. Neuron circuits needed around 1500 and 50,000 nodes, respectively, to recover half. The feature circuits can include whole reconstruction-error vectors, so those node counts have different units of granularity.

The authors then use the circuits to edit a profession classifier. They train it on biographies in which every professor is male and every nurse is female. Either gender or profession can therefore explain every training label. With SHIFT, a human reads the features implicated in classification and removes those judged irrelevant to profession. On balanced biographies, the resulting classifiers depend much less on gender. Gemma-2-2B initially loses profession performance after the removal, then recovers it when the authors retrain its classification head on the same ambiguous training data. The experiment shows how a human judgment about what should count as evidence can guide an edit even when the training labels cannot distinguish the intended signal from a shortcut. Text classification · Bias, fairness & safety

The final experiment begins with ordinary text from The Pile. The authors group contexts by features of Pythia-70M’s internal computation and build a circuit for each group. This yields thousands of circuits for automatically discovered prediction behaviors. In examples involving number sequences and infinitival to, the graphs reveal distinct routes to the same kind of output. Grouping the inputs and discovering the graphs are automatic. Explaining what the individual features do still takes inspection. The authors release the code, data, and autoencoders as saprmarks/feature-circuits and make the automatically discovered circuits available through an interactive browser.

Deep dive: Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models

See how sparse feature circuits trace the causes of language model predictions, explain grammatical agreement, and reduce reliance on gender cues. · about 41 minutes to read

The problem and its context

What a circuit is supposed to explain

An agreement test asks the predictor to favor a verb form that matches its subject in grammatical number. When an intervening phrase contains a noun of a different number, agreement also tests which noun the predictor is using. A high score at the output tells us that the system often chooses well under the test conditions. A circuit aims to explain how that preference arises. It can identify where subject number first becomes consequential, whether a later computation carries it past the intervening phrase, and where it begins to affect the verb scores. Each of these questions concerns the dependence of one part of the computation on another. Syntax & grammar formalisms · Causal analysis of syntactic agreement mechanisms

The authors place this work in a tradition that tests such dependencies through interventions. Researchers run an input, change an internal activation to a value observed in another run, and measure the change in an output of interest. If the replacement changes the verb preference, the chosen activation mattered to that decision under the intervention. Related work intervenes on particular paths so that a change can be traced through a selected connection. Once researchers have scores of this kind, they can search for a subgraph that explains a behavior with fewer parts than the entire network. The paper cites automated circuit discovery as one way previous work approached that search. Towards Automated Circuit Discovery for Mechanistic Interpretability

Where a circuit draws its boundaries determines the explanation it can provide. In earlier work described by the authors, induction heads helped explain in-context learning, and feed-forward modules called multilayer perceptrons, or MLPs, were implicated in factual recall. Such results can locate an important computation. The next question is which aspect of a head or MLP made the difference in a particular example. The paper calls these larger components polysemantic because their activity can have several meanings or consequences. An edit at that scale can affect several of those uses together. Transformer and attention · In-context Learning and Induction Heads · Locating and Editing Factual Associations in GPT · Dissecting Recall of Factual Associations

Switching from a whole component to one neuron makes the unit smaller, but there is still a question about what its activity means. The authors use neuron broadly for an existing coordinate direction in a hidden representation, including cases where that coordinate has no individual activation function immediately before it. This definition lets them compare learned feature directions against the network’s native coordinates at several sites. A native coordinate is easy to index and intervene on. A recognizable linguistic function may nonetheless be distributed across coordinates, and a single coordinate can respond to several patterns.

Starting with a behavior or with a hypothesis

Researchers can obtain finer units by looking for a particular concept that they suspect is already represented internally. A supervised linear probe, for example, uses labeled examples to find a direction that helps read out a property. Work on causal abstraction can begin with a proposed high-level mechanism and intervene to test whether a network implements that mechanism. Those approaches give researchers a precise question when they can specify the property or computation in advance. Here the authors also want to investigate cases in which a behavior is observable and the possible roles of the internal units are still open. Probing Classifiers · Causal Abstractions of Neural Networks · Representation Engineering

Dictionary learning provides a different starting point. It learns a collection of directions that can be used to reconstruct activations from ordinary text. Sparsity puts pressure on the reconstruction to use a small subset of that collection for any one token. Researchers can then inspect a direction’s strongest examples and ask what those examples have in common. A grammatical property, a kind of vocabulary, or a narrow prediction pattern can emerge during inspection even though none was used as a training label for the dictionary. The dictionary supplies candidates for an explanation. The intervention tests which candidates actually affect the behavior under study.

A rich dictionary also makes circuit discovery more expensive. There can be many more dictionary entries than native activation coordinates, and each entry can occur at several token positions. Even after finding relevant nodes, a researcher has to decide which connections between them matter. The authors draw on earlier work on attribution patching and integrated gradients to make those searches tractable. They use approximate causal scores to locate candidate parts of the graph, then evaluate selected circuits with interventions. Attribution Patching Outperforms Automated Circuit Discovery

Why the choice of unit matters for an edit

The classifier experiment puts pressure on the same distinction. A procedure that reduces a shortcut usually needs some evidence that separates the shortcut from the intended signal. In the paper’s account, earlier approaches obtain such evidence in ways that include reweighting data between groups, optimizing the worst group directly, and editing a protected concept out of a representation. The authors also describe a smaller body of work in image or multimodal tasks that can operate without disambiguating labels. An especially close inspiration interprets attention heads in CLIP and ablates ones judged undesirable. Null It Out

If every labeled example containing one cue also contains the other, better prediction of those labels gives the classifier no reason to favor the cue the task designer intended. An inspection of the internal computation gives a human a different kind of evidence. The human can recognize that a feature responds to gendered names or that another responds to occupational terms. Whether to remove either is a decision about the task. For that decision to be practical, the selected units must both matter to the prediction and admit descriptions precise enough to guide the intervention.

The method, step by step

Expose the features as places to intervene

The method begins with a trained predictor, autoencoders for some of its internal sites, a collection of examples, and a numerical score for the behavior. An internal site might be an attention output, an MLP output, or a vector in the residual stream, which carries information between computations in the network. At each selected site the authors insert the autoencoder’s decomposition into the computation graph. A feature activation and the reconstruction error thereby become variables that can receive separate interventions.

How the paper discovers a sparse feature circuit

The steps in order.

How the paper discovers a sparse feature circuitStep 1: Choose inputs and a score for the behavior1. Choose inputs and a score for the behaviorStep 2: Decompose internal activations into features and reconstruction errors2. Decompose internal activations into features and reconstruction errorsStep 3: Cache activations and compute gradients3. Cache activations and compute gradientsStep 4: Estimate and aggregate each node’s indirect effect4. Estimate and aggregate each node’s indirect effectStep 5: Retain nodes that pass the node threshold5. Retain nodes that pass the node thresholdStep 6: Estimate direct connections between retained nodes6. Estimate direct connections between retained nodesStep 7: Filter edges and inspect the resulting circuit7. Filter edges and inspect the resulting circuit

An autoencoder takes an activation vector as input. Its encoder assigns a non-negative coefficient to each dictionary direction. Its decoder uses those coefficients to reconstruct the vector and adds a bias. Many of the coefficients are zero for a given input. Different tokens can activate different subsets, and the same direction can recur at different positions or in different examples. A direction is a vector in the original activation space. Its coefficient is a scalar that says how much of that direction the reconstruction uses at a particular site and token.

x = x̂ + ε(x) = ∑ᵢ₌₁ᵈˢᴬᴱ fᵢ(x) vᵢ + b + ε(x)

Here x is the original activation and x̂ is the reconstruction. The vector ε(x) is their difference. The sum ∑ ranges over dictionary indices i from 1 through the autoencoder width dˢᴬᴱ. Each vᵢ is a unit direction, fᵢ(x) is its non-negative coefficient, and b is the decoder bias. The original activation, reconstruction, error, directions, and bias all live in the activation space at that site. Multiplying a direction by its coefficient gives that feature’s contribution to the reconstruction.

Preserving ε(x) has a concrete effect. The original forward computation receives its full activation until an intervention changes it. If the authors then suppress a feature while holding the error fixed, the decoder contribution of that feature is removed and the rest of the vector is still available. The error itself can also be patched or ablated to ask how much the behavior depends on the information remaining outside the dictionary. It appears as a vector-valued node. A feature node has a single coefficient, so the same convention for counting nodes can count objects of very different sizes.

For Pythia-70M, the authors train a separate SAE for each relevant site, including embeddings and the attention, MLP, and residual-stream activations. Each dictionary is 64 times as wide as the activation it represents. The encoder subtracts the decoder bias before applying its linear transformation. The same bias is added back at decoding, so it serves as an offset for both operations.

f = ReLU(Wᴱ(x − bᴰ) + bᴱ)

Here f is the vector of feature coefficients, with entry fᵢ for dictionary index i. The input activation is x. The encoder matrix Wᴱ maps from the activation space to the wider feature space. The vectors bᴰ and bᴱ are the decoder and encoder biases. ReLU acts on each coordinate of its argument, replacing a negative value with zero and keeping a positive value.

x̂ = Wᴰ f + bᴰ

Here x̂ is the reconstructed activation, Wᴰ is the decoder matrix, f is the vector of encoded coefficients, and bᴰ is the decoder bias. A column of Wᴰ is a dictionary direction vᵢ. The authors constrain each column to have unit length, so the encoder cannot satisfy the sparsity penalty simply by making coefficients smaller and compensating with longer decoder directions.

ℒ = ‖x̂ − x‖₂ + λ‖f‖₁

Here ℒ is the training loss. The first term is the L2 norm of the difference between the reconstructed activation x̂ and the original x. The second uses the L1 norm of f, which sums the magnitudes of the coefficients. The weight λ controls the price of using those coefficients. The authors use λ of 0.1 and a learning rate of 10⁻⁴. The optimizer is a variant of Adam that respects the unit-length decoder constraint. Adam

To obtain training examples for a given Pythia-70M SAE, the authors take the first 128 tokens of randomly sampled documents from The Pile and record the chosen activation at every token. They cache activations from 10,000 contexts and sample training batches of size 2¹⁴ from that buffer. When half the buffer has been used, they replenish it with fresh data. Training runs for 120,000 steps, with about 2 billion training tokens reported. These are examples for learning the dictionary. The agreement pairs and biography labels enter later, when the authors ask which learned directions participate in a specific computation.

A feature that seldom activates gets few opportunities to learn a useful role. Every 25,000 steps, the authors reinitialize features that have stayed inactive over the previous 12,500 steps. They use a linear learning-rate warmup lasting 1000 steps at the start and whenever they resample features. They evaluate the dictionaries using reconstruction, sparsity, and predictive-loss measures in addition to inspecting individual features. Those measurements answer different questions. A dictionary can preserve a substantial amount of an activation while still leaving researchers with hard-to-describe directions.

V = 1 − Var(x − x̂) / Var(x)

Here V is the reported fraction of variance explained, Var is the variance operation, x is the original activation, and x̂ is its reconstruction. The numerator of the ratio measures variance in the reconstruction error, and the denominator measures variance in the original activations. The authors also report the average L1 norm of the coefficients and their average L0 norm, which counts active entries. To measure the fraction of features alive, they check which entries activate at least once in a batch of 512 tokens.

The predictive-loss check compares the original cross-entropy with the loss obtained by replacing the activation with its reconstruction. The authors normalize the difference using the loss change when the activation is set to zero. Both changes use the same original loss as a reference. That denominator supplies a scale for asking how much the reconstruction has lost relative to removing the whole activation. The cross-entropy averages for this SAE evaluation use 128 contexts of length 128.

For Gemma-2-2B, the authors use pretrained Gemma Scope dictionaries with a Jump-ReLU encoder. They use the 8-times-width configuration, with dictionary width 16,384, and choose the available SAE for each site whose average number of active features is closest to 100. The selected dictionaries cover attention, MLP, and residual-stream sites across 26 layers. The attention dictionaries encode the input to the attention output projection. The MLP dictionaries encode the output of the normalization that follows the MLP. Those placements differ from the Pythia-70M placements. Experimental Gemma embedding dictionaries have width 4000 and are left out of these experiments. Gemma 2 · Gemma Scope

Measure the influence of a node

For agreement, the inputs come in pairs. One member is called clean and the other supplies the patch. In the paper’s example, the clean prompt ends with a singular subject and favors is, while the patch prompt ends with a plural subject and favors are. The output metric can compare the log probabilities of the two verb forms. The key operation is to run the clean prompt and substitute the patch value of a selected node. Any resulting score change can be attributed to that substitution under the conditions of the intervention.

m(x) = log P(are | x) − log P(is | x)

Here x is the input prompt, m(x) is its verb preference score in this example, and P(verb | x) is the probability assigned to the indicated next token given x. The vertical bar denotes conditioning and log denotes the logarithm. With this ordering, raising the score favors are relative to is. Which direction a change favors therefore depends on which form belongs to the patch and which to the clean input.

IE(m; a; x꜀, xₚ) = m(x꜀ | do(a = aₚ)) − m(x꜀)

Here IE is indirect effect, m is the scalar metric, and a is the node being tested. The clean and patch inputs are x꜀ and xₚ, and aₚ is the value a takes during the patch run. The expression do(a = aₚ) means that the clean computation is forced to use aₚ at that site. The second term is the score in the ordinary clean run. A large absolute effect means that this particular change to the node strongly moves the score. It measures influence relative to the specified replacement.

For biographies or clusters of ordinary text, the authors frequently have no matched counterfactual to use as the patch. They ask instead how the metric changes if the node is set to zero. A feature coefficient of zero removes that direction’s contribution at the intervention site. For a reconstruction error, the intervention sets its entire vector to zero. A large effect in this setting means the score depended on something the node contributed on that example.

IE(m; a; x) = m(x | do(a = 0)) − m(x)

Here IE is the score change from zero ablation, m is the metric, a is the intervened node, and x is the single input. The zero has the shape of a, so it represents either a zero coefficient or a zero vector. The do operator replaces the node value while the rest of the computation continues from the modified state. Zero is a reference value for measuring dependence. It can differ considerably from a value produced by another natural input.

Estimate many changes in parallel

Running an exact intervention separately for every candidate is expensive. Attribution patching uses the derivative of the score with respect to each candidate node. It multiplies that derivative by the proposed change. For a scalar feature the product has two factors. For a vector error node the gradient is contracted with the vector displacement. One backward pass supplies gradients for many different sites, so the authors can score a large collection of possible interventions using the activations from two forward passes and those gradients.

ÎEₐₜₚ(m; a; x꜀, xₚ) = [∇ₐm]ₐ₌ₐ꜀ · (aₚ − a꜀)

Here ÎEₐₜₚ is the estimated indirect effect under attribution patching. The scalar metric is m, the node is a, and x꜀ and xₚ are the clean and patch inputs. The expression ∇ₐm is the gradient of the score with respect to a. The subscript on the bracket says to evaluate the gradient at the clean activation a꜀. The quantity aₚ − a꜀ is the displacement toward the patch value, and · denotes the product or vector contraction appropriate to the node. For zero ablation the patch value aₚ is replaced by zero.

A derivative describes how the score responds to a small move at the point where it is measured. A patch can move the node much farther. If the slope changes along that move, the clean derivative may miss a large effect. The authors also use integrated gradients, which approximate the change by sampling derivatives along the straight line connecting the reference and original activations. This lets the estimate reflect regions where the slope differs from the clean one.

ÎEᵢᵍ(m; a; x꜀, xₚ) = (1/N) ∑ₐₗₚₕₐ [∇ₐm]ₐ₌αa꜀₊₍₁₋α₎aₚ · (aₚ − a꜀)

Here ÎEᵢᵍ is the integrated-gradients estimate, N is the number of sampled points, and the sum runs over interpolation coefficients α. The paper uses N = 10 and coefficients from 0 through (N − 1)/N in steps of 1/N. The metric is m, the intervened node is a, and a꜀ and aₚ are its values on x꜀ and xₚ. Each bracket gives the score gradient when a is forced to the corresponding interpolated value. Their average is contracted with the full displacement. For zero ablation the path runs between zero and the original activation.

Several nodes can share these computations when they are independent of one another. When a node is downstream of another candidate, changing both during the same intermediate run would conflate their individual interventions. The authors describe the extra cost of integrated gradients as increasing linearly with the number of sample points and the serial depth. That cost buys a better estimate in the components where a single gradient gives too little weight to a change.

Keep the important nodes and isolate their connections

For templates in which matching positions serve matching roles, the authors keep position in the identity of a node. The same dictionary feature at the subject and at the last token before the verb can have separate scores. They average signed effects across examples for each feature and position, then retain nodes whose average effect has absolute magnitude greater than the node cutoff. Effects that pull in opposite directions on different examples can cancel in this average. The chosen nodes therefore describe a consistent contribution under the metric and examples used to define the circuit.

For less regular text such as a biography, a particular kind of evidence can appear anywhere. The authors first sum an item’s effects over positions within each example and then average across examples. A feature can now appear once in the graph even if it has several occurrences in a biography. This aggregation also changes what can be read off the result. A biography circuit can show that a direction matters across the collection without identifying a fixed position at which it carries the signal.

A node effect says how a substitution influences the output through all the routes available from that node. An edge effect asks how much of the influence is carried directly into a specified downstream node. If the upstream change can reach that downstream node both directly and via a third node, the authors hold intervening nodes fixed while measuring the change to the downstream activation. They then measure how that downstream change affects the score.

d* = d(x꜀ | do(u = uₚ, q = q꜀ for q ∈ ℳ))

Here d* is the replacement value computed for the downstream node d. The upstream node is u, and uₚ is its patch value. The input remains x꜀. The set ℳ contains nodes between u and d, q denotes any member of that set, and q꜀ is its value on the ordinary clean run. The do operator applies these settings jointly. Freezing q for every member of ℳ blocks the routes through those nodes when computing d*.

ÎE(m; e; x꜀, xₚ) = [∇ᵈm]꜀ [∇ᵘ,ˢᵗᵒᵖ⁽ℳ⁾ d]꜀ (uₚ − u꜀)

Here ÎE is the estimated effect of edge e from u to d on metric m, with x꜀ and xₚ the clean and patch inputs. The first bracket is the gradient of the score with respect to d. The second is the Jacobian of d with respect to u, computed with intermediate nodes in ℳ treated as constants, as indicated by the stop superscript. The bracket subscripts ꜀ indicate evaluation at the corresponding clean activations. The final factor is the displacement from the clean value u꜀ to the patch value uₚ. The factors convert an upstream change into a direct downstream change and then into an estimated score change.

The authors average edge effects with the same position conventions used for nodes. They keep edges whose absolute average effect exceeds an edge threshold. The node threshold controls which variables warrant inclusion, while the edge threshold controls how densely the included variables are connected in the displayed graph. Edge estimates describe particular paths in this chosen decomposition. For example, drawing a connection from a number detector to a later feature gives a more specific account than observing that both affect the verb preference.

Make the backward pass respect the intervention

There is a subtlety when the autoencoder reconstruction and its error are both part of the computation. Numerically, changing the reconstruction in the expression for the error automatically changes that error by the opposite amount. Ordinary differentiation through the sum would therefore cancel the feature gradient. The intervention of interest holds the error fixed while changing a chosen feature, so the derivative must reflect that choice.

xᵈ = x̂ + stopgrad(xᵘ − x̂)

Here xᵘ and xᵈ are the activation immediately upstream and downstream of the inserted dictionary computation, and x̂ is the reconstruction. The function stopgrad returns its argument unchanged in the forward run but blocks derivatives through that expression. The sum still equals the original activation during the forward run. In the backward calculation the feature’s contribution survives because the error term is held fixed for that derivative.

Blocking the error derivative also interrupts gradients to sites earlier in the network. The authors address this by passing the downstream gradient through to the upstream activation, restoring the gradient of the original forward computation before the dictionary was inserted.

∇ₓᵘ m ← ∇ₓᵈ m

Here m is the output metric, ∇ₓᵘ m is its gradient with respect to the upstream activation, and ∇ₓᵈ m is the gradient at the downstream copy. The arrow denotes an assignment during the backward pass. This operation preserves the gradient reaching earlier sites while leaving the intermediate feature gradients available for the attribution calculation.

For an edge ending at a vector error node, the full Jacobian could require a backward pass per output coordinate. The authors only need the Jacobian after weighting its outputs by their influence on the score. They obtain that product by differentiating a weighted combination of the downstream outputs.

A∇ₓy = ∇ₓ(Ay)

Here x is a vector of input variables, y is a vector that depends on x, and A is a constant row of weights with one entry per output coordinate of y. The operation ∇ₓ differentiates with respect to x. The left side multiplies the full Jacobian by A. The right side first forms the scalar weighted output Ay and then differentiates it. In the edge computation, A comes from the gradient of the score at the downstream node and is held fixed. The authors can compute it in one backward pass and obtain the required weighted Jacobian in another.

Choose what the circuit is meant to explain

For SHIFT, the metric is the loss of a classifier on labeled training examples. Discovering the circuit identifies features that consequentially support or hinder the observed classification. A person then checks the features’ highly activating examples and output effects to decide whether they are relevant to the intended task. The ablated classifier is obtained by zeroing the features selected for removal. The paper allows further training after the edit. In the experiment it refits the linear head on representations from the edited network.

m = −log C(y | x)

Here m is the classifier loss on the example, C(y | x) is the probability the classifier assigns to label y when given input x, and log is the logarithm. The minus sign makes the metric larger when the classifier assigns less probability to the supplied label. A positive change under a zero ablation therefore means removing the node raises the loss for that example.

In the unsupervised application, the starting examples are context and next-token pairs from The Pile. The authors restrict attention to pairs Pythia-70M predicts confidently and correctly, with cross-entropy below 0.1 or 0.3 nats depending on the run. They filter out an example when the bigram consisting of the last context token and the answer has already occurred in the context. This rule reduces the prevalence of straightforward repetition cases. A context can still involve other kinds of induction, in which an earlier occurrence of a pattern informs what comes next. Tokenization

The authors experiment with clustering on dense activations, sparse activations, estimated ablation effects in either representation, and gradients with respect to network parameters. For activation or effect vectors they can concatenate information from the last positions before the answer or sum over positions. Both operations yield a fixed-length representation for contexts of varying lengths. Activations group examples by what is present in the network. Effects introduce information about what changes the next-token loss. Parameter gradients describe how the observed token probability responds locally to the predictor’s weights.

gᵢ = ∇θ log Pθ(yᵢ | xᵢ)

Here gᵢ is the parameter-gradient representation of example i before projection, θ denotes the predictor’s parameters, and ∇θ takes derivatives with respect to those parameters. The context is xᵢ and its observed next token is yᵢ. The conditional probability Pθ(yᵢ | xᵢ) is the probability assigned to that token by the predictor with parameters θ. The experiment using these gradients omits the embedding and normalization parameters.

For representations other than parameter gradients, the authors apply spectral clustering to 8192 examples. They compare every pair of example vectors by cosine similarity and turn the resulting values into angular similarities.

Cᵢⱼ = (xᵢ · xⱼ) / (‖xᵢ‖ ‖xⱼ‖)

Here Cᵢⱼ is the cosine similarity between the vectors xᵢ and xⱼ used for clustering examples i and j. The centered dot is their inner product, and the norm signs give their lengths. In this equation xᵢ and xⱼ stand for numerical representations of the examples.

Ĉᵢⱼ = 1 − arccos(Cᵢⱼ) / π

Here Ĉᵢⱼ is the angular similarity supplied to spectral clustering, Cᵢⱼ is the original cosine similarity, arccos is the inverse cosine, and π is the radian angle for opposite directions. The transformation puts the values in the interval from 0 to 1. The authors choose the number of clusters to maximize the number containing more than one context.

The parameter-gradient experiment uses 100,000 examples. At that size the authors use k-means directly and reduce the width of each gradient with a sparse random projection to 30,000 dimensions. A projection entry is non-zero with probability 32/30000, and a non-zero entry is equally likely to be −1 or 1. This keeps the projection sparse while giving each example a vector that can be clustered without retaining an entry for every parameter. After clustering, each group supplies examples for circuit discovery.

mᵢ = −log P(yᵢ | xᵢ)

Here mᵢ is the circuit-discovery metric on example i, xᵢ is its context, yᵢ is its observed next token, and P(yᵢ | xᵢ) is the token probability before or after the relevant intervention. The logarithm and minus sign define the next-token loss. The group supplies a common dataset over which effects can be aggregated even when the individual contexts are phrased very differently.

Experiments and results

How much agreement performance does a small circuit preserve?

The agreement experiments use subject-number contrasts adapted from earlier work. Each pair changes the grammatical number of the subject and tests the corresponding verb preference. The authors build circuits for simple agreement, agreement within a relative clause, agreement across a relative clause, and agreement across a prepositional phrase. Agreement within a relative clause uses a subject inside that clause. Agreement across a relative clause requires the main subject’s number to remain available after the modifying clause. The parallel case with a prepositional phrase tests the effect of a different intervening structure. Causal analysis of syntactic agreement mechanisms

For comparison, the authors run the discovery procedure with neurons as nodes. Those circuits use the network’s native coordinates and have no separate SAE error nodes. The quantitative circuit evaluation uses a test split of contrastive pairs held out from circuit discovery. This matters because the search chooses nodes by their estimated effects on its own examples. A circuit that merely picks up which words were used during discovery might perform poorly on new examples of the same syntactic structure.

The faithfulness test runs the system with nodes outside the circuit set to their mean activations. The means are specific to token position. This reference preserves the average activity at a site under the task distribution while taking away its ability to carry information that differs between particular inputs. The comparison is against both the full run and an empty circuit subject to the same ablation convention. The normalized score asks how much of the full run’s advantage over the empty circuit survives when the chosen nodes can vary normally.

F(C) = (m(C) − m(∅)) / (m(M) − m(∅))

Here F(C) is the circuit’s faithfulness, C is the selected circuit, M is the full predictor, and ∅ is the empty circuit. The value m(C) is the mean metric on the evaluation inputs when nodes outside C are mean-ablated. The values m(M) and m(∅) are the corresponding full and empty scores. The ideal value of F(C) is 1. A score near that value indicates that the retained computation accounts for much of the full score above the mean-ablation reference.

The authors find that early components often respond to particular input tokens. The discovery and evaluation splits use different words, so an early feature useful on the discovery examples may have little work to do on the test examples. The paper evaluates the later portion of the circuit, omitting the first third. Its held-out numbers are consequently evidence about how the later computation transfers across the agreement split. The setup leaves the early stages of that transfer less directly tested.

When the authors sweep the node cutoff, feature circuits recover the majority of agreement performance with 100 nodes for Pythia-70M and 500 for Gemma-2-2B. The neuron version needs around 1500 nodes for Pythia-70M and 50,000 for Gemma-2-2B to recover half. These figures describe the reported held-out faithfulness curves. The comparison involves slightly different amounts of performance recovered, and the nodes in the feature curves can include vector-valued errors. The paper also compares versions with errors removed to test how much those vectors contribute.

The authors test completeness by leaving the complement of the circuit active. This asks how much agreement performance is available outside the selected graph. A circuit can score well when preserved and still leave useful computation elsewhere, so the complement test supplies distinct evidence.

K(C) = F(M ∖ C)

Here K(C) denotes the completeness score in the paper’s convention, F is the faithfulness measure above, M is the full computation, and M ∖ C is the portion outside circuit C. Evaluating F on that complement means ablating the selected circuit and measuring what remains. The ideal value is 0, which means the complement preserves none of the full predictor’s advantage over the empty reference.

A few feature nodes suffice to eliminate task performance in this test, even when all autoencoder errors are allowed to remain. The comparable intervention takes hundreds of neurons for Pythia-70M or thousands for Gemma-2-2B. Faithfulness and completeness together distinguish two ways a representation can be useful. A compact retained graph can carry behavior in its own right, while a compact set of removed nodes can expose a strong dependency of the surrounding network. The paper obtains evidence of both on the agreement tasks.

What the agreement circuits reveal

For their detailed inspection of agreement across a relative clause, the authors choose small circuits that clear a faithfulness threshold of 0.2. Pythia-70M’s chosen circuit has 86 nodes and Gemma-2-2B’s has 223. Both have faithfulness 0.21. The chart compares the size of those selected examples at their common reported score. The star marks the smaller circuit under that condition. The authors use both for inspection.

Relative-clause agreement case study, circuit size at matched faithfulness

Pythia reaches the shared faithfulness value with fewer nodes in the circuits chosen for inspection.

Relative-clause agreement case study, circuit size at matched faithfulnessPythia-70M sparse feature circuit (this paper): 86Pythia-70M sparse feature circuit (thispaper)86Gemma-2-2B sparse feature circuit: 223Gemma-2-2B sparse feature circuit223
The numbers
System or settingcircuit nodes
Pythia-70M sparse feature circuit (this paper)86
Gemma-2-2B sparse feature circuit223

The annotated graphs suggest two routes from the main subject to the verb preference. In the first, features responsive to the number of the main subject support later features that broadly favor matching verb forms. The second route starts with the same information but has to make it available after the modifier. Features near the start of the modifier help identify the boundary, and attention transfers information about the subject to the final position of the relative clause. That position immediately precedes the predicted verb. Locating the relevant features at their token positions lets the authors tell apart detecting number and retrieving it when it matters to the prediction.

Gemma-2-2B also exhibits features that track the number of the noun heading a noun phrase. The highlighted plural tracker responds through positions in a phrase whose head is plural, with a gap on a singular distractor phrase inside it. The feature can therefore be active on tokens that are not themselves plural nouns while still supplying evidence about which verb form to favor. The authors describe these trackers as promoting the matching form across positions, especially at the end of the noun phrase.

The agreement-across-prepositional-phrase circuits share over 85% of their features with the agreement-across-relative-clause circuits for both predictors. Some of the boundary features are used for both sorts of modifier. Simple agreement and agreement within a relative clause show less overlap with the across-clause circuit. They still implicate a progression from detecting the relevant subject’s number to promoting a verb inflection. The comparison suggests that some tasks call on similar output preferences while differing in the steps required to bring the right number information to the output position.

Can the profession classifier give up a shortcut?

The Bias in Bios task keeps biographies from two occupations. The ambiguous training data pairs male professors with label 0 and female nurses with label 1. The balanced evaluation dataset contains the same number of men and women in each of the two professions, nursing and professorship, with all four groups equally represented. It carries both profession and gender labels. The authors report profession accuracy, gender accuracy, and worst-group profession accuracy, defined as the lowest profession accuracy among the demographic and occupational groups. An output that follows gender can seem successful on the ambiguous set and fail on the balanced groups where gender and profession point to different classes.

The classifier mean-pools the residual-stream vectors from non-padding tokens at a chosen layer and reads the resulting biography vector with a linear head. The head uses logistic regression trained with AdamW, at learning rate 0.01 for one epoch. Accuracy measured on a test subset of the ambiguous data determines the choice of layer 4 in Pythia-70M. Several Gemma-2-2B layers perform similarly on that set. The authors use balanced-set performance for this particular design decision and choose layer 22, where the baseline generalizes worst. The choice creates a test case with room for improvement. The authors say they do not optimize SHIFT’s hyper-parameters on the balanced set. Decoupled Weight Decay Regularization

The Pythia-70M discovery circuit contains 67 features, of which the authors judge 55 task-irrelevant. The Gemma-2-2B circuit contains 46 features, of which they judge 43 irrelevant. They make these decisions from strongly activating text examples and effects on output logits, the scores used to produce token probabilities. Their annotated Pythia-70M circuit contains features sensitive to gendered pronouns and names, along with features responding to nursing, science, and academic language. The experiment’s judgments use examples from an additional unlabeled text corpus for inspection. The classifier edit uses the ambiguous classification data and the feature judgments.

SHIFT nearly eliminates the measured dependence on gender for both predictors. The initial removal harms profession performance for Gemma-2-2B. Refitting its linear head on the edited activations from the ambiguous data restores profession performance while preserving the reduction in gender reliance. The paper singles out Gemma-2-2B as needing that recovery. For Pythia-70M, the authors report that the removal does not cause the same damage.

The comparison methods give different ways to test what made the edit succeed. Random ablation uses the same number of SAE features chosen without the human judgments. Concept Bottleneck Probing restricts the classifier to its similarity to occupation concepts. In the paper’s implementation, the 20 concepts are keywords drawn from nursing and academia. Each concept vector comes from the final token’s representation at Pythia-70M’s penultimate layer. The authors subtract the mean concept vector from each keyword vector, then use cosine similarities between biography and concept vectors as the input to a linear head.

The feature and neuron skylines are comparisons with privileged information. Both can use the gender labels of the balanced set to select units implicated in gender prediction. The feature skyline zero-ablates the corresponding quota of selected circuit features. The neuron skyline mean-ablates the same quota of selected neurons. The oracle has access to balanced-set profession labels for training. SHIFT without head retraining is reported as matching or nearly matching what the feature skyline can obtain by using balanced labels to select features. The paper describes the neuron skyline as falling short of SHIFT, since important gender-sensitive neurons also contribute to profession classification.

What turns up when prediction behaviors are discovered automatically?

The Pythia-70M clustering experiment yields thousands of circuits. Two illustrated cases show why a cluster can be informative even if it includes distinct routes to the answer. Cluster 382 concerns sequence continuation. Its circuit combines broadly useful succession features with narrower induction features. Attention features in layer 3 appear to help advance multiple numbers and letters. Other features respond to specific patterns in which a repeated prefix supplies information about which earlier number occurred. A residual feature in layer 5 particularly favors moving from 3 to 4 in lists whose entries share a prefix. An output that looks like one sequence rule can thus depend on both general succession and context-specific retrieval.

Cluster 475 concerns predictions of infinitival to. Certain verbs provide early evidence that an infinitive is likely. Later features distinguish contexts in which an infinitive can follow a verb, participle, or predicate adjective from contexts in which it can follow a nominal direct object as a complement. For example, the position after excited in a predicate and the position after us when it is the object of asked can both favor the same next token. The paper reports that the two routes affect the output in layer 5 while remaining partly distinct. The circuit adds an explanation of the structure inside the cluster, beyond the observation that both kinds of context favor to.

The automated output is the assignment of examples to groups and the discovery of a graph for each group. The illustrated linguistic and sequence descriptions come from inspection of selected graphs. This distinction matters for evaluating the experiment. The examples show that a human can recover meaningful structure from some groups. The number of graphs produced measures the scale of discovery, and the paper leaves evaluation of their quality across the collection open.

What the ablations show

The effect estimate can fail in identifiable places

The authors compare approximate effects with exact interventions on 30 inputs from the across-relative-clause agreement dataset. Each observation corresponds to a feature or an SAE error at an individual position in an input. That level of comparison can reveal a systematic problem in a component that would be hard to see after averaging positive and negative effects across an entire circuit.

Attribution patching generally tracks exact effects, but it underestimates some of them in the layer 0 MLP and in the early residual stream. Integrated gradients improve those estimates. The comparison is between ways of measuring the same intervention. It provides evidence that sampling intermediate states helps in these components, where the gradient at the clean activation gives an incomplete picture of the full replacement. It also explains why a circuit search can miss early nodes even when the underlying feature is relevant. A threshold applied to a score that systematically underestimates an effect may filter out a real contributor.

This analysis concerns individual node effects. The edge procedure uses a separate approximation in which intervening paths are held fixed. The node comparison gives grounds for using integrated gradients to improve node selection. The agreement faithfulness results test the surviving nodes collectively under mean ablation. Neither measurement serves as a direct calibration of every edge in the displayed graphs.

The residual errors matter most when rebuilding the behavior

The authors recompute faithfulness after excluding all SAE errors and after excluding only the attention and MLP errors. Removing residual-stream errors sharply reduces the amount of behavior the feature circuits can recover. Removing the attention and MLP errors is less disruptive. This comparison establishes that the high-dimensional residual-stream terms carry consequential information in this evaluation. A graph can be small by node count while depending on remaining information that has no feature-level interpretation.

The converse intervention sharpens that finding. When the authors remove selected sparse features and leave all error terms in place, agreement performance can still collapse. Thus the errors can be important for sustaining performance without being sufficient to restore it after the selected features are removed. The simultaneous evidence from retaining and removing nodes is more informative than either test alone. The reconstruction-error ablation exposes a shortfall of the dictionary as a complete account. The feature ablation shows a causal contribution that survives the objection that only the large residual terms were doing meaningful work.

The authors also observe qualitatively that better dictionaries tend to leave less of a circuit’s influence in the error nodes. That motivates using intervention effects as a way to ask whether a dictionary captures behaviorally important information. Reconstruction quality averages over activation differences. An influence score asks whether the information left over matters for a particular prediction. The paper presents the connection as a possibility for evaluating dictionaries, based on the observed circuits.

Human judgments have stronger consequences with features

Pythia-70M’s human evaluation compares uniformly sampled units with units selected for large effects in agreement across a relative clause or Bias in Bios. The task-selected groups use the top 30 entries by estimated indirect effect. Annotators see strong activating tokens, contextual examples with activation magnitudes, and tokens whose prediction probabilities change under ablation. They describe each unit and rate interpretability and semantic complexity on 0–100 scales. Sparse features receive higher interpretability ratings than neurons, and circuit-selected features are rated more interpretable than random features. The annotators’ evidence includes both what the feature responds to and how changing it affects predictions.

In the profession circuit, this difference becomes an operational test. A direction that activates on nursing terms gives the annotator a concrete reason to keep it. A direction responsive to female-associated language gives a reason to remove it under the experiment’s task definition. An influential neuron can respond strongly to capitalized tokens and have several other activation patterns. When those patterns give little guidance on whether it supports profession, gender, or both, the human trimming procedure stalls. The authors abandon the neuron version of human trimming for this reason. Its outcome is a failure to carry out the annotation-based selection reliably, rather than a completed accuracy comparison under equivalent annotation.

Random feature removal has essentially no effect on probe performance in the reported comparison. This supplies a control for removal count. The intervention’s effect depends on the chosen set, since applying the same amount of trimming to randomly selected directions leaves the original behavior largely intact. The feature skyline asks a separate question about selection. It gives the procedure direct access to balanced gender information and asks which removals that information supports. The authors’ finding that the human choices are optimal or near-optimal in that comparison is conditional on the tested candidate circuit, quota, and ablation procedure.

The neuron skyline uses the same kind of privileged evidence, yet it still cannot match SHIFT. The paper attributes this to an overlap of functions in the relevant neurons. A neuron chosen because it helps predict gender can also supply information useful for profession. Its removal therefore has a cost that clearer separation at the feature level can reduce. The Gemma-2-2B comparison before and after head retraining shows that feature separation is imperfect too. The initial edit changes the representation available to the original head enough to harm profession performance. The new head recovers useful classification from what remains after trimming.

Limitations

Limits the authors state

The procedure depends on having SAEs for the network and sites of interest. Training those dictionaries takes substantial initial compute, even though one trained dictionary can be reused for many circuit searches. Increasing the scale of SAE training is outside the paper’s scope. Where the dictionary misses important parts of the computation, the error terms identify their causal contribution collectively. The terms themselves offer little evidence about which concepts or operations the omitted information represents.

The paper also emphasizes the amount of qualitative judgment involved. The biography edit provides a downstream outcome that can be measured. It is harder to assess the intrinsic quality of an entire dictionary or to assign a reliable interpretation to every circuit for an open-ended behavior. Feature labels can vary with the annotator and the task. The authors recruited Pythia-70M annotators from a community of researchers interested in alignment and safety and expect more variation from a random sample. They also observed that annotators tended to describe topics while overlooking syntactic roles, such as plural noun status. A feature can consequently receive a plausible semantic description that misses the grammatical property relevant to the circuit.

The Gemma Scope dictionaries contain features that fire primarily at the beginning-of-sequence token. These features can have strong estimated output effects while providing relatively uninformative top logits for interpretation. The authors leave them out of the annotation and trimming for SHIFT, and they also exclude them from the feature skyline. This limits the claim about human selection to the eligible features. It also illustrates a broader difficulty with using familiar text examples and token effects to explain a feature whose function depends heavily on where it occurs.

Limits implied by the experimental setup

A circuit’s effects depend on the input distribution, metric, and intervention. Replacing a node with a value from a contrasting prompt asks a different question from removing it entirely. Mean ablation for faithfulness asks another question again, because it preserves an average activation specific to the evaluation task. The reported held-out agreement results therefore establish performance under the paper’s evaluation design, with an emphasis on later stages of the computation. The hand-inspected circuits at faithfulness 0.21 illustrate causal routes in a deliberately compact graph. A claim that these graphs account for all agreement behavior would exceed that measurement.

Comparisons by node count are also sensitive to the graph’s vocabulary. An SAE error node, a sparse coefficient, and a native coordinate are affected differently by an ablation. The paper addresses this with error-removal and complement tests, while the widths and insertion sites of the dictionaries differ across the two predictors. A circuit with more nodes can reflect choices about decomposition, threshold, and scope as well as differences in the underlying computation. Counting nodes gives the size of the artifact that researchers inspect under a stated convention.

The biography result concerns the measured use of gender by a classifier for the occupations and groups in the experiment. The data design deliberately makes gender perfectly predictive at training time, and the evaluation breaks that association. The measured change after trimming supports a claim about classification under that shift. It does not establish that gender information has been erased from the predictor’s full representations, or that every downstream use of those representations would be unaffected by gender. The Gemma-2-2B layer choice also used balanced data to locate a weak baseline. This gives the improvement a specific experimental context and leaves open how large the gain would be for a layer chosen independently of balanced-set performance.

Finally, the automatic pipeline searches examples already assigned high probability, applies a rule against some repeated-bigram cases, and groups the survivors according to a chosen representation of internal activity. Those choices define which behavior can be found and how examples reach the same cluster. The sequence and infinitive circuits show that one group can contain several mechanisms. Together with the absence of collection-wide evaluation, this leaves the coverage of the pipeline unresolved. The clearest empirical result is the production of many candidate circuits, with detailed evidence for the selected cases that the authors annotate.

What came after

Testing what a circuit explains

Have Faith in Faithfulness is both a citing work and a methodological source for the integrated-gradients approach used in the paper. Its focus is the distinction between circuit overlap and faithfulness when evaluating a proposed mechanism. That distinction bears directly on the agreement analysis. Shared nodes between modifier constructions raise a question about reuse, while intervention-based faithfulness tests how much behavior is recovered when a circuit is kept. The two comparisons can lead to different conclusions about the same graphs.

Causal Abstraction supplies the theoretical counterpart discussed by the authors. The cited line of work seeks to relate neural computation to a hypothesized causal mechanism. Sparse feature circuit discovery starts with the behavioral metric and searches the learned representation for consequential nodes. The approaches meet when researchers use a discovered graph to formulate a more explicit account of what its nodes compute. The Quest for the Right Mediator approaches the field through causal mediation, the framework in which choosing a feature, neuron, or other intermediate variable changes the causal question being asked.

Mechanistic Interpretability for AI Safety, A Practical Review of Mechanistic Interpretability, and A Primer on the Inner Workings of Transformer-based Language Models cite the work from broader reviews of mechanisms, methods, and transformer internals. Locate, Steer, and Improve focuses on actionable interpretability, a framing that fits the paper’s move from locating a causal feature to modifying a classifier with it. These are points of connection to the earlier work. The surveys’ scope alone gives no basis for attributing a shared circuit-discovery protocol to them.

Building and choosing the units

Llama Scope extracts millions of features from Llama-3.1-8B with sparse autoencoders. It addresses the supply of candidate features that a circuit search depends on, in the way that Gemma Scope supplies dictionaries to the original experiment. Route Sparse Autoencoder develops the autoencoder side of interpretability through a route-based design. Constructing Interpretable Features from Compositional Neuron Groups pursues a different unit, forming features from groups of neurons. These works put the representation itself at the center of the investigation. A graph built from any of these units would inherit its way of separating internal activity.

Output-Centric Feature Descriptions studies automated interpretation through descriptions centered on outputs. The connection in the sparse feature circuit paper is the use of prediction effects alongside activating examples when people label a feature. Mechanistic Interpretability Should Prioritize Feature Consistency in Sparse Autoencoders foregrounds consistency as a criterion for choosing features. Towards Understanding the Robustness of Sparse Autoencoders investigates robustness of the dictionaries themselves. From Isolation to Entanglement asks when interpretability methods can isolate and disentangle known concepts. These questions bear on what an apparently clear node can support as evidence beyond the examples used to describe it.

From an intervention to a change in behavior

SAEs Are Good for Steering – If You Select the Right Features centers feature selection in steering, where internal activity is changed to encourage a desired behavior. The connection to SHIFT is the dependence of the outcome on which feature is chosen. Beyond Prompt Engineering studies behavior control through the steering of target atoms. Feature Extraction and Steering for Enhanced Chain-of-Thought Reasoning directs extraction and steering at reasoning, while Steering Large Language Models for Machine Translation Personalization applies steering to translation personalization. Their stated targets extend the intervention question to settings where the goal is to promote a behavior, as distinct from the original profession experiment’s removal of a shortcut. Reasoning · Machine translation

Refusal Is Mediated by a Single Direction studies an internal direction as a mediator of refusal. It illustrates another scale at which a causal unit can be proposed, with a single direction as the focus of the explanation. Measuring Mechanistic Independence asks whether bias can be removed while demographic information is preserved. That question goes beyond SHIFT’s measured reduction in classifier reliance on gender and turns preservation into an explicit part of the investigation. Aligned but Blind studies implicit bias through the relationship between alignment and awareness of race. Its stated subject also brings the distinction between possessing demographic information and depending on it into view.

Extending the range of behaviors under study

The agreement case connects the paper to work asking what linguistic systems learn and how their computations divide up. Language Models as Models of Language considers these systems in relation to accounts of language. Are Formal and Functional Linguistic Mechanisms Dissociated? asks whether two kinds of linguistic mechanism can be separated. Multilingual Language Models Encode Script Over Linguistic Structure examines the relation between writing system and linguistic structure in multilingual representations. The original paper offers a narrow comparison of mechanisms across English agreement structures. These citing works address broader distinctions about what a linguistic mechanism or representation captures. Multilingual NLP

Language Models Use Trigonometry to Do Addition investigates an internal computation for arithmetic. Internal Chain-of-Thought studies how subtasks are scheduled across layers. Why Does Reinforcement Learning Generalize? studies post-training at the feature level. Each shifts the behavior of interest from the original paper’s grammatical choices, biography classifications, or corpus-derived prediction groups. A common question is whether the behavior can be broken into intermediate operations at a level where an intervention still has a readable meaning.

Tracr-Injection studies distilling algorithms into pretrained networks, putting an algorithm into the system as an explicit target. TriEx addresses explanation of internal reasoning in multi-agent systems through a game-based framework. These works broaden the settings in which internal explanations are sought. The sparse feature circuits paper’s contribution to that discussion is a concrete way to tie a description of an internal unit to an intervention on a measured behavior, while keeping the consequential activity outside the learned dictionary visible.

Cite

Cite as Samuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov, David Bau and Aaron Mueller. 2024. Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models. arXiv:2403.19647 · International Conference on Learning Representations, 2025.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2403.19647 · arXiv 2403.19647

@misc{marks2024sparse,
  title = {{Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models}},
  author = {Samuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov, David Bau and Aaron Mueller},
  year = {2024},
  doi = {10.48550/arxiv.2403.19647},
  eprint = {2403.19647},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2403.19647}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/marks-2024-sparse-feature-circuits-discovering-editing/

References

88 references, from the paper's own bibliography.

  1. Yonatan Belinkov. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 480 (1):0 207–219, 2022. our card
  2. Nora Belrose, David Schneider-Joseph, Shauli Ravfogel, Ryan Cotterell, Edward Raff, and Stella Biderman. LEACE: Perfect linear concept erasure in closed form. In Thirty-seventh Conference on Neural Information Processing Systems, 2023, LEACE: Perfect linear concept erasure in closed form (https://openreview.net/forum?id=awIpKpwTwF). OpenAlex ↗ · Scholar ↗
  3. Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, pp. 2397–2430. PMLR, 2023. OpenAlex ↗ · Scholar ↗
  4. Trenton Bricken, Adly Templeton, Joshua Batson, Brian Chen, Adam Jermyn, Tom Conerly, Nick Turner, Cem Anil, Carson Denison, Amanda Askell, Robert Lasenby, Yifan Wu, Shauna Kravec, Nicholas Schiefer, Tim Maxwell, Nicholas Joseph, Zac Hatfield-Dodds, Alex Tamkin, Karina Nguyen, Brayden McLean, Josiah E Burke, Tristan Hume, Shan Carter, Tom Henighan, and Christopher Olah. Towards monosemanticity: Decomposing language models with dictionary learning, Towards Monosemanticity: Decomposing Language Models With Dictionary Learning (https://transformer-circuits.pub/2023/monosemantic-features/index.html). Transformer Circuits Thread, 2023. OpenAlex ↗ · Scholar ↗
  5. Christopher P. Burgess, Irina Higgins, Arka Pal, Loic Matthey, Nick Watters, Guillaume Desjardins, and Alexander Lerchner. Understanding disentangling in $\beta$-VAE, 2017, Understanding disentangling in $\beta$-VAE (https://arxiv.org/abs/1804.03599). our card
  6. Collin Burns, Pavel Izmailov, Jan Hendrik Kirchner, Bowen Baker, Leo Gao, Leopold Aschenbrenner, Yining Chen, Adrien Ecoffet, Manas Joglekar, Jan Leike, Ilya Sutskever, and Jeff Wu. Weak-to-strong generalization: Eliciting strong capabilities with weak supervision, Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision (https://arxiv.org/abs/2312.09390). Computing Research Repository, arXiv:2312.09390, 2023. our card
  7. Stephen Casper, Xander Davies, Claudia Shi, Thomas Krendl Gilbert, Jérémy Scheurer, Javier Rando, Rachel Freedman, Tomasz Korbak, David Lindner, Pedro Freire, Tony Tong Wang, Samuel Marks, Charbel-Raphael Segerie, Micah Carroll, Andi Peng, Phillip Christoffersen, Mehul Damani, Stewart Slocum, Usman Anwar, Anand Siththaranjan, Max Nadeau, Eric J Michaud, Jacob Pfau, Dmitrii Krasheninnikov, Xin Chen, Lauro Langosco, Peter Hase, Erdem Biyik, Anca Dragan, David Krueger, Dorsa Sadigh, and Dylan Hadfield-Menell. Open problems and fundamental limitations of reinforcement learning from human feedback, Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback (https://openreview.net/forum?id=bx24KpJ4Eb). Transactions on Machine Learning Research, 2023. ISSN 2835-8856. Survey Certification. our card
  8. Angelica Chen, Ravid Shwartz-Ziv, Kyunghyun Cho, Matthew L Leavitt, and Naomi Saphra. Sudden drops in the loss: Syntax acquisition, phase transitions, and simplicity bias in MLMs. In The Twelfth International Conference on Learning Representations, 2024, Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMs (https://openreview.net/forum?id=MO5PiKHELW). OpenAlex ↗ · Scholar ↗
  9. Tian Qi Chen, Xuechen Li, Roger Grosse, and David Duvenaud. Isolating sources of disentanglement in variational autoencoders, 2018, Isolating Sources of Disentanglement in Variational Autoencoders (https://openreview.net/forum?id=BJdMRoCIf). OpenAlex ↗ · Scholar ↗
  10. Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: interpretable representation learning by information maximizing generative adversarial nets. In Proceedings of the 30th International Conference on Neural Information Processing Systems, NIPS'16, pp. 2180–2188, Red Hook, NY, USA, 2016. Curran Associates Inc. ISBN 9781510838819. OpenAlex ↗ · Scholar ↗
  11. Paul Christiano, Jan Leike, Tom B. Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. Computing Research Repository, arXiv:1706.03741, 2023. our card
  12. Arthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim, and Adrià Garriga-Alonso. Towards automated circuit discovery for mechanistic interpretability. In Thirty-seventh Conference on Neural Information Processing Systems, 2023, Towards Automated Circuit Discovery for Mechanistic Interpretability (https://openreview.net/pdf?id=89ia77nZ8u). our card
  13. Elliot Creager, Joern-Henrik Jacobsen, and Richard Zemel. Environment inference for invariant learning. In Marina Meila and Tong Zhang (eds.), Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 2189–2200. PMLR, 18–24 Jul 2021, Environment Inference for Invariant Learning (https://proceedings.mlr.press/v139/creager21a.html). OpenAlex ↗ · Scholar ↗
  14. Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse autoencoders find highly interpretable features in language models. In The Twelfth International Conference on Learning Representations, 2024, Sparse Autoencoders Find Highly Interpretable Features in Language Models (https://openreview.net/forum?id=F76bwRSLeK). OpenAlex ↗ · Scholar ↗
  15. Maria De-Arteaga, Alexey Romanov, Hanna Wallach, Jennifer Chayes, Christian Borgs, Alexandra Chouldechova, Sahin Geyik, Krishnaram Kenthapadi, and Adam Tauman Kalai. Bias in bios: A case study of semantic representation bias in a high-stakes setting. In Proceedings of the Conference on Fairness, Accountability, and Transparency, FAT* '19, pp. 120–128, New York, NY, USA, 2019. Association for Computing Machinery. ISBN 9781450361255, Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Setting (https://doi.org/10.1145/3287560.3287572). OpenAlex ↗ · Scholar ↗
  16. Guillaume Desjardins, Aaron Courville, and Yoshua Bengio. Disentangling factors of variation via generative entangling. Computing Research Repository, arXiv:1210.5474, 2012. OpenAlex ↗ · Scholar ↗
  17. Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, Roger Grosse, Sam McCandlish, Jared Kaplan, Dario Amodei, Martin Wattenberg, and Christopher Olah. Toy models of superposition. Transformer Circuits Thread, 2022. https://transformer-circuits.pub/2022/toy_model/index.html. OpenAlex ↗ · Scholar ↗
  18. Matthew Finlayson, Aaron Mueller, Sebastian Gehrmann, Stuart Shieber, Tal Linzen, and Yonatan Belinkov. Causal analysis of syntactic agreement mechanisms in neural language models. In Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli (eds.), Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1828–1843, Online, August 2021. Association for Computational Linguistics, Causal Analysis of Syntactic Agreement Mechanisms in Neural Language Models (https://aclanthology.org/2021.acl-long.144). our card
  19. Yossi Gandelsman, Alexei A. Efros, and Jacob Steinhardt. Interpreting CLIP's image representation via text-based decomposition. Computing Research Repository, arXiv:2310.05916, 2024. OpenAlex ↗ · Scholar ↗
  20. Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The Pile: An 800GB dataset of diverse text for language modeling. Computing Research Repository, arXiv:2101.00027, 2020. our card
  21. Leo Gao, Tom Dupré la Tour, Henk Tillman, Gabriel Goh, Rajan Troll, Alec Radford, Ilya Sutskever, Jan Leike, and Jeffrey Wu. Scaling and evaluating sparse autoencoders. Computing Research Repository, arXiv:2406.04093, 2024. OpenAlex ↗ · Scholar ↗
  22. Atticus Geiger, Hanson Lu, Thomas Icard, and Christopher Potts. Causal abstractions of neural networks. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 9574–9586. Curran Associates, Inc., 2021, Causal Abstractions of Neural Networks (https://proceedings.neurips.cc/paper\_files/paper/2021/file/4f5c422f4d49a5a807eda27434231040-Paper.pdf). our card
  23. Atticus Geiger, Zhengxuan Wu, Hanson Lu, Josh Rozner, Elisa Kreiss, Thomas Icard, Noah Goodman, and Christopher Potts. Inducing causal structure for interpretable neural networks. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 7324–7338. PMLR, 17–23 Jul 2022, Inducing Causal Structure for Interpretable Neural Networks (https://proceedings.mlr.press/v162/geiger22a.html). our card
  24. Atticus Geiger, Chris Potts, and Thomas Icard. Causal abstraction for faithful model interpretation. Computing Research Repository, arXiv:2301.04709, 2023. OpenAlex ↗ · Scholar ↗
  25. Mor Geva, Jasmijn Bastings, Katja Filippova, and Amir Globerson. Dissecting recall of factual associations in auto-regressive language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 12216–12235, Singapore, December 2023. Association for Computational Linguistics, Dissecting Recall of Factual Associations in Auto-Regressive Language Models (https://aclanthology.org/2023.emnlp-main.751). our card
  26. Rhys Gould, Euan Ong, George Ogden, and Arthur Conmy. Successor heads: Recurring, interpretable attention heads in the wild. Computing Research Repository, arXiv:2312.09230, 2023. our card
  27. Michael Hanna, Ollie Liu, and Alexandre Variengien. How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. In Thirty-seventh Conference on Neural Information Processing Systems, 2023, How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model (https://openreview.net/forum?id=p4PckNQR8k). our card
  28. Michael Hanna, Sandro Pezzelle, and Yonatan Belinkov. Have faith in faithfulness: Going beyond circuit overlap when finding model mechanisms. In ICML 2024 Workshop on Mechanistic Interpretability, 2024, Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanisms (https://openreview.net/forum?id=grXgesr5dT). our card
  29. Peter Hase, Mohit Bansal, Peter Clark, and Sarah Wiegreffe. The unreasonable effectiveness of easy training data for hard tasks. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 7002–7024, Bangkok, Thailand, August 2024. Association for Computational Linguistics, The Unreasonable Effectiveness of Easy Training Data for Hard Tasks (https://aclanthology.org/2024.acl-long.378). our card
  30. T. He, Z. Li, Y. Gong, Y. Yao, X. Nie, and Y. Yin. Exploring linear feature disentanglement for neural networks. In 2022 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6, Los Alamitos, CA, USA, jul 2022. IEEE Computer Society, Exploring Linear Feature Disentanglement for Neural Networks (https://doi.ieeecomputersociety.org/10.1109/ICME52920.2022.9859978). OpenAlex ↗ · Scholar ↗
  31. Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-VAE: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations, 2017, beta-VAE: Learning Basic Visual Concepts with a Constrained Variational Framework (https://openreview.net/forum?id=Sy2fzU9gl). OpenAlex ↗ · Scholar ↗
  32. Badr Youbi Idrissi, Martin Arjovsky, Mohammad Pezeshki, and David Lopez-Paz. Simple data balancing achieves competitive worst-group-accuracy. In Bernhard Schölkopf, Caroline Uhler, and Kun Zhang (eds.), Proceedings of the First Conference on Causal Learning and Reasoning, volume 177 of Proceedings of Machine Learning Research, pp. 336–351. PMLR, 11–13 Apr 2022, Simple data balancing achieves competitive worst-group-accuracy (https://proceedings.mlr.press/v177/idrissi22a.html). OpenAlex ↗ · Scholar ↗
  33. Shadi Iskander, Kira Radinsky, and Yonatan Belinkov. Shielded representations: Protecting sensitive attributes through iterative gradient-based projection. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Findings of the Association for Computational Linguistics: ACL 2023, pp. 5961–5977, Toronto, Canada, July 2023. Association for Computational Linguistics, Shielded Representations: Protecting Sensitive Attributes Through Iterative Gradient-Based Projection (https://aclanthology.org/2023.findings-acl.369). OpenAlex ↗ · Scholar ↗
  34. Shadi Iskander, Kira Radinsky, and Yonatan Belinkov. Leveraging prototypical representations for mitigating social bias without demographic information. Computing Research Repository, 2403.09516, 2024. OpenAlex ↗ · Scholar ↗
  35. Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, et al. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). In Proceedings of the 35th International Conference on Machine Learning, pp. 2668–2677. PMLR, 2018. OpenAlex ↗ · Scholar ↗
  36. Hyunjik Kim and Andriy Mnih. Disentangling by factorising. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 2649–2658. PMLR, 10–15 Jul 2018, Disentangling by Factorising (https://proceedings.mlr.press/v80/kim18b.html). OpenAlex ↗ · Scholar ↗
  37. Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization, Adam: A Method for Stochastic Optimization (https://api.semanticscholar.org/CorpusID:6628106). CoRR, abs/1412.6980, 2014. our card
  38. Polina Kirichenko, Pavel Izmailov, and Andrew Gordon Wilson. Last layer re-training is sufficient for robustness to spurious correlations. Computing Research Repository, arXiv:2204.02937, 2023. OpenAlex ↗ · Scholar ↗
  39. János Kramár, Tom Lieberum, Rohin Shah, and Neel Nanda. AtP*: An efficient and scalable method for localizing llm behaviour to components. Computing Research Repository, arXiv:2403.00745, 2024. our card
  40. David K. Lewis. Counterfactuals. Blackwell, Malden, Mass., 1973. OpenAlex ↗ · Scholar ↗
  41. Tom Lieberum, Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Nicolas Sonnerat, Vikrant Varma, János Kramár, Anca Dragan, Rohin Shah, and Neel Nanda. Gemma scope: Open sparse autoencoders everywhere all at once on gemma 2, 2024. our card
  42. Johnny Lin and Joseph Bloom. Neuronpedia: Interactive reference and tooling for analyzing neural networks, 2023, Neuronpedia: Interactive Reference and Tooling for Analyzing Neural Networks (https://www.neuronpedia.org). Software available from neuronpedia.org. OpenAlex ↗ · Scholar ↗
  43. Evan Z Liu, Behzad Haghgoo, Annie S Chen, Aditi Raghunathan, Pang Wei Koh, Shiori Sagawa, Percy Liang, and Chelsea Finn. Just train twice: Improving group robustness without training group information. In Marina Meila and Tong Zhang (eds.), Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 6781–6792. PMLR, 18–24 Jul 2021, Just Train Twice: Improving Group Robustness without Training Group Information (https://proceedings.mlr.press/v139/liu21f.html). OpenAlex ↗ · Scholar ↗
  44. Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2017, Decoupled Weight Decay Regularization (https://api.semanticscholar.org/CorpusID:53592270). our card
  45. Alireza Makhzani and Brendan J. Frey. k-sparse autoencoders, k-Sparse Autoencoders (https://api.semanticscholar.org/CorpusID:14850799). Computing Research Repository, abs/1312.5663, 2013. OpenAlex ↗ · Scholar ↗
  46. Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in GPT. Advances in Neural Information Processing Systems, 36, 2022. arXiv:2202.05262. our card
  47. Eric J Michaud, Ziming Liu, Uzay Girit, and Max Tegmark. The quantization model of neural scaling. In Thirty-seventh Conference on Neural Information Processing Systems, 2023, The Quantization Model of Neural Scaling (https://openreview.net/forum?id=3tbTw2ga8K). our card
  48. Aaron Mueller, Jannik Brinkmann, Millicent Li, Samuel Marks, Koyena Pal, Nikhil Prakash, Can Rager, Aruna Sankaranarayanan, Arnab Sen Sharma, Jiuding Sun, Eric Todd, David Bau, and Yonatan Belinkov. The quest for the right mediator: A history, survey, and theoretical grounding of causal interpretability, 2024, The Quest for the Right Mediator: A History, Survey, and Theoretical Grounding of Causal Interpretability (https://arxiv.org/abs/2408.01416). OpenAlex ↗ · Scholar ↗
  49. Junhyun Nam, Hyuntak Cha, Sungsoo Ahn, Jaeho Lee, and Jinwoo Shin. Learning from failure: Training debiased classifier from biased classifier. In Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS'20, Red Hook, NY, USA, 2020. Curran Associates Inc. ISBN 9781713829546. OpenAlex ↗ · Scholar ↗
  50. Junhyun Nam, Jaehyung Kim, Jaeho Lee, and Jinwoo Shin. Spread spurious attribute: Improving worst-group accuracy with spurious attribute estimation, 2022. OpenAlex ↗ · Scholar ↗
  51. Neel Nanda. Attribution patching: Activation patching at industrial scale, 2022, Attribution Patching: Activation Patching At Industrial Scale (https://www.neelnanda.io/mechanistic-interpretability/attribution-patching). OpenAlex ↗ · Scholar ↗
  52. Neel Nanda. Open source replication & commentary on Anthropic's dictionary learning paper, 2023, Open Source Replication & Commentary on Anthropic's Dictionary Learning Paper (https://www.lesswrong.com/posts/fKuugaxt2XLTkASkk/open-source-replication-and-commentary-on-anthropic-s). OpenAlex ↗ · Scholar ↗
  53. Neel Nanda, Senthooran Rajamanoharan, János Kramár, and Rohin Shah. Fact finding: Attempting to reverse-engineer factual recall on the neuron level, 2023, Fact Finding: Attempting to Reverse-Engineer Factual Recall on the Neuron Level (https://www.alignmentforum.org/posts/iGuwZTHWb6DFY3sKB/fact-finding-attempting-to-reverse-engineer-factual-recall). OpenAlex ↗ · Scholar ↗
  54. Richard Ngo, Lawrence Chan, and Sören Mindermann. The alignment problem from a deep learning perspective. Computing Research Repository, arXiv:2209.00626, 2024. our card
  55. Tuomas Oikarinen, Subhro Das, Lam M. Nguyen, and Tsui-Wei Weng. Label-free concept bottleneck models. In The Eleventh International Conference on Learning Representations, 2023, Label-free Concept Bottleneck Models (https://openreview.net/forum?id=FlCg47MNvBA). OpenAlex ↗ · Scholar ↗
  56. Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom Henighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, Tom Conerly, Dawn Drain, Deep Ganguli, Zac Hatfield-Dodds, Danny Hernandez, Scott Johnston, Andy Jones, Jackson Kernion, Liane Lovitt, Kamal Ndousse, Dario Amodei, Tom Brown, Jack Clark, Jared Kaplan, Sam McCandlish, and Chris Olah. In-context learning and induction heads. Transformer Circuits Thread, 2022. https://transformer-circuits.pub/2022/in-context-learning-and-induction-heads/index.html. our card
  57. Yonatan Oren, Shiori Sagawa, Tatsunori B. Hashimoto, and Percy Liang. Distributionally robust language modeling. In Kentaro Inui, Jing Jiang, Vincent Ng, and Xiaojun Wan (eds.), Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 4227–4237, Hong Kong, China, November 2019. Association for Computational Linguistics, Distributionally Robust Language Modeling (https://aclanthology.org/D19-1432). OpenAlex ↗ · Scholar ↗
  58. Hadas Orgad and Yonatan Belinkov. BLIND: Bias removal with no demographics. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 8801–8821, Toronto, Canada, July 2023. Association for Computational Linguistics, BLIND: Bias Removal With No Demographics (https://aclanthology.org/2023.acl-long.490). OpenAlex ↗ · Scholar ↗
  59. Judea Pearl. Direct and indirect effects. In Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence, UAI'01, pp. 411–420, San Francisco, CA, USA, 2001. Morgan Kaufmann Publishers Inc. ISBN 1558608001. OpenAlex ↗ · Scholar ↗
  60. F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:0 2825–2830, 2011. OpenAlex ↗ · Scholar ↗
  61. William Peebles, John Peebles, Jun-Yan Zhu, Alexei A. Efros, and Antonio Torralba. The hessian penalty: A weak prior for unsupervised disentanglement. In Proceedings of European Conference on Computer Vision (ECCV), 2020. OpenAlex ↗ · Scholar ↗
  62. Nikhil Prakash, Tamar Rott Shaham, Tal Haklay, Yonatan Belinkov, and David Bau. Fine-tuning enhances existing mechanisms: A case study on entity tracking. In Proceedings of the 2024 International Conference on Learning Representations, 2024. arXiv:2402.14811. OpenAlex ↗ · Scholar ↗
  63. Senthooran Rajamanoharan, Arthur Conmy, Lewis Smith, Tom Lieberum, Vikrant Varma, János Kramár, Rohin Shah, and Neel Nanda. Improving dictionary learning with gated sparse autoencoders. Computing Research Repository, arXiv:2404.16014, 2024a. our card
  64. Senthooran Rajamanoharan, Tom Lieberum, Nicolas Sonnerat, Arthur Conmy, Vikrant Varma, János Kramár, and Neel Nanda. Jumping ahead: Improving reconstruction fidelity with jumprelu sparse autoencoders, Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoders (https://arxiv.org/abs/2407.14435). Computing Research Repository, arXiv:2407.14435, 2024b. OpenAlex ↗ · Scholar ↗
  65. Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, and Yoav Goldberg. Null it out: Guarding protected attributes by iterative nullspace projection. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault (eds.), Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7237–7256, Online, July 2020. Association for Computational Linguistics, Null It Out: Guarding Protected Attributes by Iterative Nullspace Projection (https://aclanthology.org/2020.acl-main.647). our card
  66. Shauli Ravfogel, Michael Twiton, Yoav Goldberg, and Ryan D Cotterell. Linear adversarial concept erasure. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 18400–18421. PMLR, 17–23 Jul 2022a, Linear Adversarial Concept Erasure (https://proceedings.mlr.press/v162/ravfogel22a.html). OpenAlex ↗ · Scholar ↗
  67. Shauli Ravfogel, Francisco Vargas, Yoav Goldberg, and Ryan Cotterell. Adversarial concept erasure in kernel space. In Yoav Goldberg, Zornitsa Kozareva, and Yue Zhang (eds.), Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pp. 6034–6055, Abu Dhabi, United Arab Emirates, December 2022b. Association for Computational Linguistics, Adversarial Concept Erasure in Kernel Space (https://aclanthology.org/2022.emnlp-main.405). OpenAlex ↗ · Scholar ↗
  68. James M. Robins and Sander Greenland. Identifiability and exchangeability for direct and indirect effects, Identifiability and Exchangeability for Direct and Indirect Effects (http://www.jstor.org/stable/3702894). Epidemiology, 30 (2):0 143–155, 1992. ISSN 10443983. OpenAlex ↗ · Scholar ↗
  69. Shiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, and Percy Liang. Distributionally robust neural networks. In International Conference on Learning Representations, 2020, Distributionally Robust Neural Networks (https://openreview.net/forum?id=ryxGuJrFvS). OpenAlex ↗ · Scholar ↗
  70. Jürgen Schmidhuber. Learning Factorial Codes by Predictability Minimization, Learning Factorial Codes by Predictability Minimization (https://doi.org/10.1162/neco.1992.4.6.863). Neural Computation, 40 (6):0 863–879, 11 1992. ISSN 0899-7667. OpenAlex ↗ · Scholar ↗
  71. Johannes Schneider and Michalis Vlachos. Explaining neural networks by decoding layer activations. In Advances in Intelligent Data Analysis XIX: 19th International Symposium on Intelligent Data Analysis, IDA 2021, Porto, Portugal, April 26–28, 2021, Proceedings, pp. 63–75, Berlin, Heidelberg, 2021. Springer-Verlag. ISBN 978-3-030-74250-8, Explaining Neural Networks by Decoding Layer Activations (https://doi.org/10.1007/978-3-030-74251-5_6). OpenAlex ↗ · Scholar ↗
  72. Nimit Sharad Sohoni, Maziar Sanjabi, Nicolas Ballas, Aditya Grover, Shaoliang Nie, Hamed Firooz, and Christopher Re. BARACK: Partially supervised group robustness with guarantees. In ICML 2022: Workshop on Spurious Correlations, Invariance and Stability, 2022, BARACK: Partially Supervised Group Robustness With Guarantees (https://openreview.net/forum?id=Rn9POk3wOiV). OpenAlex ↗ · Scholar ↗
  73. Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning - Volume 70, ICML'17, pp. 3319–3328. JMLR.org, 2017. OpenAlex ↗ · Scholar ↗
  74. Aaquib Syed, Can Rager, and Arthur Conmy. Attribution patching outperforms automated circuit discovery. In NeurIPS Workshop on Attributing Model Behavior at Scale, 2023, Attribution Patching Outperforms Automated Circuit Discovery (https://openreview.net/forum?id=tiLbFR4bJW). our card
  75. Gemma Team, Morgane Riviere, Shreya Pathak, Pier Giuseppe Sessa, Cassidy Hardin, Surya Bhupatiraju, Léonard Hussenot, Thomas Mesnard, Bobak Shahriari, Alexandre Ramé, Johan Ferret, Peter Liu, Pouya Tafti, Abe Friesen, Michelle Casbon, Sabela Ramos, Ravin Kumar, Charline Le Lan, Sammy Jerome, Anton Tsitsulin, Nino Vieillard, Piotr Stanczyk, Sertan Girgin, Nikola Momchev, Matt Hoffman, Shantanu Thakoor, Jean-Bastien Grill, Behnam Neyshabur, Olivier Bachem, Alanna Walton, Aliaksei Severyn, Alicia Parrish, Aliya Ahmad, Allen Hutchison, Alvin Abdagic, Amanda Carl, Amy Shen, Andy Brock, Andy Coenen, Anthony Laforge, Antonia Paterson, Ben Bastian, Bilal Piot, Bo Wu, Brandon Royal, Charlie Chen, Chintu Kumar, Chris Perry, Chris Welty, Christopher A. Choquette-Choo, Danila Sinopalnikov, David Weinberger, Dimple Vijaykumar, Dominika Rogozińska, Dustin Herbison, Elisa Bandy, Emma Wang, Eric Noland, Erica Moreira, Evan Senter, Evgenii Eltyshev, Francesco Visin, Gabriel Rasskin, Gary Wei, Glenn Cameron, Gus Martins, Hadi Hashemi, Hanna Klimczak-Plucińska, Harleen Batra, Harsh Dhand, Ivan Nardini, Jacinda Mein, Jack Zhou, James Svensson, Jeff Stanway, Jetha Chan, Jin Peng Zhou, Joana Carrasqueira, Joana Iljazi, Jocelyn Becker, Joe Fernandez, Joost van Amersfoort, Josh Gordon, Josh Lipschultz, Josh Newlan, Ju yeong Ji, Kareem Mohamed, Kartikeya Badola, Kat Black, Katie Millican, Keelin McDonell, Kelvin Nguyen, Kiranbir Sodhia, Kish Greene, Lars Lowe Sjoesund, Lauren Usui, Laurent Sifre, Lena Heuermann, Leticia Lago, Lilly McNealus, Livio Baldini Soares, Logan Kilpatrick, Lucas Dixon, Luciano Martins, Machel Reid, Manvinder Singh, Mark Iverson, Martin Görner, Mat Velloso, Mateo Wirth, Matt Davidow, Matt Miller, Matthew Rahtz, Matthew Watson, Meg Risdal, Mehran Kazemi, Michael Moynihan, Ming Zhang, Minsuk Kahng, Minwoo Park, Mofi Rahman, Mohit Khatwani, Natalie Dao, Nenshad Bardoliwalla, Nesh Devanathan, Neta Dumai, Nilay Chauhan, Oscar Wahltinez, Pankil Botarda, Parker Barnes, Paul Barham, Paul Michel, Pengchong Jin, Petko Georgiev, Phil Culliton, Pradeep Kuppala, Ramona Comanescu, Ramona Merhej, Reena Jana, Reza Ardeshir Rokni, Rishabh Agarwal, Ryan Mullins, Samaneh Saadat, Sara Mc Carthy, Sarah Perrin, Sébastien M. R. Arnold, Sebastian Krause, Shengyang Dai, Shruti Garg, Shruti Sheth, Sue Ronstrom, Susan Chan, Timothy Jordan, Ting Yu, Tom Eccles, Tom Hennigan, Tomas Kocisky, Tulsee Doshi, Vihan Jain, Vikas Yadav, Vilobh Meshram, Vishal Dharmadhikari, Warren Barkley, Wei Wei, Wenming Ye, Woohyun Han, Woosuk Kwon, Xiang Xu, Zhe Shen, Zhitao Gong, Zichuan Wei, Victor Cotruta, Phoebe Kirk, Anand Rao, Minh Giang, Ludovic Peran, Tris Warkentin, Eli Collins, Joelle Barral, Zoubin Ghahramani, Raia Hadsell, D. Sculley, Jeanine Banks, Anca Dragan, Slav Petrov, Oriol Vinyals, Jeff Dean, Demis Hassabis, Koray Kavukcuoglu, Clement Farabet, Elena Buchatskaya, Sebastian Borgeaud, Noah Fiedel, Armand Joulin, Kathleen Kenealy, Robert Dadashi, and Alek Andreev. Gemma 2: Improving open language models at a practical size, 2024. our card
  76. Adly Templeton, Tom Conerly, Jonathan Marcus, Jack Lindsey, Trenton Bricken, Brian Chen, Adam Pearce, Craig Citro, Emmanuel Ameisen, Andy Jones, Hoagy Cunningham, Nicholas L Turner, Callum McDougall, Monte MacDiarmid, C. Daniel Freeman, Theodore R. Sumers, Edward Rees, Joshua Batson, Adam Jermyn, Shan Carter, Chris Olah, and Tom Henighan. Scaling monosemanticity: Extracting interpretable features from claude 3 sonnet, Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnet (https://transformer-circuits.pub/2024/scaling-monosemanticity/index.html). Transformer Circuits Thread, 2024. OpenAlex ↗ · Scholar ↗
  77. Eric Todd, Millicent L. Li, Arnab Sen Sharma, Aaron Mueller, Byron C. Wallace, and David Bau. Function vectors in large language models. In Proceedings of the 2024 International Conference on Learning Representations, 2024. our card
  78. Prasetya Ajie Utama, Nafise Sadat Moosavi, and Iryna Gurevych. Towards debiasing NLU models from unknown biases. In Bonnie Webber, Trevor Cohn, Yulan He, and Yang Liu (eds.), Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 7597–7610, Online, November 2020. Association for Computational Linguistics, Towards Debiasing NLU Models from Unknown Biases (https://aclanthology.org/2020.emnlp-main.613). our card
  79. Jesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian, Daniel Nevo, Yaron Singer, and Stuart Shieber. Investigating gender bias in language models using causal mediation analysis. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 12388–12401. Curran Associates, Inc., 2020, Investigating Gender Bias in Language Models Using Causal Mediation Analysis (https://proceedings.neurips.cc/paper_files/paper/2020/file/92650b2e92217715fe312e6fa7b90d82-Paper.pdf). OpenAlex ↗ · Scholar ↗
  80. Kevin Ro Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. Interpretability in the wild: a circuit for indirect object identification in GPT-2 small. In The Eleventh International Conference on Learning Representations, 2023, Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 Small (https://openreview.net/forum?id=NpsVSN6o4ul). OpenAlex ↗ · Scholar ↗
  81. Tianlu Wang, Xi Victoria Lin, Nazneen Fatema Rajani, Bryan McCann, Vicente Ordonez, and Caiming Xiong. Double-hard debias: Tailoring word embeddings for gender bias mitigation. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault (eds.), Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 5443–5453, Online, July 2020. Association for Computational Linguistics, Double-Hard Debias: Tailoring Word Embeddings for Gender Bias Mitigation (https://aclanthology.org/2020.acl-main.484). OpenAlex ↗ · Scholar ↗
  82. Yadollah Yaghoobzadeh, Soroush Mehri, Remi Tachet des Combes, T. J. Hazen, and Alessandro Sordoni. Increasing robustness to spurious correlations using forgettable examples. In Paola Merlo, Jorg Tiedemann, and Reut Tsarfaty (eds.), Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, pp. 3319–3332, Online, April 2021. Association for Computational Linguistics, Increasing Robustness to Spurious Correlations using Forgettable Examples (https://aclanthology.org/2021.eacl-main.291). OpenAlex ↗ · Scholar ↗
  83. An Yan, Yu Wang, Yiwu Zhong, Zexue He, Petros Karypis, Zihan Wang, Chengyu Dong, Amilcare Gentili, Chun-Nan Hsu, Jingbo Shang, and Julian McAuley. Robust and interpretable medical image classifiers via concept bottleneck models. Computing Research Repository, arXiv:2310.03182, 2023. OpenAlex ↗ · Scholar ↗
  84. Qinan Yu, Jack Merullo, and Ellie Pavlick. Characterizing mechanisms for factual recall in language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 9924–9959, Singapore, December 2023. Association for Computational Linguistics, Characterizing Mechanisms for Factual Recall in Language Models (https://aclanthology.org/2023.emnlp-main.615). OpenAlex ↗ · Scholar ↗
  85. John R. Zech, Marcus A. Badgeley, Manway Liu, Anthony B. Costa, Joseph J. Titano, and Eric Karl Oermann. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional study, Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional study (http://dx.doi.org/10.1371/journal.pmed.1002683). PLOS Medicine, 150 (11):0 e1002683, November 2018. ISSN 1549-1676. OpenAlex ↗ · Scholar ↗
  86. Jingzhao Zhang, Aditya Krishna Menon, Andreas Veit, Srinadh Bhojanapalli, Sanjiv Kumar, and Suvrit Sra. Coping with label shift via distributionally robust optimisation. In International Conference on Learning Representations, 2021, Coping with Label Shift via Distributionally Robust Optimisation (https://openreview.net/forum?id=BtZhsSGNRNi). OpenAlex ↗ · Scholar ↗
  87. Michael Zhang, Nimit S Sohoni, Hongyang R Zhang, Chelsea Finn, and Christopher Re. Correct-N-Contrast: A contrastive approach for improving robustness to spurious correlations. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato (eds.), Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pp. 26484–26516. PMLR, 17–23 Jul 2022, Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlations (https://proceedings.mlr.press/v162/zhang22z.html). OpenAlex ↗ · Scholar ↗
  88. Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, et al. Representation engineering: A top-down approach to AI transparency. Computing Research Repository, arXiv:2310.01405, 2023. our card