SWE-Exp: Experience-Driven Software Issue Resolution

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Silin, Lin, Shaoxin, Shi, Yuling, Lian, Heng, Gu, Xiaodong, Yun, Longfei, Chen, Dong, Cao, Lin, Liu, Jiyang, Xia, Nu, Wang, Qianxiang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917239968497664
author Chen, Silin
Lin, Shaoxin
Shi, Yuling
Lian, Heng
Gu, Xiaodong
Yun, Longfei
Chen, Dong
Cao, Lin
Liu, Jiyang
Xia, Nu
Wang, Qianxiang
author_facet Chen, Silin
Lin, Shaoxin
Shi, Yuling
Lian, Heng
Gu, Xiaodong
Yun, Longfei
Chen, Dong
Cao, Lin
Liu, Jiyang
Xia, Nu
Wang, Qianxiang
contents Recent advances in large language model (LLM) agents have shown remarkable progress in software issue resolution, leveraging advanced techniques such as multi-agent collaboration and Monte Carlo Tree Search (MCTS). However, current agents act as memoryless explorers - treating each problem separately without retaining or reusing knowledge from previous repair experiences. This leads to redundant exploration of failed trajectories and missed chances to adapt successful issue resolution methods to similar problems. To address this problem, we introduce SWE-Exp, an experience-enhanced approach that distills concise and actionable experience from prior agent trajectories, enabling continuous learning across issues. Our method introduces a multi-faceted experience bank that captures both successful and failed repair attempts. Specifically, it extracts reusable issue resolution knowledge at different levels - from high-level problem comprehension to specific code changes. Experiments show that SWE-Exp achieves a Pass@1 resolution rate of 73.0% on SWE-Bench Verified using the state-of-the-art LLM Claude 4 Sonnet, significantly outperforming prior results under other agent frameworks. Our approach establishes a new paradigm in which automated software engineering agents systematically accumulate and leverage repair expertise, fundamentally shifting from trial-and-error exploration to strategic, experience-driven issue resolution.
format Preprint
id arxiv_https___arxiv_org_abs_2507_23361
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SWE-Exp: Experience-Driven Software Issue Resolution
Chen, Silin
Lin, Shaoxin
Shi, Yuling
Lian, Heng
Gu, Xiaodong
Yun, Longfei
Chen, Dong
Cao, Lin
Liu, Jiyang
Xia, Nu
Wang, Qianxiang
Software Engineering
Computation and Language
Machine Learning
Recent advances in large language model (LLM) agents have shown remarkable progress in software issue resolution, leveraging advanced techniques such as multi-agent collaboration and Monte Carlo Tree Search (MCTS). However, current agents act as memoryless explorers - treating each problem separately without retaining or reusing knowledge from previous repair experiences. This leads to redundant exploration of failed trajectories and missed chances to adapt successful issue resolution methods to similar problems. To address this problem, we introduce SWE-Exp, an experience-enhanced approach that distills concise and actionable experience from prior agent trajectories, enabling continuous learning across issues. Our method introduces a multi-faceted experience bank that captures both successful and failed repair attempts. Specifically, it extracts reusable issue resolution knowledge at different levels - from high-level problem comprehension to specific code changes. Experiments show that SWE-Exp achieves a Pass@1 resolution rate of 73.0% on SWE-Bench Verified using the state-of-the-art LLM Claude 4 Sonnet, significantly outperforming prior results under other agent frameworks. Our approach establishes a new paradigm in which automated software engineering agents systematically accumulate and leverage repair expertise, fundamentally shifting from trial-and-error exploration to strategic, experience-driven issue resolution.
title SWE-Exp: Experience-Driven Software Issue Resolution
topic Software Engineering
Computation and Language
Machine Learning
url https://arxiv.org/abs/2507.23361