[Paper Review] The Unreasonable Effectiveness of Eccentric Automatic Prompts
The paper quantifies how “positive thinking” system messages affect LLMs and shows automatic prompt optimization generally outperforms manual prompts across GSM8K, with notable model-specific quirks.
Large Language Models (LLMs) have demonstrated remarkable problem-solving and basic mathematics abilities. However, their efficacy is highly contingent on the formulation of the prompt. This study endeavors to quantify the influence of incorporating "positive thinking" into the system message of the prompt, then compare that to systematic prompt optimization. We assess the performance of 60 combinations of system message snippets, tested with and without Chain of Thought prompting, across three models with parameters ranging from 7 to 70 billion on the GSM8K dataset. Our findings reveal that results do not universally generalize across models. In most instances, the inclusion of "positive thinking" prompts positively affected model performance. Notably, however, Llama2-70B exhibited an exception when not utilizing Chain of Thought, as the optimal system message was found to be none at all. Given the combinatorial complexity, and thus computation time, of experimenting with hand-tuning prompts for large black-box models, we then compared the performance of the best "positive thinking" prompt against the output of systematic prompt optimization. We show that employing an automated prompt optimizer emerges as the most effective method for enhancing performance, even when working with smaller open-source models. Additionally, our findings reveal that the highest-scoring, automatically-optimized prompt exhibits a degree of peculiarity far beyond expectations.
Motivation & Objective
- Assess how adding optimistic system messages (“positive thinking”) influences LLM performance on multi-step math problems.
- Compare manual prompting to automatic prompt optimization in terms of performance and generalization.
- Evaluate whether effects vary across models and prompt strategies on GSM8K.
Proposed method
- Test 60 system-message prompt combinations (5 openers × 3 task descriptions × 4 closers) with and without Chain of Thought (CoT).
- Evaluate on GSM8K using Exact Match (EM) scoring with three models (Mistral-7B, Llama2-13B, Llama2-70B) at 10–100 questions subsets.
- Use in-context learning with four example prompts to shape output format.
- Compare manual positive-thinking prompts to DSPy automatic prompt optimization on identical question subsets.
- Analyze generalization via performance delta between optimization and evaluation sets.
- Highlight the notably different prompts generated by automatic optimization.
- ],
- research_questions':['Does adding “positive thinking” snippets to the system prompt improve GSM8K math problem-solving across models?','How does automatic prompt optimization compare to manually tuned “positive thinking” prompts in terms of average performance and generalization?','Are model-specific trends observed in the effectiveness of prompting strategies (CoT, prompt invariance, etc.)?','What are the practical implications for prompting large black-box models given combinatorial prompt variation?'],
- key_findings':['Automatic prompt optimization generally matches or exceeds the performance of manually tuned “positive thinking” prompts across models and question counts.','Some exceptions exist: manual prompts outperform automatic optimization for Mistral-7B at 10–25 questions and Llama2-70B at 10 questions.','For Llama2-13B and Llama2-70B, automatically optimized prompts show lower generalization error (delta) across sizes, suggesting better generalization.','Without Chain of Thought prompting, prompt variance is low and “positive thinking” often does not improve performance; with CoT, prompts tend to yield larger gains and more variability.','The highest-scoring automatically generated prompts can be remarkably unconventional (e.g., Star Trek-themed prefixes) and still outperform hand-crafted prompts.','A reproducibility concern is highlighted: publishers’ reported scores can diverge significantly from results obtained on identical prompts; prompts must be published to enable replication.'],
- table_headers":[],
- table_rows":[] }{
Experimental results
Research questions
- RQ1Does adding “positive thinking” snippets to the system prompt improve GSM8K math problem-solving across models?
- RQ2How does automatic prompt optimization compare to manually tuned “positive thinking” prompts in terms of average performance and generalization?
- RQ3Are model-specific trends observed in the effectiveness of prompting strategies (CoT, prompt invariance, etc.)?
- RQ4What are the practical implications for prompting large black-box models given combinatorial prompt variation?
Key findings
- Automatic prompt optimization generally matches or exceeds the performance of manually tuned “positive thinking” prompts across models and question counts.
- Some exceptions exist: manual prompts outperform automatic optimization for Mistral-7B at 10–25 questions and Llama2-70B at 10 questions.
- For Llama2-13B and Llama2-70B, automatically optimized prompts show lower generalization error (delta) across sizes, suggesting better generalization.
- Without Chain of Thought prompting, prompt variance is low and “positive thinking” often does not improve performance; with CoT, prompts tend to yield larger gains and more variability.
- The highest-scoring automatically generated prompts can be remarkably unconventional (e.g., Star Trek-themed prefixes) and still outperform hand-crafted prompts.
- A reproducibility concern is highlighted: publishers’ reported scores can diverge significantly from results obtained on identical prompts; prompts must be published to enable replication.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.