HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

STaR: Bootstrapping Reasoning With Reasoning

Eric Zelikman Yuhuai Wu Jesse Mu Noah D. Goodman

STaR: Bootstrapping Reasoning With Reasoning

Abstract

Generating step-by-step "chain-of-thought" rationales improves language model performance on complex reasoning tasks like mathematics or commonsense question-answering. However, inducing language model rationale generation currently requires either constructing massive rationale datasets or sacrificing accuracy by using only few-shot inference. We propose a technique to iteratively leverage a small number of rationale examples and a large dataset without rationales, to bootstrap the ability to perform successively more complex reasoning. This technique, the "Self-Taught Reasoner" (STaR), relies on a simple loop: generate rationales to answer many questions, prompted with a few rationale examples; if the generated answers are wrong, try again to generate a rationale given the correct answer; fine-tune on all the rationales that ultimately yielded correct answers; repeat. We show that STaR significantly improves performance on multiple datasets compared to a model fine-tuned to directly predict final answers, and performs comparably to fine-tuning a 30$\times$ larger state-of-the-art language model on CommensenseQA. Thus, STaR lets a model improve itself by learning from its own generated reasoning.

Code Repositories

ezelikman/STaR
Official
jax

Benchmarks

BenchmarkMethodologyMetrics
common-sense-reasoning-on-commonsenseqaSTaR without Rationalization (on GPT-J)
Accuracy: 68.8
common-sense-reasoning-on-commonsenseqaFew-shot CoT GPT-J
Accuracy: 36.6
common-sense-reasoning-on-commonsenseqaSTaR (on GPT-J)
Accuracy: 72.3
common-sense-reasoning-on-commonsenseqaGPT-J Direct Finetuned
Accuracy: 60.0
common-sense-reasoning-on-commonsenseqaFew-shot CoT LaMDA 137B
Accuracy: 55.6
common-sense-reasoning-on-commonsenseqaFew-shot Direct GPT-J
Accuracy: 20.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
STaR: Bootstrapping Reasoning With Reasoning | Papers | HyperAI