Hierarchical Alignment: Enforcing Hierarchical Instruction-Following in LLMs through Logical Consistency
Not on the map. Why?
Abstract (arXiv)
Large language models increasingly operate under multiple instructions from heterogeneous sources with different authority levels, including system policies, user requests, tool outputs, and retrieved context. While prior work on instruction hierarchy highlights the importance of respecting instruction priorities, it mainly focuses on adversarial attacks and overlooks the benign but common instruction conflicts that arise in real-world applications. In such settings, models must not only avoid security violations but also preserve task utility and behavioral consistency when instructions partially or implicitly conflict. We propose Neuro-Symbolic Hierarchical Alignment (NSHA) for hierarchical instruction-following by explicitly modeling and enforcing instruction priorities. At inference time, we introduce solver-guided reasoning that formulates instruction resolution as a constraint satisfaction problem, enabling the model to derive a maximally consistent set of applicable instructions under hierarchical constraints. At training time, NSHA distills solver-based decisions into model parameters using automatically constructed supervision. We evaluate our approach on rule following, task execution, tool use, and safety, covering both single-turn and multi-turn interactions, and show that NSHA significantly improves performance under such conflicts while maintaining competitive utility in reference settings.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 29 of its 34 references that are in the map. First posted on arXiv 10 Apr 2026.
Builds on
29 of 34 references.
References · 29
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
17 more
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
- 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 268
- 2017A Semantic Loss Function for Deep Learning with Symbolic Knowledgecited by 267
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 237
- 2022Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanationscited by 159
- 2024Personalization of Large Language Models: A Surveycited by 100
- 2023Effective Prompt Extraction from Language Modelscited by 83
- 2024Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchycited by 62
- 2023TPTU: Large Language Model-based AI Agents for Task Planning and Tool Usagecited by 54
- 2025IHEval: Evaluating Language Models on Following the Instruction Hierarchycited by 48
- 2022Enhancing Self-Consistency and Performance of Pre-Trained Language Models through Natural Language Inferencecited by 40
- 2024Logically Consistent Language Models via Neuro-Symbolic Integrationcited by 30
- 2025Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluationcited by 27
- 2025Silent Leaks: Implicit Knowledge Extraction Attack on RAG Systems through Benign Queriescited by 19
- 2025Neuro-Symbolic Artificial Intelligence: Towards Improving the Reasoning Abilities of Large Language Modelscited by 19
- 2023Language Models with Rationalitycited by 15
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Reasoning Up the Instruction Ladder for Controllable Language Models
- 2026Many-Tier Instruction Hierarchy in LLM Agents
- 2026Do as I Say, Not as I Do: Instruction-Induction Conflict in LLMs
- 2026Neuro-Symbolic Verification on Instruction Following of LLMs
- 2026Training LLMs to Enforce Multi-Level Instruction Hierarchies via Gravity-Weighted Direct Preference Optimization
- 2025Context-Aware Hierarchical Learning: A Two-Step Paradigm towards Safer LLMs
- 2025MAIN: Mutual Alignment Is Necessary for instruction tuning
- 2026Where Instruction Hierarchy Breaks: Diagnosing and Repairing Failures in Reasoning Language Models