Skip to content

s1: Simple test-time scaling

Skip →Knowledge distillation
LLM stage 2 #11corefrontierpaperrubric 11/122025 · ~50 min

Niklas Muennighoff, Zitong Yang, Weijia Shi, … Tatsunori Hashimoto

Status

TL;DR. s1 asks for the simplest recipe that gives test-time scaling. The authors pick 1,000 hard, diverse questions with reasoning traces from Gemini Flash Thinking, fine-tune Qwen2.5-32B-Instruct on them for 26 minutes on 16 H100s, and control the length of thinking at decoding time with budget forcing. To make the model think longer, they suppress the end-of-thinking token and append “Wait”. The resulting s1-32B beats o1-preview on AIME24, and its accuracy rises as it is allowed to think longer.

Why it matters now. Reasoning models are now standard, and their cost is mostly thinking tokens. s1 shows that much of the behaviour can be distilled with very little data, and gives a clean way to control and measure test-time scaling. Everything is open: weights, data and code.

Data: quality, difficulty, diversity (§2). Start from 59,029 questions from 16 sources, with reasoning traces and answers from the Gemini Flash Thinking API. Decontaminate against the evaluation sets with 8-grams. Then filter:

  • Quality: drop API errors and badly formatted samples (51,581 left).
  • Difficulty: drop any question that Qwen2.5-7B-Instruct or Qwen2.5-32B-Instruct solves (graded by Claude 3.5 Sonnet). Trace length is used as a second difficulty signal.
  • Diversity: label domains with the Mathematics Subject Classification. Repeatedly pick a domain uniformly at random, then a question from it, favouring longer traces, until 1,000 samples across 50 domains.

Only 53.6% of the s1K traces are graded correct. The authors keep the wrong ones because the goal is to teach the reasoning process.

Budget forcing (§3.1). A decoding-time rule:

  • Maximum: when the thinking budget is used up, append the end-of-thinking delimiter (and optionally “Final Answer:”).
  • Minimum: when the model tries to stop early, suppress the delimiter and append “Wait”.

Metrics (§3.2). For runs a∈Aa\in\mathcal{A} at different budgets, let f(a)f(a) be accuracy as a function of thinking tokens. Then

Control=1∣A∣∑aI(amin⁡≤a≤amax⁡),Scaling=(∣A∣2)−1 ⁣ ⁣∑b>af(b)−f(a)b−a,Performance=max⁡af(a).\text{Control}=\frac{1}{|\mathcal{A}|}\sum_{a}\mathbb{I}(a_{\min}\le a\le a_{\max}),\quad \text{Scaling}=\binom{|\mathcal{A}|}{2}^{-1}\!\!\sum_{b>a}\frac{f(b)-f(a)}{b-a},\quad \text{Performance}=\max_a f(a).
s1: curate 1,000 hard, diverse reasoning traces, fine-tune, then control thinking length with budget forcing Left: a funnel from 59,029 questions with Gemini Flash Thinking traces, to 54,116 after removing API errors, 51,581 after removing badly formatted examples, about 24,500 after removing questions that Qwen2.5 7B or 32B already solve, and finally 1,000 samples drawn across 50 domains, favouring long traces. Middle: supervised fine-tuning of Qwen2.5-32B-Instruct on these 1,000 examples, 26 minutes on 16 H100 GPUs. Right: budget forcing at decoding time. If the model tries to stop thinking too early, the end-of-thinking token is suppressed and the word Wait is appended, so it keeps reasoning. If it reaches the maximum budget, the end-of-thinking token is forced and the model must answer. Bottom right: on AIME24, budget forcing gives perfect control and a positive scaling slope, while token-conditional prompting and rejection sampling give negative slopes. 1. Curate s1K (§2) 59,029 questions, 16 sources+ Gemini Flash Thinking traces Quality: 51,581drop API errors, bad formatting Difficulty: ≈24.5Kdrop if Qwen 7B or 32B solves Diversity: 1,00050 domains, long traces 8-gram decontaminated; only 53.6% of the 1,000 traces are graded correct 2. SFT (§4.1) Qwen2.5-32B-Instruct → s1-32B 26 min on 16 H100 GPUs 3. Budget forcing at decoding time (§3.1) Too short: force it to keep thinking … so the answer is 2. end-think suppressed “Wait” → re-checks Too long: force it to stop … budget reached end-think + “Final Answer:” Ways to control length on AIME24 (Table 3) methodcontrolslopebest acc. budget forcing100%+1556.7 "think ≤ T tokens" prompt40%−2440.0 rejection sampling by length100%−3540.0 longer accepted samples are more often wrong
Original sketch. Left: the s1K data funnel and the short SFT run. Right: budget forcing either suppresses the end-of-thinking token and appends Wait, or forces the end when the budget is used; below, the Table 3 comparison of length-control methods on AIME24.
  • Headline (Table 1). s1-32B reaches 56.7 on AIME24, 93.0 on MATH500 and 59.6 on GPQA Diamond. Without budget forcing it gets 50.0 / 92.6 / 56.6. The base Qwen2.5-32B-Instruct gets 26.7 / 84.0 / 49.0, and o1-preview 44.6 / 85.5 / 73.3. r1 (79.8 on AIME24) and r1-distill (72.6) remain stronger, using about 800K or more examples.
  • Data ablations (Table 2). On AIME24: 1K-random 36.7, 1K-diverse 26.7, 1K-longest 33.3, 59K-full 53.3, s1K 50.0. Bootstrap intervals show the random and diverse subsets are significantly worse, while 59K is not significantly better.
  • Length control (Table 3). Budget forcing: 100% control, slope 15, best 56.7. Token-conditional prompting: 40% control, slope −24, best 40.0. Rejection sampling: 100% control, slope −35, best 40.0.
  • Extension strings (Table 4). Forcing two extra rounds: no string 50.0 on AIME24, “Alternatively” 50.0, “Hmm” 50.0, “Wait” 53.3.
  • Sequential vs parallel (Fig. 4). Budget forcing on s1-32B scales better than majority voting with the base model, which does not catch up.
  • Small, noisy benchmark. AIME24 has 30 questions, so one question moves accuracy by 3.3 points.
  • Distillation, not discovery. The reasoning comes from Gemini traces. s1 shows how little data is needed to elicit the behaviour, not how to create it; RL methods like DeepSeek-R1 do the latter.
  • Saturation. Budget forcing flattens out, and too much suppression leads to loops. Going further likely needs parallel methods (majority voting, REBASE), which the paper only explores briefly (Fig. 7).
  • Few domains. Evaluation is maths and science. Whether “Wait” helps on open-ended tasks, retrieval or agents is untested.
  • Follow-up. The authors’ s1.1, trained on the same questions with r1 traces (s1K-1.1), performs significantly better (§A), which suggests the teacher matters a lot.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Section 3.2 defines Control as the fraction of runs that stay within the allowed token range and Scaling as the average slope over all pairs of runs. A hypothetical method uses 2,000, 4,000 and 8,000 thinking tokens on AIME24 with accuracies 40.0, 50.0 and 56.7, and the maximum allowed is 6,000 tokens. Compute Control and Scaling (in points per 1,000 tokens), and say how many AIME24 questions the last gain represents.

    What a strong answer covers
    • Control = 2/3 ≈ 67%, since only the 8,000-token run exceeds the maximum.
    • Pairwise slopes: (50.0 − 40.0)/2 = 5.0, (56.7 − 40.0)/6 ≈ 2.78 and (56.7 − 50.0)/4 ≈ 1.68 points per 1k tokens. Mean ≈ 3.15.
    • Scaling averages all pairs, so it rewards methods that keep improving but hides a plateau or a dip between two points.
    • AIME24 has 30 questions, so each question is 3.33 points and 50.0 → 56.7 is two questions. Differences of this size need confidence intervals.
  2. Mechanism

    Explain how budget forcing enforces a minimum and a maximum amount of thinking, and why it gives 100% control when token-conditional prompting ("think for at most T tokens") gives only 40% on AIME24.

    What a strong answer covers
    • Maximum: when the budget is reached, the decoder appends the end-of-thinking delimiter (optionally with "Final Answer:"), so the model must answer with its current best guess.
    • Minimum: when the model tries to stop early, the end-of-thinking token is suppressed and "Wait" is appended, which tends to trigger re-checking and sometimes self-correction.
    • Control comes from the decoder, not from the model, so it is exact. A prompt asks the model to count its own tokens, which the paper finds it cannot do reliably even when trained to.
    • Step-conditional prompts are gamed: the model writes a similar total number of tokens by changing tokens per step.
  3. What if…

    Table 2 compares s1K with 1K-random, 1K-diverse, 1K-longest and the full 59K pool. What does each ablation isolate, what are the AIME24 results, and what do the bootstrap confidence intervals allow you to conclude?

    What a strong answer covers
    • AIME24: 1K-random 36.7, 1K-diverse 26.7, 1K-longest 33.3, 59K-full 53.3, s1K 50.0 (all with budget forcing at about 30k tokens).
    • Random tests quality alone; diverse tests diversity without difficulty; longest tests difficulty alone; 59K tests whether selection matters at all versus more data.
    • Intervals entirely below zero (e.g. 1K-random [−26.7%, −3.3%] and 1K-diverse [−40.0%, −10.0%]) show these subsets are worse on AIME24. The 59K interval [−13.3%, 20.0%] includes zero, so 59K and s1K are not distinguishable.
    • The practical claim is cost: 59K training took 394 H100 GPU-hours against 7 for s1K, for no significant gain.
  4. Critique

    Rejection sampling to a target length gives a negative scaling slope (−35 in Table 3). Explain the authors' hypothesis, and then argue why this result does not show that longer reasoning is worse in general.

    What a strong answer covers
    • Rejection sampling keeps samples that happen to fit the length cap. Short samples tend to be ones where the model was on the right track from the start; long ones tend to contain mistakes and backtracking.
    • So length and correctness are correlated through the problem-solving path, and conditioning on length selects for errors. It is a selection effect, not a causal effect of thinking longer.
    • Budget forcing intervenes on length for the same sample and shows a positive slope, which is the closer analogue of a causal test.
    • This mirrors length–quality confounds in reward models, where longer outputs look better or worse for reasons unrelated to quality.
  5. Design

    You want a 7B listwise reranker that reasons before ranking, with a controllable latency budget at serving time. Adapt the s1 recipe: how would you build the training set, apply budget forcing, and decide whether extra thinking actually helps ranking?

    What a strong answer covers
    • Collect hard queries (where a non-reasoning reranker fails), generate traces with a strong teacher, filter by quality, difficulty and topic diversity, and keep about 1k examples.
    • Fine-tune with SFT; at serving time cap thinking tokens with a forced end-of-thinking delimiter, and test "Wait" extension for hard queries.
    • Measure nDCG@10 at several thinking budgets and report Control, Scaling and best score, plus latency.
    • Check for a selection effect by comparing forced length with naturally long outputs, and check that gains are not from leakage between training traces and evaluation queries (s1 used 8-gram decontamination).
  6. Connect

    Contrast s1 with Snell et al.'s compute-optimal test-time scaling. Which axis of test-time compute does each paper scale, how does each measure gains, and what happens when s1 tries to extend thinking more than about six times?

    What a strong answer covers
    • s1 scales the sequential axis inside one chain of thought by forcing it to continue. Snell et al. scale parallel search against a PRM and sequential revisions from a separate revision model.
    • s1 reports Control, Scaling and best accuracy against thinking tokens. Snell et al. compare accuracy against generation count and run a FLOPs-matched comparison with a larger model.
    • Budget forcing improves AIME24 from 50% to 57% but flattens around six forced continuations. Suppressing the end too often causes repetitive loops, and the context window caps length.
    • The authors suggest parallel methods such as majority voting and REBASE to go further, which matches Snell et al.'s view that sequential and parallel compute are complementary.

Done with this page?

Status