Control Illusion: The Failure of Instruction Hierarchies in Large Language Models

Yilin Geng, Haonan Li, Honglin Mu, Xudong Han, Timothy Baldwin, Omri Abend, Eduard H. Hovy, Lea Frermann

TL;DR

Major LLM providers assume that system prompts naturally overrule user prompts when instructions conflict. This paper reveals that this "instruction hierarchy" is largely an illusion: current state-of-the-art LLMs consistently fail to prioritize system-level directives over user inputs, even for simple formatting rules. Surprisingly, models are much more obedient to implicit "societal hierarchies" (like a CEO's command or expert consensus) learned during pre-training than to their engineered post-training system/user roles.

What Problem Does This Paper Address?

As LLMs are increasingly woven into autonomous agents and applications, developers rely on the system prompt to set hard guardrails, safety rules, and operational constraints. The underlying assumption—explicitly stated in documents like OpenAI's 2024 Model Spec—is that developer (system) messages must take precedence over user messages to prevent prompt injection and maintain control.

However, we lack a systematic understanding of how well these hierarchies actually work. The authors address this gap by investigating whether LLMs possess a robust, generalized understanding of instruction priority when faced with explicitly conflicting directives between system and user roles.

Methods

The authors introduce a controlled evaluation framework based on verifiable constraint prioritization. They take a simple base task and inject two mutually exclusive, programmatically verifiable formatting constraints. One constraint is placed in the system prompt (designated as the primary/prioritized instruction) and the other is placed in the user prompt (the secondary instruction).

Figure 1: Systematic framework for evaluating instruction hierarchies.

To ensure the results aren't just artifacts of specific prompt phrasing, they test three distinct system/user configurations:

  1. Pure Separation: The primary constraint sits in the system message; the base task and secondary constraint sit in the user message.
  2. Task Repeated Separation: The base task description is repeated in both the system and user messages alongside their respective constraints.
  3. Emphasized Separation: The system prompt is reinforced with an explicit priority declaration ("You must always follow this constraint").

Beyond standard system/user roles, the authors also design an alternative framing to test latent hierarchical priors. They embed the conflicting instructions entirely within a single user message but attribute them to different nodes of a "societal hierarchy":

  • Organizational Authority: CEO vs. Intern.
  • Expertise Credibility: A peer-reviewed Nature publication vs. a personal blog.
  • Social Consensus: A majority agreement (90% of experts) vs. a minority suggestion.

To rigorously evaluate the outcomes, they develop specialized metrics, including the Primary Obedience Rate (R1), the Priority Adherence Ratio (PAR) (which isolates clear prioritization from noisy, general non-compliance), and Constraint Bias (CB) (which measures a model's default preference for a constraint when no priority is specified).

Datasets

The authors curated a dataset consisting of:

  • 100 Base Tasks: Open-ended yet structurally minimal tasks spanning creative writing, technical documentation, and business communication (e.g., "Write a blog post about a trip to Japan").
  • 6 Mutually Exclusive Constraint Pairs: Sourced and adapted from the IFEval benchmark, covering Language (English vs. French), Case (All Caps vs. Lowercase), Word Length, Sentence Count, Keyword Usage, and Keyword Frequency.

Combining 100 tasks with 6 constraint pairs across 2 priority directions yields 1,200 unique test data points. They also generated a Rich Context Enhancement version of each prompt using few-shot prompting to mimic more complex, real-world user interactions.

Key Insights and Ideas

  • The System/User Hierarchy is Fragile: Current post-training alignment paradigms (instruction tuning and safety guardrails) fail to instill a dependable abstract hierarchy. When system and user instructions clash, the model often treats them with equal weight or gets confused.
  • Inherent Constraint Biases Dominate: LLMs exhibit powerful, default behavioral tendencies that frequently override explicit priority settings. For instance, across all tested models, there is a massive inherent bias toward generating lowercase text over uppercase text, and a strong preference for writing longer responses with more sentences.
  • Pre-training Social Priors Trump Post-training Guardrails: The most striking "aha moment" of the paper is that models are significantly more sensitive to human social structures (like consensus or corporate authority) than to artificial system/user role markers. Because these societal dynamics are deeply embedded in the natural language web corpora used during pre-training, they function as powerful latent inductive biases.

Key Results

  • Dramatically Lower Performance: While the evaluated models (including GPT-4o, Claude 3.5 Sonnet, and Llama-3.1-70B) achieve 74.8%–90.8% accuracy when following constraints in isolation, their Primary Obedience Rate (R1) plummets to an average of 9.6% to 45.8% when conflicts are introduced.
  • Explicit Emphasis Helps, But Isn't Enough: Even when the system prompt explicitly commands the model to prioritize its instruction, the highest-performing model (GPT-4o) only achieved a 63.8% obedience rate on simple instructions.
  • Scale Doesn't Guarantee Control: Larger models do not automatically handle hierarchies better. For example, GPT-4o-mini actually outperformed its larger sibling, GPT-4o, in average priority adherence (45.8% vs 40.8%).
  • The Power of Consensus: Shifting the conflict to a societal framing drastically improved priority adherence. Under the social consensus framing ("90% of experts agree"), GPT-4o-mini’s Priority Adherence Ratio (PAR) shot up to 77.8% (compared to 47.5% under system/user role split), and the open-source Qwen-7B surged from 14.4% to 65.8%.

Limitations and Future Work

The authors acknowledge several boundaries to their study:

  • Single-Turn and Simple Constraints: The evaluation isolates the problem within single-turn interactions using straightforward formatting rules. It remains to be seen how instruction hierarchy failures compound in multi-turn conversations.
  • Abstract and Safety Controls: The framework does not directly test more complex forms of control, such as system-level safety guardrails vs. user-level jailbreak attempts, or complex agentic meta-prompts.
  • Mechanistic Underpinnings: The study identifies that these failures happen and which priors dominate, but the exact internal mechanisms causing pre-training social structures to override post-training role definitions remain unexplored. The authors point to this as a critical avenue for future architectural and training-level alignment research.

Summary updated

BibTeX
@inproceedings{geng2026control,
  author = {Yilin Geng and Haonan Li and Honglin Mu and Xudong Han and Timothy Baldwin and Omri Abend and Eduard H. Hovy and Lea Frermann},
  title = {{Control Illusion: The Failure of Instruction Hierarchies in Large Language Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i36.40339},
}
Figure