Iterative Experience Refinement of Software-Developing Agents

Chen Qian, Jiahao Li, Yufan Dang, Wei Liu, YiFei Wang +6 more
5/7/2024
cs.CLcs.AIcs.MA

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Autonomous agents powered by large language models (LLMs) show significant potential for achieving high autonomy in various scenarios such as software development. Recent research has shown that LLM agents can leverage past experiences to reduce errors and enhance efficiency. However, the static experience paradigm, reliant on a fixed collection of past experiences acquired heuristically, lacks iterative refinement and thus hampers agents' adaptability. In this paper, we introduce the Iterative Experience Refinement framework, enabling LLM agents to refine experiences iteratively during task execution. We propose two fundamental patterns: the successive pattern, refining based on nearest experiences within a task batch, and the cumulative pattern, acquiring experiences across all previous task batches. Augmented with our heuristic experience elimination, the method prioritizes high-quality and frequently-used experiences, effectively managing the experience space and enhancing efficiency. Extensive experiments show that while the successive pattern may yield superior results, the cumulative pattern provides more stable performance. Moreover, experience elimination facilitates achieving better performance using just 11.54% of a high-quality subset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qian2024iterative,
  title  = {Iterative Experience Refinement of Software-Developing Agents},
  author = {Chen Qian and Jiahao Li and Yufan Dang and Wei Liu and YiFei Wang and Zihao Xie and Weize Chen and Cheng Yang and Yingli Zhang and Zhiyuan Liu and Maosong Sun},
  year   = {2024},
  eprint = {2405.04219},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.04219v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.04219.svg)](https://codeofpaper.com/paper/2405.04219)

Discussion