Multi-stage Dynamic Selection for Cross-Project Defect Prediction
Juscimara G. Avelino, Juscelino S. A. Junior, George D. C. Cavalcanti, Rafael M. O. Cruz
Abstract
Cross-Project Defect Prediction (CPDP) involves building models using data from external projects, called training projects, to predict modules from the target project. However, traditional CPDP methods suffer from the distribution shift between training and target projects that affects the model's performance. This paper proposes a novel CPDP framework that addresses this issue by proposing a two-stage multiple classifier system (MCS) selection scheme: one working at the project level and another at the module level. In the first stage, the framework evaluates multiple possible MCS configurations to find one that covers and generalizes well across multiple training projects. Consequently, the proposal is likely to obtain a diverse set of classifiers, each specialized in tackling software modules with distinct characteristics. The second selection stage operates at test time, selecting the most competent classifiers to predict each new module in the target project. Unlike previous approaches that apply the same classifiers to the entire target project, the proposed framework performs module-level model selection. This way, the system is more robust to changes in distributions between training and target projects because the selected set of classifiers is module-dependent. Our experimental results using 82 projects from four different CPDP benchmark datasets demonstrate that the proposed approach outperforms the state-of-the-art CPDP methods in most scenarios. The code, dataset, and further details about the proposed method are publicly available at https://github.com/jsaj/MultiDES.
Create a lesson
Metadata
- Categories
- cs.SE, cs.LG
- Comments
- Paper accepted to the 2026 International Joint Conference on Neural Networks
Related papers
SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills
Shared title terminologycs.SEAnjie Xu, Zixing Wang, Yifeng Cai et al.
Multi-Source and Cross-Scenario Strategy-Guided Code Optimization
Shared title terminologycs.SEYuwei Zhao, Qianyu Xiao, Ye Cui et al.
CLOSER-Bench: Evaluating Budgeted Cross-Stage Design Closure for Hardware Agents
Shared title terminologycs.SEPeilong Zhou, Zhirong Chen, Cangyuan Li et al.
Multi-Party Authorization of Maintenance Prescriptions on a Permissioned Blockchain
Shared title terminologycs.SESiyuan Chen, Ebru Turanoglu Bekar, Anders Skoogh
Evaluating More with Less: Black-Box Test Selection for AI Agents
Shared title terminologycs.SEAli Asgari, Mitchell Olsthoorn, Arie van Deursen et al.
SimFusion: Multi-Fidelity Simulation-based Testing of Automated Driving Systems
Shared title terminologycs.SELev Sorokin, Berfin Dinler, Alessio Gambi et al.