Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory Study
Not on the map. Why?
Abstract (arXiv)
Context: Architectural Design Decisions (ADDs) capture the rationale behind the structure and evolution of software systems but are rarely documented explicitly, and are often hidden inside source code commits. Recovering them is important for Architectural Knowledge Management (AKM). Problem: Extracting ADDs from commits is challenging due to their implicit and unstructured nature. Large Language Models (LLMs) have shown strong capabilities in understanding code and text, yet their effectiveness for this task remains underexplored. Study: We present a preliminary study using four LLMs (Gemini 3 Pro, DeepSeek R1, Kimi K2, Qwen3) with zeroshot and fewshot prompting on 30 developer-written ADDs from open-source projects. We score outputs with ROUGE-L, BLEU, METEOR, and BERTScore, and one author manually reviews the Gemini outputs. Results: All models reach a BERT-F1 above 0.81, and fewshot prompting improves alignment (Gemini BERT-F1: 0.828 to 0.847). However, the generated ADDs are often too long, implementation-focused, and miss the rationale behind the decision. This highlights opportunities for architecture-aware LLM systems and automated AKM.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 21 references that are in the map. First posted on arXiv 3 Sep 2026.
Builds on
8 of 21 references.
References · 8
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2023StarCoder: may the source be with you!cited by 790
- 2024Can LLMs Generate Architectural Design Decisions? -An Exploratory Empirical studycited by 19
- 2023APPLS: Evaluating Evaluation Metrics for Plain Language Summarizationcited by 15
- 2025Using LLMs in Generating Design Rationale for Software Architecture Decisionscited by 4
- 2021Archify: A Recommender System of Architectural Design Decisionscited by 2
- 2023Where and What do Software Architects blog? An Exploratory Study on Architectural Knowledge in Blogs, and their Relevance to Design Stepscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025DRAFT-ing Architectural Design Decisions using LLMs
- 2026Evaluating Large Language Models for Detecting Architectural Decision Violations
- 2026LLM-based Automated Architecture View Generation: Where Are We Now?
- 2025Evaluating Generated Commit Messages with Large Language Models
- 2026SAKE: Software Architectural Knowledge Evaluation Benchmark for Large Language Models
- 2025SnipGen: A Mining Repository Framework for Evaluating LLMs for Code
- 2025LLM-Based Detection of Tangled Code Changes for Higher-Quality Method-Level Bug Datasets
- 2025Large Language Model Critics for Execution-Free Evaluation of Code Changes