cs.CLOct 23, 2026

Position, Role or Label? A Controlled Study of Instruction Conflicts in LLM Agents

Authors: Anish Laddha, Nitesh Pradhan, Gaurav Srivastava

Organizations: Department of Computer Science and Engineering, LNMIIT, India · Department of Computer Science, Virginia Tech, USA

Abstract

LLM agents take instructions from the operator, repository configuration, user, tool results and saved memory, which often conflict. Instruction-hierarchy benchmarks ask whether the higher-ranked source wins, but a source sets position, role and label at once. First, we build WhoWins, 1,080 code-scored scenarios in five task types, each with up to five mutually exclusive instructions, and seven controlled experiments that vary only how instructions are delivered. Second, we study 14 open-weight models (0.6B to 122B, thinking off and on) over 1,887,356 scored replies, checking main findings on held-out scenarios. Inside one message the first of two conflicting lines wins 72.42 to 94.66%, and across messages it keeps 22.95 to 62.65%. A policy sent first in the system (or developer) message loses most conflicts with later lines in every Qwen model but wins most on gpt-oss when it acts. In tool and file-write tasks it wins less often than the same text sent first as a labelled user message, in every model-mode. Third, we test whether pairs forecast larger conflicts; forecasts improve in every model-mode once they know where the task line is. Finally, by our keyword patterns at most 2.92% of decided pair replies flag or hedge a conflict.

Figures & tables

Appendix figures & tables23 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Many-Tier Instruction Hierarchy in LLM Agents

    Apr 10, 2026Jingyu Zhang, Tianjian Li, William Jurayj +3LLM AgentsAI Agent Safety Benchmarks

  2. How Language Models Choose Sides: Internal Representations of Instruction Hierarchy

    Aug 16, 2026Enrique Balp-Straffon, Chih-Hao Hsu, Rushiraj Gadhvi +3Causal Interventions in Language ModelsLanguage Model Probing

  3. PRIME: Evaluating Prompt Resolution Under Incompatible Instructions in LLMs

    Jun 21, 2026Tehreem Javed, Shumaim Fatimah, Masooma Bakhtiari +2LLM EvaluationLanguage Model Generation Evaluation