Abstract
As large language models (LLMs) are increasingly applied to real-world scenarios, it becomes crucial to understand their ability to follow multiple instructions simultaneously. To systematically evaluate these capabilities, we introduce two specialized benchmarks for fundamental domains where multiple instructions following is important: Many Instruction-Following Eval (ManyIFEval) for text generation with up to ten instructions, and Style-aware Mostly Basic Programming Problems (StyleMBPP) for code generation with up to six instructions. Our experiments with the created benchmarks across ten LLMs reveal that performance consistently degrades as the number of instructions increases. Furthermore, given the fact that evaluating all the possible combinations of multiple instructions is computationally impractical in actual use cases, we developed three types of regression models that can estimate performance on both unseen instruction combinations and different numbers of instructions which are not used during training. We demonstrate that a logistic regression model using instruction count as an explanatory variable can predict performance of following multiple instructions with approximately 10% error, even for unseen instruction combinations. We show that relatively modest sample sizes (500 for ManyIFEval and 300 for StyleMBPP) are sufficient for performance estimation, enabling efficient evaluation of LLMs under various instruction combinations.
Introduction: The "And" Complexity
In typical production environments, a prompt is rarely a single task. It often involves a chain of constraints: "Summarize this in under 200 words, using bullet points, avoiding jargon, and starting every sentence with a capital letter." While Large Language Models (LLMs) excel at individual tasks, their ability to juggle multiple simultaneous constraints—the "And" type of complexity—remains a critical bottleneck.
Existing benchmarks often conflate task difficulty with the number of instructions or rely on subjective "LLM-as-a-judge" metrics. This research addresses the lack of controlled experimental data showing exactly how LLM performance scales as constraints are added.
The ManyIFEval and StyleMBPP Benchmarks
To study this phenomenon, the researchers introduced two new benchmarks designed for programmatic verification:
- ManyIFEval: Focused on text generation, featuring combinations of up to 10 instructions (e.g., keyword requirements, formatting, punctuation rules).
- StyleMBPP: Focused on code generation, extending 500 basic Python problems with up to 6 style constraints (e.g., "no tabs," "docstrings required," "variable name length limits").
By using rule-based verification (Python scripts, Pylint), the authors bypassed the biases of LLM judges, ensuring objective scoring of whether a model actually followed every instruction.
Methodology: Objective Verification and Modeling
The study treated instruction-following as a statistical problem. Beyond measuring raw performance, the researchers tested three types of regression models—Naive Estimators, Beta-Binomial, and Logistic Regression—to see if they could predict a model's performance on a high number of instructions (e.g., 10) based on its performance on a lower number (e.g., 5).
They also analyzed the impact of internal Chain-of-Thought (CoT) planning by comparing standard base models against reasoning-heavy models like DeepSeek-R1 and OpenAI's o3-mini.
Results: The Instruction-Following Tax
The most significant finding is the "Juggling Penalty." While a model might maintain high accuracy on individual instructions in isolation, its Prompt-level Accuracy (the ability to satisfy all instructions simultaneously) collapses as the number of instructions ($n$) increases.
Key performance highlights include:
- GPT-4o's Decay: On ManyIFEval, GPT-4o's prompt-level accuracy plummets from 0.94 for a single instruction to just 0.21 for 10 instructions.
- Reasoning Resilience: Models using explicit reasoning traces (like o3-mini) performed significantly better, maintaining 0.78 accuracy even at the 10-instruction limit. Their internal logs show them systematically "checking off" constraints.
- Predictable Failure: LLM failure is not random. A simple logistic regression model using only the instruction count as a variable predicted performance on unseen combinations with only ~10% error.
Discussion and Future Directions
The research demonstrates that LLM performance degrades predictably, allowing for efficient evaluation. Testing a modest sample (around 500 for ManyIFEval) is sufficient to build a reliable performance estimation model, removing the need to test every possible combination of instructions.
However, the study focuses on "low-level" verifiable instructions (formatting, keywords). Future work is needed to address "high-level" semantic instructions and to investigate the mechanistic reasons—such as attention score distribution—behind why models fail to attend to the 8th or 9th constraint in a sequence.
Summary updated