LLMs obey higher-priority system instructions only 20-98% of time, tool-mediated conflicts far weaker
LLM hierarchy compliance varies widely and strong system-over-user compliance does not predict tool-over-user robustness
Software arXiv 28 Jul 2026 Benchmark Prototype evidence
Published as “\textsc{IH-Benchmark}: A Conflict-Centered Benchmark for Instruction-Hierarchy Robustness in LLM Applications”
Why it matters
The benchmark enables developers to pinpoint specific hierarchy-handling weaknesses before deploying LLM-based agents, improving safety and reliability.
Summary
Instruction-hierarchy compliance varies dramatically across LLMs, ranging from 98.2% to 20.5%; strong performance on system-vs-user conflicts does not predict robustness to user-vs-tool conflicts, and constraint hardening helps weak models but not uniformly.
What they found 4
- Overall hierarchy compliance spans from near-perfect to very low across models.
“hierarchy compliance ranges from 98.2% to 20.5%.”
- Models can be highly compliant on S≻U while performing poorly on U≻T.
“Grok 4.20 (R), achieve near-perfect S ≻U compliance (96.9%) while performing relatively poorly on U ≻T (65.6%).”
- Constraint hardening improves U≻T compliance on average but benefits are uneven.
“On the U ≻T track, constraint hardening also improves average compliance, but the effect is less uniform across weak models.”
- The hardest S≻U constraint family is forbid-tools-all with only 52.4% compliance.
“the single most difficult constraint family is forbid-tools-all (52.4%), where models must refuse all tool calls regardless of the user’s request.”
Caveats 4
- Of the five models that score higher on U ≻T than S ≻U, the margin is small in every case with U ≻T compliance only exceeding S ≻U by at most 11.3%.
- IH-B focuses on bounded single-task scenarios, which isolate individual hierarchy conflicts but do not cover longer multi-turn settings where new user instructions, memory updates, retrieved context, or tool-mediated state accumulate over time.
- The benchmark covers a selected set of domains, with asymmetry across tracks based on where each domain naturally fits.
- Most constraint families (35/44) were hand-authored by the authors; the remainder, primarily output- and formatrelated, were suggested by GPT-5.3 as a coverage check and then manually reviewed and filtered.
What’s new here 4
- A purpose-built benchmark that evaluates both system-user (S≻U) and user-tool (U≻T) hierarchy conflicts.
- Procedurally generated 2,336 scenarios from a human-authored taxonomy of 44 constraint families.
- Uniform binary pass/fail evaluation using a predicate DSL combined with category-scoped LLM judges.
- Includes agent simulators and an evaluation harness for tool-mediated, agentic settings.