AI
New benchmark reveals how language models handle conflicting instructions at different priority levels
Researchers find significant variation in how well models follow instructions when given conflicting directives from system prompts, users, and tools—with notable gaps between different conflict types.
Determining which instruction a large language model actually obeys when it receives contradictory orders remains a critical open question for safe deployment. A new benchmark called IH-Benchmark tackles this challenge by systematically testing how robustly different models maintain instruction hierarchy when facing conflicting guidance.
The core problem#
When an LLM receives competing directives—say, a system prompt demanding one behavior while a user requests another—which priority does it respect? The issue becomes more complex in tool-use scenarios, where instructions can come from multiple sources competing for control over the model's output. Existing evaluation methods have only examined this problem piecemeal, typically focusing on isolated hierarchy components and relying on adapted public datasets with incomplete coverage of tool interactions.
How the benchmark works#
IH-Benchmark introduces a systematic evaluation framework organized around two main conflict types:
- Direct conflicts: System $\succ$ User (S $\succ$ U) — where system-level instructions clash with user requests
- Tool-mediated conflicts: User $\succ$ Tool (U $\succ$ T) — where user directives compete with tool constraints
Tests are grouped into seven constraint categories, with each evaluated using a consistent binary pass/fail system. The evaluation combines a specialized domain-specific language for precise predicate checking with LLM-based judges applying standardized rubrics.
Key findings#
Testing 32 model configurations across five runs each revealed substantial performance variation. Overall compliance rates ranged dramatically, from 32.9% to 97.8%. Models showed notably better adherence to system-user conflicts (84.6% average compliance) compared to user-tool conflicts (69.6%), indicating a critical asymmetry.
The results highlighted an important caveat: strong performance on direct S $\succ$ U conflicts does not predict comparable robustness on U $\succ$ T conflicts. This suggests that vulnerability in one instruction hierarchy doesn't necessarily indicate weakness elsewhere. The researchers also found that prompt-based defenses like constraint hardening can help but yield inconsistent benefits depending on the model and how instructions are presented. Models demonstrated uneven resilience—some blocked unauthorized tool actions effectively while succumbing more readily to injected instructions designed to alter language or factual content.

