IHEval: Evaluating Language Models on Following the Instruction Hierarchy
Abstract
The instruction hierarchy, which establishes a priority order from system messages to user messages, conversation history, and tool outputs, is essential for ensuring consistent and safe behavior in language models (LMs). Despite its importance, this topic receives limited attention, and there is a lack of comprehensive benchmarks for evaluating models' ability to follow the instruction hierarchy. We bridge this gap by introducing IHEval, a novel benchmark comprising 3,538 examples across nine tasks, covering cases where instructions in different priorities either align or conflict. Our evaluation of popular LMs highlights their struggle to recognize instruction priorities. All evaluated models experience a sharp performance decline when facing conflicting instructions, compared to their original instruction-following performance. Moreover, the most competitive open-source model only achieves 48% accuracy in resolving such conflicts. Our results underscore the need for targeted optimization in the future development of LMs.
Community
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Find the Intention of Instruction: Comprehensive Evaluation of Instruction Understanding for Large Language Models (2024)
- UltraIF: Advancing Instruction Following from the Wild (2025)
- M-IFEval: Multilingual Instruction-Following Evaluation (2025)
- Language Models Struggle to Achieve a Consistent Temporal Representation of Facts (2025)
- LLMs can be easily Confused by Instructional Distractions (2025)
- TinyHelen's First Curriculum: Training and Evaluating Tiny Language Models in a Simpler Language Environment (2024)
- SeDi-Instruct: Enhancing Alignment of Language Models through Self-Directed Instruction Generation (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 1
Spaces citing this paper 0
No Space linking this paper