AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Papers / LLMs

    Self-consistency (2022)

    Self-Consistency Improves Chain of Thought Reasoning in Language Models

    Sample many chains of thought instead of one, and take the most common final answer.

    Why it matters

    It was the first clear sign that spending more computation at answer time buys accuracy, a trade-off reasoning models now make by design. "maj@k" became a standard way to report results, and the baseline every verifier and reward model had to beat.

    First page of “Self-Consistency Improves Chain of Thought Reasoning in Language Models”

    The first page, as published. Read the full paper, with summaries and discussion, on alphaxiv.org.

    Year
    2022
    Authors
    Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed H. Chi, Sharan Narang, Aakanksha Chowdhery, Denny Zhou
    Venue
    ICLR 2023
    Data
    GSM8K, AI2 ARC, HotpotQA

    The idea

    A hard problem can be reasoned through in several ways that reach the same answer, while mistakes tend to scatter. So instead of decoding a single chain of thought, sample dozens at a nonzero temperature and vote on the final answers. No training, verifier or extra labels.

    The result

    With 40 sampled chains, GSM8K accuracy rose from 56.5% to 74.4% on PaLM-540B and from 60.1% to 78.0% on code-davinci-002, with gains on ARC and other arithmetic and commonsense benchmarks.

    The data

    GSM8K

    2021

    8.5k grade-school math word problems with step-by-step solutions. (1 year earlier)

    At Allan's house, there is twice as much corn as cannolis. He has a total of 40 cannolis in his house. Allan bought 60 more cannolis at the…

    AI2 ARC

    2018

    7,787 real science exam questions; the Challenge set is the 2,590 that simple methods fail. (4 years earlier)

    Which statement best describes a structural adaptation that helps an organism survive in a desert?

    HotpotQA

    2018

    113,000 questions that need facts from two Wikipedia paragraphs, with the supporting sentences marked. (4 years earlier)

    Retrieval

    Greetings! We're The Monitors was the debut album by the band who had what soul and R&B singer as their lead?

    Builds on

    • Chain of thought (2022): Show the model worked examples that reason step by step, and it starts reasoning step by step too.

    Led to

    • Let's Verify Step by Step (2023): Grade every step of a solution, not just the final answer, and a verifier picks correct math solutions far more reliably.