IFHierBench: Hierarchical Instruction Following for Large Language Models

Yuetian Mao, Chunyang Chen
7/30/2026
cs.AIcs.CL

No official code found. Best implementation: RedSmallPanda/IFHierBench (0 stars, last commit 2026-05-25).

Abstract

Instruction-following ability is critical for deploying large language models in real-world applications, where downstream components depend on the output satisfying specific constraints. Modern deployments increasingly handle the full task in a single LLM call, with one prompt specifying a layered output whose overall artifact, structural sections, and nested fields must each satisfy concrete constraints. Existing instruction-following benchmarks treat the constraint set as a flat list applied uniformly to the response, so they cannot scope a check to a particular section of the output. We introduce IFHierBench, a hierarchical instruction-following benchmark of 600 prompts stratified across four constraint-tree depths and 35 distinct constraints, each prompt paired with a deterministic checker that verifies satisfaction at every scope. Evaluating seven leading proprietary and open-weight models, we find that even the strongest model only marginally exceeds 50% prompt-level accuracy and that accuracy degrades sharply as constraint depth grows. Reliably following nested constraints remains a substantial gap for current LLMs, motivating future training methods that consider constraint adherence at finer granularity to achieve better instruction-following ability.

View on arXivView PDF

Code Implementations(1)

Resources for paper "IFHierBench: Hierarchical Instruction Following for Large Language Models"

00May 25, 20264 months ago

Similar Papers

Cite this paper

@article{mao2026ifhierbench,
  title  = {IFHierBench: Hierarchical Instruction Following for Large Language Models},
  author = {Yuetian Mao and Chunyang Chen},
  year   = {2026},
  eprint = {2607.27912},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.27912v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.27912.svg)](https://codeofpaper.com/paper/2607.27912)

Discussion