Introduction: Demystifying System 2 Thinking
Recent breakthroughs in artificial intelligence have marked a fundamental shift from fast, intuitive pattern matching (System 1) to deliberate, step-by-step problem solving (System 2). This evolution is championed by state-of-the-art Reasoning Language Models (RLMs) such as OpenAI's o1, DeepSeek-R1, and Alibaba's QwQ. However, the technical foundations of these models are often proprietary, creating a significant knowledge gap between elite AI labs and the broader research community.
This opacity stifles open innovation and makes it difficult for independent researchers to build or experiment with custom reasoning architectures. To address this, we introduce a universal taxonomy and a modular blueprint that unifies the complex interplay of large language models (LLMs), reinforcement learning (RL), and high-performance computing (HPC).
The RLM Blueprint and the x1 Framework
The core of this work is a modular blueprint that decomposes RLMs into interchangeable components, allowing researchers to mix and match strategies based on their specific needs:
- Reasoning Schemes: These define the structural approach to problem-solving, ranging from simple chains to complex trees or graphs. Strategies like Monte Carlo Tree Search (MCTS) or Beam Search are used to navigate these structures.
- Operators: These are the functional building blocks that manipulate reasoning paths. They include Structure Operators (Generate, Aggregate, Prune), Traversal Operators (Select, Backtrack), and Evaluation Operators.
- Models & Training: The architecture distinguishes between Policy Models, which generate reasoning steps, and Value/Reward Models, which score them. We specifically identify a new class of Outcome-Driven Process-Based Reward Models (O-PRMs) to enhance training accuracy.
To demonstrate the blueprint's utility, we present x1, an open-source, scalable framework. x1 utilizes a two-phase training pipeline. First, Supervised Fine-Tuning (SFT) teaches the model to output distinct reasoning steps using a novel <eois> (End of Intermediate Step) token. Second, a Reinforcement Learning phase uses MCTS to refine the policy and value models based on backpropagated rewards.
Key Insights and Empirical Findings
Our analysis of RLM construction revealed several critical insights for building effective models:
- Token Uncertainty as a Search Guide: By analyzing token probability distributions (using metrics like Entropy and VarEntropy), we can dynamically inform search strategies. High uncertainty signals a need for the model to branch out and explore alternative paths, while high confidence allows for efficient linear progression.
- Process Over Outcome: Process-Based Supervision, which evaluates every intermediate reasoning step, yields far more reliable results than Outcome-Based Supervision. While harder to implement, it significantly reduces "hallucinations" in the reasoning chain.
- The Necessity of Two-Phase Training: Attempting to train RLMs purely through RL often leads to instability. An initial SFT phase to establish basic reasoning patterns and formatting is crucial for long-term model performance.
- Statistical Rigor in Benchmarking: Because RLMs explore multiple solution paths, their outputs exhibit high variance. We found that evaluating fewer than 500 samples per benchmark can lead to statistically unreliable comparisons.
Conclusion and Future Directions
While this blueprint successfully unifies diverse models like QwQ and LLaMA-Berry into a single taxonomy, several frontiers remain. Future work should explore Trace-Based Supervision (TBS), a training paradigm that captures the full history of reasoning manipulations to train more powerful implicit RLMs. Additionally, as test-time compute demands grow, developing hardware-aware scaling strategies—such as dynamic GPU time-sharing—will be essential for deploying these models in real-world environments.
Summary updated