Pith. sign in

EXPEREPAIR: Dual-Memory Enhanced LLM-based Repository-Level Program Repair

9 Pith papers cite this work. Polarity classification is still indexing.

9 Pith papers citing it
abstract

Automatically repairing software issues remains a fundamental challenge at the intersection of software engineering and AI. Although recent advances in Large Language Models (LLMs) have demonstrated potential for repository-level repair tasks, current methods exhibit two notable limitations: (1) they often address issues in isolation, neglecting to incorporate insights from previously resolved issues, and (2) they rely on static, rigid prompting strategies that constrain their ability to generalize across diverse and evolving contexts. We propose ExpeRepair, a novel LLM-based program repair framework inspired by the dual-memory systems of human cognition, where episodic and semantic memory synergistically support learning and decision-making. Unlike existing methods, ExpeRepair continuously learns from historical repair experiences via dual-channel knowledge accumulation, enabling it to adaptively reuse past knowledge during inference. Specifically, ExpeRepair organizes prior repair knowledge into two complementary memories: an episodic memory that stores concrete repair demonstrations, and a semantic memory that encodes abstract, reflective insights. At inference time, ExpeRepair activates both memory systems by retrieving relevant demonstrations from episodic memory and recalling high-level repair insights from semantic memory. It further enhances adaptability through dynamic prompt composition, integrating both memory types to replace static prompts with context-aware, experience-driven prompts. We evaluate ExpeRepair on two benchmarks: SWE-Bench Lite and SWE-Bench Verified. Experimental results show that ExpeRepair achieves pass@1 scores of 60.3% and 74.6% on the two benchmarks, respectively, achieving the best performance among the evaluated open-source methods. We have open-sourced ExpeRepair at https://github.com/ExpeRepair/ExpeRepair.

citation-role summary

background 1

citation-polarity summary

fields

cs.SE 8 cs.AI 1

years

2026 9

roles

background 1

polarities

background 1

representative citing papers

LLM Agents Can See Code Repositories

cs.SE · 2026-06-12 · conditional · novelty 6.0

Adding visual dependency-graph images to a text-based coding agent cuts token consumption by up to 26% while keeping issue-resolution accuracy roughly unchanged.

LLM-based Mockless Unit Test Generation for Java

cs.SE · 2026-05-26 · unverdicted · novelty 6.0

MocklessTester generates mockless Java unit tests using context mining and multi-level constraint fixing, improving coverage and mutation scores over baselines on Defects4J and Deps4J.

Dynamic analysis enhances issue resolution

cs.SE · 2026-03-23 · unverdicted · novelty 6.0

Embedding dynamic analysis into an LLM repair agent yields a claimed 79.4% resolution rate on SWE-bench Verified while cutting token use by about 25%.

citing papers explorer

Showing 9 of 9 citing papers.