Deconstructing Instruction-Following: A New Benchmark for Granular Evaluation of Large Language Model Instruction Compliance Abilities
Alberto Purpura, Li Wang, Sahil Badyal, Eugenio Beaufrand, Adam Faulkner
TL;DR
This work introduces MOSAIC, a modular benchmark designed to isolate and diagnose instruction compliance in large language models by decoupling compliance from task performance through dynamically generated, application-oriented constraints. The framework builds a large, synthetic dataset and uses a suite of metrics (SCC, PCC, PosCC, PA) along with an LLM-as-a-judge to assess both single and interacting constraints, including their positions within prompts. Empirical results across multiple LLMs reveal that instruction-following is not monolithic; compliance varies with constraint type, quantity, and position, and models exhibit distinct positional biases (primacy vs. recency) and interaction patterns. MOSAIC thus provides a granular diagnostic tool with practical implications for prompt engineering and the development of more reliable, instruction-compliant LLM systems, while acknowledging limitations related to judge bias and synthetic data. It offers a pathway to targeted improvements in prompt design and model training to ensure strict adherence to complex instruction sets in real-world applications.
Abstract
Reliably ensuring Large Language Models (LLMs) follow complex instructions is a critical challenge, as existing benchmarks often fail to reflect real-world use or isolate compliance from task success. We introduce MOSAIC (MOdular Synthetic Assessment of Instruction Compliance), a modular framework that uses a dynamically generated dataset with up to 20 application-oriented generation constraints to enable a granular and independent analysis of this capability. Our evaluation of five LLMs from different families based on this new benchmark demonstrates that compliance is not a monolithic capability but varies significantly with constraint type, quantity, and position. The analysis reveals model-specific weaknesses, uncovers synergistic and conflicting interactions between instructions, and identifies distinct positional biases such as primacy and recency effects. These granular insights are critical for diagnosing model failures and developing more reliable LLMs for systems that demand strict adherence to complex instructions.
