KIT | KIT-Bibliothek | Impressum | Datenschutz

Beyond Retrieval: A Study of Using LLM Ensembles for Candidate Filtering in Requirements Traceability

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

Abstract (englisch):

[Introduction]
Requirements traceability is essential in software development, supporting tasks such as system understanding and change impact analysis.
Traceability link recovery (TLR) methods, including those using large language models (LLMs) or retrieval-augmented generation (RAG), often rely on information retrieval (IR) to identify candidate artifact pairs.
They are sensitive to hyperparameters (e.g., top-k, similarity thresholds) that require extensive, project-specific tuning.

[Methods]
We propose an inter-requirements TLR approach that uses an ensemble of small LLMs (or small language models (SLM)) to incrementally reduce the search space, aiming to replace IR-based candidate selection.
We first analyze the sensitivity of IR methods to hyperparameters, then evaluate the ability of small LLMs to filter unrelated requirement pairs, and compare their performance when integrated into a TLR approach.
The evaluation includes five projects from the requirements engineering community.

[Results]
We find that IR performance heavily depends on project-specific hyperparameter tuning.
Furthermore, small LLMs effectively reduce the candidate space with minimal loss of recall.
... mehr


Postprint §
DOI: 10.5445/IR/1000183058
Veröffentlicht am 18.07.2025
Originalveröffentlichung
DOI: 10.1109/REW66121.2025.00006
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2025
Sprache Englisch
Identifikator ISBN: 979-8-3315-3835-4
ISSN: 2770-6826
KITopen-ID: 1000183058
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Erschienen in 2025 IEEE 33rd International Requirements Engineering Conference Workshops (REW)
Veranstaltung 33rd IEEE International Requirements Engineering conference (RE 2025), Valencia, Spanien, 01.09.2025 – 05.09.2025
Verlag Institute of Electrical and Electronics Engineers (IEEE)
Seiten 5-12
Projektinformation SFB 1608/1, 501798263 (DFG, DFG KOORD, SFB 1608)
Schlagwörter Traceability Link Recovery, Requirements Traceability, Requirements Engineering, Large Language Model, Small Language Model, Retrieval-Augmented Generation
Nachgewiesen in OpenAlex
Relationen in KITopen
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page