paper-with-me

Papers

Where Instruction Hierarchy Breaks: Diagnosing and Repairing Failures in Reasoning Language Models

2026-06-05 · Sanjay Kariyappa, G. Edward Suh arxiv

Reasoning language models deployed in agentic workflows must follow an instruction hierarchy: when instructions from different sources conflict, the model should obey the highest-privilege applicable instruction. Existing benchmarks largely measure this behavior end-to-end, asking whether the final response is compliant. However, a non-compliant response can arise from several distinct failures: the model may fail to identify the relevant instructions in context, fail to resolve conflicts among identified instructions, or correctly resolve the conflict in its reasoning while still producing a violating response. We introduce a white-box diagnostic framework that localizes instruction hierarchy failures into instruction identification, conflict resolution, and response realization, making failures more interpretable. We evaluate three reasoning models--Gemma-4-31B-IT, Qwen3.6-35B-A3B, and Claude Sonnet 4.6--on long-context adaptations of IHEval and IHChallenge, and find that the dominant failure mode varies across models, tasks, and context length. Building on the observation that models can often detect conflicts and output violations when explicitly prompted, we propose two training-free self-monitoring mechanisms: a parallel input monitor for low-latency conflict detection before generation, and a sequential output monitor for response-level review and repair. Across Gemma-4-31B-IT, Claude Sonnet 4.6, and GPT-5.3, the strongest monitor reduces rule-following non-compliance by 81-99%, with GPT-5.3 reductions of 86% under static attacks and 45% under adaptive attacks.

📄 PDF Abstract BibTeX arXiv:2606.07808

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions

2024-04-19 · Eric Wallace, Kai Xiao, Reimar Leike, Lilian Weng 외

Today's LLMs are susceptible to prompt injections, jailbreaks, and other attacks that allow adversaries to overwrite a model's original instructions with their own malicious prompts. In this work, we argue that one of th…

Instruction Following

IH-Challenge: A Training Dataset to Improve Instruction Hierarchy on Frontier LLMs

2026-03-11 · Chuan Guo, Juan Felipe Ceron Uribe, Sicheng Zhu, Christopher A. Choquette-Choo 외 arxiv

Instruction hierarchy (IH) defines how LLMs prioritize system, developer, user, and tool instructions under conflict, providing a concrete, trust-ordered policy for resolving instruction conflicts. IH is key to defending…

Reinforcement Learning

Diagnosing and Repairing Unsafe Channels in Vision-Language Models via Causal Discovery and Dual-Modal Safety Subspace Projection

2026-03-28 · Jinhu Fu, Yihang Lou, Qingyi Si, Shudong Zhang 외 arxiv

Large Vision-Language Models (LVLMs) have achieved impressive performance across multimodal understanding and reasoning tasks, yet their internal safety mechanisms remain opaque and poorly controlled. In this work, we pr…

IHEval: Evaluating Language Models on Following the Instruction Hierarchy

2025-02-12 · Zhihan Zhang, Shiyang Li, Zixuan Zhang, Xin Liu 외

The instruction hierarchy, which establishes a priority order from system messages to user messages, conversation history, and tool outputs, is essential for ensuring consistent and safe behavior in language models (LMs)…

Instruction Following

RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection

2025-10-06 · Yuxin Wen, Arman Zharmagambetov, Ivan Evtimov, Narine Kokhlikyan 외 arxiv

Prompt injection poses a serious threat to the reliability and safety of LLM agents. Recent defenses against prompt injection, such as Instruction Hierarchy and SecAlign, have shown notable robustness against static atta…

Reinforcement Learning