quiz image

Chain-of-Thought Prompting in Reasoning

ChivalrousSmokyQuartz avatar
ChivalrousSmokyQuartz
·
·
Download

Start Quiz

Study Flashcards

10 Questions

What is the main benefit of using chain-of-thought prompting in complex tasks?

It enables complex reasoning capabilities

What is the advantage of combining chain-of-thought prompting with few-shot prompting?

It provides better results on complex tasks

What is the main idea behind zero-shot CoT?

Adding 'Let's think step by step' to the original prompt

What is the main limitation of hand-crafting effective and diverse examples in chain-of-thought prompting?

It may result in suboptimal solutions

According to Zhang et al. (2022), what is the proposed approach to eliminate manual efforts in chain-of-thought prompting?

Leveraging LLMs with 'Let's think step by step' prompt

What is the advantage of using the prompt 'Let's think step by step'?

It is particularly useful where you don't have too many examples

Why is diversity of demonstrations important in the proposed approach?

To mitigate the effects of mistakes in generated chains

What is the main purpose of chain-of-thought prompting?

To enable complex reasoning capabilities

What is the main goal of Auto-CoT?

To construct demonstrations with diverse questions

What kind of heuristics are used in Auto-CoT to encourage simple and accurate demonstrations?

Length of questions and number of steps in rationale

Study Notes

Chain-of-Thought (CoT) Prompting

  • Enables complex reasoning capabilities through intermediate reasoning steps
  • Can be combined with few-shot prompting to achieve better results on complex tasks that require reasoning

Examples of CoT Prompting

  • Adding all the odd numbers (9, 15, 1) gives 25 → The answer is False
  • Adding all the odd numbers (17, 19) gives 36 → The answer is True
  • Adding all the odd numbers (11, 13) gives 24 → The answer is True
  • Adding all the odd numbers (17, 9, 13) gives 39 → The answer is False
  • Adding all the odd numbers (15, 5, 13, 7, 1) gives 41 → The answer is False

Zero-Shot CoT

  • Introduced by Kojima et al. (2022)
  • Involves adding "Let's think step by step" to the original prompt
  • Example: I went to the market and bought 10 apples... → Let's think step by step → Then you bought 5 more apples, so now you had 11 apples. Finally, you ate 1 apple, so you would remain with 10 apples.

Auto-CoT

  • Proposed by Zhang et al. (2022)
  • Eliminates manual efforts by leveraging LLMs with "Let's think step by step" prompt to generate reasoning chains for demonstrations one by one
  • Consists of two main stages:
    • Sampling questions with diversity
    • Generating reasoning chains to construct demonstrations
  • Encourages the model to use simple and accurate demonstrations by using simple heuristics such as:
    • Length of questions (e.g., 60 tokens)
    • Number of steps in rationale (e.g., 5 reasoning steps)

Quiz on Chain-of-Thought prompting, a technique that enables complex reasoning capabilities through intermediate reasoning steps.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser