TRANSMISSION // 2504.08207v2
Can language models help software teams record design decisions?
Source published
A proposed workflow combines retrieval and fine-tuning to draft software architecture decisions and records. The abstract reports favorable text-metric results, but human evaluators did not consistently prefer one approach.

Architectural decisions shape how software is built, but recording the reasoning behind them can take time. A preprint proposes a language-model workflow that draws on earlier decision records to help produce new ones—and tests it with automated metrics and human reviewers.
Software architecture is full of choices: which components should communicate, how a system should handle a particular constraint, or why one design was selected over another. Teams often document these choices in Architectural Decision Records (ADRs), which preserve both a decision and its context. But writing and maintaining records takes effort, and tools may not fit easily into developers’ workflows. The authors of this preprint ask whether large language models (LLMs) can help draft these records in ways that better resemble real examples.
The study considers two related tasks. In one, a model receives a decision context and generates an architectural design decision. In the other, it receives a title and generates a complete ADR. The proposed method is called Domain-specific Retrieval Augmented Few-shot Tuning, or DRAFT. Its central idea is to combine examples retrieved from past ADRs with a model fine-tuned for the task.
DRAFT works in two phases, according to the abstract. During an offline phase, the model is fine-tuned using prompts augmented with retrieved examples drawn from historical ADRs. During an online phase, it generates a decision or a full record using both the fine-tuned model and newly retrieved examples. In everyday terms, the system is designed to learn from a collection of prior records and consult relevant examples when drafting something new.
The authors say they evaluated the method on 4,344 ADRs and across multiple LLMs. They report that DRAFT consistently generated outputs that were better aligned with real-world ADRs according to standard natural-language processing metrics. Such metrics can compare properties of generated text with reference material, but they do not by themselves establish that a proposed decision is technically sound, suitable for a particular organization, or genuinely useful to an architect.
That distinction matters in the study’s human evaluation. The abstract says the evaluation involved the authors and external architects, and found no uniformly preferred approach. In other words, the reported metric gains did not translate into a single method that people consistently favored. The abstract does not give the number of reviewers, the evaluation protocol, or detailed scores, so it is not possible from the available evidence to assess how large or robust the human-evaluation differences were.
The authors also describe DRAFT as practically efficient and say it reduces dependence on proprietary models. They present this as relevant to organizational concerns such as privacy, limited computing resources, and inference costs. However, the abstract provides no specific efficiency measurements, cost comparisons, or details about how privacy was evaluated. These points should therefore be read as claims about the approach’s practical potential, not as quantified demonstrations that it will be cheaper or safer in every setting.
The work addresses a real tension in software documentation: a system may generate plausible text quickly, while deciding whether that text captures a team’s reasoning still calls for human judgment. Using historical ADRs could help make drafts more consistent with an organization’s documentation style, but retrieved examples may also reflect the limits or biases of that record collection. The abstract does not report enough detail to determine how the method handles incomplete, outdated, or conflicting examples.
This account is based on the paper’s abstract, not a full-text assessment. The study is an arXiv preprint, and the supplied source does not establish whether it has undergone peer review. Its findings support a cautious conclusion: retrieval combined with fine-tuning may improve automated similarity to existing ADRs, while human preferences remain mixed. Further details about the datasets, metrics, model comparisons, reviewer methods, and practical deployment would be needed to judge how well the approach transfers to real software teams.
- software architecture
- architectural decision records
- large language models
- retrieval augmented generation
- fine-tuning
- software engineering
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Fine-tuning helps language models identify relations in text
Shared method: Both studies combine retrieval-augmented generation with fine-tuning: DRAFT uses retrieved ADR examples with a fine-tuned model, while the relation-extraction study puts fine-tuned models into RAG4RE’s generation module. Their tasks, datasets and retrieval designs differ, so this methodological overlap does not establish comparable performance.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2504.08207v2 — Original paper
Excerpt reference:
static/papers/2504.08207v2.md:448-511
Basis: Paper text
Source SHA-256:3f2986a018e6b59982ffc2773c94a6b90292c97821d517bd0c8e2ab15068df172406.14745v3 — Original paper
Excerpt reference:
static/papers/2406.14745v3.md:295-363
Basis: Paper text
Source SHA-256:2e618488d660bcd663a19be32cb0aaaed7584d6e064fa2aad9edbc756c91ae36
Can retrieving dog-care information help AI give better advice?
Shared method: Both papers investigate retrieval and fine-tuning for domain-specific generation. DRAFT combines retrieved ADR examples with fine-tuning, whereas the dog-care study evaluates a retrieval system and a separately fine-tuned model on 15 questions; its reported RAG advantage therefore does not test or contradict DRAFT’s hybrid approach.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2504.08207v2 — Original paper
Excerpt reference:
static/papers/2504.08207v2.md:448-511
Basis: Paper text
Source SHA-256:3f2986a018e6b59982ffc2773c94a6b90292c97821d517bd0c8e2ab15068df172611.29286v1 — Original paper
Excerpt reference:
static/papers/2611.29286v1.md:245-324
Basis: Paper text
Source SHA-256:8caeb4c05d6399b1f1919f192ed99d21e71b560067b6ce97badae606e12c08012611.29286v1 — Original paper
Excerpt reference:
static/papers/2611.29286v1.md:400-483
Basis: Paper text
Source SHA-256:8caeb4c05d6399b1f1919f192ed99d21e71b560067b6ce97badae606e12c0801
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A human checkpoint for AI-written software requirements
Source published
Shared keywords: large language models, retrieval augmented generation, software engineering
When AI coding agents get a map to the rules
Source published
Shared keywords: software architecture, software engineering
Fine-tuning helps language models identify relations in text
Source published
Shared keywords: fine tuning, large language models, retrieval augmented generation
Can retrieving dog-care information help AI give better advice?
Source published
Shared keywords: large language models, retrieval augmented generation
Tracing security patterns through source code with SecPatRec
Source published
Shared keywords: large language models