paper-with-me

Papers

CodeTree: Agent-guided Tree Search for Code Generation with Large Language Models

2024-11-07 · Jierui Li, Hung Le, Yingbo Zhou, Caiming Xiong, Silvio Savarese, Doyen Sahoo

Pre-trained on massive amounts of code and text data, large language models (LLMs) have demonstrated remarkable achievements in performing code generation tasks. With additional execution-based feedback, these models can act as agents with capabilities to self-refine and improve generated code autonomously. However, on challenging coding tasks with extremely large search space, current agentic approaches still struggle with multi-stage planning, generating, and debugging. To address this problem, we propose CodeTree, a framework for LLM agents to efficiently explore the search space in different stages of the code generation process. Specifically, we adopted a unified tree structure to explicitly explore different coding strategies, generate corresponding coding solutions, and subsequently refine the solutions. In each stage, critical decision-making (ranking, termination, expanding) of the exploration process is guided by both the environmental execution-based feedback and LLM-agent-generated feedback. We comprehensively evaluated CodeTree on 7 code generation benchmarks and demonstrated the significant performance gains of CodeTree against strong baselines. Using GPT-4o as the base model, we consistently achieved top results of 95.1 on HumanEval, 98.7 on MBPP, and 43.0 on CodeContests. On the challenging SWEBench benchmark, our approach led to significant performance gains.

📄 PDF Abstract BibTeX arXiv:2411.04329

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationDecision MakingHumanEvalmbpp

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

AT$^2$PO: Agentic Turn-based Policy Optimization via Tree Search

2026-01-08 · Zefang Zong, Dingwei Chen, Yang Li, Qi Yi 외 arxiv

LLM agents have emerged as powerful systems for tackling multi-turn tasks by interleaving internal reasoning and external tool interactions. Agentic Reinforcement Learning has recently drawn significant research attentio…

Reinforcement Learning

TLC-Plan: A Two-Level Codebook Based Network for End-to-End Vector Floorplan Generation

2026-02-06 · Biao Xiong, Zhen Peng, Ping Wang, Qiegen Liu 외 arxiv

Automated floorplan generation aims to improve design quality, architectural efficiency, and sustainability by jointly modeling global spatial organization and precise geometric detail. However, existing approaches opera…

Spatial Reasoning

NonZero: Interaction-Guided Exploration for Multi-Agent Monte Carlo Tree Search

2026-05-01 · Sizhe Tang, Zuyuan Zhang, Mahdi Imani, Tian Lan arxiv

Monte Carlo Tree Search (MCTS) scales poorly in cooperative multi-agent domains because expansion must consider an exponentially large set of joint actions, severely limiting exploration under realistic search budgets. W…

LLM as a Tool, Not an Agent: Code-Mined Tree Transformations for Neural Architecture Search

2026-04-17 · Masakazu Yoshimura, Zitang Sun, Yuiko Sakuma, Junji Otsuka 외 arxiv

Neural Architecture Search (NAS) aims to automatically discover high-performing deep neural network (DNN) architectures. However, conventional algorithm-driven NAS relies on carefully hand-crafted search spaces to ensure…

Neural Architecture SearchCode Generation

Automating Formal Verification with Agent-Guided Tree Search

2026-05-26 · Leo Yao arxiv

Formal verification offers a path to provably correct software, but writing verified code remains expensive enough that the technique is rarely used in production. Recent large language models can accelerate this work, a…

Code Generation