Steering Instruction Hierarchies at Inference Time
Not on the map. Why?
Abstract (arXiv)
Instruction hierarchies are a core safety assumption of language model deployment: higher priority inputs, such as system prompts, should override conflicting lower priority inputs from users or tools. Yet frontier LLMs often violate this hierarchy. We introduce V-Steer, a training-free inference time method that restores privileged influence by editing cached value vectors at prompt positions. Using direct logit attribution on the first next token prediction, V-Steer identifies heads where lower priority spans dominate privileged ones, then boosts privileged spans and suppresses conflicting lower priority spans through in-place multiplicative edits to cached V tensors. Since the method acts only on cached values, it remains compatible with fused attention backends and adds only a one time prefill overhead. Across models from 7B to 70B, this attribution guided intervention raises primary constraint accuracy from under 18% up to 92% on controlled role conflict benchmarks, and on broader instruction hierarchy evaluations substantially outperforms prompt only baselines while matching or exceeding SoTA training based methods on 3 of 4 scales of LLMs, with negligible decoding-speed overhead. The code is available at https://github.com/cindy2000sh/v-steer.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 28 Jul 2026.
Builds on
29 of 37 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2025OpenAI GPT-5 System Cardcited by 910
17 more
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 189
- 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 135
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 82
- 2025Effectively Controlling Reasoning Models through Thinking Interventioncited by 63
- 2024Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchycited by 62
- 2025IHEval: Evaluating Language Models on Following the Instruction Hierarchycited by 48
- 2025A Closer Look at System Prompt Robustnesscited by 31
- 2025Control Illusion: The Failure of Instruction Hierarchies in Large Language Modelscited by 31
- 2024SysBench: Can Large Language Models Follow System Messages?cited by 26
- 2025Spotlight Your Instructions: Instruction-following with Dynamic Attention Steeringcited by 18
- 2026IH-Challenge: A Training Dataset to Improve Instruction Hierarchy on Frontier LLMscited by 14
- 2025KV Cache Steering for Controlling Frozen LLMscited by 8
- 2025Reasoning Up the Instruction Ladder for Controllable Language Modelscited by 5
- 2025Who is In Charge? Dissecting Role Conflicts in Instruction Followingcited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.