Automatic Chain of Thought Prompting in Large Language Models

AI-generated keywords: Chain-of-thought prompting Large language models Automated demonstrations Reasoning chains Auto-CoT

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors Zhuosheng Zhang, Aston Zhang, Mu Li, and Alex Smola explore chain-of-thought (CoT) prompting in large language models (LLMs)
  • Two major paradigms within CoT prompting: simple prompt for step-by-step thinking vs. manual demonstrations with reasoning chains
  • Manual demonstrations typically outperform simple prompts due to task-specific nature
  • Auto-CoT method proposed to automate generation of reasoning chains in LLMs using "Let's think step by step" prompt
  • Emphasis on diversity in constructing demonstrations to address errors in automatically generated chains
  • Experiments show Auto-CoT matching or surpassing traditional CoT methods on ten public benchmark reasoning tasks using GPT-3
  • Code repository available at https://github.com/amazon-research/auto-cot for further exploration and implementation
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Zhuosheng Zhang, Aston Zhang, Mu Li, Alex Smola

Abstract: Large language models (LLMs) can perform complex reasoning by generating intermediate reasoning steps. Providing these steps for prompting demonstrations is called chain-of-thought (CoT) prompting. CoT prompting has two major paradigms. One leverages a simple prompt like "Let's think step by step" to facilitate step-by-step thinking before answering a question. The other uses a few manual demonstrations one by one, each composed of a question and a reasoning chain that leads to an answer. The superior performance of the second paradigm hinges on the hand-crafting of task-specific demonstrations one by one. We show that such manual efforts may be eliminated by leveraging LLMs with the "Let's think step by step" prompt to generate reasoning chains for demonstrations one by one, i.e., let's think not just step by step, but also one by one. However, these generated chains often come with mistakes. To mitigate the effect of such mistakes, we find that diversity matters for automatically constructing demonstrations. We propose an automatic CoT prompting method: Auto-CoT. It samples questions with diversity and generates reasoning chains to construct demonstrations. On ten public benchmark reasoning tasks with GPT-3, Auto-CoT consistently matches or exceeds the performance of the CoT paradigm that requires manual designs of demonstrations. Code is available at https://github.com/amazon-research/auto-cot

Submitted to arXiv on 07 Oct. 2022

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2210.03493v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "Automatic Chain of Thought Prompting in Large Language Models," authors Zhuosheng Zhang, Aston Zhang, Mu Li, and Alex Smola explore the concept of chain-of-thought (CoT) prompting in large language models (LLMs). They highlight two major paradigms within CoT prompting: one that uses a simple prompt like "Let's think step by step" to encourage step-by-step thinking before answering a question, and another that involves manual demonstrations composed of questions and reasoning chains leading to answers. The latter paradigm typically outperforms the former due to the task-specific nature of manually crafted demonstrations. The authors propose an innovative approach to streamline the process of generating reasoning chains for demonstrations in LLMs through their method called Auto-CoT. By leveraging the "Let's think step by step" prompt, they aim to automate the generation of these chains one by one, eliminating the need for manual demonstration design. However, they note that automatically generated chains may contain errors. To address this challenge, they emphasize the importance of diversity in constructing demonstrations. Through experiments on ten public benchmark reasoning tasks using GPT-3, Auto-CoT consistently matches or surpasses the performance of traditional CoT prompting methods that rely on manual demonstration designs. The authors provide access to their code repository at https://github.com/amazon-research/auto-cot for further exploration and implementation. Overall, this research sheds light on an efficient and effective approach to enhancing complex reasoning capabilities in LLMs through automated chain-of-thought prompting techniques.
Created on 19 Mar. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.