TL;DR
This paper introduces "s1," a simple yet effective approach to test-time scaling for language models, achieving competitive reasoning performance with significantly less training data than prior methods. By curating a small, high-quality dataset (s1K) and employing a novel "budget forcing" technique, they demonstrate that models can be trained efficiently and then scaled at inference time to improve accuracy, even outperforming closed-source models like OpenAI's o1-preview on challenging math benchmarks.
What Problem Does This Paper Address?
Large language models (LLMs) have shown impressive capabilities in reasoning tasks, but achieving top performance often requires massive training datasets and extensive computational resources. OpenAI's "o1" model demonstrated the potential of "test-time scaling" – using more compute during inference to boost performance – but its methodology remained proprietary. This left a gap in understanding the simplest way to achieve this scaling and strong reasoning, prompting efforts to replicate and understand this phenomenon. The authors aim to find the most straightforward method for test-time scaling that yields strong reasoning performance, challenging the notion that vast amounts of training data are always necessary.
Methods
The core of the paper lies in two key innovations:
- s1K Dataset Curation: The authors meticulously curated a small dataset, s1K, comprising 1,000 high-quality, diverse, and difficult questions paired with reasoning traces. This dataset was built by filtering a larger collection of 59,000 questions based on quality, difficulty (assessed by model performance and reasoning trace length), and diversity (categorized by mathematical subject classification). This contrasts with methods relying on massive, less curated datasets.
- Budget Forcing: This is a novel test-time inference technique. It involves controlling the model's "thinking" process by either:
- Forcefully ending: Appending an end-of-thinking token to terminate the reasoning early, forcing the model to provide its current best answer.
- Lengthening: Appending a "Wait" token multiple times to prevent the model from ending its reasoning prematurely, encouraging it to explore more and potentially self-correct. This allows for fine-grained control over test-time compute.
These methods were applied to a Qwen2.5-32B-Instruct model, resulting in their "s1-32B" model.
Datasets
- s1K: A newly curated dataset of 1,000 questions with reasoning traces, designed for sample-efficient reasoning training. It was filtered from a larger pool of 59,000 questions derived from various sources including NuminaMATH, MATH, OlympicArena, OmniMath, AGIEval, and others.
- Evaluation Benchmarks: AIME24, MATH500, and GPQA Diamond were used for evaluating the model's performance.
Key Insights and Ideas
- Sample Efficiency is Key: The paper strongly suggests that the quality and diversity of a small reasoning dataset can be more impactful than sheer quantity. Training on just 1,000 carefully selected examples (s1K) yielded a highly competitive model.
- Simplicity Wins: "Budget forcing" is presented as a remarkably simple yet powerful mechanism for test-time scaling. It doesn't require complex RL or MCTS, making it accessible and easy to implement.
- Reasoning Traces Matter: The success of s1K and s1-32B highlights the importance of high-quality reasoning traces in training. Even with some incorrect answers in the dataset, the model learned to capture the reasoning process effectively.
- Extrapolation is Possible: Budget forcing allows the model's performance to scale beyond its initial training capabilities, demonstrating a clear path to improving accuracy with more inference compute.
Key Results
- Competitive Performance: The s1-32B model, trained on s1K, achieved performance comparable to or exceeding OpenAI's o1-preview on competition math tasks (MATH and AIME24), with up to a 27% improvement on AIME24.
- Sample Efficiency: s1-32B is presented as the most sample-efficient open-data reasoning model, significantly outperforming its base model (Qwen2.5-32B-Instruct) with only 1,000 additional training samples.
- Test-Time Scaling: Budget forcing enabled performance extrapolation, increasing AIME24 accuracy from 50% to 57% by scaling test-time compute.
- Open Source: The model, data, and code are publicly available, fostering further research.
Limitations and Future Work
- Context Window Limits: Like other sequential scaling methods, budget forcing can be constrained by the model's context window, leading to performance plateaus.
- Applicability to Abstract Tasks: The current work focuses on scientific and mathematical reasoning. Applying budget forcing to more abstract tasks like creative writing remains an open question, as tasks like essay writing may not have repeatable answers suitable for techniques like majority voting.
- Model Family: The experiments were primarily conducted on Qwen models, and future work could explore generalization across different model families.
- Reinforcement Learning: The authors suggest exploring whether combining budget forcing with reinforcement learning or using RL for new test-time scaling methods could yield better extrapolation.
Summary updated