Text and Patterns: For Effective Chain of Thought It Takes Two to Tango
Aman Madaan* Amir YazdanbakhshCarnegie Mellon University Email: Contribution) Affiliation: Google Research, Brain Team
Abstract
In the past decade, we witnessed dramatic gains in natural language processing and an unprecedented scaling of large language models. These developments have been accelerated by the advent of few-shot techniques such as chain of thought (CoT) prompting. Specifically, CoT pushes the performance of large language models in a few-shot setup by augmenting the prompts with intermediate steps. Despite impressive results across various tasks, the reasons behind their success have not been explored. This work uses counterfactual prompting to develop a deeper understanding of CoT-based few-shot prompting mechanisms in large language models. We first systematically identify and define the key components of a prompt: symbols, patterns, and text. Then, we devise and conduct an exhaustive set of deliberated experiments across four different tasks, by querying the model with counterfactual prompts where only one of these components is altered. Our experiments across three models—PaLM, GPT-3, and Codex—reveal several surprising findings and brings into question the conventional wisdom around few-shot prompting. First, the presence of factual patterns in a prompt is practically immaterial to the s
原文 arXiv:2209.07686;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2209.07686v2