Gravity-weighted DPO improves multi-level instruction priority adherence while halving over-refusal
GW-DPO with a bilateral schedule Pareto-improves priority adherence and cuts over-refusal compared to standard DPO
AI/ML arXiv 9 Jun 2026 Method Prototype evidence
Published as “Training LLMs to Enforce Multi-Level Instruction Hierarchies via Gravity-Weighted Direct Preference Optimization”
Why it matters
The approach offers a practical way to reduce prompt-injection risk while preserving useful behavior, but its benefits trade off against higher refusal rates and limited generalization to flat-text scenarios.
Summary
GW-DPO with the bilateral schedule achieves the highest macro pairwise priority adherence (PPAmacro = 0.838) on a 5-level instruction hierarchy, while its over-refusal rate (ORR = 0.057) is about half that of standard DPO (ORR = 0.120). The method also improves the weighted hierarchy score (WHS = 0.885) and keeps conflict-completion at 100%. Evidence comes from a single 8B-parameter Llama model fine-tuned with LoRA and evaluated on a custom 5-level suite; the paper reports only one training seed. The results are strong but qualified by higher over-refusal than the linear schedule and lower flat-text generalization (PPAref = 0.793 vs 0.843 for the linear variant).
What they found 4
- GW-DPO (bilateral) attains PPAmacro = 0.838, the highest among all configurations.
“PPAmacro (↑) 0.245 0.332 0.838 0.719 0.814 0.677 0.778”
- GW-DPO (bilateral) reduces over-refusal to 0.057, roughly half the 0.120 rate of standard DPO.
“ORR (↓) 0.044 0.092 0.057 0.024 0.120 0.576 0.074”
- GW-DPO (linear) achieves the lowest over-refusal (0.024) and the highest flat-text PPAref macro (0.843).
“GW-DPO (lin.) has the lowest ORR of the seven configurations; GW-DPO (bi.) is next-lowest among the trained models.”
- On the reference (flat-text) split, GW-DPO (linear) scores the highest PPAref macro (0.843).
“On the reference (flat-text) split, GW-DPO (lin.) scores the highest PPAref macro; GWDPO (bi.) and standard DPO are close behind”
Caveats 6
- GW-DPO (bilateral) has a higher over-refusal rate (0.057) than the linear schedule (0.024).
- GW-DPO (bilateral) underperforms the linear variant on flat-text generalization (PPAref macro 0.793 vs 0.843).
- We train and evaluate only one base model, Llama-3.1-8B-Instruct, with LoRA adapters rather than full-parameter fine-tuning, and we report a single training seed per configuration.
- The 3-level (lin.) ablation is run with the linear schedule only, so our five-vs-three-level verdict cannot speak to whether the bilateral schedule would close the generalization gap at three levels.
- The (ρ, β) hyperparameter search is axial rather than joint, covering six of twelve cells under the assumption that the (α, β) interaction is mild.
- The held-out reward-accuracy metric on which the sweep is ranked saturates at the top, with all six configurations scoring at least 0.986 macro-average and the top three within 0.005 of one another, so the sweep does not discriminate strongly between the leading candidates.
What’s new here 4
- Introduces a gravity-weighted DPO loss that scales the per-sample margin by the hierarchical distance between conflicting instruction levels.
- Implements a bilateral schedule that weights severity by both the privilege gap and the victim level’s privilege.
- Extends instruction hierarchy training to five levels, covering ten pairwise priority relations, beyond prior three- or four-level work.
- Combines the loss with special delimiter tokens and Instructional Segment Embeddings to calibrate refusal thresholds.