EUVIMEDEUVIMED entdecken
Crossref

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

Yuanyuan Lin, Xiangyu Ouyang, Teng Zhang, Kaixin Sui

Proceedings of the AAAI Conference on Artificial Intelligence · 14.03.2026 · 40 (38) · 32042-32050

DOI: 10.1609/aaai.v40i38.40475 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the AAAI Conference on Artificial Intelligence, online erschienen am 14.03.2026. Verfasst von Yuanyuan Lin und 3 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Tree search-based methods have made significant progress in enhancing the code generation capabilities of large language models. However, due to the difficulty in effectively evaluating intermediate algorithmic steps and the inability to locate and timely correct erroneous steps, these methods often generate incorrect code and incur increased computational costs. To tackle these problems, we propose RPM-MCTS, an effective method that utilizes Knowledge-Retrieval as Process Reward Model based on Monte Carlo Tree Search to evaluate intermediate algorithmic steps. By utilizing knowledge base retrieval, RPM-MCTS avoids the complex training of process reward models. During the expansion phase, similarity filtering is employed to remove redundant nodes, ensuring diversity in reasoning paths. Furthermore, our method utilizes sandbox execution feedback to locate erroneous algorithmic steps during generation, enabling timely and targeted corrections. Extensive experiments on four public code generation benchmarks demonstrate that RPM-MCTS outperforms current state-of-the-art methods while achieving an approximately 15% reduction in token consumption. Furthermore, full fine-tuning of the base model using the data constructed by RPM-MCTS significantly enhances its code capabilities.

Zitieren

APA

Lin, Y., Ouyang, X., Zhang, T., & Sui, K. (2026). RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(38), 32042-32050. https://doi.org/10.1609/aaai.v40i38.40475

Vancouver

Lin Y, Ouyang X, Zhang T, Sui K. RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation. Proceedings of the AAAI Conference on Artificial Intelligence. 2026;40(38):32042-32050. doi:10.1609/aaai.v40i38.40475

BibTeX
@article{Lin2026,
  author = {Lin, Yuanyuan and Ouyang, Xiangyu and Zhang, Teng and Sui, Kaixin},
  title = {RPM-MCTS: Knowledge-Retrieval as Process Reward Model with Monte Carlo Tree Search for Code Generation},
  journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2026},
  volume = {40},
  number = {38},
  pages = {32042--32050},
  doi = {10.1609/aaai.v40i38.40475}
}
Kostenlos starten →