Report/Preprint
Cite …

LiSSA: Toward Generic Traceability Link Recovery through Retrieval-Augmented Generation

Dominik Fuchß ORCID iD icon 1, Tobias Hey ORCID iD icon 1, Jan Keim ORCID iD icon 1, Haoyu Liu ORCID iD icon 1, Niklas Ewald 1, Tobias Thirolf 1 and Anne Koziolek ORCID iD icon 1
1 Institute of Information Security and Dependability (KASTEL), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000178348
PDF published on Jan 22, 2025
Abstract

There are a multitude of software artifacts which need to be handled during the development and maintenance of a software system. These artifacts interrelate in multiple, complex ways.

Therefore, many software engineering tasks are enabled — and even empowered — by a clear understanding of artifact interrelationships and also by the continued advancement of techniques for automated artifact linking.

However, current approaches in automatic Traceability Link Recovery (TLR) target mostly the links between specific sets of artifacts, such as those between requirements and code.

Fortunately, recent advancements in Large Language Models (LLMs) can enable TLR approaches to achieve broad applicability.

Still, it is a nontrivial problem how to provide the LLMs with the specific information needed to perform TLR.

In this paper, we present LiSSA, a framework that harnesses LLM performance and enhances them through Retrieval-Augmented Generation (RAG).

We empirically evaluate LiSSA on three different TLR tasks, requirements to code, documentation to code, and architecture documentation to architecture models, and we compare our approach to state-of-the-art approaches.

Our results show that the RAG-based approach can significantly outperform the state-of-the-art on the code-related tasks.

However, further research is required to improve the performance of RAG-based approaches to be applicable in practice.