paper-with-me

Papers

SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement

2024-10-26 · Antonis Antoniades, Albert Örwall, Kexun Zhang, Yuxi Xie, Anirudh Goyal, William Wang

Software engineers operating in complex and dynamic environments must continuously adapt to evolving requirements, learn iteratively from experience, and reconsider their approaches based on new insights. However, current large language model (LLM)-based software agents often rely on rigid processes and tend to repeat ineffective actions without the capacity to evaluate their performance or adapt their strategies over time. To address these challenges, we propose SWE-Search, a multi-agent framework that integrates Monte Carlo Tree Search (MCTS) with a self-improvement mechanism to enhance software agents' performance on repository-level software tasks. SWE-Search extends traditional MCTS by incorporating a hybrid value function that leverages LLMs for both numerical value estimation and qualitative evaluation. This enables self-feedback loops where agents iteratively refine their strategies based on both quantitative numerical evaluations and qualitative natural language assessments of pursued trajectories. The framework includes a SWE-Agent for adaptive exploration, a Value Agent for iterative feedback, and a Discriminator Agent that facilitates multi-agent debate for collaborative decision-making. Applied to the SWE-bench benchmark, our approach demonstrates a 23% relative improvement in performance across five models compared to standard open-source agents without MCTS. Our analysis reveals how performance scales with increased search depth and identifies key factors that facilitate effective self-evaluation in software agents. This work highlights the potential of self-evaluation driven search techniques to enhance agent reasoning and planning in complex, dynamic software engineering environments.

📄 PDF Abstract BibTeX arXiv:2410.20285

Code (2)

aorwall/moatless-tools 공식 구현
aorwall/moatless-tree-search 공식 구현

Tasks

Large Language Model

Similar Papers 제목 키워드 기반

I-MCTS: Enhancing Agentic AutoML via Introspective Monte Carlo Tree Search

2025-02-20 · Zujie Liang, Feng Wei, Wujiang Xu, Lin Chen 외

Recent advancements in large language models (LLMs) have shown remarkable potential in automating machine learning tasks. However, existing LLM-based agents often struggle with low-diversity and suboptimal code generatio…

AutoMLCode GenerationDiversityLarge Language Model

Patched MOA: optimizing inference for diverse software development tasks

2024-07-26 · Asankhaya Sharma

This paper introduces Patched MOA (Mixture of Agents), an inference optimization technique that significantly enhances the performance of large language models (LLMs) across diverse software development tasks. We evaluat…

Inference Optimization

Competing in a Complex Hidden Role Game with Information Set Monte Carlo Tree Search

2020-05-14 · Jack Reinhardt

Advances in intelligent game playing agents have led to successes in perfect information games like Go and imperfect information games like Poker. The Information Set Monte Carlo Tree Search (ISMCTS) family of algorithms…

Enhancing the Monte Carlo Tree Search Algorithm for Video Game Testing

2020-03-17 · Sinan Ariyurek, Aysu Betin-Can, Elif Surer

In this paper, we study the effects of several Monte Carlo Tree Search (MCTS) modifications for video game testing. Although MCTS modifications are highly studied in game playing, their impacts on finding bugs are blank.…

An Annealed Sequential Monte Carlo Method for Bayesian Phylogenetics

2019-03-13

We describe an "embarrassingly parallel" method for Bayesian phylogenetic inference, annealed Sequential Monte Carlo, based on recent advances in the Sequential Monte Carlo literature such as adaptive determination of an…