cs.SEApr 11, 2025

DRAFT-ing Architectural Design Decisions using LLMs

Authors: Rudra Dhar, Adyansh Kakran, Amey Karan, Vasudeva Varma, Karthik Vaidhyanathan

Organizations: aSERC, IIIT Hyderabad, Telangana, India

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.

Figures & tables

Explore similar work

CardsList
  1. Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory Study

    Sep 3, 2026Amey Karan, Rudra Dhar, Mohamed Soliman +1Software EngineeringSoftware Architecture Design

  2. GADR: Gathering Architecture Decision Records from Meeting Transcriptions

    Aug 18, 2026Lucas Daniel Costa da Silva, Kiev GamaRAG Citation FaithfulnessDocument Information Extraction

  3. Context operations to architecture modelling output from large language models and evaluation criteria for their use in systems engineering design

    Sep 9, 2026Vinicius Kaster Marini, Petter KrusSoftware EngineeringModel-Based Systems Engineering