SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.10195 · 2026

Breaking the Reward Barrier: Accelerating Tree-of-Thought Reasoning via Speculative Exploration

Meng Li, Runsheng Wang, Haochen Huang, Shengxuan Qiu, Shuzhang Zhong, Pengfei Zuo

arXiv · PDF · Open in the Atlas

Code that ran

14 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.10195.json · badge: /api/ran/2605.10195.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
PKU-SEC-Lab/SPEX canonical (classifier label)
classifier basis: census
14 ran · 1 no recorded run
FunctionStatusWhere it lives
are_equal_under_sympy Ran
ran, violated the contract we drafted
PKU-SEC-Lab/SPEX/evaluate/evaluate_utils/grader.py
pointer only (licence: NONE) · get_code("bc7ab5cea18531ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

count_unknown_letters_in_expr Ran
ran, honoured the contract we drafted
PKU-SEC-Lab/SPEX/evaluate/evaluate_utils/grader.py
pointer only (licence: NONE) · get_code("368d3db6347269c3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_boxed_answers Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/evaluate/data_processing/answer_extraction.py
pointer only (licence: NONE) · get_code("6390dea763ce122e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_gsm_answer Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/math_evaluate.py
pointer only (licence: NONE) · get_code("60a502e0c1801e71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_metamath_answer Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/math_evaluate.py
pointer only (licence: NONE) · get_code("52331abe16da4ae8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_program_output Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/evaluate/data_processing/answer_extraction.py
pointer only (licence: NONE) · get_code("0772e5020f6b0849")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_shepherd_answer Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/math_evaluate.py
pointer only (licence: NONE) · get_code("ccad21c26aa70582")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_prompts Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/bfs_async.py
pointer only (licence: NONE) · get_code("7090bebf15a5cf44")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/evaluate/evaluate_utils/math_normalize.py
pointer only (licence: NONE) · get_code("101b1e54fcdadf90")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

print_budget_stats Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/utils.py
pointer only (licence: NONE) · get_code("720d4521bca90daa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_json_list Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/bfs_async.py
pointer only (licence: NONE) · get_code("605ff787a2904f86")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_jsonl Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/bfs_async.py
pointer only (licence: NONE) · get_code("951d55a786237f31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

should_allow_eval Ran
ran, violated the contract we drafted
PKU-SEC-Lab/SPEX/evaluate/evaluate_utils/grader.py
pointer only (licence: NONE) · get_code("95f02454eddf082a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

strip_string Ran
ran; our contract draft was wrong, not the code
PKU-SEC-Lab/SPEX/evaluate/data_processing/answer_extraction.py
pointer only (licence: NONE) · get_code("5abed389274c4c03")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

setup_inter_query_budget Not yet run
unverified (harvested, no recorded run)
PKU-SEC-Lab/SPEX/utils.py
pointer only (licence: NONE) · get_code("5ae7f559bb86c55e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PKU-SEC-Lab/SPEX when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 2 the same month, 3 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
should_allow_eval 13 other papers
11 dated earlier, 1 the same month, 1 later
2305.20050 (2023-05)
Let's Verify Step by Step
2406.12809 (2024-06)
Can Large Language Models Always Solve Easy Problems if They Can Solve Harder Ones?
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
and 10 more not named here
count_unknown_letters_in_expr 12 other papers
10 dated earlier, 1 the same month, 1 later
2305.20050 (2023-05)
Let's Verify Step by Step
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
2503.10460 (2025-03)
Light-R1: Curriculum SFT, DPO and RL for Long COT from Scratch and Beyond
and 9 more not named here
normalize_answer 10 other papers
10 dated earlier
2404.02078 (2024-04)
Advancing LLM Reasoning Generalists with Preference Trees
2406.12809 (2024-06)
Can Large Language Models Always Solve Easy Problems if They Can Solve Harder Ones?
2412.01981 (2024-12)
Free Process Rewards without Process Labels
and 7 more not named here
extract_boxed_answers 7 other papers
7 dated earlier
2402.03300 (2024-02)
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
2406.18629 (2024-06)
Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMs
2025.acl-long.1506 (2025 (year only))
Subtle Errors in Reasoning: Preference Learning via Error-injected Self-editing
and 4 more not named here
strip_string 6 other papers
6 dated earlier
2402.03300 (2024-02)
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
2406.18629 (2024-06)
Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMs
2025.acl-long.1506 (2025 (year only))
Subtle Errors in Reasoning: Preference Learning via Error-injected Self-editing
and 3 more not named here
extract_program_output 5 other papers
5 dated earlier
2402.03300 (2024-02)
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
2406.18629 (2024-06)
Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMs
2025.acl-long.1506 (2025 (year only))
Subtle Errors in Reasoning: Preference Learning via Error-injected Self-editing
and 2 more not named here
read_jsonl 5 other papers
5 dated earlier
2309.06553 (2023-09)
Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RL
2310.06147 (2023-10)
Reinforcement Learning in the Era of LLMs: What is Essential? What is needed? An RL Perspective on RLHF, Prompting, and Beyond
2310.07177 (2023-10)
Online Speculative Decoding
and 2 more not named here
are_equal_under_sympy 4 other papers
3 dated earlier, 1 later
2305.20050 (2023-05)
Let's Verify Step by Step
2602.10048 (2026-02)
Long Chain-of-Thought Compression via Fine-Grained Group Policy Optimization
2604.04356 (2026-04)
REAM: Merging Improves Pruning of Experts in LLMs
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Tree-of-Thought (ToT) reasoning structures Large Language Model (LLM) inference as a tree-based search, demonstrating strong potential for solving complex mathematical and programming tasks. However, its efficiency is constrained by the reward dependency barrier-a synchronization bottleneck caused by sequential reward-guided exploration that limits search parallelism and introduces substantial latency. Prior system optimizations, mainly designed for linear Chain-of-Thought (CoT) reasoning, cannot address these challenges, leaving the efficiency of ToT underexplored. To enhance ToT reasoning efficiency, we observe that the reasoning paths can be explored speculatively to break the reward synchronization barrier. Therefore, in this paper, we propose SPEX and introduce three key techniques: (i) intraquery speculative path selection to predict and expand highpotential branches of ToT, (ii) inter-query budget allocation to balance speculative resource allocation across queries dynamically, and (iii) adaptive early termination to prune deep and redundant branches for a skewed search tree. We implement SPEX on top of the SGLang framework and evaluate it across diverse ToT algorithms and LLMs. Extensive experiments show that SPEX achieves 1.2 ∼ 3× speedup for different ToT reasoning algorithms. Moreover, SPEX synergizes with token-level speculative decoding, achieving cumulative speedups of up to 4.1×. Ablation studies further confirm the contributions of each technique. Overall, SPEX represents a significant step toward efficient and scalable ToT reasoning, unlocking the parallelism required for highperformance inference-time scaling for LLMs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.10195")
get_code_for_paper("2605.10195")
have("2605.10195")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.10195.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.10195.svg)](https://syntology.ai/paper/2605.10195)

Connect an agent — have() is free.