Stanford's DSPy Rewrites AI Benchmarks, Boosting Scores 6% and Reshuffling Rankings
A Stanford team wired DSPy into HELM and found that swapping one static prompt for structured ones lifts scores 6% and reshuffles rankings.
- Stanford's DSPy+HELM integration lifts benchmark accuracy 6% on average by swapping static prompts for structured ones.
- Leaderboard rankings flip on 5 of 7 benchmarks when models are evaluated near their prompt-tuned ceiling.
- Most of the gain comes from Zero-Shot chain-of-thought; optimizers like BFRS and MIPROv2 add tokens, not accuracy.
- Smaller open-source models benefit most; reasoning models like o3 Mini are largely insensitive to prompt choice.
- Code released as a HELM PR and standalone dspy-helm pipeline.
- Covers MMLU-Pro, GPQA, GSM8K, IFEval and medical benchmarks including MedCalc-Bench and Medbullets.
A new Stanford study finds that benchmark scores measure both model capability and compatibility with a static evaluation prompt. Replacing HELM’s standard prompt with a small set of structured prompting methods produced an average 6% performance gain and changed model rankings on five of seven benchmarks.
The research paper integrates DSPy, Stanford’s declarative prompting framework, with HELM, the Center for Research on Foundation Models’ evaluation suite. The authors test four frontier language models and two open-source models on general and medical tasks, then compare the structured-prompt results with HELM’s existing baseline scores.
One prompt can tilt the field
HELM, short for Holistic Evaluation of Language Models, typically runs each model with the same static prompt configuration. Model behavior depends heavily on instructions, formatting, demonstrations, and requests for intermediate reasoning, so a shared prompt can favor models whose training better matches its wording and structure.
That sensitivity complicates leaderboard comparisons. A lower score may reflect weaker task performance, poor prompt compatibility, or both. Teams choosing models for production can therefore underrate a capable model before testing the prompt formats it handles best, especially on medical benchmarks where small ranking changes may affect validation and procurement decisions.
Inside the HELM-DSPy bridge
DSPy represents a prompting workflow as a program with declared inputs and outputs. Modules such as Predict and ChainOfThought turn that declaration into model-facing instructions, while optimizers can search over instruction wording and few-shot examples.
The integration starts with HELM’s baseline task instruction, generates structured variants through DSPy, and sends each variant back through HELM’s evaluation pipeline. This preserves HELM’s benchmark logic while varying the prompt strategy in a standardized, reproducible way.
This story is for Pro members
You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.