Journal article · 2026 · Open access

Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization

Tianjun Mo, Changhao Zhang, Jitong Zou, Zixuan Guo, Minjae Rhee

IEEE Access, 14, 111086–111102 · Published 1 January 2026 · DOI 10.1109/access.2026.3713401

Open full textCite this paper

In brief

“Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization” is a 2026 journal article by Tianjun Mo and 4 co-authors, published in IEEE Access. OpenAlex counts 32 citations as of 1 December 2026, which puts it in the top 1% of works published in 2026 by citations. It is open access under a CC BY licence: the full text is free to read at IEEE Access.

Citations
32
Most cited in
2026 (32)
Field-weighted impact
63.45
References
37
Authors
5

Abstract

Large Language Model (LLM)-based autonomous agents have shown significant promise in automating software engineering tasks, yet existing systems still suffer from two fundamental limitations: i) the lack of persistent experiential knowledge across debugging sessions, which forces agents to repeat exploratory mistakes, and ii) the static nature of prompt structures, which prevents agents from adapting their reasoning strategy to recurring failure modes. To address these gaps, we propose LS-CM (Long-Short Collaborative Memory), a dual-memory architecture that couples a Retrieval-Augmented Generation (RAG)-based short-term memory for code-base context with a Reinforcement Learning (RL)-driven long-term memory that distills strategic patterns from historical test failures and patch iterations. The core innovation is a self-evolving context engineering module that automatically refines the agent’s internal prompt structure based on execution feedback signals, treating the prompt as a configurable policy object that a gradient-free controller selects among pre-generated variants, rather than a fixed artifact. We evaluate LS-CM on two industry-standard benchmarks: SWE-bench, for end-to-end issue resolution on real-world GitHub repositories, and Defects4J, for bug localization and program repair in Java projects. Across multiple LLM backbones, LS-CM resolves 33.7% of SWE-bench Lite issues, a modest gain over the strongest reproduced baseline (Agentless, 32.0%), and improves Top-1 fault localization accuracy on Defects4J from 42.6% to 47.6% while reducing editing churn by 31%. We find that LS-CM’s most robust advantages lie in debugging efficiency, cross-episode strategy transfer, and run-to-run stability rather than in a single headline resolved-rate number. Ablation studies confirm that short-term retrieval, long-term policy learning, and self-evolving prompts each contribute to the gains. Our work demonstrates that explicitly modeling memory and prompt adaptation as first-class learning objects substantially enhances agent productivity on real-world software engineering tasks.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Mo, T., Zhang, C., Zou, J., Guo, Z., & Rhee, M. (2026). Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization. IEEE Access, 14, 111086–111102. https://doi.org/10.1109/access.2026.3713401

MLA 9

Mo, Tianjun, et al. “Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization.” IEEE Access, vol. 14, 2026, pp. 111086–111102. https://doi.org/10.1109/access.2026.3713401.

Chicago

Mo, Tianjun, Changhao Zhang, Jitong Zou, Zixuan Guo, and Minjae Rhee. 2026. “Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization.” IEEE Access 14: 111086–111102. https://doi.org/10.1109/access.2026.3713401.

Harvard

Mo, T. et al. (2026) ‘Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization’, IEEE Access, 14, pp. 111086–111102. doi:10.1109/access.2026.3713401.

IEEE

T. Mo, C. Zhang, J. Zou, Z. Guo, and M. Rhee, “Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization,” IEEE Access, vol. 14, pp. 111086–111102, 2026, doi: 10.1109/access.2026.3713401.

BibTeX

@article{mo2026self,
  title     = {{Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization}},
  author    = {Mo, Tianjun and Zhang, Changhao and Zou, Jitong and Guo, Zixuan and Rhee, Minjae},
  journal   = {IEEE Access},
  year      = {2026},
  volume    = {14},
  pages     = {111086--111102},
  doi       = {10.1109/access.2026.3713401},
  url       = {https://doi.org/10.1109/access.2026.3713401}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques

  • long-term memory
  • prompt adaptation
  • retrieval-augmented generation
  • bug localization
  • program repair
  • test automation
  • SWE-bench
  • Defects4J

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Mo, T., Zhang, C., Zou, J., Guo, Z., & Rhee, M. (2026). Self-Evolving AI Agents With Dual Memory for Automated Software Testing and Bug Localization. IEEE Access, 14, 111086–111102. https://doi.org/10.1109/access.2026.3713401

How many times has this paper been cited?

32 times, according to OpenAlex on 1 December 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at IEEE Access: sign in and open the full text from this page.

Who wrote this paper?

Tianjun Mo, Changhao Zhang, Jitong Zou, Zixuan Guo, Minjae Rhee.

What is the DOI of this paper?

10.1109/access.2026.3713401, permanently at https://doi.org/10.1109/access.2026.3713401. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 1 December 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.