Control Reinforcement Learning: Token-Level Mechanistic Analysis via Learned SAE Feature Steering
Seonglae Cho, Zekun Wu, Adriano Koshiyama
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Mechanistic Interpretability · Type: new method · Keywords: language model interpretability, mechanistic analysis, reinforcement learning, sparse autoencoders, feature steering, diagnostic tools
Areas: LLM Reasoning › Reasoning Mechanisms › Chain-of-Thought Reasoning; RL for LLMs & Agents › Distillation Reinforcement Learning › Diffusion model reinforcement learning; Interpretability › Mechanistic Interpretability › Feature Directions and Circuits
Summary
Control Reinforcement Learning (CRL) trains a policy to amplify SAE features at each token generation step, providing per-token intervention traces and serving as an SAE quality diagnostic while improving task accuracy.
Explained to a 5-year-old
We look at how a computer brain (language model) thinks. It has hidden parts called features that help it understand words. We teach the computer to choose which feature to make stronger at each step, like picking the right tool. This helps us see which parts are important and makes the computer do better at tasks. It also helps us check if the hidden parts are useful.
Explained to a 5-year-old, longer
A language model is like a big computer program that writes words. Inside the program there are hidden pieces called features that help it understand what the words mean. Researchers want to know which features are important for different tasks, like math or answering questions. They created a way to let the program decide which feature to make stronger at each moment it writes a word. This is done by playing a game where the program learns to pick the best feature, just like a child learns to choose the right toy. The program keeps track of where it changes its choice, which shows which words are turning points. It also looks at how the program’s decisions compare across different layers, like different floors of a building. By doing this, scientists can see which features drive the model’s behavior and why it succeeds or fails. The method also helps the model perform better on tasks like solving math problems or checking for harmful content. It works on two big models, one smaller and one larger, and shows useful results on many tests. The new technique also acts like a quality check for the hidden features, telling researchers if they are good or not. Overall, it gives a clearer picture of how language models think and makes them easier to understand and improve.
For a technical reader
The work frames token-level feature intervention as a POMDP over the LLM’s layer-causal computation, enabling a policy to select which SAE feature to amplify at each generation step. Adaptive feature masking encourages diverse single-feature discovery while preserving attribution fidelity. The framework provides diagnostics such as branch-point tracking, critic trajectory analysis, and layer-wise comparison along the residual stream. Empirical evaluation on Gemma-2 2B and LLaMA-3.1 8B across multiple benchmarks shows improved task accuracy and per-token intervention traces that serve as an SAE quality metric. The approach also reveals asymmetric cross-task transfer patterns, indicating partial overlap in task computation.
Problem
Existing methods for mechanistic analysis of language models either attribute task-specific circuits or apply fixed-direction steering without learning a reward-optimized policy for per-token feature amplification. This leaves a gap in understanding which features drive behavior at each generation step and how to intervene adaptively.
Method
The approach formulates token-level feature intervention as a partially observable Markov decision process (POMDP) over the LLM's layer-causal computation, trains a policy to select an SAE feature to amplify at each generation step, and uses adaptive feature masking to encourage diverse discovery while preserving single-feature attribution. It also provides branch-point tracking, critic trajectory analysis, and layer-wise comparison along the residual stream.
Results
The approach yields per-token intervention traces and improves task accuracy while acting as an SAE quality diagnostic on Gemma-2 2B and LLaMA-3.1 8B across multiple benchmarks.
Contributions
It introduces a POMDP-based framework for learning reward-optimized per-token feature amplification, adaptive feature masking for diverse single-feature discovery, and diagnostic tools such as branch-point tracking and layer-wise comparison. It also demonstrates cross-task transfer patterns and shows that the learned steering can serve as a quality metric for SAEs.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction