Papers › h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learning

h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learning

8 Oct 2025arXiv:2510.07312added by Syntology

Sumeet Ramesh Motwani, Alesia Ivanova, Ziyang Cai, Philip Torr, Riashat Islam, Shital Shah, Christian Schroeder de Witt, Charles London

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models excel at short-horizon reasoning tasks, but performance drops as reasoning horizon lengths increase. Existing approaches to combat this rely on inference-time scaffolding or costly step-level supervision, neither of which scales easily. In this work, we introduce a scalable method to bootstrap long-horizon reasoning capabilities using only existing, abundant short-horizon data. Our approach synthetically composes simple problems into complex, multi-step dependency chains of arbitrary length. We train models on this data using outcome-only rewards under a curriculum that automatically increases in complexity, allowing RL training to be scaled much further without saturating. Empirically, our method generalizes remarkably well: curriculum training on composed 6th-grade level math problems (GSM8K) boosts accuracy on longer, competition-level benchmarks (GSM-Symbolic, MATH-500, AIME) by up to 2.06x. It also transfers significantly to diverse out-of-distribution ReasoningGym domains and long-context benchmarks, indicating broader generalization. Importantly, our long-horizon improvements are significantly higher than baselines even at high pass@k, showing that models can learn new reasoning paths under RL. Theoretically, we show that curriculum RL with outcome rewards achieves an exponential improvement in sample complexity over full-horizon training, providing training signal comparable to dense supervision. h1 therefore introduces an efficient path towards scaling RL for long-horizon problems using only existing data.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.07312")

Code

Syntology Ran 4 of 18 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran with no contract checked.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

AlesyaIvanova/h1 found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 4 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran
14unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AlesyaIvanova/h1. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

count_unknown_letters_in_expr AlesyaIvanova/h1/math_utils.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 368d3db6347269c3 · report
extract_xml_answer AlesyaIvanova/h1/grpo.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 08fcee8ccfd3d4a9 · report
normalize_answer AlesyaIvanova/h1/math_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 101b1e54fcdadf90 · report
should_allow_eval AlesyaIvanova/h1/math_utils.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · 95f02454eddf082a · report
combine_datasets AlesyaIvanova/h1/combine_datasets.py found in paper text by Syntology unverified no licence file found · pointer only · 7d22cc3425cfa2c6 · report
extract_answer_from_text AlesyaIvanova/h1/grpo.py found in paper text by Syntology unverified no licence file found · pointer only · 3d0358bbcc423041 · report
find_integers_in_problem AlesyaIvanova/h1/combine_questions_without_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · 794cac8b76f7d705 · report
find_number_in_question AlesyaIvanova/h1/combine_questions_into_long_horizon_resoning.py found in paper text by Syntology unverified no licence file found · pointer only · d374f5c33a2daed9 · report
get_final_answer AlesyaIvanova/h1/combine_questions_into_long_horizon_resoning.py found in paper text by Syntology unverified no licence file found · pointer only · 405ed0fe777e94ce · report
is_integer_answer AlesyaIvanova/h1/combine_questions_without_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · 67d97e1447eb564b · report
legacy_extract_answer AlesyaIvanova/h1/grpo.py found in paper text by Syntology unverified no licence file found · pointer only · b72d7afd1ebdc85a · report
load_dataset AlesyaIvanova/h1/combine_datasets.py found in paper text by Syntology unverified no licence file found · pointer only · d95024e36958b9e1 · report
load_general_dataset AlesyaIvanova/h1/math_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 962775950d8d4e55 · report
parse_final_answer AlesyaIvanova/h1/solution_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · b0078f06062c1ce9 · report
replace_integer_with_variable AlesyaIvanova/h1/combine_questions_without_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · 5127f5edca18c9b5 · report
strip_code_block_markers AlesyaIvanova/h1/solution_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · 481fad6e04e6c4bb · report
take_first_samples AlesyaIvanova/h1/combine_datasets.py found in paper text by Syntology unverified no licence file found · pointer only · a76d39c0f782065f · report
test_generated_code AlesyaIvanova/h1/solution_code_generation.py found in paper text by Syntology unverified no licence file found · pointer only · 900e6c1fd3363c0f · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.07312, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections