atlas

Research map / Large language models / Reasoning and chain of thought

RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation

AAAI 2026 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 1 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 RPM-MCTS, a tree search for code generation that uses knowledge-base retrieval similarity as a process reward, similarity filtering for diversity, and sandbox feedback to localize and truncate erroneous steps.

Problem

Tree search methods for LLM code generation struggle to evaluate intermediate algorithmic steps and to locate and correct erroneous steps, leading to incorrect code and high token cost.

Approach

Replace trained process reward models with retrieval scores from a knowledge base of correct algorithmic steps (cosine similarity), add LLM-generated step candidates filtered by similarity, and use sandbox execution feedback during simulation to prune erroneous steps and keep verified correct prefixes in the tree.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: APPS train CodeContests train APPS test CodeContests test HumanEval+ MBPP+

Benchmarks: APPS-Introductory APPS-Interview APPS-Competition CodeContests HumanEval+ MBPP+ SWE-Bench LiveCodeBench Aider McEval

Metrics: pass@1 token consumption

Baselines: Base LLM LDB ToT SRA-MCTS

Builds on: Monte Carlo Tree Search Upper Confidence Bound SRA-MCTS Tree-of-Thought LDB

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