Iterative Experience Refinement of Software-Developing Agents

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Qian, Chen, Li, Jiahao, Dang, Yufan, Liu, Wei, Wang, YiFei, Xie, Zihao, Chen, Weize, Yang, Cheng, Zhang, Yingli, Liu, Zhiyuan, Sun, Maosong
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914787258007552
author Qian, Chen
Li, Jiahao
Dang, Yufan
Liu, Wei
Wang, YiFei
Xie, Zihao
Chen, Weize
Yang, Cheng
Zhang, Yingli
Liu, Zhiyuan
Sun, Maosong
author_facet Qian, Chen
Li, Jiahao
Dang, Yufan
Liu, Wei
Wang, YiFei
Xie, Zihao
Chen, Weize
Yang, Cheng
Zhang, Yingli
Liu, Zhiyuan
Sun, Maosong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_04219
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Iterative Experience Refinement of Software-Developing Agents
Qian, Chen
Li, Jiahao
Dang, Yufan
Liu, Wei
Wang, YiFei
Xie, Zihao
Chen, Weize
Yang, Cheng
Zhang, Yingli
Liu, Zhiyuan
Sun, Maosong
Computation and Language
Artificial Intelligence
Multiagent Systems
Software Engineering
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.
title Iterative Experience Refinement of Software-Developing Agents
topic Computation and Language
Artificial Intelligence
Multiagent Systems
Software Engineering
url https://arxiv.org/abs/2405.04219