Abstract
This paper presents h1, a novel framework for enhancing the long-horizon reasoning (LHR) capabilities of Large Language Models (LLMs) without requiring expensive step-by-step human annotations. By synthetically composing simple, short-horizon math problems into complex dependency chains and employing a stage-wise reinforcement learning curriculum, the authors demonstrate that models can bootstrap their reasoning skills. Experimental results show a 2.06× performance improvement on the AIME 2024 benchmark using only 6th-grade level training data, alongside significant generalization to non-mathematical logic and long-context tasks.
Introduction
While Large Language Models (LLMs) excel at tasks with short reasoning horizons, their performance typically collapses as the complexity and length of the reasoning chain increase. In long-horizon reasoning (LHR), models must execute a sequence of dependent steps where a single failure in an intermediate stage invalidates the final result. Existing solutions, such as inference-time scaffolding or dense process supervision, are often brittle or prohibitively expensive due to the need for human-labeled intermediate "thoughts."
This work introduces h1, which addresses the LHR challenge by leveraging abundant, simple data to synthetically construct complex reasoning tasks. The method relies on the insight that long-horizon skills—such as state tracking and intermediate value management—can be taught through a structured curriculum of increasingly difficult synthetic problems.
Methods
The h1 methodology consists of a three-stage pipeline designed to reduce the sample complexity of reinforcement learning from exponential to polynomial.
Synthetic Composition and Curriculum
The core of the approach involves taking "atomic" problems (e.g., from the GSM8K dataset) and linking them such that the output of one problem becomes a variable in the next. This creates "explicit-horizon" tasks with verifiable final answers. To prevent the "sparse reward" problem inherent in long-horizon tasks, the model is trained via a stagewise curriculum, starting with 1-step problems and gradually increasing to 5-step chains.
Outcome-Only Reinforcement Learning
Training is conducted using Group Relative Policy Optimization (GRPO). Crucially, the model only receives a reward based on the correctness of the final answer. This "outcome-only" approach eliminates the need for per-step supervision while still providing a strong training signal through the curriculum.
Results
The h1 method was evaluated across a variety of mathematical and general reasoning benchmarks.
Mathematical Reasoning
Training on composed versions of the 6th-grade level GSM8K dataset yielded dramatic improvements on elite benchmarks. Accuracy on the AIME 2024 competition jumped from 5.10% to 10.52%, a 2.06× increase. In-domain performance on 5-step composed problems also saw a significant rise, from 3.57% to 9.82%.
Cross-Domain Generalization
The model demonstrated an ability to transfer skills to domains not seen during training. Performance on Propositional Logic tasks in ReasoningGym increased from 22.9% to 47.1%. Furthermore, the model showed improved state-tracking in long-context benchmarks like Hash-hop and LongBench-v2, indicating that the skills learned during math-based LHR training (e.g., variable tracing) are fundamentally generalizable.
Discussion
The research highlights a "Horizon-Dependent Skill" gap, where model failure on long tasks is attributed to a lack of specific reasoning skills rather than simple error compounding. By analyzing "pass@128" metrics, the authors found that RL enables the model to discover entirely new reasoning paths. This suggests a compute-data tradeoff: increased training compute on simpler, synthetically composed data can compensate for a lack of expensive, high-complexity human-labeled data.
Limitations and Future Work
Current experiments were primarily conducted on 3B-parameter models (Qwen-2.5-3B) and focused on linear reasoning chains. Future research will explore scaling to larger frontier models and adapting the method for non-linear dependency structures, such as Directed Acyclic Graphs (DAGs). Additionally, extending the framework to non-verifiable domains remains a key challenge.
Summary updated