atlas

Research map / Large language models / Agents, code and math

AlphaZero-Like Tree-Search can Guide Large Language Model Decoding and Training

ICML 2024 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TS-LLM, an AlphaZero-like tree-search framework that uses a learned LLM value function and outcome reward model to guide LLM decoding at inference and to iteratively improve the policy and value via tree-search-augmented training.

Problem

Prompt-based value functions in tree-search methods (ToT, RAP) are unreliable, depend on strong LLMs, and work only for shallow trees; they also cannot use in-domain training to improve the LLM.

Approach

Replace prompted self-evaluation with a learned value network and outcome reward model trained on the LLM's own rollouts, and use AlphaZero-style MCTS variants (MCTS-α, MCTS-Rollout) at sentence or token level; tree-search outputs then serve as policy-improvement data for distillation and value learning in an iterative loop.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use learned-value BFS-V instead of CoT-SC with ORM aggregationLLaMA2-7B · GSM8Kaccuracy (%): 52.3 -> 52.5No clear effect
Use MCTS-Rollout instead of CoT-SC with ORM aggregationLLaMA2-7B · Game24accuracy (%): 50.6 -> 71.3Helped
Use MCTS-α instead of CoT-SC with ORM aggregationLLaMA2-7B · PrOntoQAaccuracy (%): 83.2 -> 99.4Helped
Use MCTS-α instead of CoT-SC with ORM aggregationGPT-2-small (125M) · RLHFreward: 1.517 -> 2.221Helped
Use MCTS-Rollout instead of CoT-SC with ORM aggregationGPT-2-small (125M) · Chess Endgamewin rate: 73.80 -> 98.76Helped
Replace prompt-based GPT-3.5 value evaluation with the learned LLaMA-V value functionGPT-3.5 policy · GSM8Kaccuracy (%): 72.7 -> 74.0Helped
Replace prompt-based GPT-3.5 value evaluation with the learned LLaMA-V value functionLLaMA-SFT policy · Game24accuracy (%): 21.0 -> 64.8Helped
Add policy distillation from tree-search trajectoriesLLaMA2-7B with greedy decoding · GSM8Kaccuracy (%): 41.4 -> 47.9Helped
Update both policy and value/ORM through tree-search trainingLLaMA2-7B with MCTS-α · GSM8Kaccuracy (%): 51.9 -> 56.5Helped
Update both policy and value/ORM through tree-search trainingGPT-2-small (125M) with MCTS-α · RLHFreward: 2.22 -> 2.67Helped
Use mixed checkpoints rather than pure last-checkpoint data to train the ORM (ablation)CoT-SC ORM-vote · GSM8Kaccuracy (%): 55.3 ± 0.5 -> 55.9 ± 0.7Helped
Use full pure data instead of one-third pure data to train the value function (ablation)BFS · GSM8Kaccuracy (%): 50.0 ± 0.3 -> 52.7 ± 0.8Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8k Game24 PrOntoQA RLHF synthetic data Chess endgame

Benchmarks: GSM8k Game24 PrOntoQA RLHF (synthetic) Chess Endgame

Metrics: Path@1 accuracy Path@N accuracy token count reward win rate

Baselines: CoT greedy CoT-SC ToT-GPT3.5 RFT PPO BFS-V DFS-V MCTS

Builds on: Tree-of-Thought Reasoning via Planning AlphaZero rejection sampling fine-tuning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy