Papers › Toward Self-Improvement of LLMs via Imagination, Searching, and Criticizing

Toward Self-Improvement of LLMs via Imagination, Searching, and Criticizing

18 Apr 2024arXiv:2404.12253archive 2025-07-28

Ye Tian, Baolin Peng, Linfeng Song, Lifeng Jin, Dian Yu, Haitao Mi, Dong Yu

Despite the impressive capabilities of Large Language Models (LLMs) on various tasks, they still struggle with scenarios that involves complex reasoning and planning. Recent work proposed advanced prompting techniques and the necessity of fine-tuning with high-quality data to augment LLMs' reasoning abilities. However, these approaches are inherently constrained by data availability and quality. In light of this, self-correction and self-learning emerge as viable solutions, employing strategies that allow LLMs to refine their outputs and learn from self-assessed rewards. Yet, the efficacy of LLMs in self-refining its response, particularly in complex reasoning and planning task, remains dubious. In this paper, we introduce AlphaLLM for the self-improvements of LLMs, which integrates Monte Carlo Tree Search (MCTS) with LLMs to establish a self-improving loop, thereby enhancing the capabilities of LLMs without additional annotations. Drawing inspiration from the success of AlphaGo, AlphaLLM addresses the unique challenges of combining MCTS with LLM for self-improvement, including data scarcity, the vastness search spaces of language tasks, and the subjective nature of feedback in language tasks. AlphaLLM is comprised of prompt synthesis component, an efficient MCTS approach tailored for language tasks, and a trio of critic models for precise feedback. Our experimental results in mathematical reasoning tasks demonstrate that AlphaLLM significantly enhances the performance of LLMs without additional annotations, showing the potential for self-improvement in LLMs.

PaperPDFCodeCode 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="2404.12253")

Code

Syntology Ran 13 of 18 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 10 ran with no contract checked.

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

yetianjhu/alphallm officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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; 13 ran; 0 honoured the contract we drafted; 5 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 · violated contract
2ran · our draft was wrong
10ran
5unverified

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 yetianjhu/alphallm. “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.

MonteCarloTreeSearchNode yetianjhu/alphallm/search/mcts.py official repository ran no licence file found · pointer only · ef6c4dacecbd6cb6 · report
convert_to_left_equation YeTianJHU/AlphaLLM/utils/gsm8k_dataset.py official repository ran fingerprinted no licence file found · pointer only · f75cff37d1f59a84 · report
gen_experiment_name YeTianJHU/AlphaLLM/search/experiment.py official repository ran no licence file found · pointer only · b4a213ba708b085d · report
identify_and_format_decimal YeTianJHU/AlphaLLM/server/extract_client_example.py official repository ran fingerprinted no licence file found · pointer only · 72bf3605afc839b3 · report
linear_activation YeTianJHU/AlphaLLM/models/rmgpt_model.py official repository ran fingerprinted no licence file found · pointer only · 29136163302afc0c · report
load_data YeTianJHU/AlphaLLM/utils/gsm8k_dataset.py official repository ran no licence file found · pointer only · 2c7670bbc9fce517 · report
load_data_gsm8k YeTianJHU/AlphaLLM/search/experiment.py official repository ran no licence file found · pointer only · 2fc084634834c538 · report
load_step_data YeTianJHU/AlphaLLM/utils/gsm8k_dataset.py official repository ran no licence file found · pointer only · f1ff5a1574cecc9d · report
remove_enclosed_strings YeTianJHU/AlphaLLM/server/extract_client_example.py official repository ran fingerprinted no licence file found · pointer only · bbbbf23c8b624b94 · report
replace_enclosed_strings YeTianJHU/AlphaLLM/server/extract_client_example.py official repository ran fingerprinted no licence file found · pointer only · 48305b97411c62ac · report
select_url yetianjhu/alphallm/search/mcts.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 3b7ff9f187ac8a13 · report
str2bool YeTianJHU/AlphaLLM/search/experiment.py official repository ran · violated contract no licence file found · pointer only · 7c508037b40522af · report
weighted_vote yetianjhu/alphallm/search/mcts.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 73b222be68d63972 · report
MCTS yetianjhu/alphallm/search/mcts.py official repository unverified no licence file found · pointer only · d3ceda385feb848e · report
format_llama2 yetianjhu/alphallm/search/mcts.py official repository unverified no licence file found · pointer only · fe0186765fc4b2a7 · report
get_tokenizer YeTianJHU/AlphaLLM/utils/utils.py official repository unverified no licence file found · pointer only · f4d93f19b3b4e1ac · report
load_hf_tokenizer YeTianJHU/AlphaLLM/utils/utils.py official repository unverified no licence file found · pointer only · e90b184086a6543b · report
to_device YeTianJHU/AlphaLLM/utils/utils.py official repository unverified no licence file found · pointer only · 387b9e6c4f21dd62 · report

Tasks

Arithmetic ReasoningGSM8KMathMath Word Problem SolvingMathematical ReasoningSelf-Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Arithmetic Reasoning GSM8K AlphaLLM (with MCTS) Accuracy 92 #16 of 164 Archive leaderboard report
Arithmetic Reasoning GSM8K AlphaLLM (with MCTS) Parameters (Billion) 70 #16 of 164 Archive leaderboard report
GSM8K GSM8K AlphaLLM (with MCTS) Accuracy 92 #2 of 3 Archive leaderboard report
Math Word Problem Solving MATH AlphaLLM (with MCTS) Accuracy 51 #45 of 135 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Self-Learning

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