{"title":"Meta network attention-based feature matching for heterogeneous defect prediction","authors":"Meetesh Nevendra, Pradeep Singh","doi":"10.1007/s10515-024-00480-7","DOIUrl":null,"url":null,"abstract":"<div><p>Cross-project defect prediction (CPDP) involves predicting defects in projects without historical data by utilizing information from other projects. This requires uniform metrics across source and target projects (CPDP-CM). However, heterogeneous defect prediction (HDP), which deals with different metric sets, faces challenges such as feature alignment and distribution inequalities. This paper addresses these challenges with a novel method: Meta Network Attention-based Feature Matching (MNAFM) for HDP. Our approach uses a meta-network to identify feature similarities and adjust distillation intensity, enhancing HDP accuracy. Experiments on 30 projects demonstrate that MNAFM significantly outperforms baseline methods, showing improvements in f-measure (11.42–64.12%), g-measure (11.94–30.12%), and MCC (16.58–98.63%). Statistical tests confirm that MNAFM outperforms eight benchmark algorithms. Additionally, an ablation study highlights the contribution of each component of MNAFM, demonstrating the importance of the attention mechanism, data augmentation, symmetrical padding, and the use of a pretrained ResNet model in achieving superior performance. In summary, MNAFM offers a significant advancement in heterogeneous defect prediction by effectively leveraging feature similarities, distillation adjustments, and a robust methodological framework.</p></div>","PeriodicalId":55414,"journal":{"name":"Automated Software Engineering","volume":"32 1","pages":""},"PeriodicalIF":2.0000,"publicationDate":"2024-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Automated Software Engineering","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s10515-024-00480-7","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Cross-project defect prediction (CPDP) involves predicting defects in projects without historical data by utilizing information from other projects. This requires uniform metrics across source and target projects (CPDP-CM). However, heterogeneous defect prediction (HDP), which deals with different metric sets, faces challenges such as feature alignment and distribution inequalities. This paper addresses these challenges with a novel method: Meta Network Attention-based Feature Matching (MNAFM) for HDP. Our approach uses a meta-network to identify feature similarities and adjust distillation intensity, enhancing HDP accuracy. Experiments on 30 projects demonstrate that MNAFM significantly outperforms baseline methods, showing improvements in f-measure (11.42–64.12%), g-measure (11.94–30.12%), and MCC (16.58–98.63%). Statistical tests confirm that MNAFM outperforms eight benchmark algorithms. Additionally, an ablation study highlights the contribution of each component of MNAFM, demonstrating the importance of the attention mechanism, data augmentation, symmetrical padding, and the use of a pretrained ResNet model in achieving superior performance. In summary, MNAFM offers a significant advancement in heterogeneous defect prediction by effectively leveraging feature similarities, distillation adjustments, and a robust methodological framework.
期刊介绍:
This journal details research, tutorial papers, survey and accounts of significant industrial experience in the foundations, techniques, tools and applications of automated software engineering technology. This includes the study of techniques for constructing, understanding, adapting, and modeling software artifacts and processes.
Coverage in Automated Software Engineering examines both automatic systems and collaborative systems as well as computational models of human software engineering activities. In addition, it presents knowledge representations and artificial intelligence techniques applicable to automated software engineering, and formal techniques that support or provide theoretical foundations. The journal also includes reviews of books, software, conferences and workshops.