Cross-Level Requirements Tracing Based on Large Language Models
IEEE Transactions on Software Engineering · 2025-07 · 51 (7) · 2044-2066
DOI: 10.1109/tse.2025.3572094 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Transactions on Software Engineering, 2025-07. Verfasst von Chuyan Ge und 3 weiteren Autor:innen. Die Arbeit wurde bisher 17-mal zitiert (Crossref) und nennt 35 Literaturangaben. Gefördert von: High Quality Development Special Project, National Natural Science Foundation of China, Key technical projects of ShenZhen.
Abstract (Originalsprache)
Cross-level requirements traceability, linking high-level requirements (HLRs) and low-level requirements (LLRs), is essential for maintaining relationships and consistency in software development. However, the manual creation of requirements links necessitates a profound understanding of the project and entails a complex and laborious process. Existing machine learning and deep learning methods often fail to fully understand semantic information, leading to low accuracy and unstable performance. This paper presents the first approach for cross-level requirements tracing based on large language models (LLMs) and introduces a data augmentation strategy (such as synonym replacement, machine translation, and noise introduction) to enhance model robustness. We compare three fine-tuning strategies—LoRA, P-Tuning, and Prompt-Tuning—on different scales of LLaMA models (1.1B, 7B, and 13B). The fine-tuned LLMs exhibit superior performance across various datasets, including six single-project datasets, three cross-project datasets within the same domain, and one cross-domain dataset. Experimental results show that fine-tuned LLMs outperform traditional information retrieval, machine learning, and deep learning methods on various datasets. Furthermore, we compare the performance of GPT and DeepSeek LLMs under different prompt templates, revealing their high sensitivity to prompt design and relatively poor result stability. Our approach achieves superior performance, outperforming GPT-4o and DeepSeek-r1 by 16.27% and 16.8% in F-measure on cross-domain datasets. Compared to the baseline method that relies on prompt engineering, it achieves a maximum improvement of 13.8%.
Förderung
- High Quality Development Special Project
- National Natural Science Foundation of China
- Key technical projects of ShenZhen
- Basic Research Project
- Natural Science Foundation of Hei Longjiang Province
Zitieren
APA
Ge, C., Wang, T., Yang, X., & Treude, C. (2025). Cross-Level Requirements Tracing Based on Large Language Models. IEEE Transactions on Software Engineering, 51(7), 2044-2066. https://doi.org/10.1109/tse.2025.3572094
Vancouver
Ge C, Wang T, Yang X, Treude C. Cross-Level Requirements Tracing Based on Large Language Models. IEEE Transactions on Software Engineering. 2025;51(7):2044-2066. doi:10.1109/tse.2025.3572094
BibTeX
@article{Ge2025,
author = {Ge, Chuyan and Wang, Tiantian and Yang, Xiaotian and Treude, Christoph},
title = {Cross-Level Requirements Tracing Based on Large Language Models},
journal = {IEEE Transactions on Software Engineering},
year = {2025},
volume = {51},
number = {7},
pages = {2044--2066},
doi = {10.1109/tse.2025.3572094}
}
EUVIMED