Structured Prompting Enables More Robust Evaluation of Language Models

Asad Aali, Muhammad Ahmed Mohsin, Vasiliki Bikia, Arnav Singhvi, Richard Gaus, Suhana Bedi, Hejie Cui, Miguel Fuentes, Alyssa Unell, Yifan Mai, Jordan Cahoon, Michael A. Pfeffer, Roxana Daneshjou, Sanmi Koyejo, Emily Alsentzer, Christopher Potts, Nigam H. Shah, Akshay S. Chaudhari · DOI

Abstract

Standard Large Language Model (LLM) benchmarks often rely on fixed, hand-crafted prompts that may inadvertently favor certain models while underestimating others. This research introduces a framework combining DSPy and HELM to systematically optimize prompts, revealing that "structured prompting" increases average performance by 4%, flips leaderboard rankings on nearly half of tested benchmarks, and makes evaluations significantly more robust.

Introduction: The Brittleness of Fixed Prompts

In the current LLM landscape, the prompt serves as the primary interface. However, most major benchmarks—such as the Holistic Evaluation of Language Models (HELM)—evaluate models using a single, fixed prompt for every task. This approach creates a "brittleness" in evaluation. Because models are highly sensitive to prompt design, a fixed prompt might capture a model's performance "floor" rather than its "ceiling" (its maximum achievable performance).

If Model A outperforms Model B on a fixed prompt, it is unclear if Model A is fundamentally more capable or if the prompt simply aligned better with its training data. To make benchmarks truly decision-useful for engineers and researchers, evaluation must approximate the performance ceiling through scalable, automated prompt optimization.

Methodology: DSPy + HELM

The researchers integrated DSPy, a declarative framework for programmatically optimizing prompts, with the HELM evaluation suite. Instead of manual "prompt engineering," they employed four distinct prompting strategies to identify the performance ceiling:

  1. HELM Baseline: The standard, fixed, hand-crafted prompt.
  2. Zero-Shot CoT (Chain-of-Thought): Using DSPy to automatically structure the prompt to elicit step-by-step reasoning.
  3. BFRS (Bootstrap Few-Shot with Random Search): An optimizer that automatically selects the best few-shot examples from a training set.
  4. MIPROv2: A sophisticated optimizer that jointly tunes both instructions and few-shot examples using Bayesian search.
Overview of the structured prompting framework and its impact on performance analysis and ranking robustness.

The study evaluated four frontier models—Claude 3.7 Sonnet, Gemini 2.0 Flash, GPT-4o, and o3-Mini—across seven diverse benchmarks spanning general reasoning (MMLU-Pro, GPQA, GSM8K) and specialized medical knowledge (MedCalc-Bench, Medec, HeadQA, MedBullets).

Key Results and Performance Gains

The most striking finding was that rankings flipped on 3 out of 7 benchmarks once prompts were optimized. For instance, on MMLU-Pro, the baseline showed o3-Mini outperforming Claude 3.7 Sonnet, but at the performance "ceiling" achieved through optimization, Claude took the lead.

Comparison of performance across different prompting methods for frontier models, showing significant gains over the HELM baseline.

Structured prompting improved average performance by 4% across all benchmarks. Furthermore, evaluation became more consistent; the standard deviation of performance estimates decreased by approximately 2%. While advanced optimizers like MIPROv2 reached the highest ceilings, they were token-heavy. Zero-Shot CoT emerged as the "sweet spot," providing the majority of performance gains with minimal additional token overhead (~160 tokens vs ~1,700 for few-shot methods).

Insights: Reasoning as a Stabilizer

The research suggests that introducing Chain-of-Thought (CoT) does more than just improve accuracy; it reduces a model's sensitivity to prompt variations. The authors argue that once a model generates a solid reasoning path, the final answer becomes less dependent on the specific nuances of the initial prompt.

Interestingly, "reasoning-native" models like o3-Mini showed consistent but smaller gains (~2.3%), while standard frontier models like GPT-4o and Claude 3.7 saw much larger jumps (~5%). This suggests that structured prompting is essential to uncover the true capabilities of non-reasoning-specialized models.

Conclusion

The study concludes that public leaderboards should move away from single-prompt scores. To provide a truly robust evaluation, performance should be reported across multiple structured prompting styles. This shift ensures that we are measuring a model's actual intelligence rather than its accidental alignment with a specific, hand-crafted prompt.

Summary updated

BibTeX
@misc{aali2025structured,
  author = {Asad Aali and Muhammad Ahmed Mohsin and Vasiliki Bikia and Arnav Singhvi and Richard Gaus and Suhana Bedi and Hejie Cui and Miguel Fuentes and Alyssa Unell and Yifan Mai and Jordan Cahoon and Michael A. Pfeffer and Roxana Daneshjou and Sanmi Koyejo and Emily Alsentzer and Christopher Potts and Nigam H. Shah and Akshay S. Chaudhari},
  title = {{Structured Prompting Enables More Robust Evaluation of Language Models}},
  year = {2025},
  eprint = {2511.20836},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.20836},
}
Figure