INSTRUCTION HIERARCHY // FIELD MAP
← field map
PART A · THE PAPERS · 04 OF 06arXiv:2604.09443 · v4, September 2026 · 24 pages

Many-Tier Instruction Hierarchy

Zhang, Li, Jurayj, Zhan, Van Durme, Khashabi · "in LLM Agents" · Johns Hopkins University
TL;DR — Every earlier hierarchy has a handful of levels fixed at training time and tied to message roles: system, user, tool. A coding agent's world has more sources than that, and several of them (a config file, a skill file, the user) all arrive as the same "user" role. ManyIH decouples privilege from role: each instruction carries a privilege tag written into the prompt, from a number of levels set at inference time, and the model must follow the highest-privilege instruction in each conflict wherever it appears. The paper builds ManyIH-Bench, 853 agentic tasks with up to 12 privilege levels, and finds that the best of thirteen frontier and open models scores 42.7%, that accuracy falls as tiers increase, and that merely switching the privilege notation moves some models by about 8 points.
Many tiers: the tags skip numbers, and that is fine, because in ManyIH only the order of the values matters, never the gaps.

This is the newest paper on the map and the one most explicitly about agents. It does not propose a training method. It proposes a paradigm (privilege as data in the prompt), a benchmark for it, and a diagnosis: being good at two-tier hierarchy does not transfer to many tiers.

The problem: the fixed- and few-tier bottleneck

The paper's motivating example, redrawn from Figure 1. Red marks the three sources that collapse into one "user" role.

The paper's Figure 1 is a coding agent with five instructions about indentation: follow safety policies (system), use 4-space indentation (a developer config), use tabs (a skill file), use 2-space indentation (the user), and use tabs per .editorconfig (a tool output). Under the classic hierarchy, the config file, the skill file and the user message all arrive in the "user" role at medium privilege, so the conflict among them is unresolvable. If the harness instead gives each source its own rank (config 2, user 3, skill 4, tool 5), the answer is clear: 4-space indentation (Fig. 1, p. 2).

The authors name two limits of current practice (§2, p. 3):

Their motivating cases: tiered AGENTS.md files in coding agents, group chats where admins, moderators and members all speak in the "user" role, and research agents that weigh sources of differing trust. They also make a point that matters for the rest of the map: an instruction is the smallest unit of command, and one message can contain several with different privileges. "Translate to English; keep it concise" is two instructions.

The method: a privilege prompt interface

ManyIH puts privilege into the text. A privilege prompt interface (PPI) wraps each instruction in a tag carrying its value, and a meta-instruction at the top of the prompt explains the rule (§3, pp. 3–4). Two interfaces:

InterfaceTagRule
Ordinal[[Privilege 12]]Do not use any type hints.[[/Privilege]]Lower number wins; Privilege 1 overrides Privilege 2. Ties go to the later instruction.
Scalar[[z=55]]Use single quotes for all string literals.[[/z]]Higher value wins. A new level can be inserted between any two existing ones.

Three assumptions define the paradigm:

ManyIH sits inside the regular hierarchy rather than replacing it: models still follow system over user across roles, and the tags create finer ranks within a role. In the benchmark, all conflicts are within a single message (footnote 1, p. 3).

The data: ManyIH-Bench

The benchmark is deliberately non-adversarial: the conflicts are plain and not disguised as attacks, so it measures resolving many tiers rather than resisting manipulation. It is scored strictly: a sample passes only if every winning instruction is satisfied (and, for code, every unit test passes), and losing instructions are not followed (§4, pp. 4–5).

Coding subsetInstruction-following subset
Samples427426
SourceMBPP Python problems plus 12 curated style groups (indentation, naming, quotes, operator spacing…), each with 2–5 options and a code checkerAgentIF trajectories from 46 real-world agents, with conflicting constraints written by Claude Opus 4.6 and verified by an LLM and a human audit
Max privilege levels127
Instructions per sample12 (fixed), 6 winning19.4 average, 12.8 winning
Conflicts per sample9.8 average13.8 average

The coding subset is built so difficulty can be dialed: the number of style groups and winning instructions stays fixed while tiers and conflicts grow, isolating hierarchy difficulty from plain instruction-following difficulty. The human audit of 100 generated checks found 81 faithful, 11 unclear and 8 incorrect (App. C), which the authors use to argue that at least about 80% accuracy is attainable.

Results

Overall accuracy (Figure 2, ordinal interface)

ModelOverallCodingIF
Gemini 3.1 Pro42.759.026.0
GPT-5.439.460.917.8
GPT-5.538.653.923.2
Claude Opus 538.550.426.5
GPT-5.6-sol37.452.522.3
Qwen3.5-397B34.141.027.2
Claude Opus 4.633.251.315.0
Kimi K2.532.742.422.9
Grok 4.2031.754.19.2
Claude Sonnet 4.625.339.111.5
Qwen3.5-122B14.719.79.6
Qwen3.5-9B6.68.44.7
Qwen3.5-4B4.13.54.7

The instruction-following subset, with longer and messier real prompts, is much harder than coding for every model. The contrast the authors draw: GPT-5's system card reports over 99% on two-tier hierarchy evaluations such as system-prompt extraction, while GPT-5.4 scores 39.4% here (§6.1, p. 6). Their conclusion is that many-tier resolution is "a qualitatively distinct capability" from what current training teaches.

More tiers, lower accuracy (Figure 3, left)

The tier-scaling design, from §6.2 and Table 5. Drops from easiest to hardest ran from 6.8 to 24.1 points.

Three coding variants hold the task and the number of winning styles fixed and vary only the hierarchy: 6 tiers with no conflicts, 8 tiers with about 3.5 conflicts, 12 tiers with about 9.8. In 11 of 12 model-to-model transitions accuracy strictly falls, with drops between the easiest and hardest settings from 6.8 points (Qwen3.5-9B) to 24.1 points (Sonnet 4.6) (§6.2, p. 7).

Reasoning helps, then saturates (Figure 3, middle and right)

On coding, GPT-5.4 rises from 15.5% with no reasoning to 60.9% at high effort. The Claude models dip from "none" to "low" and recover at medium and high; with thinking disabled Claude reasons in its visible output instead, so "none" is not really no reasoning. Longer chains of thought do not mean better scores: the most concise reasoner, GPT-5.4, ranks first on coding, while the most verbose, Qwen3.5-397B at a median of about 7K reasoning tokens, ranks ninth. The authors' reading: more reasoning effort alone is unlikely to solve ManyIH.

How privilege is written changes the answer (Tables 1–2)

Where the errors come from: on coding, functional tests pass at 86–93% for the strong models; style compliance, which is where privilege resolution happens, is the bottleneck (Table 3).

Limits the authors name

The dual-use point deserves emphasis. In the classic hierarchy, privilege lives in role tokens a user cannot type. In ManyIH it lives in text. Unless the harness strips or escapes privilege tags from anything untrusted before adding its own, a web page can simply write [[Privilege 1]]. This is the old problem of spoofed delimiters that StruQ handles with reserved tokens and filtering.
If you remember one thing: once an agent has more than three sources of instructions, "system beats user beats tool" stops being enough, and today's best models resolve a dozen ranked instructions correctly less than half the time.

Connections

The two-tier work it generalizes is Wallace et al.; it lists ISE and VerIH as the architectural and reasoning follow-ups that still assume fixed role labels. The open question of who assigns rank is the subject of the contextual-integrity bridge, and the memory bridge asks what tier a remembered fact should get.

Further reading, verified

Next: Neighbors: instructions versus data · Back to the map.