Abstract
As large language models (LLMs) are integrated into everyday applications, research into prompt engineering techniques (PET) to improve these models’ behavior has surged. However, clear methodological guidelines for evaluating these techniques are lacking. This raises concerns about the replicability and generalizability of the prompt engineering techniques’ benefits. We support our concerns with a series of replication experiments focused on zero-shot prompt engineering techniques purported to influence reasoning abilities in LLMs. We tested GPT-3.5, GPT-4o, Gemini 1.5 Pro, Claude 3 Opus, Llama 3, Vicuna, and BLOOM on the chain-of-thought, EmotionPrompting, Sandbagging, Re-Reading, Rephrase-and-Respond (RaR), and ExpertPrompting prompt engineering techniques. We applied them on manually double-checked subsets of reasoning benchmarks including CommonsenseQA, CRT, NumGLUE, ScienceQA, and StrategyQA. Our findings reveal a general lack of statistically significant differences across nearly all techniques tested, highlighting, among others, several methodological weaknesses in previous research. To counter these issues, we propose recommendations for establishing sound benchmarks, and designing rigorous experimental frameworks to ensure accurate and reliable assessments of model outputs.
Introduction
The field of Prompt Engineering Techniques (PET) has seen a proliferation of claims that specific phrases—such as "Let’s think step by step" or "This is very important to my career"—can significantly enhance the reasoning capabilities of Large Language Models (LLMs). However, many of these "breakthroughs" suffer from a lack of methodological rigor, often relying on inconsistent benchmarks or failing to report statistical significance. This study investigates the "replication crisis" in prompt engineering, questioning whether these techniques provide genuine reasoning improvements or are merely artifacts of flawed experimental design.
Methodology
The researchers conducted conceptual replication experiments across six prominent zero-shot, single-pass PETs:
- Zero-shot Chain-of-Thought (CoT)
- Sandbagging
- EmotionPrompting
- Re-Reading
- Rephrase-and-Respond (RaR)
- ExpertPrompting
The evaluation involved state-of-the-art models including GPT-3.5, GPT-4o, Gemini 1.5 Pro, Claude 3 Opus, and Llama 3 (8B and 70B). To ensure data quality, the team manually audited and selected 150 "faultless" questions from five diverse reasoning benchmarks: CommonsenseQA, CRT, NumGLUE, ScienceQA, and StrategyQA (total $n=750$). Outputs were classified using a hybrid approach of Regex-based matching and LLM-as-a-judge (GPT-4o), followed by manual audits.
Results and Discussion
The experimental results suggest that the marginal utility of popular PETs is diminishing as models become more advanced and "reasoning-aligned." For top-tier models like GPT-4o and Claude 3 Opus, most techniques resulted in an average accuracy improvement of 0%.
Key findings include:
- Vanishing Gains: Modern models may already internalize reasoning patterns like CoT by default.
- Verbosity Bias: Techniques like CoT often lead to longer responses, which LLM-judges tend to favor even when factually incorrect.
- Model Dependency: While Re-Reading and RaR showed significant gains, these were limited to the Llama 3 family on specific benchmarks, indicating a lack of universality.
- Quality vs. Accuracy: ExpertPrompting improved the "professionalism" of responses but often at the cost of factual accuracy.
Recommendations for Rigorous Evaluation
To address the lack of replicability, the authors propose a shift toward more robust benchmarking and evaluation frameworks. This includes moving away from saturated benchmarks and adopting standardized protocols to mitigate biases.
Future research should prioritize:
- Harder Benchmarks: Utilizing more challenging datasets like Humanity’s Last Exam to avoid ceiling effects.
- Standardized Evaluation: Implementing transparent, statistically sound pipelines for model assessment.
- Model-Adaptive Prompting: Shifting from "one-size-fits-all" prompts to calibrated instructions tailored to specific model architectures.
Summary updated