TL;DR
Batch prompting significantly increases Large Language Model (LLM) throughput by processing multiple queries at once, but it usually comes at the cost of unpredictable downstream accuracy. Cascaded Batch Prompting solves this problem by splitting the task into two distinct stages: a batched free-form reasoning stage and a separate symbol-grounding stage. This simple decoupling eliminates the performance penalty of batching, establishing a new state of the art on the speed-vs-accuracy Pareto frontier.
What Problem Does This Paper Address?
Running inference on LLMs at scale is notoriously expensive and slow. To improve efficiency, practitioners often use batch prompting, which groups multiple independent inputs into a single prompt context.
While batch prompting dramatically increases throughput, it suffers from a major flaw: unpredictable performance degradation. In multiple-choice or classification tasks, batching can cause an LLM's accuracy to fluctuate wildly or drop significantly compared to standard single-instance prompting.
The authors identify the root cause of this unpredictability as a conflation of two distinct cognitive tasks:
- Complex Reasoning: Figuring out the actual answer to the question.
- Symbol Grounding: Adhering to strict formatting constraints (e.g., mapping that answer to a specific option like "A" or "B") across multiple instances simultaneously.
Forcing an LLM to handle both tasks at once under the pressure of batch processing creates a cognitive bottleneck that hurts performance.
Methods
To alleviate this cognitive load, the authors propose Cascaded Batch Prompting, a two-stage approach that disentangles reasoning from formatting:
- Stage (i) - Reasoning: The LLM is given a batch of inputs and prompted to answer them in a free-form manner (generating the class label name directly, like "Debussy" or "entailment"). Because the model doesn't have to worry about mapping its thoughts to strict multiple-choice symbols ("A", "B", "C"), it can focus entirely on the core reasoning task.
- Stage (ii) - Symbol Grounding: The generated free-form answers are passed to a second, lightweight prompt that maps each text answer to its corresponding constrained output symbol (e.g., mapping "Debussy" to "B").
Datasets
The method was evaluated on two widely recognized benchmarks:
- MMLU (Massive Multitask Language Understanding): Used to evaluate multiple-choice question answering (MCQA).
- MNLI (Multi-Genre Natural Language Inference): Used to evaluate natural language inference (NLI) classification.
The authors tested these datasets across three prominent models: GPT-4.1, GPT-4.1-mini, and the open-weight Phi-4.
Key Insights and Ideas
- Cognitive Division of Labor: Much like human workflows benefit from task specialization, LLMs perform better when their generation process is modularized. Separating "thinking" from "formatting" yields cleaner results.
- Batching Isn't Inherently Flawed: The performance drops seen in conventional batch prompting aren't caused by the model being confused by multiple inputs. Instead, they are caused by the compounding difficulty of formatting multiple outputs under strict constraints.
- Pronounced Benefits for Smaller Models: The performance gains of Cascaded Batch Prompting were particularly massive for smaller models like GPT-4.1-mini and Phi-4. This suggests that task decomposition is crucial when working within tighter computational or parameter-bound cognitive limits.
Key Results
- Higher Accuracy: On the MMLU dataset using GPT-4.1, Cascaded Batch Prompting achieved an accuracy of 86.81%, outperforming both conventional batch prompting (85.51%) and standard single prompting (84.39%).
- Scalability: Unlike conventional batching, which degrades sharply as more instances are added, the cascaded approach remains highly robust and stable even as batch sizes scale up to 64 and 128.
- The Pareto Frontier: The proposed method successfully delivers the throughput speedups of batching while actually improving accuracy over single prompting, redefining the optimal trade-off curve between cost and performance.
Limitations and Future Work
- Task Applicability: The evaluation was intentionally restricted to classification and multiple-choice tasks where free-form reasoning must map back to a strict, closed set of symbols. How well this framework adapts to open-ended generation tasks remains to be seen.
- Inference Overhead: Because the pipeline introduces a second stage, it processes roughly 1.2 times more tokens overall than conventional batch prompting. The authors argue this minor cost overhead is a necessary and worthwhile trade-off to eliminate the unpredictability of standard batching.
Summary updated