paper-with-me

Papers

Persistent Cross-Attempt State Optimization for Repository-Level Code Generation

2026-04-04 · Ruwei Pan, Jiangshuai Wang, Qisheng Zhang, Yueheng Zhu, Linhao Wu, Zixiong Yang, Yakun Zhang, Lu Zhang, Hongyu Zhang arxiv

Large language models (LLMs) have achieved substantial progress in repository-level code generation. However, solving the same repository-level task often requires multiple attempts, while existing methods still optimize each attempt in isolation and do not preserve or reuse task-specific state across attempts. In this paper, we propose LiveCoder, a novel framework for repository-level code generation based on cross-attempt knowledge optimization. LiveCoder maintains persistent task-specific state from prior attempts to guide subsequent generation. This state includes success knowledge, which captures reusable signals from previously strong repositories, failure knowledge, which records unsuccessful outcomes and their diagnostic signals, and a historical-best repository, which preserves the strongest result found so far and prevents regression. These components collectively transform repeated repository generation into a persistent, knowledge-driven optimization process. We evaluate LiveCoder using four frontier LLMs on two representative repository-level code generation benchmarks. Extensive experimental results demonstrate the effectiveness and efficiency of LiveCoder, improving the functional score by up to 22.94 percentage points, increasing repository reuse to 81.58%, and reducing cost by up to 53.63% on RAL-Bench while maintaining broadly stable non-functional quality.

📄 PDF Abstract BibTeX arXiv:2604.03632

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair

2026-05-17 · Simiao Liu, Li Zhang, Fang Liu, Xiaoli Lian 외 arxiv

Modern software ecosystems face a rapidly growing number of disclosed vulnerabilities, increasing the need for automated repair techniques that can operate reliably at repository scale. Although Large Language Model (LLM…

Persistent Recursive Worlds Enable Autonomous Software Evolution

2026-08-12 · Beichen Huang, Zhenyu Liang, Bowen Zheng, Ran Cheng hf

Complex software systems develop over timescales that exceed the lifespan of any individual coding agent. Most agentic software systems preserve continuity through persistent sessions, memories, managers or shared contex…

PubAnnotation - a persistent and sharable corpus and annotation repository

2012-06-01 · WS 2012 6 · Jin-Dong Kim, Yue Wang

Libra: Training the Environment for Agentic Information Retrieval

2026-05-26 · Xuan Zhao, Andy Chiu, Gengyu Wang arxiv

Information localization within massive repositories is a cornerstone of agentic LLM systems. While synthetic data-driven optimization has proven successful in training LLMs, little attention has been paid to optimizing …

Information Retrieval

Long Live the Librarian! A Persistent Search Sub-Agent for Energy-Efficient Multi-Agent Software Engineering Systems

2026-05-27 · Seunghyuk Cho, Sunghyun Choi, Jaeseung Heo, Youngbin Choi 외 arxiv

Multi-agent systems (MAS) have substantially advanced autonomous software engineering (SWE), but their growing inference energy demands raise sustainability concerns. In this paper, we demonstrate that this cost is conce…