KIT | KIT-Bibliothek | Impressum | Datenschutz

Requirements Traceability Link Recovery via Retrieval-Augmented Generation

Hey, Tobias ORCID iD icon 1; Fuchß, Dominik ORCID iD icon 1; Keim, Jan ORCID iD icon 1; Koziolek, Anne ORCID iD icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

[Context and Motivation] In software development, various interrelated artifacts are created.
Access to information on the relation between these artifacts eases understanding of the system and enables tasks such as change impact and software reusability analyses. Manual trace link creation is labor-intensive and costly, and thus is often missing in projects. Automation could enhance the development and maintenance efficiency.
[Question/Problem] Current methods for automatically recovering traceability links between different types of requirements do not achieve the necessary performance to be applied in practice, or require pre-existing links for machine learning.
[Principal Ideas and Results] We propose to address this limitation by leveraging large language models (LLMs) with retrieval-augmented generation (RAG) for inter-requirements traceability link recovery. In an empirical evaluation on six benchmark datasets, we show that chain-of-thought prompting can be beneficial, open-source models perform comparably to proprietary ones, and that the approach can outperform state-of-the-art and baseline approaches.
[Contribution] This work presents an approach for inter-requirements traceability link recovery using RAG and provides the first empirical evidence of its performance.

Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Forschungsbericht/Preprint
Publikationsjahr 2025
Sprache Englisch
Identifikator KITopen-ID: 1000178589
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Umfang 16 S.
Projektinformation SFB 1608/1 (DFG, DFG KOORD, SFB 1608)
Bemerkung zur Veröffentlichung 31st International Working Conference on Requirement Engineering: Foundation for Software Quality, Barcelona, 2025, 7-10 April
Schlagwörter Traceability Link Recovery, Requirements Traceability, Requirements Engineering, LLM, Retrieval-Augmented Generation
Relationen in KITopen

Volltext §
DOI: 10.5445/IR/1000178589
Veröffentlicht am 06.02.2025
Seitenaufrufe: 145
seit 31.01.2025
Downloads: 57
seit 06.02.2025
Cover der Publikation
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page