Skip to main content
QUICK REVIEW

[Paper Review] Architecture-Aware Multi-Design Generation for Repository-Level Feature Addition

Mingwei Liu, Zhenxi Chen|arXiv (Cornell University)|Mar 2, 2026
Software Engineering ResearchComputer Science0 citations
TL;DR

RAIM introduces a repository-level, architecture-aware framework that generates multiple design patches and uses impact analysis to select patches, achieving state-of-the-art results on NoCode-bench Verified.

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 impact-aware selection process based on static and dynamic analysis to choose the most architecturally sound patch and avoid system regressions. Comprehensive experiments on the NoCode-bench Verified dataset demonstrate that RAIM establishes a new state-of-the-art performance with a 39.47% success rate, achieving a 36.34% relative improvement over the strongest baseline. Furthermore, the approach exhibits robust generalization across various foundation models and empowers open-weight models like DeepSeek-v3.2 to surpass baseline systems powered by leading proprietary models. Detailed ablation studies confirm that the multi-design generation and impact validation modules are critical to effectively managing complex dependencies and reducing code errors. These findings highlight the vital role of structural awareness in automated software evolution.

Motivation & Objective

  • Motivate automated, repository-level feature addition as a proactive software evolution task requiring architectural awareness.
  • Propose RAIM to address architectural blindness and linear generation in existing methods.
  • Develop a four-stage framework: architecture-aware localization, multi-design patch generation, and impact-aware patch selection.
  • Demonstrate RAIM's effectiveness and generalization across multiple LLMs and open-weight models on NoCode-bench Verified.

Proposed method

  • Construct a repository-level code graph to capture semantic and structural relationships.
  • Perform architecture-aware file and function localization via multi-round searches on the code graph.
  • Generate multiple diverse implementation designs and corresponding patches.
  • Evaluate candidate patches with static change impact analysis and dynamic test execution to select an optimal patch.

Experimental results

Research questions

  • RQ1How does RAIM perform compared with state-of-the-art baselines on repository-level feature addition tasks?
  • RQ2Can RAIM generalize across different LLMs and handle cross-file feature additions effectively?
  • RQ3What is the contribution of each RAIM component (localization, multi-design generation, impact analysis) to overall performance?
  • RQ4How effective is the patch selection strategy in balancing feature correctness with architectural integrity?

Key findings

  • RAIM achieves a new state-of-the-art success rate of 39.47% on NoCode-bench Verified with Gemini-2.5-Pro, a 36.34% relative improvement over the previous best.
  • RAIM also enables open-weight models like DeepSeek-v3.2 to reach 34.21% success, surpassing several baselines that use stronger proprietary models.
  • Ablation studies show that both multi-design generation and impact validation are critical for managing complex dependencies and reducing code errors.
  • RAIM demonstrates robust generalization across 7 LLMs and yields substantial gains, especially on complex cross-file modification tasks.
  • The approach emphasizes architectural awareness and change impact analysis to prevent regressions in production-grade software.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.