Training LLMs to Enforce Multi-Level Instruction Hierarchies via Gravity-Weighted Direct Preference Optimization
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
Production LLMs receive instructions from sources with very different levels of trust, yet attend to every token with uniform architectural privilege. This is the structural vulnerability that enables malicious prompt injections and, more broadly, leaves models without a principled way to resolve conflicts between legitimate but competing instructions. A common training-based response is to teach models an explicit instruction hierarchy; existing approaches, however, formalize hierarchies of only three or four levels, treat all violations as equally severe, and rarely evaluate the full set of pairwise level interactions. We formalize a k-level instruction hierarchy problem and instantiate it for k=5, yielding ten pairwise priority relations that a compliant model must enforce. We then introduce Gravity-Weighted DPO (GW-DPO), a preference-optimization objective whose per-sample offset scales with the structural distance between conflicting levels under a linear or bilateral schedule, the latter weighting severity by both the privilege gap and the privilege of the victim level. Combined with hierarchy-specific delimiter tokens (Chen et al., 2025) and Instructional Segment Embeddings (ISE; Wu et al., 2025), GW-DPO with the bilateral schedule Pareto-improves over standard DPO and the linear variant on Llama-3.1-8B-Instruct, raising macro pairwise priority adherence while keeping over-refusal at half the standard DPO rate. Ablations isolate ISE as a refusal-threshold calibrator and recast five- versus three-level training as a generality-specialization tradeoff.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 27 of its 41 references that are in the map. First posted on arXiv 9 Jun 2026.
Builds on
27 of 41 references.
Closest ancestors · 4
Same direction, newest first
- 2024sDPO: Don't Use Your Data All at Once28 Mar
- 2024Curry-DPO: Enhancing Alignment using Curriculum Learning & Ranked Preferences12 Mar
- 2024Direct Preference Optimization with an Offset16 Feb
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 23
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
11 more
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attackcited by 390
- 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
- 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
- 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 145
- 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 106
- 2024Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchycited by 67
- 2025IHEval: Evaluating Language Models on Following the Instruction Hierarchycited by 53
- 2024Curriculum Direct Preference Optimization for Diffusion and Consistency Modelscited by 36
- 2025Control Illusion: The Failure of Instruction Hierarchies in Large Language Modelscited by 33
- 2025ASIDE: Architectural Separation of Instructions and Data in Language Modelscited by 24
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Hierarchical Alignment: Enforcing Hierarchical Instruction-Following in LLMs through Logical Consistency
- 2026Many-Tier Instruction Hierarchy in LLM Agents
- 2026IH-Challenge: A Training Dataset to Improve Instruction Hierarchy on Frontier LLMs
- 2025Reasoning Up the Instruction Ladder for Controllable Language Models
- 2025BLEUBERI: BLEU is a surprisingly effective reward for instruction following
- 2026Do as I Say, Not as I Do: Instruction-Induction Conflict in LLMs
- 2026HIPO: Instruction Hierarchy via Constrained Reinforcement Learning
- 2026Instruction Quality Matters: Refining Instructions for Effective Preference Learning