Instruction Stacking Collapse: A Benchmark and the Capability-Dependent Value of Prompt Compilation
Atul Anand, Sourav Chattaraj
Abstract
Production prompts rarely carry a single instruction. One system message may require valid JSON, a word limit, three citations, and a fixed tone at the same time. We study how instruction-following degrades as such constraints accumulate. We introduce a benchmark that stacks 24 verifier-checked instructions, one to twenty at a time, and evaluate three production-tier LLMs (Claude Sonnet 4.6, GPT-5-mini, Gemini 2.5 Flash). Instruction-following degrades non-linearly: the follow rate falls from ~96% to as low as 20%, driven by a structured and reproducible set of pairwise conflicts. A single "output JSON" constraint, for example, is jointly unsatisfiable with nine others. We then evaluate a training-free remedy: an instruction compiler that rewrites the stacked prompt in a single LLM call and is reused across queries. Its benefit is capability-graded. It recovers up to +11 points of follow rate for weaker models, which are also the models most often deployed at scale, while leaving stronger models, which already internalise the same structure, essentially unchanged. Cluster-robust tests, same-baseline controls, and a within-family scaling ladder attribute the gain to the rewrite itself rather than to additional tokens, reordering, or measurement headroom. We release the benchmark, verifiers, and cached runs for full reproduction.
Create a lesson
Related papers
From 6G Capabilities to Software-Business Value: A Multivocal Review of Characteristics, Opportunities, Challenges
Shared title terminology · Muhammad Zohaib, Azeem Akbar, Sami Hyrynsalmi et al.
Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations
Shared title terminology · Sidney Shapiro, Sanad Al-Khatib, Aurora Pinzón Arzola et al.
SWE-Recreation: Benchmarking Coding Agents for Software Recreation
Shared title terminology · Zhiyao Xu, Zhanjie Ding, Hongyao Yu et al.
DVBench: End-to-End Benchmark for Real-World UVM Design Verification Agents
Shared title terminology · Jiaru Qian, Jiawei Li, Xiaolong Hu et al.
Think Before You Code: A Benchmark for Testing LLMs on Software Engineering Deliberation
Shared title terminology · Ashman Mehra
A Taxonomy and Taxonomy-Guided Benchmark Reduction for Spreadsheet Tasks
Shared title terminology · Bogdan Vasilescu, Emerson Murphy-Hill, Anikesh Parashar et al.