Who’s Who? LLM-assisted Software Traceability with Architecture Entity Recognition
Top Cited Papers
Open Access
- 7 April 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Autonomous and Adaptive Systems
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.Keywords
All Related Versions
This publication has 58 references indexed in Scilit:
- Requirements Traceability Link Recovery via Retrieval-Augmented Generation2025
- Towards Standardized benchmarks of LLMs in software modeling tasks: a conceptual frameworkSoftware and Systems Modeling, 2024
- Establishing a Benchmark Dataset for Traceability Link Recovery Between Software Architecture Documentation and Models2023
- On the assessment of generative AI in modeling tasks: an experience report with ChatGPT and UMLSoftware and Systems Modeling, 2023
- Trace Link Recovery for Software Architecture Documentation2021
- The impact of traceability on software maintenance and evolution: A mapping studyJournal of Software: Evolution and Process, 2021
- Can method data dependencies support the assessment of traceability between requirements and source code?Journal of Software: Evolution and Process, 2015
- Software and Systems Traceability2012
- Guidelines for conducting and reporting case study research in software engineeringEmpirical Software Engineering, 2008
- Allgemeine Modelltheorie1973