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
How to set up the Exa MCP server (Claude Code, Cursor, VS Code, Codex)
0dev.to
What's the most persistent typo of your own name?
0dev.to
Day 7: Empty bounty boards, zero leads, three useful answers
0dev.to
Stable GDN-2: How Symmetric Erasure Fixes a Hidden Training Failure in Linear Attention
0dev.to

How to Choose a Code Review AI Tool That Fits
0dev.to
Daily Dose of DevOps — Platform product management: for cloud-native adoption
0dev.to