Who’s Who? LLM-assisted Software Traceability with Architecture Entity Recognition
Dominik Fuchss, Haoyu Liu, Sophie Corallo, Tobias Hey, Jan Keim, Johannes von Geisau, Anne Koziolek
Karlsruhe Institute of Technology
Key points
From the paper's conclusion- Our results demonstrate that LLMs can effectively enable automated SAM generation and TLR, making architecture-code traceability more practical and accessible.
Abstract
Identifying architecturally relevant entities in textual artifacts is crucial for Traceability Link Recovery (TLR) between Software Architecture Documentation (SAD) and source code. While Software Architecture Models (SAMs) can bridge the semantic gap between these artifacts, their manual creation is time-consuming. Large Language Models (LLMs) offer new capabilities for extracting architectural entities to construct SAMs automatically or establish direct trace links. This paper extends our ICSA 2025 paper [19], which introduced ExArch for LLM-based architecture component name extraction, by contributing the novel ArTEMiS approach, an extended evaluation, and a combined evaluation of both approaches. ExArch extracts component names as simple SAMs from SAD and source code, while ArTEMiS identifies architectural entities in documentation and matches them with SAM entities. Our evaluation compares against state-of-the-art approaches SWATTR, TransArC, and ArDoCode. TransArC achieves strong performance (F1: 0.87) but requires manually created SAMs; ExArch achieves comparable results (F1: 0.86) using only SAD and code. ArTEMiS matches SWATTR (F1: 0.81) and can replace it when integrated with TransArC. The combination of ArTEMiS and ExArch outperforms ArDoCode, the best baseline without manual SAMs. Our results demonstrate that LLMs can effectively enable automated SAM generation and TLR, making architecture-code traceability more practical and accessible.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ASNER: Software Architecture Recovery with Adaptive Semantic Neighborhoods and Evidence-Grounded RefinementarXiv · 2026
- Discovering the Relation Between Architectural Models and Reference ArchitecturesarXiv · 2026
- Refactoring architectural smells with large language models: an exploratory study on cyclic dependenciesEmpirical Software Engineering · 2026
- Using LLMs in Generating Design Rationale for Software Architecture DecisionsACM Transactions on Software Engineering and Methodology · 2025
- A-SAW: The Agentic Software Architecture WorkflowarXiv · 2026
- Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory StudyarXiv · 2026