Skip to content

Chain-of-thought prompting helped larger models most

In standard few-shot prompting, each example pairs a question with its answer. In chain-of-thought prompting, each example also carries the reasoning between them: "a series of intermediate natural language reasoning steps that lead to the final output." The model is shown how to reason and is expected to write its own steps for a new question.

The paper's finding about scale is the part to remember. Chain of thought "does not positively impact performance for small models," and the gains in these experiments generally grew with model size. The paper's text puts the turning point at roughly 100B parameters, but its own Table 2 shows PaLM 62B on GSM8K rising from 9.6% to 29.9%, while LaMDA 68B moved from 5.7% to only 8.2%. Smaller models wrote fluent chains that were not logical, and scored below standard prompting. An appendix says it hurt most models under 10B parameters.

For the largest model the gain was large. On GSM8K math word problems, PaLM 540B scored 17.9% with standard prompting and 56.9% with chain of thought, an increase of 39.0 points. The paper compares that with 55% for a fine-tuned GPT-3 that used a verifier.

What follows for your own prompts? The result is for these models and these tasks. If a chain-of-thought prompt makes a small model's answers worse, that is consistent with the paper, not a sign that you wrote the examples badly.

Wei et al., NeurIPS 2022, §1, §3.2, Appendix A.1, and Table 2