Enhancing requirements-to-code traceability with GA-XWCoDe: Integrating XGBoost, Node2Vec, and genetic algorithms for improving model performance and stability

This study addresses the challenge of requirements-to-code traceability by proposing a novel model, Genetic Algorithm-XGBoost With Code Dependency (GA-XWCoDe), which integrates eXtreme Gradient Boosting (XGBoost) with a Node2Vec model-weighted code dependency strategy and genetic algorithms for parameter optimisation. XGBoost mitigates overfitting and enhances model stability, while Node2Vec improves prediction accuracy for low-confidence links. Genetic algorithms are employed to optimise model parameters efficiently, reducing the resource intensity of traditional methods. Experimental results show that GA-XWCoDe outperforms the state-of-the-art method TRAceability lInk cLassifier (TRAIL) by 17.44% and Deep Forest for Requirement traceability (DF4RT) by 33.36% in terms of average F1 performance across four datasets. It is significantly superior to all baseline methods at a confidence level of α ¡0.01 and demonstrates exceptional performance and stability across various training data scales. • XGBoost with code dependencies and genetic algorithms for automated traceability. • Genetic algorithms automate parameter setup for XGBoost and code dependencies. • Code dependencies adjust low-confidence XGBoost links, surpassing SOTA performance. • Node2Vec applied to code dependency weights, greatly enhancing strategy performance.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2024-09-27
DOI
https://doi.org/10.1016/j.jksuci.2024.102197
Citations
16
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
7.77

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing requirements-to-code traceability with GA-XWCoDe: Integrating XGBoost, Node2Vec, and genetic algorithms for improving model performance and stability

Huan Jin, Hongyan Wan, Bangchao Wang, Zhiyuan Zou et al.
16 citations
Journal of King Saud University - Computer and Information Sciences
Software Testing and Debugging Techniques
7.77
article

Enhancing requirements-to-code traceability with GA-XWCoDe: Integrating XGBoost, Node2Vec, and genetic algorithms for improving model performance and stability

Huan Jin, Hongyan Wan, Bangchao Wang, Zhiyuan Zou, Yang Deng, Xinrong Hu
article en
16 citations

Abstract

This study addresses the challenge of requirements-to-code traceability by proposing a novel model, Genetic Algorithm-XGBoost With Code Dependency (GA-XWCoDe), which integrates eXtreme Gradient Boosting (XGBoost) with a Node2Vec model-weighted code dependency strategy and genetic algorithms for parameter optimisation. XGBoost mitigates overfitting and enhances model stability, while Node2Vec improves prediction accuracy for low-confidence links. Genetic algorithms are employed to optimise model parameters efficiently, reducing the resource intensity of traditional methods. Experimental results show that GA-XWCoDe outperforms the state-of-the-art method TRAceability lInk cLassifier (TRAIL) by 17.44% and Deep Forest for Requirement traceability (DF4RT) by 33.36% in terms of average F1 performance across four datasets. It is significantly superior to all baseline methods at a confidence level of α ¡0.01 and demonstrates exceptional performance and stability across various training data scales. • XGBoost with code dependencies and genetic algorithms for automated traceability. • Genetic algorithms automate parameter setup for XGBoost and code dependencies. • Code dependencies adjust low-confidence XGBoost links, surpassing SOTA performance. • Node2Vec applied to code dependency weights, greatly enhancing strategy performance.

Journal of King Saud University - Computer and Information SciencesVol. 36(8)
Wuhan Textile University (CN)
National Natural Science Foundation of China
Affordable and clean energy
Openalex Percentile: Top 2%
Software Testing and Debugging Techniques
7.77
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.