AI & ML
DRAFT-ing Architectural Design Decisions using LLMs
arXiv cs.SE0 views
arXiv:2504.08207v2 Announce Type: replace Abstract: Architectural Knowledge Management (AKM) is crucial for software development and Architectural Decision Records (ADR), an important artifact of AKM, provide a structured approach to capture Architectural Design Decisions (ADD). However, their adoption is limited due to the manual effort involved and insufficient tool support. Prior work shows that LLMs can support ADD generation, though basic prompting yields suboptimal results. This paper explores how LLMs can support architects in two complementary tasks: generating ADDs from Decision Contexts, and generating complete ADRs from titles. We propose Domain-specific Retrieval Augmented Few-shot Tuning (DRAFT), a novel approach that integrates Retrieval Augmented Few-shot Generation with Fine-tuning to generate. DRAFT operates in two phases: an offline phase that fine-tunes a model using retrieval-augmented prompts derived from historical ADRs, and an online phase that generates decisions or complete ADRs by combining retrieved examples with the fine-tuned model. Evaluated on 4344 ADRs across multiple LLMs using standard NLP metrics, DRAFT consistently produces outputs better aligned with real-world ADRs. A human evaluation with the authors and external architects, however, shows no uniformly preferred approach. DRAFT also maintains practical efficiency, reduces dependence- dence on proprietary models, and addresses organizational concerns around privacy, resource constraints, and inference costs.
Source:https://arxiv.org/abs/2504.08207PreviousWhat Does Skill Lift Actually Measure? A Source-Code-Level Audit and Noise-Aware Reanalysis of SkillsBenchNextA Threshold Model of Fault Propagation in AI-Native Software Ecosystems
Related posts

Fase H do TOGAF. O que fazer quando o prazo de um dia útil começa a escapar
0dev.to

LLM Provider Resilience: Ensuring AI Infrastructure Stability
0dev.to

Why do hospital samples make unrelated diseases appear related
0dev.to
Vapi vs Retell Pricing for a 10,000-Minute Agency Month: The Math, and Code to Check It
0dev.to
Robots roam Singapore's urban AI testing ground
0Phys.org Tech
AI soccer talent app heading to Europe
0Phys.org Tech