[Paper Review] An automatically discovered chain-of-thought prompt generalizes to novel models and datasets
The study shows that zero-shot chain-of-thought prompts generalize across multiple new LLMs and datasets, with GPT-4 benefiting notably from an automatically discovered CoT prompt.
Emergent chain-of-thought (CoT) reasoning capabilities promise to improve performance and explainability of large language models (LLMs). However, uncertainties remain about how reasoning strategies formulated for previous model generations generalize to new model generations and different datasets. In this small-scale study, we compare different reasoning strategies induced by zero-shot prompting across six recently released LLMs (davinci-002, davinci-003, GPT-3.5-turbo, GPT-4, Flan-T5-xxl and Cohere command-xlarge) on a mixture of six question-answering datasets, including datasets from scientific and medical domains. Our findings demonstrate that while some variations in effectiveness occur, gains from CoT reasoning strategies remain robust across different models and datasets. GPT-4 has the most benefit from current state-of-the-art reasoning strategies and exhibits the best performance by applying a prompt previously discovered through automated discovery.
Motivation & Objective
- Assess how zero-shot chain-of-thought prompting strategies perform across different model generations (including GPT-4) and diverse QA datasets.
- Evaluate the robustness and generalizability of CoT prompts discovered via automated methods.
- Compare a range of reasoning strategies against direct prompting on scientific, medical, and common-sense QA tasks.
- Investigate which prompts retain effectiveness across datasets and models, and identify any dataset- or model-specific effects.
Proposed method
- Use ThoughtSource as the data framework to assemble six multiple-choice QA datasets spanning commonsense, science, and medical domains.
- Construct ten zero-shot reasoning prompts (one baseline, two existing, seven novel designs) including a self-critique variant.
- Evaluate six instruction-tuned models (davinci-002, davinci-003, GPT-3.5-turbo, GPT-4, Flan-T5-xxl, Command-xlarge) via zero-shot prompting under fixed temperature and token constraints.
- Measure agreement with gold answers using Krippendorff’s alpha, bootstrapping (1000 samples) to compute means and 95% CIs.
- Analyze dataset- and model-specific effects and report per-model and per-dataset performance.
Experimental results
Research questions
- RQ1Do zero-shot CoT prompts discovered for previous model generations generalize to newer LLMs and unseen datasets?
- RQ2How does the automatically discovered CoT prompt compare to established prompts (e.g., Kojima, Zhou) across models and datasets?
- RQ3Which datasets show the most robust gains from CoT prompting, and which models benefit most from these strategies?
- RQ4Are there notable limitations or model/dataset-specific issues that affect CoT effectiveness?
- RQ5What is the overall performance hierarchy among models when using CoT prompts versus direct prompting?
Key findings
- Grounding results show that prompting with reasoning generally outperforms direct prompting across model prompts and datasets.
- GPT-4 achieves the highest benefits from reasoning prompts, with Zhou’s automatically discovered prompt retaining strong performance across models (alpha around 0.68–0.78 depending on setup).
- Self-critique prompts perform comparatively poorly and can produce multiple answers that were excluded from scoring.
- WorldTree v2 and CommonsenseQA become easier for better models; StrategyQA shows dataset-specific weaknesses requiring further dataset refinement.
- GPT-3.5-turbo and GPT-4 yield the strongest model-wide performance, with GPT-4 showing the best overall results among tested models (e.g., averaged alpha ~0.78).
- Flan-T5-xxl performs well for its size but may be affected by data contamination from training on some sub-datasets.
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.