atlas

Research map / Multi-agent systems and games / LLM agents

PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification

ICML 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 0 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 PatchPilot, a rule-based planning software-patching agent with a unique refinement loop that is cheaper and more stable than agent-based patchers, plus an early formal-verification add-on using CrossHair.

Problem

Existing LLM patching agents either use agent-based planning, which is high-cost and unstable, or rule-based planning, which is cheap but limited by rigid workflows that regenerate patches from scratch on failure. The paper targets resolving SWE-bench issues with a balance of efficacy, stability and

Approach

A fixed five-stage workflow (reproduction, localization, generation, validation, refinement) where failed patches are iteratively refined using validation feedback rather than regenerated, with self-reflective PoC reproduction, tool-augmented hierarchical localization, plan-then-generate with diverse prompts, and PoC-plus-functionality test ranking.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add localization tools and review, and two-phase patch planning and generation (ablation)PatchPilot localization and generation · SWE-bench Literesolved rate: 32.7% (98/300) -> 38.7% (116/300)Helped
add PoC-only validation (ablation)PatchPilot with improved localization and generation · SWE-bench Literesolved rate: 38.7% (116/300) -> 37.00% (111/300)Hurt
add functionality tests to validation (ablation)PatchPilot with PoC validation · SWE-bench Literesolved rate: 37.00% (111/300) -> 41.67% (125/300)Helped
add iterative patch refinement using validation feedback (ablation)PatchPilot with full validation · SWE-bench Literesolved rate: 41.67% -> 45.33%Helped
use o3-mini instead of GPT-4oPatchPilot · SWE-bench Lite subset (100 instances)resolved rate: 19.00% -> 43.00%Helped
use Claude-3.5-Sonnet instead of GPT-4oPatchPilot · SWE-bench Lite subset (100 instances)resolved rate: 19.00% -> 39.00%Helped
use rule-based PatchPilot instead of agent-based OpenHandsPatchPilot and OpenHands · 45 common SWE-bench Lite instances, three runsresolved instances: PatchPilot: 30, 32, and 35; OpenHands: 15, 20, and 21Helped
use Tree of Thoughts in generation (ablation)PatchPilot · SWE-bench Literesolved rateNo clear effect
add function summaries to generation (ablation)PatchPilot · SWE-bench Literesolved rateMixed
use rule-based criteria instead of an LLM judge for PoC outputs (ablation)PatchPilot validation · SWE-bench Literesolved rateHurt

Surprising findings

Limitations

Experimental setup

Datasets: SWE-bench Lite SWE-bench Verified

Benchmarks: SWE-bench Lite SWE-bench Verified

Metrics: resolved rate average cost per instance stability (std across runs)

Baselines: OpenHands AutoCodeRover Agentless Globant Code Fixer Agent CodeStory Midwit Agent SpecRover RepoGraph

Builds on: Agentless Reflexion Chain-of-thought Tree of Thoughts CrossHair

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