DRAFT-ing Architectural Design Decisions using LLMs
Not on the map. Why?
Abstract (arXiv)
Architectural Knowledge Management (AKM) is crucial for software development but remains challenging due to the lack of standardization and high manual effort. Architecture Decision Records (ADRs) provide a structured approach to capture Architecture Design Decisions (ADDs), but their adoption is limited due to the manual effort involved and insufficient tool support. Our previous work has shown that Large Language Models (LLMs) can assist in generating ADDs. However, simply prompting the LLM does not produce quality ADDs. Moreover, using third-party LLMs raises privacy concerns, while self-hosting them poses resource challenges. To this end, we experimented with different approaches like few-shot, retrieval-augmented generation (RAG) and fine-tuning to enhance LLM's ability to generate ADDs. Our results show that both techniques improve effectiveness. Building on this, we propose Domain Specific Retreival Augumented Few Shot Fine Tuninng, DRAFT, which combines the strengths of all these three approaches for more effective ADD generation. DRAFT operates in two phases: an offline phase that fine-tunes an LLM on generating ADDs augmented with retrieved examples and an online phase that generates ADDs by leveraging retrieved ADRs and the fine-tuned model. We evaluated DRAFT against existing approaches on a dataset of 4,911 ADRs and various LLMs and analyzed them using automated metrics and human evaluations. Results show DRAFT outperforms all other approaches in effectiveness while maintaining efficiency. Our findings indicate that DRAFT can aid architects in drafting ADDs while addressing privacy and resource constraints.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 27 of its 53 references that are in the map. First posted on arXiv 11 Apr 2025.
Builds on
27 of 53 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
15 more
- 2024The Faiss librarycited by 370
- 2024VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality Documentscited by 237
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
- 2024The Current Challenges of Software Engineering in the Era of Large Language Modelscited by 21
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challengescited by 20
- 2024Retrieval-augmented Few-shot Medical Image Segmentation with Foundation Modelscited by 20
- 2024Can LLMs Generate Architectural Design Decisions? -An Exploratory Empirical studycited by 19
- 2024Domain-Specific Retrieval-Augmented Generation Using Vector Stores, Knowledge Graphs, and Tensor Factorizationcited by 15
- 2024Generative AI for Requirements Engineering: A Systematic Literature Reviewcited by 10
- 2024From Requirements to Architecture: An AI-Based Journey to Semi-Automatically Generate Software Architecturescited by 8
- 2023Exploring Large Language Models for Code Explanationcited by 6
- 2021Archify: A Recommender System of Architectural Design Decisionscited by 2
- 2025Teaching Dense Retrieval Models to Specialize with Listwise Distillation and LLM Data Augmentationcited by 2
- 2020Researcher Bias in Software Engineering Experiments: a Qualitative Investigationcited by 1
- 2025SECURA: Sigmoid-Enhanced CUR Decomposition with Uninterrupted Retention and Low-Rank Adaptation in Large Language Modelscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025Using LLMs in Generating Design Rationale for Software Architecture Decisionscited by 4
- 2026Evaluating Large Language Models for Detecting Architectural Decision Violationscited by 0
- 2026Automating Domain-Driven Design: Experience with a Prompting Frameworkcited by 0
- 2026GADR: Gathering Architecture Decision Records from Meeting Transcriptionscited by 0
- 2026GADR: Gathering Architecture Decision Records from Meeting Transcriptions18 Aug 2026
- 2026Automating Domain-Driven Design: Experience with a Prompting Framework27 Mar 2026
- 2026Evaluating Large Language Models for Detecting Architectural Decision Violations7 Feb 2026
- 2025Using LLMs in Generating Design Rationale for Software Architecture Decisions29 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2026Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory Study
- 2026LLM-based Automated Architecture View Generation: Where Are We Now?
- 2026SAKE: Software Architectural Knowledge Evaluation Benchmark for Large Language Models
- 2026Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment
- 2025Beyond Code Generation: LLM-supported Exploration of the Program Design Space
- 2026From What to How: Bridging User Requirements with Software Development Using Large Language Models
- 2025WIP: Leveraging LLMs for Enforcing Design Principles in Student Code: Analysis of Prompting Strategies and RAG ↗
- 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗