An Empirical Study of Model-Agnostic Techniques for Defect Prediction Models

被引:70
|
作者
Jiarpakdee, Jirayus [1 ]
Tantithamthavorn, Chakkrit [1 ]
Dam, Hoa Khanh [2 ]
Grundy, John [1 ]
机构
[1] Monash Univ, Fac Informat Technol, Clayton, Vic 3800, Australia
[2] Univ Wollongong, Sch Comp & Informat Technol, Fac Engn & Informat Sci, Wollongong, NSW W2522, Australia
基金
澳大利亚研究理事会;
关键词
Explainable software analytics; software quality assurance; defect prediction models; model-agnostic techniques; PRONE SOFTWARE MODULES; GLOBAL OPTIMIZATION;
D O I
10.1109/TSE.2020.2982385
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software analytics have empowered software organisations to support a wide range of improved decision-making and policy-making. However, such predictions made by software analytics to date have not been explained and justified. Specifically, current defect prediction models still fail to explain why models make such a prediction and fail to uphold the privacy laws in terms of the requirement to explain any decision made by an algorithm. In this paper, we empirically evaluate three model-agnostic techniques, i.e., two state-of-the-art Local Interpretability Model-agnostic Explanations technique (LIME) and BreakDown techniques, and our improvement of LIME with Hyper Parameter Optimisation (LIME-HPO). Through a case study of 32 highly-curated defect datasets that span across 9 open-source software systems, we conclude that (1) model-agnostic techniques are needed to explain individual predictions of defect models; (2) instance explanations generated by model-agnostic techniques are mostly overlapping (but not exactly the same) with the global explanation of defect models and reliable when they are re-generated; (3) model-agnostic techniques take less than a minute to generate instance explanations; and (4) more than half of the practitioners perceive that the contrastive explanations are necessary and useful to understand the predictions of defect models. Since the implementation of the studied model-agnostic techniques is available in both Python and R, we recommend model-agnostic techniques be used in the future.
引用
收藏
页码:166 / 185
页数:20
相关论文
共 50 条
  • [1] An Empirical Comparison of Model-Agnostic Techniques for Defect Prediction Models
    Lee, Gichan
    Lee, Scott Uk-Jin
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 179 - 189
  • [2] An Empirical Study on Model-Agnostic Techniques for Source Code-Based Defect Prediction
    Zhu, Yi
    Gao, Yuxiang
    Yu, Qiao
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (03) : 511 - 544
  • [3] Model-agnostic explanations for survival prediction models
    Suresh, Krithika
    Gorg, Carsten
    Ghosh, Debashis
    [J]. STATISTICS IN MEDICINE, 2024, 43 (11) : 2161 - 2182
  • [4] An Empirical Comparison of Model Validation Techniques for Defect Prediction Models
    Tantithamthavorn, Chakkrit
    McIntosh, Shane
    Hassan, Ahmed E.
    Matsumoto, Kenichi
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (01) : 1 - 18
  • [5] Model-Agnostic Bias Measurement in Link Prediction
    Schwertmann, Lena
    Ravi, Manoj Prabhakar Kannan
    De Melo, Gerard
    [J]. 17TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EACL 2023, 2023, : 1632 - 1648
  • [6] Comments on ScottKnottESD in Response to "An Empirical Comparison of Model Validation Techniques for Defect Prediction Models"
    Herbold, Steffen
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2017, 43 (11) : 1091 - 1094
  • [7] MODEL-AGNOSTIC VISUAL EXPLANATIONS VIA APPROXIMATE BILINEAR MODELS
    Joukovsky, Boris
    Sammani, Fawaz
    Deligiannis, Nikos
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 1770 - 1774
  • [8] Model-Agnostic Federated Learning
    Mittone, Gianluca
    Riviera, Walter
    Colonnelli, Iacopo
    Birke, Robert
    Aldinucci, Marco
    [J]. EURO-PAR 2023: PARALLEL PROCESSING, 2023, 14100 : 383 - 396
  • [9] Model-Agnostic Private Learning
    Bassily, Raef
    Thakkar, Om
    Thakurta, Abhradeep
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31
  • [10] Is Bayesian Model-Agnostic Meta Learning Better than Model-Agnostic Meta Learning, Provably?
    Chen, Lisha
    Chen, Tianyi
    [J]. INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND STATISTICS, VOL 151, 2022, 151