atlas

Research map / Large language models / Reasoning and chain of thought

Escape Sky-high Cost: Early-stopping Self-Consistency for Multi-step Reasoning

ICLR 2024 · Large language models › Reasoning and chain of thought · approach: Long CoT dynamics and efficiency · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Early-Stopping Self-Consistency (ESC), which samples in windows and stops once a window's answers all agree, cutting chain-of-thought sampling cost by 33-84% with negligible accuracy loss, plus a control scheme to predict the cost-performance trade-off.

Problem

Self-consistency for chain-of-thought reasoning requires a preset large number of samples, which is very expensive (e.g., roughly $2000 for MATH with GPT-4 at 64 samples).

Approach

Sample in small sequential windows and stop as soon as a window's predictions are unanimous (zero entropy), since low-entropy answer distributions make the majority vote stable with few samples; add a control scheme that uses the first window to predict cost and error for different window and max-sample settings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
early-stopping window (ESC) instead of fixed samplingself-consistency on GSM8K/MATH/CSQA/SQA/Letter · GPT-4, GPT-3.5-Turbo, Llama-2 7baccuracy and average sampled outputs: sampling reduced 21.6% to 33.7% with accuracy change within about 0.03 pointsHelped
early stopping on MATH with GPT-4 (window 8, max 64)self-consistency · MATHaverage sampled outputs: -21.60 (L-hat 42.40 vs 64), accuracy unchanged at 60.32Helped
early stopping on GSM8K with Llama-2 7bself-consistency · GSM8Kaverage sampled outputs: -8.79 samples, accuracy -0.01Helped
early stopping with max sample size varied from 16 to 64 (window 8) (ablation)self-consistency on MATH, GPT-4 · MATHaccuracy (%): 0.00 at every LNo clear effect
early stopping on MBPP open-ended generationself-consistency with text-similarity voting · MBPP, GPT-3.5-Turboaccuracy (%): -0.02 to -0.04 at L=20 to 30, with L-hat 23.21% fewer samples at L=30No clear effect
early stopping vs. adaptive consistency (AC) on GSM8Kself-consistency · GSM8K, GPT-4cost per item ($) and accuracy: ESC $0.0769 at 89.29 vs AC $0.1501 at 89.28Helped
early stopping on GSM8K for Llama-2 7b with lower max L (10 and 20) (ablation)self-consistency · GSM8K, Llama2-7baccuracy (%): 0.00 at L=10 and 0.00 at L=20 (variable sampling saved 1.01 and 2.94 samples)No clear effect
replacing entropy-based stopping after each sample with window-based all-same stopping (ablation)early stopping criterion · CSQA, multiple modelsperformance-cost trade-off: qualitative: entropy cut-off has no advantage over ESC and adds a hyperparameterHelped
ESC applied to Progressive-Hint Prompting on GSM8K (ablation)PHP · GSM8K, GPT-3.5-Turboaccuracy (%): -0.02 at L=20 and 40, with 12.17 to 29.74 fewer samplesNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: MATH GSM8K CommonsenseQA StrategyQA Last Letter Concatenation Coin Flip MBPP

Benchmarks: MATH GSM8K CommonsenseQA StrategyQA Last Letter Concatenation Coin Flip MBPP

Metrics: accuracy average sampled count (L-hat) API cost ($) performance change percentage

Baselines: CoT SC Adaptive-Consistency Progressive-Hint Prompting ENT (entropy-based stopping)

Builds on: self-consistency chain-of-thought prompting adaptive-consistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy