Toward General-Purpose Steering and Monitoring of AI ModelsToward universal steering and monitoring of AI models
RFM extracts concept vectors for steering and monitoring; on Llama-3.3-70b-4-bit, 512 concepts success rate 79.8%.
- How large models internally represent general concepts remains unclear, and prompts can change responses in hard-to-predict ways. Unsupervised features do not guarantee alignment with specified concepts, and whether existing probes can support both steering and monitoring is also unclear.
- On each block, use RFM and kernel ridge regression to extract the principal eigenvector from prompts labeled with concepts. For steering, multiply the vector by a coefficient and add it to activations; for multiple concepts, first form a linear combination. For monitoring, train a classifier on projections of multiple feature vectors.
- On 512 concepts, RFM is overall higher than PCA, mean difference, and logistic regression; Llama-3.3-70b-4-bit achieves 79.8%. The overall pass rate for steering this model to C++ is 73.2%, higher than original outputs and prompting C++. On six benchmarks, concept probe AUROC is higher than direct judgment.
- The authors state that how linear structure arises from training and why it improves generalization remains unclear; classification features being usable as steering vectors is also listed as a key missing piece. Quantitative steering comparisons are on three Llama models, success judged by GPT-4o, and the paper does not report agreement with humans.
- Evaluated models
- Llama-vision 3.2 (90 billion parameters, 4-bit quantization)
- Benchmarks
- 512 conceptsHackerRankRolePlayingGSM8KFAVABENCHHaluEvalHaluEval-WildPubMedQARAGTruthHaluBenchToxicChat
- Metrics
- steerabilityaverage percentage of test cases passedAUROC
The researchers propose a scalable method for extracting linear representations of general concepts from large-scale AI models, and claim these representations can be used to steer models, expose vulnerabilities, and monitor undesirable content. The method applies to language models, vision-language models, and reasoning models; the authors say concept representations transfer across human languages and can be combined for multi-concept steering. Through quantitative analysis of hundreds of concepts, the authors find that newer and larger models are easier to steer, and steering can further improve model capabilities beyond standard prompting. The authors also claim that predictive models built from concept representations are more accurate at monitoring hallucinations and harmful content than models that directly judge outputs.
Paper analysis
What problem does this paper attempt to solve?
Use RFM to extract concept vectors from activations of each block, then perform steering and monitoring.
How to extract linear representations of general concepts from the activations of large-scale language models, vision-language models, and reasoning models, and use them for steering and monitoring.
- Scenario: The authors state that modern models have reached expert level on several scientific, mathematical, and factual benchmarks, but how they internally represent this knowledge remains unclear, making it difficult to fully utilize capabilities and to defend. Simply changing prompts can alter responses; adversarial prompt modifications can also cause models to bypass built-in safeguards.
- Gaps in existing approaches: Unsupervised methods such as sparse autoencoders do not guarantee the emergence of specified concepts and require searching among many candidates for the target. The authors state that recent work claims probing is more suitable than unsupervised methods for steering and monitoring, but whether these probes can extract general concept features that are steerable and monitorable remains unclear.
- Approach: Use Recursive Feature Machine (RFM) on each block, learning directions most correlated with labels from prompt–label pairs, and take the top eigenvector of the averaged gradient outer product (AGOP) as the concept vector. Add this vector to activations for steering, and train classifiers on projections onto multiple directions for monitoring.
- Properties to examine: Whether concept vectors transfer across human languages, whether they can be linearly combined for multi-concept steering; whether steering can expose refusal failures, mitigate deception, and improve code and reasoning; whether concept features can monitor hallucinations and toxic content better than directly judging outputs.
- Access and data: The method reads and modifies activations of each block. Labels only indicate whether a concept is present, without requiring accompanying target text. The paper does not use the terms white-box, black-box, or no-box.
What related research exists?
Related work is divided into unsupervised features, supervised probing, and the linear representation hypothesis.
The introduction divides prior work into unsupervised discovery and supervised probing, and the Discussion connects to the linear representation hypothesis.
Unsupervised concept discovery
- Sparse autoencoders: Bricken et al. (2023), as well as Huben et al. (2023), Lindsey et al. (2024), and Yun et al. (2021), find interpretable features from activations without pre-specifying concepts. The authors cite Anthropic using this approach to find activations related to the Golden Gate Bridge in Claude, where perturbing them makes the model repeatedly discuss the bridge.
- Difficulty noted by the authors: Unsupervised methods do not guarantee that specified concepts emerge, so one must still identify the target among many candidate concepts.
Supervised probing and activation steering
- Probing and inference-time intervention: The authors classify Azaria and Mitchell (2023), Belinkov (2022), Burns et al. (2022), Li et al. (2023), Rimsky et al. (2024), Turner et al. (2023), Stolfo et al. (2025), and Zou et al. (2023) as supervised approaches, and state that most train predictive models to extract features, with some work directly modifying activations at inference time.
- Comparison with unsupervised: The authors state that Wu et al. (2025) and Smith et al. (2024) argue that probing is more effective than unsupervised methods for steering and monitoring. The authors then write that despite this work, whether probing can effectively extract general concept features remains unclear.
Linear representation hypothesis
- Linear encoding of semantics: Mikolov et al. (2013) and Pennington et al. (2014) discuss that semantic relationships can be encoded by linear transformations in representation space. The authors consider cross-lingual transfer and concept mixing as further evidence for this phenomenon, and state that how these linear structures arise from training and why they improve generalization remains unclear.
Baselines and benchmarks
- Steering baselines: PCA, difference in means, logistic regression. The authors state these are common baselines in the field, citing Zou et al. (2023), and are fast enough to run on 512 concepts on the largest model.
- Monitoring comparisons and data: Llama series, GPT-4o directly judging outputs, and ToxicChat-T5-Large fine-tuned for toxic content. Task data includes self-built 512 concepts, HackerRank, and FAVABENCH, HaluEval, HaluEval-Wild, PubMedQA, RAGTruth, ToxicChat.
The authors place this work on the supervised extraction side: using RFM to extract linear directions for specified concepts by labels, rather than searching post hoc in unsupervised dictionaries; the same set of directions is used for both steering and monitoring, and scales to 8B to 90B and 512 concepts.
How does the paper address this problem?
Each block uses RFM to take the AGOP top eigenvector, adds it to activations for steering, and projects for monitoring.
The overall approach is: on each block, use RFM to extract a direction from labels of whether a concept appears, then use this direction for additive steering or monitoring classification.
Activations and labels
- Block outputs: The model is divided into embedding, several blocks, and readout. Concept vectors use only the last row of each block's activation matrix. Llama-3.1-8b has 31 blocks (L=32); Llama-3.1 and Llama-3.3 70B have 79 blocks (L=80). All models in this paper are instruction-tuned.
- Data: Each concept is n pairs of prompts and 0/1 labels, where 1 indicates the concept is present. Labels can also be real numbers to steer non-binary concepts. The authors state that steering does not require text outputs, making data collection easier than standard supervised fine-tuning.
Extracting concept vectors with RFM
- Kernel and iterations: Kernel ridge regression is performed separately for each block. The kernel is the Mahalanobis Laplace kernel KM(x,z)=exp(−1/L√((x−z)⊤ M(x−z))), where L is the bandwidth and M measures activation differences. M starts from the identity matrix and is repeated T times: first fit kernel ridge regression, then average the outer product of gradients of the prediction function at each training activation to obtain a new AGOP and update M.
- Direction: The concept vector is the principal eigenvector of the final M, multiplied by the sign of its Pearson correlation with the labels so the positive direction points toward the concept.
- Parameter selection: Hold out 20% of training data, select parameters by the absolute Pearson correlation between projections and labels on the validation set. Search T from 1 to 10, bandwidth 1, 10, or 100, and whether to normalize activations to the unit sphere. The main text states that regularization λ is also searched, with typical values 10^{-3}, T≤10; Appendix A states that all experiments fix λ=10^{-3}. Inputs and gradients are mean-centered.
Steering
- Additive perturbation: During forward pass, change each row of the ℓ-th block to Ãℓ,i(X):=Aℓ,i(X)+ϵ vℓ. ε is a control coefficient that can vary by concept and model; negative values move away from the concept.
- Multiple concepts: Form a linear combination of multiple concept vectors before adding. Combination weights vary by example; Appendix B gives specific coefficients.
- Cost: The authors state that on a single A100, with fewer than 500 training samples, features can be extracted and a concept steered in under a minute, without additional fine-tuning for each concept.
Monitoring
- Features: For each block, not just 1 direction but the top p eigenvectors are taken, and projections of activations onto these directions are used as features. In experiments, RFM takes 3 per block.
- Two classifiers: Either train each block separately and select the one with the strongest prediction, or concatenate features from all blocks into one vector and train. Fig. 6 reports the better of these two.
Construction and evaluation of 512 concepts
- Concepts and training sentences: GPT-4o generates about 100 concepts for each of 5 classes, totaling 512: fears, experts, moods, topophiles, personas. There are also 400 generalization statements, split into two groups of 200 each. Sentences with label 1 are prefixed with persona or stance prefixes according to concept class; label 0 sentences are not; Appendix D gives all prefixes. The authors use this design to show that paired base sentences are not needed, and base sentences need not be tightly related to the target concept.
- Evaluation: Each class has 5 elicitation questions. Each concept generates responses at 6 fixed ε values. The judge model is gpt-4o-2024-11-20 at temperature 0. If any ε is judged as successful steering, that instance is recorded as 1, otherwise 0. Appendix G gives the judge prompts.
- Comparison extraction: PCA uses the principal eigenvector of the difference between activations of different classes; difference in means uses the difference of class activation means; logistic regression uses the normalized coefficients. All are then oriented by Pearson correlation. Logistic regularization C is searched over 1000, 100, 1, 0.1.
What experiments did the paper conduct?
RFM overall steering rate is higher than three baselines; monitoring probe AUROC is higher than direct judging.
Experimental setup
- Models tested: Quantitative comparisons on 512 concepts and programming use Llama-3.1-8b, Llama-3.1-70b-4-bit, and Llama-3.3-70b-4-bit. Qualitative steering also includes Llama-vision-3.2-90b-4-bit. Deception experiments use DeepSeek-R1 distilled to Llama-3.1-8b and DeepSeek-R1 distilled to Llama-3.3-70b-4-bit. Scoring steering examples in Fig. S9 use Gemma-2-9b and Llama-3-8b. Monitoring probes are built on the three Llama models.
- Data scale: 512 concepts; programming is HackerRank 50 problems (25 Easy, 25 Medium), with Fig. 5 stating 732 test cases total. Deception vectors are extracted from 296 RolePlaying scenarios and evaluated on 75 held-out scenarios. Chain-of-thought vectors use 1000 positive and negative samples each from GSM8K, and letter counting has 887 problems. Monitoring uses six benchmarks; the main text points to Table S7 for dataset summary.
- Baselines: Steering extraction comparisons are PCA, difference in means, logistic regression. On Llama-3.3-70b-4-bit, PCA on 512 concepts takes about 5 hours, logistic regression about 15 hours. Programming comparisons are original output without specifying language, and requiring direct C++ answers. Monitoring comparisons are three Llama models, GPT-4o, and ToxicChat-T5-Large directly judging outputs.
- Metrics: Fig. 4C is the proportion of concepts successfully steered. Programming reports the average proportion of test cases passed per problem, not the proportion where all test cases pass. Monitoring uses AUROC because class sample sizes are unequal; HE-Wild is six classes of hallucination queries, still reported as AUROC.
- Evaluation: 512 concepts are judged binary by gpt-4o-2024-11-20 at temperature 0. Deception responses are labeled by GPT-4o as deceptive, honest, nonsensical, or overthinking. The monitoring LLM judge uses prompts in Appendix K: binary classification asks for yes/no, HE-Wild asks to choose one of six classes, then uses corresponding token probabilities to compute AUROC.
- Replication and splits: 512 concepts are a single judgment, and the paper does not report agreement with humans. ToxicChat uses 10-fold on the specified training set with a fixed test set; FAVABENCH, because training and annotated subsets have different distributions, only splits the annotated subset into 5 folds; other monitoring benchmarks mostly use 5 folds. Fig. 6 does not report variance across folds.
Main results
Overall success rate in Fig. 4C (512 concepts; figure caption says 500 concepts, main text and table notes say 512):
Swipe horizontally to read the table
Model RFM Logistic Diff. Means PCA Llama-3.1-8b 49.0% 44.9% 41.4% 40.2% Llama-3.1-70b-4-bit 63.0% 52.3% 54.6% 47.3% Llama-3.3-70b-4-bit 79.8% 73.2% 67.5% 66.1% - The authors state that newer and larger Llama models are overall more steerable, and that Llama-3.3-70b-4-bit and Llama-3.1-70b-4-bit have no obvious architectural difference, but more concepts are steerable.
- Across all three models, RFM is higher than the other three extraction methods overall.
- Within the same class, performance does not increase monotonically with scale. The authors cite moods as an example: RFM is 99.0% on Llama-3.1-8b and 69.6% on Llama-3.1-70b-4-bit (Fig. 4C). The authors suggest that fixed ε may not be optimal and state there may be many reasons. Each concept has 5 questions; the paper does not specify how these 5 questions are aggregated into concept-level success.
Programming language steering
Concept vectors are extracted using Python-to-C++ translation prompt pairs versus Python-to-Python prompts. ε for 70B is 0.1, 0.15, 0.2; for 8B is 0.1, 0.2, 0.3. Fig. 5A is the average proportion of test cases passed per problem on Llama-3.3-70b-4-bit:
Swipe horizontally to read the table
Setting Easy Medium Overall Steering to C++ 89.5% 56.8% 73.2% Prompting C++ 79.4% 54.0% 66.6% Original (mostly Python) 89.1% 50.0% 69.5% - The authors state that after steering there are almost no syntax errors; algorithmic errors are more common. Across the three models, only 3 problem submissions required manual modification: one where both 70B models referenced a library unavailable on the site but the result was correct, and two where Llama-3.3-70b-4-bit wrote space-containing characters without spaces.
- The authors state that on this model, steering is higher than original output and direct C++ prompting, and overall higher than the steering results of the other two Llama models.
- On the other two models, steering to C++ has lower overall pass rates than original output: Llama-3.1-8b is 43.8% vs. 55.3%, Llama-3.1-70b-4-bit is 65.7% vs. 68.6% (Fig. S10). The authors state that across multiple ε, responses transition between "following original logic but in C++" and "following the logic when prompted C++".
Hallucination and toxic content monitoring
The six benchmarks are FAVABENCH, HaluEval General (HE-Gen), HaluEval-Wild (HE-Wild), PubMedQA, RAGTruth (from HaluBench), and ToxicChat. Fig. 6B compares Best judge (including three Llama models, GPT-4o, ToxicChat-T5-Large) with Best RFM-Probe AUROC:
Benchmark Best judge Best RFM-Probe FAVABENCH 0.713 0.791 HE-Gen 0.647 0.728 HE-Wild 0.801 0.924 PubMedQA 0.962 0.964 RAGTruth 0.817 0.894 ToxicChat 0.961 0.969 - The authors state that predictors trained on concept features outperform models that directly judge outputs, including GPT-4o and ToxicChat-T5-Large, on all six benchmarks. In Fig. 6B, the Best RFM-Probe column is higher than Best judge in all cases; the smallest gap is PubMedQA.
- In Fig. 6A, on the same Llama, RFM-probe AUROC is higher than that model's judge numbers. The probe and judge use the same prompts.
- The authors state that in Table S8, RFM probes are on average better than linear regression and logistic regression probes, and only RFM exceeds GPT-4o on FAVABENCH.
Deception, transfer, and chain of thought
- Refusal and stance: Anti-refusal vectors make Llama-vision-3.2-90b-4-bit and Llama-3.3-70b-4-bit give operational instructions for dangerous requests they originally refused (Fig. 1B, Fig. 2A). Liberal or conservative vectors make Llama-vision, which originally refused to take a stance, adopt the corresponding stance (Fig. 2B). Outputs are not reproduced here.
- Transfer and mixing: Social media influencer and conspiracy theory vectors extracted from English data can be directly used on Chinese and French prompts (Fig. 3A, B). Linear combinations can steer toward two concepts simultaneously (Fig. 3C, D). The appendix also shows steering between human languages and non-binary concepts like scoring.
- Deception and chain of thought: With a negative coefficient on the deception vector, the authors state that two DeepSeek-R1 distilled models are more honest across 75 scenarios, while a positive coefficient makes them more deceptive (Fig. S5; ε for 8B is −0.5 to 0.5, for 70B is −0.2 to 0.2). During extraction, full texts with honest or dishonest endings are fed, not the model generating deception at that time. The authors state that steering the chain of thought improves performance on 887 letter-counting problems (Table S6), and that overly strong steering makes the model keep reasoning without outputting an answer.
Other ablations and analyses
- Fig. 4C, RFM, moods: Llama-3.1-8b 99.0%, Llama-3.1-70b-4-bit 69.6%, Llama-3.3-70b-4-bit 87.8%.
- Fig. 4C, RFM, experts: 55.1%, 27.5%, 70.6% for the three models respectively.
- Fig. 4C, RFM, topophiles: 21.3%, 84.6%, 90.8%. The authors state that this class rises from 21.3% on 8B to 90.8% on Llama-3.3-70b-4-bit.
- Fig. 4C, RFM, fears: 10.3%, 72.7%, 60.0%; personas: 59.4%, 60.2%, 89.2%.
- Fig. S10, Easy: Llama-3.1-8b original 81.6%, prompting C++ 72.0%, steering 70.7%; Llama-3.1-70b-4-bit is 87.2%, 86.2%, 83.8%.
- In the 512-concept evaluation, ε for the two 70B models is 0.4 to 0.45; the authors state that greater than 0.45 leads to continuous meaningless repetition. 8B uses 0.55 to 0.8.
What are some points that can be further explored?
The authors state that the source of linear structure, and why classification can extract steering vectors, remains unclear.
Limitations and future directions noted by the authors
- Source of linear structure: The Discussion states that how these linear structures arise from training and why they improve generalization remains unclear.
- Why classification and steering align: The Discussion calls two things key missing pieces: which concepts are linearly represented, and why classification-based methods can extract steering vectors. Figure 7 uses a schematic to illustrate that even if two classes are linearly separable, the classification direction can differ from the steering direction. The authors write with English-to-Hindi translation as an example: features that separate the two languages should not necessarily help translation, but in experiments they still work.
The paper has no separate Limitations section. The above two points come from the Discussion, not from explanations in experimental subsections.
Experimental coverage
- The models for quantitative comparison of four concept vector extraction methods are Llama-3.1-8b, Llama-3.1-70b-4-bit, and Llama-3.3-70b-4-bit. Qualitative examples also include Llama-vision-3.2-90b-4-bit; deception experiments use two DeepSeek-R1 distilled models; scoring steering examples use Gemma-2-9b and Llama-3-8b.
- The 512 concepts are divided into five categories: fears, experts, moods, topophiles, and personas, each with 5 questions and 6 fixed ε, judged by gpt-4o-2024-11-20 at temperature 0.
- Programming evaluation uses 25 Easy and 25 Medium HackerRank problems, with baselines being original outputs and prompting with C++; the submission site runs both public and private test cases.
- Monitoring covers FAVABENCH, HE-Gen, HE-Wild, PubMedQA, RAGTruth, and ToxicChat, with AUROC as the metric. Probes come from three Llama models; judges also include GPT-4o and ToxicChat-T5-Large.
- The paper does not report agreement between GPT-4o steering judgments and human annotations, nor does it report fold variance for Fig. 6. Deception evaluation uses 75 held-out scenarios; chain-of-thought testing uses 887 letter-counting problems.
Summarize the main content of the paper
RFM concept vectors are steerable and monitorable, and in some settings outperform prompting and direct judgment.
The authors use RFM to extract concept directions from activations of each block of large models, and use the same set of directions for steering and monitoring.
The question is whether linear directions for specified concepts can be stably extracted, and whether these directions can rewrite generation, expose or mitigate undesirable behavior, and monitor hallucination and toxic content. Unsupervised dictionaries do not guarantee alignment with specified concepts; the authors believe it remains unclear whether existing probes are sufficient.
On each block, kernel ridge regression is performed with prompts labeled 0/1, the principal eigenvector of AGOP is taken, and the sign is determined by Pearson correlation with the labels. For steering, the vector multiplied by ε is added to each row activation of that block; for multiple concepts, a linear combination is first formed. For monitoring, multiple feature vectors are taken and a classifier is trained on the projections. Training does not require target answer text.
- In Fig. 4C, RFM is overall higher than PCA, mean difference, and logistic regression across 512 concepts on three Llama models. Llama-3.1-8b, Llama-3.1-70b-4-bit, and Llama-3.3-70b-4-bit are 49.0%, 63.0%, and 79.8%, respectively. Within classes, performance does not always increase with scale; for example, RFM moods is 99.0% on 8B and 69.6% on Llama-3.1-70b-4-bit.
- In Fig. 5A, Llama-3.3-70b-4-bit steering to C++ has an overall test case pass rate of 73.2%, higher than prompting C++ at 66.6% and original output at 69.5%. In Fig. S10, the other two Llama models have overall steering pass rates lower than their respective original outputs.
- In Fig. 6B, Best RFM-Probe has higher AUROC than Best judge on all six monitoring benchmarks. HE-Wild is 0.924 vs. 0.801, PubMedQA is 0.964 vs. 0.962.
- Person vectors extracted from English can steer Chinese and French prompts. When the deception vector is given a negative coefficient, the authors state that DeepSeek distilled models are more honest across 75 scenarios.
The authors conclude that directly modifying internal activations can expose refusal failures, mitigate deception, and exceed plain prompting in some code and reasoning settings; using activations for monitoring also outperforms having the model directly judge outputs. The authors also state that why linear concept directions exist and why they can be extracted by classification remains an open question.
Related papers
- Detecting Strategic Deception Using Linear ProbesDefensesarXiv