Skip to content

I Have Covered All the Bases Here: Interpreting reasoning features in large language models with sparse autoencodersI Have Covered All the Bases Here: Interpreting Reasoning Features in Large Language Models via Sparse Autoencoders

arXiv· arXiv:2503.18878· Andrey Galichin, Alexey Dontsov, Polina Druzhinina, Anton Razzhigaev, Oleg Y. Rogov, Elena Tutubalina, Ivan OseledetsAIRI; MTUCI; Skoltech; HSE; SberIndexed by this site · 2026-10-14· Originally publishedAlignment

Quick read

Interpretability

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

After amplifying reasoning SAE features on DeepSeek-R1-Llama-8B, MATH-500 maj@4 is 95.4 (93.2 without steering).

Questions
Reasoning models generate long chains of thought before answering, but how these capabilities are written into internal activations remains unclear. The authors observe that the models consistently use words related to uncertainty, reflection, and exploration, and hypothesize that these words correspond to internal reasoning moments.
Methods
On OpenThoughts-114k, 10 reasoning words were selected based on word-frequency differences between DeepSeek-R1 thought traces and standard solutions. The SAE at layer 19 of DeepSeek-R1-Llama-8B was scored with ReasonScore, then interpreted, steered, and diffed.
Experiments and results
Manual verification yielded 46 features. In Table 1, with γ=2, #4395 has a MATH-500 maj@4 of 95.4 (93.2 without steering), and #61104 has an AIME 2024 maj@4 of 66.7 (53.3 without steering). The authors state that verified features appear in 0% of cases in S and S→M, and 60% in S→D→F.
Limitations and future work
The authors state that the window, α, and vocabulary coverage still need further investigation; SAEs may miss features; diffing uses an empirical threshold of 0.7, with 60% of verified features and 78% of F_R features at the final stage, and may have false negatives and false positives. Cross-architecture experiments do not report steering scores.
Experimental setupDeepSeek-R1-Llama-8B、Llama-3.1-Nemotron-Nano-8B-V1 · AIME 2024、MATH-500 et al. · maj@4、pass@1 et al.
Evaluated models
DeepSeek-R1-Llama-8BLlama-3.1-Nemotron-Nano-8B-V1
Benchmarks
AIME 2024MATH-500GPQA DiamondOpenThoughts-114kLMSYS-Chat-1MSlimPajama
Metrics
maj@4pass@1average number of output tokensReasonScore
AI summaryThe researchers propose the ReasonScore metric, using sparse autoencoders (SAEs) to identify active features during large language model reasoning and interpret them both manually and automatically. The activation patterns of these features correspond to uncertainty, exploratory thinking, and reflection. Steering experiments show that amplifying these features improves performance on reasoning-intensive benchmarks by 2.2%, while reasoning trace length increases by 20.5%. Using model comparison techniques, the authors provide evidence that these features appear only in models with reasoning capabilities. The code has been made public on GitHub.

The researchers propose the ReasonScore metric, using sparse autoencoders (SAEs) to identify active features during large language model reasoning and interpret them both manually and automatically. The activation patterns of these features correspond to uncertainty, exploratory thinking, and reflection. Steering experiments show that amplifying these features improves performance on reasoning-intensive benchmarks by 2.2%, while reasoning trace length increases by 20.5%. Using model comparison techniques, the authors provide evidence that these features appear only in models with reasoning capabilities. The code has been made public on GitHub.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors aim to explain how reasoning models encode reasoning in activation space, and use SAE features to localize and intervene on it.

    Which internal directions in reasoning models encode step-by-step reasoning still lacks a localizable, intervenable decomposition.

    • Context: The authors discuss reasoning models such as o1 and DeepSeek-R1. After fine-tuning and reinforcement learning, they first generate a long chain of thought before answering. The authors ask how such reasoning ability is encoded internally in the model.
    • Existing gaps: Prior work treats concepts as linear directions in activation space and uses Sparse Autoencoders (SAEs) to decompose interpretable features. The authors state that whether SAEs can separate reasoning-specific features remains unexplored.
    • Core hypothesis: The authors observe that reasoning models stably use words related to human reasoning, involving uncertainty, reflection, and exploration, and hypothesize that these linguistic moments correspond to internal reasoning processes.
    • What this paper proposes: Construct a reasoning vocabulary, train an SAE on DeepSeek-R1-Llama-8B, select reasoning features with ReasonScore; then examine the relationship between these features and reasoning behavior through interpretation, steering, and stage-wise model diffing.
  2. What related research exists?

    Related work covers mechanistic interpretability, SAE, and reasoning models; the authors state that decomposing reasoning mechanisms with SAE has not been done before.

    Mechanistic interpretability

    • Attention and gradients: Vaswani et al. (2017) analyze the model's attention to input tokens; Simonyan et al. (2014) use gradients to identify influential input features.
    • Probing and intervention: Alain and Bengio (2016) use linear probes to inspect information at each layer. Meng et al. (2022) use activation patching, and Cao et al. (2024) and Soo et al. (2025) use feature steering to understand and control behavior.
    • Intermediate predictions: Nostalgebraist (2020)'s logit lens observes token predictions at different processing stages.

    Sparse autoencoders

    • Feature decomposition: Bricken et al. (2023), Cunningham et al. (2023), Gao et al. (2024), Templeton (2024), and Marks et al. (2024) use SAEs to decompose activations into sparse, interpretable features. The paper states that SAE features are more monosemantic than individual neurons (Leask et al., 2025).
    • Separation and cross-layer: Yan et al. (2024) use a decorrelation loss to separate latent variables; Shi et al. (2025)'s cross-layer SAE analyzes more abstract patterns. The paper only describes these works.
    • Cross-checkpoint: Lindsey et al. (2024)'s crosscoders map features across model states; Bricken et al. (2024)'s stage-wise model diffing compares SAEs across checkpoints. The authors adopt diffing for computational efficiency and implementation intuitiveness, and state that it was previously used for sleeper agents; this paper applies it to reasoning behavior.

    Reasoning models

    • Explicit reasoning: OpenAI o1 (2024), DeepSeek-R1 (Guo et al., 2025), QwQ-32B-Preview (Team, 2024). The authors state that they use rule-based reinforcement learning with correctness and format scores, leading to self-correction and reflection, which DeepSeek-AI's report calls an "aha moment."

    • Authors' positioning: The authors state that how these models encode internal reasoning remains unclear; to the authors' knowledge, using SAEs to find interpretable features responsible for underlying reasoning mechanisms has not been done before. The introduction connects this paper after the linear representation hypothesis (Mikolov et al., 2013; Elhage et al., 2022; Park et al., 2023, etc.).

    • Experimental controls: The steering control is No steering; word disabling additionally uses an equal number of random words. Evaluation benchmarks are AIME 2024, MATH-500, and GPQA Diamond. The vocabulary comes from OpenThoughts-114k and is filtered with the Google Books Ngram Corpus.

  3. How does the paper address this problem?

    First build a reasoning vocabulary, then use ReasonScore to select reasoning directions from SAE features, and test causal effects with steering.

    Train an SAE at layer 19 of DeepSeek-R1-Llama-8B, select features using a reasoning vocabulary and ReasonScore, then interpret, steer, and use model diffing to see when these features emerge.

    Reasoning vocabulary

    • Two corpora: formal step-by-step solutions to the same set of problems in OpenThoughts-114k, and DeepSeek-R1's chain-of-thought solutions.
    • Filtering: sort by frequency difference p_think − p_solution, take the top-k before the distribution plateaus, and remove words whose absolute frequency in Google Books Ngram exceeds a predetermined threshold (Figure 2). Keep 10 words, denoted R: alternatively, hmm, maybe, wait, perhaps, let me, therefore, however, but, another (Appendix A.1).
    • Form: the implementation tracks both capitalization and space prefixes. but and another are used only in capitalized form; let me is kept as a phrase. The authors state that lowercase but/another mostly appear in non-reasoning contexts.
    • Hypothesis: these words are both reasoning indicators and thought-transition points. Appendix A.2 checks their functional role by disabling these words during generation.

    SAE training

    • Location: layer 19 output activations. The authors chose this layer because it is at about 60% depth, and cite prior work stating that this depth mainly stores knowledge.
    • Architecture: vanilla SAE with ReLU activation. The encoder is written as f(x)=σ(Wencx+benc), which turns activations into non-negative sparse feature magnitudes; the decoder then reconstructs the original activations from these magnitudes. The columns of W_dec are feature directions.
    • Loss: reconstruction is squared error; the sparsity term is a modified L1 where each feature magnitude is multiplied by the L2 norm of the corresponding decoder vector, with coefficient λ.
    • Settings: dictionary dimension m=65,536, which is 16 times the activation dimension n=4,096. Half LMSYS-Chat-1M and half OpenThoughts-114k, totaling 1B tokens, context 1,024. Adam β is (0.9, 0.999), batch 4,096, learning rate 5×10^−5, linearly decayed to 0 over the last 20%, gradient norm clipped to 1. λ is ramped from 0 to 5 over the first 5% of steps. Settings follow Conerly et al. (2024).

    ReasonScore

    • Window data: computed on 10M tokens of OpenThoughts-114k. Activations of the 2 tokens before and 3 tokens after a reasoning word form D_R^W; the rest form D_¬R^W.
    • Definition: ReasonScorei=(μ(i,DRW))/(∑jμ(j,DRW))Hiα−(μ(i,D¬ RW))/(∑jμ(j,D¬ RW)). μ is mean activation, H_i is the normalized entropy of that feature on R. The first term rewards relative activation on reasoning windows and penalizes uneven distribution; the second term subtracts relative activation on non-reasoning windows.
    • Parameters: α controls specificity versus generalization; the authors use 0.7. The selection threshold is the q-quantile of all feature scores; after Appendix A.3, q=0.997, giving |F_R|=200. The authors state that the base score is similar to Cywinski and Deja (2025), but single-token activation would miss transition context.

    Interpretation, steering, and diffing

    • Human standard: for the 200 features, use Bricken et al. (2023)'s activation interface on a subset of OpenThoughts-114k. Retention criteria: relevant concepts appear consistently when activated, triggers on multiple reasoning examples, and activation effects correspond to interpretable logits for reasoning.
    • Automatic interpretation: first estimate max activation, then modify activations during generation as x′ = x + γ f_i^max W_dec,i, with γ from −4 to 4. GPT-4o writes functional interpretations and groups them, then humans review. Appendix B.2 describes the procedure.
    • Steering protocol: follows DeepSeek-R1's evaluation setup, reporting maj@4 and average chain-of-thought tokens on AIME 2024, MATH-500, and GPQA Diamond. First try γ from 1 to 8 on MATH-500 with 10 features; subsequent experiments use γ=2.
    • Staged comparison: base model is Llama-3.1-8B, base data is SlimPajama. S is base model plus base data, D is base model plus reasoning data, M is reasoning model plus base data, F is both with the reasoning version. Paths are S→D→F and S→M→F. Each stage's token count is 30% of training from scratch. Cosine similarity ≥ 0.7 with any feature at that stage counts as emergence.
  4. What experiments did the paper conduct?

    After steering the majority of selected features, maj@4 increases and trajectories lengthen; the authors state that these features mainly emerge after reasoning fine-tuning.

    Experimental setup

    • Main model: Layer 19 of DeepSeek-R1-Llama-8B for interpretation and steering. Appendix D additionally trains SAEs on layers 13, 15, 17, 21, and 23 of this model, and on layer 19 of Llama-3.1-Nemotron-Nano-8B-v1.
    • Diffing: Llama-3.1-8B is the base model before fine-tuning. Base data uses SlimPajama; the authors state it is closer to that base model's pretraining distribution than LMSYS-Chat-1M, and the base model was not instruction-tuned.
    • Data and benchmarks: SAE training uses LMSYS-Chat-1M and OpenThoughts-114k; ReasonScore uses 10M tokens from the latter. Steering and word blocking use AIME 2024, MATH-500, and GPQA Diamond. The paper does not state the number of problems per benchmark.
    • Metrics: Steering reports maj@4 and average output tokens of the thought process (K); word blocking reports pass@1 and average tokens. SAE uses average L0 and the variance ratio explained by reconstructed explanations, computed on 2,048 sequences of length 1,024.
    • Review: GPT-4o writes functional descriptions and groups them, then humans review. The paper does not state the agreement rate between the two, nor the number of repetitions for steering experiments.
    • Controls: No steering. Word blocking additionally uses an equal number of random words, repeated 10 times, reporting average pass@1. Cross-layer matching additionally samples 100 random features.

    Main results

    The table below follows Table 1, model is DeepSeek-R1-Llama-8B, steering strength γ=2. #25953 is omitted; its AIME, MATH-500, and GPQA Diamond maj@4 are 60.0, 94.2, and 53.0.

    Swipe horizontally to read the table

    FeatureAIME maj@4MATH-500 maj@4GPQA maj@4
    No steering53.393.250.0
    #6110466.795.053.0
    #439556.795.452.0
    #1644160.095.054.0
    #4669156.794.254.0
    #1677856.794.051.0
    #394256.793.046.5
    • Authors' interpretation: The authors state that 7 of the 10 features simultaneously improve performance and reasoning depth. #4395's gain on MATH-500 is +2.2%. #16778 has the longest traces, with +13.7%, +20.5%, and +13.9% on AIME-2024, MATH-500, and GPQA Diamond, respectively.
    • Two summaries: The abstract writes performance +2.2% and trace +20.5%. The introduction writes performance gains of +13.4%, +2.2%, and +4% on the three benchmarks, and trace gains of +18.5%, +20.5%, and +13.9%.
    • Exceptions in the table: #3942's MATH-500 is 93.0 and GPQA is 46.5, both below No steering; the authors state its average trace is the shortest (−7.7%) with very small performance degradation. #61104's average tokens across the three segments are 12.0, 3.6, and 7.5, below No steering's 12.4, 3.9, and 7.9.

    Vocabulary blocking

    • What was tested: Blocking words in R during generation, comparing Default, Reason, and Random with pass@1 (Table 2, Appendix A.2).
    • Results: Reason's pass@1 is 20.0, 86.6, and 41.9, with tokens (K) of 9.1, 2.5, and 5.7. Default is 53.3, 93.2, and 50.0 with 12.4, 3.9, and 7.9. Random is 48.6, 89.4, and 48.5 with 13.3, 4.2, and 8.9.
    • Authors' interpretation: The authors state that blocking reasoning words reduces performance and reasoning depth; random blocking shows no statistically significant differences from Default.

    When features appear

    • What was tested: Four-stage diffing, with cosine ≥ 0.7 considered as appearing (Section 4.4, Figure 4).
    • Results: Manually verified features appear in 0% of cases in the base model and after switching to the reasoning model; 4% when only reasoning data is added to the base (S→D); 60% for S→D→F and 51% for S→M→F. The Limitations section states that 78% of F_R features appear in the final stage.
    • Authors' interpretation: The authors state that exposure to reasoning data alone or switching to the reasoning model alone is insufficient; features increase only when both occur together. The authors therefore conclude that ReasonScore finds features related to the reasoning process rather than general ability.

    Interpretation and cross-model

    • 46 features: The authors group them into uncertainty, exploration, and reflection. In automatic interpretation, 5 of these 46 are assigned to Other Behavior (Figure 3b). Table 4 also lists groups such as reasoning depth, numerical verification, multi-method exploration, structural organization, symbols and numbers, self-correction, causal chains, boundary conditions, and semantic elaboration.
    • Cross-layer: Appendix D.1 uses activation cosine as the Matching Score. The authors state that in layer 15, 39.5% of layer-19 reasoning features have MS>0.7, versus 24.0% for random features (Table 3).
    • Nemotron: The top 200 ReasonScore features from layer 19 of Llama-3.1-Nemotron-Nano-8B-v1 are manually interpreted. The authors state that activation patterns are similar to the main model, citing uncertainty #46772, exploration #13448, and reflection #4646 and #19371 (Figure 7). The paper does not report steering scores.

    Other ablations and analyses

    • The 46 features were first screened on MATH-500 with pass@1: 9 improved by ≥0.5%, 29 had no change or decreased by ≤2.0, and 8 decreased by up to 4% (Section 4.3).
    • The 10 features were tested on MATH-500 with γ from 1 to 8; the authors state the suitable range is [1, 3], and γ=2 was used subsequently.
    • The SAE explains 68.5% of variance at L0=86 (Section 4.1).
    • #3942's AIME tokens are 11.1, below No steering's 12.4; the authors state it responds more briefly with negligible performance degradation.
    • In Table 3, the same proportions for reasoning features in layers 13, 17, 21, and 23 are 33.5%, 56.0%, 59.0%, and 60.5%; for random features they are 15.0%, 38.0%, 41.0%, and 31.0%.
  5. What are some points that can be further explored?

    The authors state that ReasonScore hyperparameters, vocabulary coverage, and SAE and diffing thresholds still need further examination.

    Limitations and future directions noted by the authors

    • Hyperparameters: ReasonScore depends on window size and entropy penalty α; the authors state that further ablation is needed (Limitations).
    • Classification scope: 46 interpretable features confirmed out of 200 candidates. The authors state that the remaining features may also participate in reasoning, but their activation patterns are ambiguous and cannot be confidently classified (Limitations).
    • Vocabulary: The authors state that the reasoning vocabulary may not cover all reasoning patterns (Limitations).
    • SAE: The authors state that SAEs still have issues that prevent extracting fully interpretable features, so features may be missed (Limitations).
    • Similarity threshold: 0.7 is carried over from prior work and is an empirical choice; if representations rotate at some stage, similar features may be missed (Limitations).
    • Emergence proportion: Only 60% of verified features and 78% of F_R features appear at the final stage. The authors believe this may be because the SAE was fine-tuned rather than trained from scratch, and state that the method may produce false negatives and false positives, but believe the main findings still hold (Limitations).

    Experimental coverage

    • The main SAE, human interpretation, GPT-4o automatic interpretation, and steering were all done on DeepSeek-R1-Llama-8B; the main result layer is layer 19; Appendix D.1 additionally trains layers 13, 15, 17, 21, and 23.
    • Steering and word disabling use AIME 2024, MATH-500, and GPQA Diamond. Steering metrics are maj@4 and average output tokens; word disabling uses pass@1; random word disabling is repeated 10 times.
    • Diffing compares Llama-3.1-8B with the reasoning-fine-tuned model; base data is SlimPajama, emergence threshold is cosine 0.7, and each stage's token count is 30% of training from scratch.
    • Cross-architecture experiments do ReasonScore and human interpretation at layer 19 of Llama-3.1-Nemotron-Nano-8B-v1; the paper does not report maj@4 or tokens for that model.
    • The paper does not report the number of problems per benchmark, the number of repetitions for steering experiments, or the agreement rate between GPT-4o interpretations and human review.
  6. Summarize the main content of the paper

    SAE and ReasonScore localize uncertainty, exploration, and reflection features; the authors state that amplifying them increases reasoning scores and trace length.

    The authors use SAEs to map reasoning models' long chains of thought to a set of steerable internal features.

    • Question: the concern is not the chain-of-thought text itself, but which directions in the activations encode reasoning ability.
    • Approach: build a vocabulary from 10 words that are elevated in DeepSeek-R1's thought trajectories relative to standard solutions, train an SAE at layer 19 of DeepSeek-R1-Llama-8B. ReasonScore selects 200 features; human verification leaves 46.
    • Interpretation: the activations of these 46 features correspond to uncertainty, exploration, or reflection. GPT-4o's groupings also mostly fall into reasoning-related categories, with 5 entering Other Behavior.
    • Intervention: Table 1 at γ=2: #4395's MATH-500 maj@4 is 95.4, versus 93.2 without steering; #61104's AIME 2024 maj@4 is 66.7, versus 53.3 without steering. The authors state that #16778 lengthens MATH-500 trajectories by +20.5%. #3942's GPQA maj@4 is 46.5, below the 50.0 without steering.
    • Emergence timing: verified features are 0% at the base stage and when only the reasoning model is swapped in, 4% when only reasoning data is added, and 60% and 51% at the final stages of the two paths.
    • Authors' conclusion: the authors state that amplifying certain features extends internal thinking and co-occurs with improved performance on reasoning tasks; these features mainly emerge after reasoning fine-tuning. The authors state this is a first step toward understanding reasoning mechanisms, and that specific interpretable components are causally linked to complex reasoning behavior.
Read originalarxiv.org