Steering When Necessary: Flexible Steering Large Language Models with Backtracking
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have achieved remarkable performance across many generation tasks. Nevertheless, effectively aligning them with desired behaviors remains a significant challenge. Activation steering is an effective and cost-efficient approach that directly modifies the activations of LLMs during the inference stage, aligning their responses with the desired behaviors and avoiding the high cost of fine-tuning. Existing methods typically indiscriminately intervene to all generations or rely solely on the question to determine intervention, which limits the accurate assessment of the intervention strength. To this end, we propose the Flexible Activation Steering with Backtracking (FASB) framework, which dynamically determines both the necessity and strength of intervention by tracking the internal states of the LLMs during generation, considering both the question and the generated content. Since intervening after detecting a deviation from the desired behavior is often too late, we further propose the backtracking mechanism to correct the deviated tokens and steer the LLMs toward the desired behavior. Extensive experiments on the TruthfulQA dataset and six multiple-choice datasets demonstrate that our method outperforms baselines. Our code will be released at https://github.com/gjw185/FASB.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 32 of its 39 references that are in the map. First posted on arXiv 25 Aug 2025.
Builds on
32 of 39 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
20 more
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,009
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 960
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2023In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steeringcited by 240
- 2024Programming Refusal with Conditional Activation Steeringcited by 191
- 2017Constructing Datasets for Multi-hop Reading Comprehension Across Documentscited by 190
- 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 149
- 2024IMAGDressing-v1: Customizable Virtual Dressingcited by 100
- 2024V-Express: Conditional Dropout for Progressive Training of Portrait Video Generationcited by 85
- 2024Adaptive Activation Steering: A Tuning-Free LLM Truthfulness Improvement Method for Diverse Hallucinations Categoriescited by 74
- 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectorscited by 61
- 2023Self-Detoxifying Language Models via Toxification Reversalcited by 45
- 2023Truth Forest: Toward Multi-Scale Truthfulness in Large Language Models through Intervention without Tuningcited by 45
- 2025Differentially Private Steering for Large Language Model Alignmentcited by 15
- 2025Contrastive Prompting Enhances Sentence Embeddings in LLMs through Inference-Time Steeringcited by 13
- 2024Ensembling Diffusion Models via Adaptive Feature Aggregationcited by 12
- 2025UORA: Uniform Orthogonal Reinitialization Adaptation in Parameter-Efficient Fine-Tuning of Large Modelscited by 11
- 2024Low-Rank Interconnected Adaptation across Layerscited by 10
- 2025Advanced Sign Language Video Generation with Compressed and Quantized Multi-Condition Tokenizationcited by 9
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025Base Models Know How to Reason, Thinking Models Learn Whencited by 25
- 2026Spherical Steering: Geometry-Aware Activation Rotation for Language Modelscited by 17
- 2025RegionMarker: A Region-Triggered Semantic Watermarking Framework for Embedding-as-a-Service Copyright Protectioncited by 4
- 2026PARALLAX: Separating Genuine Hallucination Detection from Benchmark Construction Artifactscited by 3
- 2026Residual Paving: Diagnosing the Routing Bottleneck in Selective Refusal Editingcited by 0
- 2026Test-Time Unlearning via Sparse Autoencodercited by 0
- 2026Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMscited by 0
- 2026Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs26 Sep 2026
- 2026Test-Time Unlearning via Sparse Autoencoder14 Sep 2026
- 2026Residual Paving: Diagnosing the Routing Bottleneck in Selective Refusal Editing18 May 2026
- 2026PARALLAX: Separating Genuine Hallucination Detection from Benchmark Construction Artifacts16 May 2026
- 2026Spherical Steering: Geometry-Aware Activation Rotation for Language Models9 Feb 2026
- 2025RegionMarker: A Region-Triggered Semantic Watermarking Framework for Embedding-as-a-Service Copyright Protection17 Nov 2025
- 2025Base Models Know How to Reason, Thinking Models Learn When8 Oct 2025