Skip to content

Building interpretable features for LLMs from combinatorial neuron groupsConstructing Interpretable Features from Compositional Neuron Groups

arXiv· arXiv:2506.10920· ACL 2026· Or Shafran, Atticus Geiger, Mor GevaBlavatnik School of Computer Science and AI, Tel Aviv University; Pr(Ai)2 R GroupIndexed by this site · 2026-10-14· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

The authors use SNMF to decompose MLP activations and say its features outperform SAE and DiffMeans on concept steering.

Questions
When unsupervisedly finding directions that are interpretable and can causally influence LLM outputs, the authors believe SAE often fails causal evaluation, and features are not tied to model computation. Therefore they instead decompose MLP activations.
Methods
Use SNMF to decompose the MLP activation matrix into sparse neuron combinations Z and nonnegative coefficients Y; Y records which inputs participate in that feature. Features are mapped through the output weights to the residual stream, then concept detection and steering are performed.
Experiments and results
The authors say most SNMF features have positive concept detection (>75%), steering is often higher than SAE, and often not lower than DiffMeans; the figure has no point-by-point readings. Llama-3.1-8B parent feature Coverage is 0.46±0.20 (n=93), with random control at 0.05±0.09 (Table 8).
Limitations and future work
The authors note that evaluation feature counts k < 500, with larger k requiring additional engineering; LLM review may still be affected by prompt design; multiplicative updates are not conducive to scaling, and they suggest comparing projected gradient descent in the future. Quantitative experiments report Coverage for Llama and Gemma.
Experimental setupLlama-3.1-8B、Gemma-2-2B et al. · Neuronpedia、200-sentence SNMF set (20 concepts) et al. · SCD、concept score et al.
Evaluated models
Llama-3.1-8BGemma-2-2BGPT-2 SmallGPT-2 Large
Benchmarks
Neuronpedia200-sentence SNMF set (20 concepts)concept detection setconcept steering settime-units dataset873-sentence hierarchy set
Metrics
SCDconcept scorefluency scoreCS+FLCoveragelogit change
AI summaryThe researchers propose building interpretable features by directly decomposing MLP activations using semi-nonnegative matrix factorization (SNMF), as an alternative to dictionary learning methods that rely on sparse autoencoders (SAE). The features learned by this method are sparse linear combinations of co-activated neurons and are mapped to the inputs that trigger them, making them directly interpretable. Experiments on Llama 3.1, Gemma 2, and GPT-2 show that SNMF features outperform SAE and the strong supervised baseline difference-in-means in causal steering, while aligning with human-interpretable concepts. Further analysis reveals that specific neuron combinations are reused across semantically related features, uncovering a hierarchical structure in the MLP activation space.

The researchers propose building interpretable features by directly decomposing MLP activations using semi-nonnegative matrix factorization (SNMF), as an alternative to dictionary learning methods that rely on sparse autoencoders (SAE). The features learned by this method are sparse linear combinations of co-activated neurons and are mapped to the inputs that trigger them, making them directly interpretable. Experiments on Llama 3.1, Gemma 2, and GPT-2 show that SNMF features outperform SAE and the strong supervised baseline difference-in-means in causal steering, while aligning with human-interpretable concepts. Further analysis reveals that specific neuron combinations are reused across semantically related features, uncovering a hierarchical structure in the MLP activation space.

Related events and news

1 events · 1 news mentions

News that mentions this paper

美联储巴尔称大型银行发现AI智能体试图操作零售客户账户

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors aim to unsupervisedly find interpretable and steerable features from MLP co-activations.

    How to find directions from LLM MLP activations that are interpretable and can causally influence outputs, without a concept prior.

    • Setting: The authors write the central goal of mechanistic interpretability as: finding analytical units that causally explain outputs. Individual neurons often correspond to understandable concepts, but also participate in multiple concepts, so analysis shifts to directions in activation space.
    • Existing shortcomings: The authors state that current work mainly relies on SAEs trained from scratch on the residual stream. They state that SAEs often do not become better analytical units in causal evaluation (and cf. Marks et al., 2025), and learning is not explicitly tied to model computation; features are neither constrained within the model's representation space nor anchored to specific mechanisms.
    • Observation: The authors adopt the view that the MLP's output written to the residual stream is a linear combination of neuron activations times value vectors, and similar concepts activate similar neurons. Nonnegativity constraints are used to encourage additive, parts-based representations.
    • Approach: Use semi-nonnegative matrix factorization (SNMF) to decompose MLP activations. Features are sparse linear combinations of co-activated neurons, and the nonnegative coefficient matrix maps features to the inputs that participate in their formation.
  2. What related research exists?

    The authors place this paper between neuron analysis, linear representations, and SAE dictionary learning.

    Neurons and MLPs

    • Geva et al. (2021, 2022): treat MLP outputs as updates to the residual stream, with individual neurons often encoding human-interpretable concepts.
    • Meng et al. (2022); Cao et al. (2025): the former views MLP layers as associative memory, with all activations forming the key that induces the output; the latter uses clustering to find meaningful neuron groups in CNNs.
    • Dalvi et al. (2018); Gurnee et al. (2023); Oikarinen and Weng (2024): use supervised methods to isolate neuron groups responsible for specific concepts or tasks. The authors say that unlike these works, they use unsupervised activation patterns to find features and treat neuron combinations as causal mediators reused across inputs.

    Concept representation

    • Marks and Tegmark (2024); Park et al. (2024); Nanda et al. (2023): propose the linear representation hypothesis, where concepts roughly align with directions in the residual stream.
    • Csordás et al. (2024); Park et al. (2025); Engels et al. (2025); Levy and Geva (2025): question the single-direction view, arguing some concepts are only meaningful across multiple dimensions. The authors say these works do not explain how such representations form or how they map onto model mechanisms.

    Finding latent concepts

    • Supervised directions: Geiger et al. (2023), Wu et al. (2023) localize predefined concepts; Wu et al. (2024), Marks and Tegmark (2024) turn to predefined concepts.
    • Lakretz et al. (2019); Mu and Andreas (2020); Dai et al. (2022): use probing, clustering, concept alignment, and causal analysis to find salient neurons or neuron groups. The authors say these still rely on predefined concepts or neuron-level attribution rather than recovering features directly from activation structure.
    • SAE: Bricken et al. (2023), Cunningham et al. (2023) learn directions aligned with interpretable concepts. The authors say SNMF instead directly decomposes MLP activations so that each feature corresponds to a linear combination of the neurons that form it.

    NMF and deep learning

    • Lee and Seung (1999) and image work: Melas-Kyriazi et al. (2022), Fel et al. (2023), Jourdan et al. (2023), Oldfield et al. (2023) use NMF to separate interpretable parts in images.

    • Yun et al. (2021): apply NMF-based dictionary learning to cross-layer contextualized embeddings, mainly for linguistic analysis. The authors say they instead apply SNMF to MLP activations and evaluate with causal steering.

    • Baseline methods: Llamascope, Gemmascope (SAE on MLP outputs), SAE act with the same data and feature count, and difference-in-means (DiffMeans). PCA and ICA are not included; the authors cite Wu et al. (2025), Cunningham et al. (2023), saying they underperform SAE in causal settings.

    • Benchmarks/datasets: concepts on Neuronpedia and public SAE descriptions; the authors' own activation sentences, neutral sentences, and steering continuations. The steering protocol aligns with AxBench (Wu et al., 2025), but the concept definitions were changed and its shared concept set was not used.

    The authors place this paper between unsupervised dictionary learning and neuron mechanism analysis: rather than learning directions from the residual stream from scratch, they construct additive neuron combinations from MLP co-activation, and look at both detection and steering.

  3. How does the paper address this problem?

    SNMF decomposes MLP activations into sparse neuron combinations with nonnegative coefficients corresponding to inputs.

    Overall, use semi-nonnegative matrix factorization (SNMF) to split one layer's MLP activations into sparse neuron combinations, then use nonnegative coefficients to map the combinations back to the inputs that activated them.

    Activations written as a sum of neurons

    • The model has L layers, hidden dimension d, MLP inner dimension da. One MLP layer is two matrices and an elementwise nonlinearity, with the output written as the projection of the activation vector a through the value matrix. Biases are omitted; the authors note that modern LLMs often also have gating before the output projection.
    • Each neuron corresponds to a row of the key matrix and a column of the value matrix; the layer output is the sum of value vectors weighted by each neuron's activation. The authors therefore believe that similar concepts activate a similar set of neurons.
    • Collect activations for n inputs to obtain matrix A, of shape da by n.

    Decomposed features

    • SNMF splits A into a feature matrix Z (da by k) and a nonnegative coefficient matrix Y (k by n), so that A ≈ ZY. k is the number of features. Each column of Z is a neuron combination in activation space.
    • That column is then mapped through the value matrix to the residual stream, giving the direction fi = WV zi. An entry of Y indicates that feature's contribution to a given sample. The authors state that the nonnegativity constraint encourages parts-based additive representations, while allowing features themselves to be positive or negative, to match MLP activations.
    • The authors emphasize that, relative to SAEs learned from scratch, Y directly records which tokens participated in the feature's formation.

    Optimization, sparsity, and initialization

    • Use the multiplicative updates of Ding et al. (2010): Z is updated in closed form, Y is updated multiplicatively to remain nonnegative, minimizing the Frobenius norm between A and the reconstruction. Appendix A additionally normalizes the columns of Y to unit l2 and scales Z accordingly.
    • Sparsity uses hard winner-take-all: per column, keep the largest p% by absolute value and zero the rest. Unless otherwise stated, p=1%; GPT-2 keeps the top 5% because of its smaller dimension (Appendix D.2).
    • Appendix A compares Random, SVD, and K-Means initializations. In the appendix, Random is Y from Uniform[0,1] and Z from N(0,1). §3 writes Z from U(0,1) and Y from N(0,1), the two are reversed. The authors state that performance is insensitive to initialization.

    Labels and definitions of the two evaluations

    • Use the highest-activating inputs to ask GPT-4o-mini to write a concept description. SNMF uses Y to select these inputs; the SAE trained on the same data uses the same prompt. Descriptions for public SAEs come from Neuronpedia's autointerp. Appendix H gives the full prompts.
    • Concept detection: Each description generates 5 activating sentences and 5 neutral sentences; take the maximum cosine similarity between token activations within a sentence and the feature, then average over the two classes; SCD is the log of the ratio of the two. The authors use cosine similarity rather than projection so that scales are comparable across methods (Appendix B).
    • Concept steering: On the prompt <BOS> I think that, amplify the feature and grid-search over 7 KL objectives (objective values not given in the paper), also trying both the direction and its opposite. For each KL and sign, sample 8 continuations, for a total of 112. GPT-4o-mini scores concept and fluency on a 0–2 scale, taking the best result across the combinations, and reports their harmonic mean. Early layers use input-side descriptions; later layers use output-side descriptions from the tokens with the highest and lowest unembedding logits; the layer boundary is not stated in the paper.
  4. What experiments did the paper conduct?

    The authors state that steering outperforms SAE and is often not worse than DiffMeans; the copyable numbers are mainly in the appendix tables and Tables 2 and 8.

    Experimental setup

    • Models: Target models for detection and steering are Llama-3.1-8B and Gemma-2-2B; detection additionally includes GPT-2 Small. Day-of-week logit intervention uses GPT-2 Large. Description, sentence generation, and scoring use GPT-4o-mini. Appendix sentence generation also uses GPT-4o, GPT-o4-mini-high, and Gemini-2.0-flash.
    • Data: 20 concepts are drawn from Neuronpedia, each generating 10 sentences, for a total of 200 sentences (Appendix D.1). Detection uses 5 activating sentences plus 5 neutral sentences per concept. DiffMeans uses 72 activating sentences plus 72 neutral sentences per concept.
    • Baselines: SAE out is Llamascope, Gemmascope, and OpenAI's MLP output SAE on GPT-2. SAE act is a matched-capacity SAE on the same data with 100 hidden features. The supervised baseline is DiffMeans, with the direction taken as the difference between the mean token representations of the two classes.
    • Metrics and evaluation: SCD; concept score and fluency score (0–2); their harmonic mean, denoted CS+FL in the text. Evaluation is by GPT-4o-mini. The instruct score is not evaluated because the objects are base models. For each feature, the best result across the KL and sign combinations is taken.
    • Sampling and layers: For steering, SNMF uses k=100; SAE act uses all 100 features; SAE out randomly samples 100 per layer. Detection k also includes 200, 300, 400. Figure 3 layers: Llama 0, 8, 16, 23, 31; Gemma 0, 6, 12, 18, 25.
    • Training scale: The matched-capacity SAE trains 252 and evaluates 2520 checkpoints (Appendix C). The paper does not report the number of independent repetitions for the main SNMF results, nor the specific values of the 7 KL objectives.

    Main results

    There are no copyable pointwise readings in Figures 2 and 3 of the main text. Below are only the SNMF means stated in the appendix as Llama-3.1-8B, WTA 1%, not cross-method comparisons. Layer 18 (2.35±1.68) and layer 25 (1.89±1.72) of Table 6 are omitted.

    LayerSCD (Table 6)CS+FL (Table 7)
    02.99±1.550.10±0.12
    61.67±1.39not reported
    8not reported0.27±0.32
    120.81±0.94not reported
    16not reported0.31±0.29
    23not reported0.45±0.32
    310.48±0.620.31±0.18
    • Detection: The authors state that across layers and models, over 75% of SNMF features have positive SCD; a minority are negative, responding more strongly to neutral contexts. They hypothesize that the first layers of Llama-3.1-8B and GPT-2 are higher because representations pass through fewer attention layers and entangle fewer concepts. The authors state that SNMF is comparable to or higher than MLP output SAE, and higher than the same-capacity SAE act; Figure 2 has no pointwise readings.
    • Steering: The authors state that on all evaluated layers of both models, SNMF outperforms SAE and often reaches or exceeds DiffMeans. Early layers have lower CS+FL but relatively higher concept scores; the authors believe early-layer interventions propagate through the network and affect fluency. Figure 3 has no pointwise readings.
    • DiffMeans: The authors believe it subtracts the means of positive and negative samples, easily mixing in unrelated concepts, especially in early layers. SNMF is described as keeping only parts that stably co-occur with the target concept. This explanation is the authors'; there are no comparison numbers in the figure.

    Day-of-week neuron combinations

    • What was measured: Recursively apply smaller k on time-unit sentences. Figure 4 on GPT-2 Small merges Monday, Tuesday–Thursday, Friday, Saturday–Sunday (weekend) into "day of week". Figure 5 plots the number of shared high-activation neurons between features, with the color scale up to 12.5; features 0–6 are Monday–Sunday. The model for Figure 5 is not stated in the paper.
    • Intervention: On GPT-2 Large, for the prompt I think that, amplify the neurons shared by all days of the week and the neurons unique to each day of the week, and record the logit changes of the day tokens (Table 2).
    • Results and author interpretation: The core row's logit changes for Monday–Sunday are 5.8, 5.7, 5.4, 5.8, 6.0, 5.4, 4.7, all positive. The diagonal entries for each day's unique neurons are positive. The authors state that unique neurons boost their own day and suppress other days; Table 2 has exceptions: the Thursday row is 0.6 in the Wednesday column, and the Saturday row is 0.7 in the Sunday column. The authors give Sunday as an example, whose off-diagonal entries are all negative.

    Causal coverage of parent-child features

    • What was measured: Appendix G uses two-level SNMF (K=500, 200). Child features must account for at least 2.5% of the parent column mass. For parent features with at least two child features, using 20 initial prompts, see how much of the union of the child features' top-10 boosted tokens falls within the parent feature's top-50. The layer number is not stated in the paper.
    • Results: Llama-3.1-8B Coverage is 0.46±0.20 vs. random control 0.05±0.09 (n=93); Gemma-2-2B is 0.37±0.18 vs. 0.00±0.00 (n=67, Table 8). Diversity is 0.99±0.04 and 0.99±0.03, respectively. Per-child-feature average Coverage is 0.47±0.20 and 0.38±0.18.
    • Author interpretation: The authors state that coverage is higher than the random control, overlap between child features is low, and the per-child average differs from overall Coverage by at most 0.02, so the hierarchy is a property of the MLP activation space rather than an artifact of SNMF.

    Other ablations and analyses

    • Initialization (Table 5, Llama-3.1-8B): convergence iterations K-Means 1484±1202, SVD 2474±2068, Random 3325±2975. Tables 3 and 4 do not state the model; their Random rows are the same as the 1% rows of Tables 6 and 7.
    • WTA (Llama-3.1-8B): at p=10%, layer 12 SCD is 1.03±0.97, higher than 1%'s 0.81±0.94; layer 23 CS+FL drops from 0.45±0.32 to 0.34±0.30 (Tables 6, 7). The authors still state 1% is optimal.
    • k (Appendix D.5): The authors state that increasing k improves detection on most layers, while Gemma-2-2B layer 12 decreases as k increases. Figures 6–8 have no pointwise readings.
    • SAE act (Appendix C): low regularization is denser, high regularization has many dead features; for Gemma, including sparsity in checkpoint selection yields many dead features, so only downstream loss is used.
    • Fluency (Figure 9): The authors state that layer 0 scores are low; the main text has no pointwise readings.
    • Manual checks (Limitations): on 50 balanced random samples, Spearman ρ=0.8 with GPT-4o-mini, p<10^{-4}.
  5. What are some points that can be further explored?

    The authors note that k is less than 500, review is sensitive to prompts, and multiplicative updates are not conducive to scaling.

    Limitations and future directions noted by the authors

    • Number of features: The evaluated k is less than 500. The authors state that scaling the method to larger k requires additional engineering and is left out of scope, in order to first introduce the tool and the concept hierarchy (Limitations).
    • Finer features: The authors write the finer features that may appear at higher k, and whether the method can scale to thousands of features, as future directions (Limitations).
    • Evaluation: The authors state that despite manual checks, results may still be sensitive to prompt design and other evaluation details (Limitations).
    • Optimizer: The authors state that multiplicative updates may become a limitation when scaling the method, and that projected gradient descent later may facilitate adding regularization and improve performance (Limitations). Appendix A additionally writes that a full optimizer comparison is left for future work.

    Experimental coverage

    • The target models for detection and steering are Llama-3.1-8B and Gemma-2-2B; concept detection additionally includes GPT-2 Small. Day-of-week logit intervention uses GPT-2 Large (§4–6, Table 2).
    • Steering comparisons include Llamascope, Gemmascope (100 random features per layer), a 100-feature SAE act, DiffMeans, and SNMF with k=100. Detection additionally reports k=100, 200, 300, 400 (§4–5).
    • Manual checks are 50 balanced random samples (Limitations). In the parent-child coverage experiment in Appendix G, Llama parent features n=93, Gemma n=67, K=500 and 200; that section does not state the MLP layer number.
    • The paper does not report pointwise readings for Figures 2 and 3, the seven KL objective values, the number of repetitions for the main evaluation, or the model corresponding to Figure 5.
    • PCA and ICA are not included in the experiments; the authors cite prior work in §5.1, stating that they are worse than SAE in causal settings.
  6. Summarize the main content of the paper

    SNMF constructs features from co-activated neurons; the authors state the turn is better and has hierarchical reuse.

    The authors use SNMF to construct neuron-combination features from MLP activations, to unsupervisedly find directions that are interpretable and can causally influence outputs.

    • Problem: Individual neurons often participate in multiple concepts. The authors believe SAEs trained from scratch on the residual stream both often fail causal evaluation and are not anchored to how the model computes.
    • Method: Split one layer's activation matrix into sparse combinations Z and nonnegative coefficients Y. Y records which inputs participate in that feature, and the combinations are then mapped to the residual stream. By default, keep the largest 1% by absolute value per column, 5% for GPT-2.
    • Detection: The authors state that on multiple layers of Llama-3.1-8B, Gemma-2-2B, and GPT-2 Small, over 75% of SNMF features respond more to concept sentences than neutral sentences, comparable to or higher than MLP output SAE, and higher than the same-capacity SAE act. A minority of features have negative SCD.
    • Steering: The authors state that on the evaluated layers of Llama-3.1-8B and Gemma-2-2B, SNMF with k=100 outperforms SAE and often reaches or exceeds the supervised baseline DiffMeans. Early layers have lower concept–fluency harmonic mean, which the authors attribute to fluency. Figure 3 has no pointwise readings.
    • Structure: On GPT-2 Small, recursive SNMF merges fine concepts like days of the week into coarser concepts. On GPT-2 Large, amplifying the shared day-of-week neurons gives logit changes for Monday–Sunday tokens of 5.8, 5.7, 5.4, 5.8, 6.0, 5.4, 4.7 (Table 2). Llama-3.1-8B parent feature Coverage is 0.46±0.20 (n=93) vs. random control 0.05±0.09; Gemma-2-2B is 0.37±0.18 vs. 0.00±0.00 (n=67, Table 8).
    • Author conclusion: MLP represents concepts with additive neuron combinations, and the same set of neurons is reused across related features. The authors believe feature splitting in SAEs reflects this composition, not necessarily just an artifact of SAE training.
Read originalACL 2026