IN THIS BREAKDOWN · 10 SECTIONS

You can read 17% of this breakdown.

The paper in one minute

Models answer reasoning questions better when they write a rationale first, but teaching a model to do that by fine-tuning needs thousands of written rationales. Few-shot chain-of-thought prompting needs only a few, but for mid-sized models it is weak: GPT-J 6B scored 36.6% on CommonsenseQA with chain-of-thought examples, against 60.0% when fine-tuned to output answers directly.

STaR, the Self-Taught Reasoner, turns the few examples into a large training set. Prompted with about ten example rationales, the model writes a rationale and an answer for every question in a dataset that has answers but no rationales. Rationales that end in the correct answer are kept. The model is fine-tuned on them, and the improved model writes the next round of rationales. Each round restarts fine-tuning from the original pretrained model to avoid overfitting.

That loop stalls on questions the model never gets right, because they never enter the training set. The paper's second idea, rationalization, fixes this: for a missed question, the model is shown the correct answer as a hint and asked to write a rationale again. If it reaches that answer, the rationale is added to the training set as if the model had written it unaided. On CommonsenseQA, STaR with rationalization reached 72.5%, close to a GPT-3 175B fine-tuned on answers (73.0%). It also improved GSM8K and multi-digit addition. The authors note that the method needs a model with some few-shot reasoning ability to start and works poorly when answers can be guessed.

Research notes: the problem, approach and results

CommonsenseQA dev accuracy for GPT-J 6B with STaR and rationalization (Table 1)

points over the same model fine-tuned to predict answers directly, 60.0% (Table 1)

share of CommonsenseQA training questions that ended up with a kept rationale (Table 1)

Training a model to write rationales before answering needs a dataset of rationales, which is expensive to write by hand. Few-shot chain of thought avoids the dataset but, for a 6B model, scored far below fine-tuning on answers alone.

Use a handful of example rationales to make the model write rationales for a large question-answer dataset. Keep only rationales whose final answer is correct, fine-tune on them, and repeat. For questions it gets wrong, give the correct answer as a hint and keep the rationale if it reaches that answer (rationalization).

GPT-J 6B reached 72.5% on CommonsenseQA dev, against 60.0% when fine-tuned to predict answers directly and 73.0% for a fine-tuned GPT-3 175B. On GSM8K it reached 10.7% against 5.8%; on 1-5 digit addition, 89.5% against 76.3%.

Why it matters to an FDE

STaR is an early template for many reasoning-data pipelines that followed, including the rejection-sampling fine-tuning stages in later reasoning models. Three ideas from it apply directly to customer work.

Answers you already have can become reasoning data. Many customers have years of labeled outcomes (approved claims, resolved tickets, reconciled invoices) and no written reasoning. A STaR-style loop asks the model to explain how to reach each known outcome and keeps the explanations that do.

The filter is only as good as the check. STaR keeps a rationale if the final answer matches. With numeric answers, a lucky match is rare. With five options or yes/no, many wrong rationales reach the right answer by chance and get kept. Know your check's false-pass rate before you trust the kept set.

Rationalized data needs review. A rationale written after seeing the answer can argue backwards. The authors warn that the method amplifies whatever reasoning reaches the labels, including biased shortcuts, so sample and read the rationalized examples before training on them.

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 297 more papers.

  • 03Key takeawaysHow the loop works, what rationalization adds, where the method stops and two misreadingsFree account
  • 04How it worksAlgorithm 1, the policy-gradient view, rationalization as a second distribution and the setupPremium
  • 05The numbers that matterCommonsenseQA and GSM8K tables, arithmetic curves, human ratings and the few-shot ablationPremium
  • 06Try it yourselfRecheck the tables, count lucky rationales, check the GPT-J shape and run a toy of the loopPremium
  • 07Where it breaksWeak starting models, guessable answers, faithfulness, bias amplification, cost and slipsPremium
  • 08Using it on a deploymentBuilding reasoning data from a customer's labeled outcomes, checks, and reviewPremium
  • 09Interview anglesFive questions this paper prepares you for, with answer hintsPremium
  • 10Read nextWhere to go from here on this sitePremium