arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.12560cs.SEcs.AI
收藏

软件分析中的数据质量反模式

Data Quality Antipatterns for Software Analytics

Centre for Software Excellence, Huawei Canada(华为加拿大软件卓越中心)

Aaditya Bhatia, Dayi Lin, Gopi Krishnan Rajbahadur, Bram Adams, Ahmed E. Hassan

AI总结:

本研究开发了针对机器学习的数据质量反模式分类法,并通过软件缺陷预测实验发现反模式的清洗顺序显著影响模型性能与解释一致性。

摘要:

背景:数据质量在软件分析中至关重要,特别是对于软件缺陷预测(SDP)等机器学习(ML)应用。尽管ML在软件工程中得到广泛应用,但数据质量反模式对这些模型的影响仍未得到充分研究。目标:本研究开发了一个针对ML的数据质量反模式分类法,并评估了它们对软件分析模型性能和解释的影响。方法:我们通过文献综述识别了8种类型和14种子类型的ML数据质量反模式。我们进行了实验以确定这些反模式在SDP数据中的普遍性(RQ1),评估清洗顺序如何影响模型性能(RQ2),评估反模式移除对性能的影响(RQ3),并检查用不同反模式构建的模型的解释一致性(RQ4)。结果:在我们的SDP案例研究中,我们识别了9种反模式。超过90%的反模式在行和列级别上重叠,使清洗优先级复杂化,并面临过度移除数据的风险。清洗顺序显著影响ML模型性能,神经网络对清洗顺序变化的抵抗力强于逻辑回归等简单模型。当其他反模式被清洗时,如尾部分布和类别重叠等反模式与性能指标显示出统计学上的显著相关性。用不同反模式构建的模型在解释结果上表现出中等程度的一致性。结论:不同反模式的清洗顺序影响ML模型性能。当其他反模式被清洗时,五种反模式与模型性能具有统计学上的显著相关性。此外,模型解释在不同数据质量反模式下受到中等程度的影响。

英文摘要:

Background: Data quality is vital in software analytics, particularly for machine learning (ML) applications like software defect prediction (SDP). Despite the widespread use of ML in software engineering, the effect of data quality antipatterns on these models remains underexplored. Objective: This study develops a taxonomy of ML-specific data quality antipatterns and assesses their impact on software analytics models' performance and interpretation. Methods: We identified eight types and 14 sub-types of ML-specific data quality antipatterns through a literature review. We conducted experiments to determine the prevalence of these antipatterns in SDP data (RQ1), assess how cleaning order affects model performance (RQ2), evaluate the impact of antipattern removal on performance (RQ3), and examine the consistency of interpretation from models built with different antipatterns (RQ4). Results: In our SDP case study, we identified nine antipatterns. Over 90% of these overlapped at both row and column levels, complicating cleaning prioritization and risking excessive data removal. The order of cleaning significantly impacts ML model performance, with neural networks being more resilient to cleaning order changes than simpler models like logistic regression. Antipatterns such as Tailed Distributions and Class Overlap show a statistically significant correlation with performance metrics when other antipatterns are cleaned. Models built with different antipatterns showed moderate consistency in interpretation results. Conclusion: The cleaning order of different antipatterns impacts ML model performance. Five antipatterns have a statistically significant correlation with model performance when others are cleaned. Additionally, model interpretation is moderately affected by different data quality antipatterns.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑