SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.17179 · 2023

Alphazero-like Tree-Search can Guide Large Language Model Decoding and Training

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 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; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2309.17179.json · badge: /api/ran/2309.17179.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
waterhorse1/llm_tree_search canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
findattr Ran
ran; our contract draft was wrong, not the code
waterhorse1/llm_tree_search/tsllm/model/utils.py
pointer only (licence: NONE) · get_code("3014c0bb8d49d525")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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_root Ran
ran; our contract draft was wrong, not the code
waterhorse1/llm_tree_search/tsllm/mcts/tree.py
pointer only (licence: NONE) · get_code("fddd688fc94bd20d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

list_of_ints Ran
ran, honoured the contract we drafted
waterhorse1/llm_tree_search/tsllm/argparse_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from razaimam45/ttl-test-time-low-rank-adaptation, is pointer only (licence: NONE) · get_code("7d1ac1a66da5f14c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

llm_forward_ct2 Ran
ran, honoured the contract we drafted
waterhorse1/llm_tree_search/tsllm/llm/text_generation.py
pointer only (licence: NONE) · get_code("009ec15661cc110a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

llm_gen_ct2 Ran
ran; our contract draft was wrong, not the code
waterhorse1/llm_tree_search/tsllm/llm/text_generation.py
pointer only (licence: NONE) · get_code("c4a9e40e388e9a76")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

make_head Ran
ran; our contract draft was wrong, not the code
waterhorse1/llm_tree_search/tsllm/model/modeling_actor_critic.py
pointer only (licence: NONE) · get_code("25be1b228e07de4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

rhasattr Ran
ran, violated the contract we drafted
waterhorse1/llm_tree_search/tsllm/model/utils.py
pointer only (licence: NONE) · get_code("ace162af010af5d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

str2bool Ran
ran, violated the contract we drafted
waterhorse1/llm_tree_search/tsllm/argparse_utils.py
pointer only (licence: NONE) · get_code("0bcbc8c8dbe0be78")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

llm_gen_with_logp_v1 Not yet run
unverified (harvested, no recorded run)
waterhorse1/llm_tree_search/tsllm/llm/text_generation.py
pointer only (licence: NONE) · get_code("ddc98bed6cb94d33")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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.

rgetattr Not yet run
unverified (harvested, no recorded run)
waterhorse1/llm_tree_search/tsllm/model/utils.py
pointer only (licence: NONE) · get_code("fc2499cfa7162602")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, waterhorse1/llm_tree_search 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 4 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
list_of_ints 4 other papers
4 later
2310.19046 (2023-10)
Large Language Models as Evolutionary Optimizers
2407.15913 (2024-07)
Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Models
2410.09671 (2024-10)
OpenR: An Open Source Framework for Advanced Reasoning with Large Language Models
and 1 more not named here
make_head 4 other papers
1 dated earlier, 3 later
2306.02231 (2023-06)
Fine-Tuning Language Models with Advantage-Induced Policy Alignment
2403.05612 (2024-03)
Unfamiliar Finetuning Examples Control How Language Models Hallucinate
2409.12822 (2024-09)
Language Models Learn to Mislead Humans via RLHF
and 1 more not named here
rgetattr 4 other papers
1 dated earlier, 3 later
2306.02231 (2023-06)
Fine-Tuning Language Models with Advantage-Induced Policy Alignment
2403.05612 (2024-03)
Unfamiliar Finetuning Examples Control How Language Models Hallucinate
2409.12822 (2024-09)
Language Models Learn to Mislead Humans via RLHF
and 1 more not named here
rhasattr 4 other papers
1 dated earlier, 3 later
2306.02231 (2023-06)
Fine-Tuning Language Models with Advantage-Induced Policy Alignment
2403.05612 (2024-03)
Unfamiliar Finetuning Examples Control How Language Models Hallucinate
2409.12822 (2024-09)
Language Models Learn to Mislead Humans via RLHF
and 1 more not named here
get_root 1 other paper
1 later
2502.06703 (2025-02)
Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
str2bool 1 other paper
1 later
2410.09671 (2024-10)
OpenR: An Open Source Framework for Advanced Reasoning with Large Language Models

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-24.

Repositories linked to this paper

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

Abstract

Recent works like Tree-of-Thought (ToT) and Reasoning via Planning (RAP) aim to augment the reasoning capabilities of LLMs by using tree-search algorithms to guide multi-step reasoning. These methods rely on prompting a pre-trained model to serve as a value function and focus on problems with low search depth. As a result, these methods will not work in domains where the pre-trained LLM does not have enough knowledge to serve as an effective value function or in domains that require long-horizon planning. To address these limitations, we present an AlphaZero-like tree-search learning framework for LLMs (termed TS-LLM), systematically illustrating how tree-search with a learned value function can guide LLM decoding. TS-LLM distinguishes itself in two key ways. (1) Leveraging a learned value function and AlphaZero-like algorithms, our approach can be generally adaptable to a wide range of tasks, language models of any size, and tasks of varying search depths. (2) Our approach can guide LLMs during both inference and training, iteratively improving the LLM. Empirical results across reasoning, planning, alignment, and decision-making tasks show that TS-LLM outperforms existing approaches and can handle trees with a depth of 64.

For agents

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

get_harvested_code_for_paper("2309.17179")
get_code_for_paper("2309.17179")
have("2309.17179")

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

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

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

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

Connect an agent — have() is free.