[Paper Review] s1: Simple test-time scaling
The paper presents a minimal approach to test-time scaling: fine-tune a model on 1k reasoning samples and apply budget forcing to control thinking time, achieving competitive reasoning performance and data efficiency compared to OpenAI o1-preview, with open-source code and data.
Test-time scaling is a promising new approach to language modeling that uses extra test-time compute to improve performance. Recently, OpenAI's o1 model showed this capability but did not publicly share its methodology, leading to many replication efforts. We seek the simplest approach to achieve test-time scaling and strong reasoning performance. First, we curate a small dataset s1K of 1,000 questions paired with reasoning traces relying on three criteria we validate through ablations: difficulty, diversity, and quality. Second, we develop budget forcing to control test-time compute by forcefully terminating the model's thinking process or lengthening it by appending "Wait" multiple times to the model's generation when it tries to end. This can lead the model to double-check its answer, often fixing incorrect reasoning steps. After supervised finetuning the Qwen2.5-32B-Instruct language model on s1K and equipping it with budget forcing, our model s1-32B exceeds o1-preview on competition math questions by up to 27% (MATH and AIME24). Further, scaling s1-32B with budget forcing allows extrapolating beyond its performance without test-time intervention: from 50% to 57% on AIME24. Our model, data, and code are open-source at https://github.com/simplescaling/s1
Motivation & Objective
- Motivate why test-time compute can boost reasoning performance in language models.
- Create a small, high-quality reasoning dataset (s1K) with diverse, difficult questions and traces.
- Demonstrate a simple test-time intervention (budget forcing) to control thinking duration and improve answers.
- Show that fine-tuning on 1K samples yields strong, sample-efficient reasoning performance.
- Provide open-source data, models, and code to enable replication and further research.
Proposed method
- Curate a 59K-question pool from diverse sources with quality, difficulty, and diversity as selection criteria.
- Filter down to 1K high-quality, diverse, and difficult samples (s1K) using model-based difficulty assessment and MSC-based domain diversity.
- Fine-tune Qwen2.5-32B-Instruct on s1K with supervised fine-tuning (SFT) to obtain s1-32B in 26 minutes on 16 H100 GPUs.
- Introduce budget forcing during test time to control thinking: (i) end thinking by appending an end-of-thinking token, (ii) extend thinking by appending Wait to encourage more exploration.
- Evaluate test-time scaling with sequential (budget forcing) vs parallel (majority voting) approaches and compare against baselines.
- Use open-source data, weights, and code available at the project repository.
Experimental results
Research questions
- RQ1Can a minimal, data-efficient approach achieve strong test-time scaling for reasoning tasks?
- RQ2How does dataset quality, difficulty, and diversity affect the effectiveness of instruction-finetuning for reasoning?
- RQ3Is sequential test-time scaling (budget forcing) more effective than parallel methods like majority voting?
- RQ4What is the performance gain from budget forcing as test-time compute increases on challenging reasoning benchmarks?
- RQ5How does the 1K-sample s1K dataset compare to larger pools in achieving data efficiency and competitive performance?
Key findings
- A 1K-sample supervised fine-tuning of a 32B model yields competitive performance to o1-preview on MATH and AIME24.
- Budget forcing enables controllable test-time compute and improves reasoning by encouraging model verification and longer exploration.
- s1-32B shows strong test-time scaling, with performance increasing as more thinking tokens are allowed (up to a point before diminishing returns).
- The approach is data-efficient: training on 1K samples outperforms many baselines while using far fewer examples than larger pools.
- Data selection that balances difficulty, diversity, and quality is crucial; random or overly long traces alone underperform compared to the proposed three-criterion selection.
- s1-32B, when trained on 1K samples, nearly matches Gemini 2.0 Thinking on AIME24 and remains open-source.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.