Introduction
While Large Language Models (LLMs) are becoming increasingly adept at following simple, straightforward instructions, they often stumble when faced with multi-layered, logical constraints. Instruction following is the bedrock of LLM utility, yet existing benchmarks—such as IFEval or FollowBench—primarily focus on what the constraints are (e.g., "write 100 words," "use JSON format") rather than how they are structured.
In the real world, human instructions are rarely just a flat list of requirements. They involve complex composition, including:
- Sequential dependencies: "First do A, then do B based on A."
- Conditional logic: "If the text contains X, do Y; otherwise, do Z."
- Nesting: "Within the summary, ensure every bullet point follows these three rules."
Because existing evaluation methods usually just average the scores of individual constraints, they fail to capture the cascading failures that occur when a model misunderstands the underlying logic. To address this, researchers have introduced ComplexBench, a new benchmark that treats instructions as complex dependency trees rather than simple checklists.
Methodology: Evaluating Logical Composition
The researchers developed a comprehensive framework centered on three main innovations to better evaluate LLM performance on complex tasks:
- Hierarchical Taxonomy: The team categorized instructions into four constraint types (Lexical, Format, Semantic, Utility) across 19 dimensions. Crucially, these are combined via four composition types: And (simultaneous constraints), Chain (sequential steps), Selection (conditional "if-then" logic), and Nested Structure.
- Rule-Augmented LLM-based (RAL) Evaluation: Standard LLM-based grading often fails at objective tasks like counting words or checking for specific keywords. The RAL approach solves this by using an LLM to extract relevant segments of the response, then applying hard-coded rules for objective constraints. An LLM "judge" is only used for subjective semantic checks.
- Dependency-based Aggregation: Instead of simple averaging, the final score is calculated based on the instruction's logic. If a model fails a prerequisite step in a "Chain," all subsequent dependent steps are automatically marked as failures, mirroring real-world task completion.
The ComplexBench Dataset
To power this evaluation, the authors created ComplexBench, consisting of 1,150 high-quality instructions and 5,306 manually crafted scoring questions. Sourced from real-world application scenarios, the dataset includes both "general" and "professional" user prompts. It distinctly differs from existing sets by explicitly including "Selection" and "Nested" structures, which are prevalent in professional use cases but rare in current benchmarks. The dataset is available in both Chinese and English.
Key Insights and Results
Testing state-of-the-art models on ComplexBench revealed several critical insights into the current limitations of LLMs:
- Composition is the Real Test: Models that perform well on individual constraints often fall apart when those constraints are chained together. The "Selection" (conditional) and "Chain" (sequential) types proved significantly more difficult for models than the standard "And" composition.
- The Professional Complexity Gap: "Professional" instructions are far more likely to contain complex nested and conditional logic compared to "general" instructions. This suggests that current LLMs might struggle more in specialized work environments than in casual chat applications.
- Decomposition Isn't a Silver Bullet: Interestingly, when researchers manually broke complex instructions into multi-turn dialogues (decomposition), performance actually decreased for models like GPT-3.5. This is likely due to "error accumulation"—a mistake in an early turn cascades through the rest of the interaction.
- State-of-the-Art Performance: GPT-4 (specifically GPT-4-1106) achieved the highest score (0.800 DRFR), but it still failed to fully satisfy 20% of the complex instructions. Meanwhile, top-tier open-source models like Llama-3-70B-Instruct and Qwen1.5-72B-Chat are closing the gap, outperforming older closed-source models, though they still struggle significantly with deep nesting.
- Evaluation Reliability: The proposed RAL evaluation method achieved an impressive 87.82% agreement rate with human graders, significantly higher than the 75.18% achieved by direct LLM scoring. This proves that a "rules + LLM" hybrid is a much more reliable judge than an LLM alone.
Limitations and Future Work
While ComplexBench represents a significant step forward, it has limitations. The benchmark was primarily constructed based on Chinese reference instructions, which may introduce a monolingual bias and miss cultural or linguistic nuances in other languages. Additionally, the RAL evaluation method is computationally expensive, requiring multiple LLM calls for extraction and evaluation per instruction. Finally, like all "LLM-as-a-judge" systems, there remains a risk of inherent biases, such as favoring longer responses.
Future work will focus on expanding the benchmark to more languages and investigating more efficient, cost-effective ways to evaluate these complex dependency structures.
Summary updated