We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Computation and Language

Title: Synthetic Prompting: Generating Chain-of-Thought Demonstrations for Large Language Models

Abstract: Large language models can perform various reasoning tasks by using chain-of-thought prompting, which guides them to find answers through step-by-step demonstrations. However, the quality of the prompts depends on the demonstrations given to the models, and creating many of them by hand is costly. We introduce Synthetic prompting, a method that leverages a few handcrafted examples to prompt the model to generate more examples by itself, and selects effective demonstrations to elicit better reasoning. Our method alternates between a backward and forward process to generate new examples. The backward process generates a question that match a sampled reasoning chain, so that the question is solvable and clear. The forward process produces a more detailed reasoning chain for the question, improving the quality of the example. We evaluate our method on numerical, symbolic, and algorithmic reasoning tasks, and show that it outperforms existing prompting techniques.
Comments: Preprint
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2302.00618 [cs.CL]
  (or arXiv:2302.00618v1 [cs.CL] for this version)

Submission history

From: Zhihong Shao [view email]
[v1] Wed, 1 Feb 2023 17:33:12 GMT (173kb,D)

Link back to: arXiv, form interface, contact.