Architecture-Aware Multi-Design Generation for Repository-Level Feature Addition
Mingwei Liu, Zhenxi Chen, Zheng Pei, Zihao Wang, Yanlin Wang, Zibin Zheng

TL;DR
RAIM is an architecture-aware, multi-design framework for repository-level feature addition that improves success rates by accurately pinpointing modification targets and generating diverse implementation options, reducing regressions.
Contribution
This paper introduces RAIM, a novel multi-design, architecture-aware framework that enhances feature addition in large codebases by multi-round exploration and impact-aware selection, surpassing existing methods.
Findings
Achieves a 39.47% success rate on NoCode-bench dataset.
Outperforms baseline systems with a 36.34% relative improvement.
Demonstrates robustness across various foundation models.
Abstract
Implementing new features across an entire codebase presents a formidable challenge for Large Language Models (LLMs). This proactive task requires a deep understanding of the global system architecture to prevent unintended disruptions to legacy functionalities. Conventional pipeline and agentic frameworks often fall short in this area because they suffer from architectural blindness and rely on greedy single-path code generation. To overcome these limitations, we propose RAIM, a multi-design and architecture-aware framework for repository-level feature addition. This framework introduces a localization mechanism that conducts multi-round explorations over a repository-scale code graph to accurately pinpoint dispersed cross-file modification targets. Crucially, RAIM shifts away from linear patching by generating multiple diverse implementation designs. The system then employs a rigorous…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software System Performance and Reliability
