IEEE Transactions on Software Engineering · 2020 · 147 citations · 78 references
ComputingComputer ScienceMachine LearningPredictive AnalyticsSoftware EngineeringDefect DetectionExplainable Machine LearningModel-driven Software EngineeringSoftware ModelingSoftware Quality AssuranceSoftware TestingDefect PredictionEmpirical EvaluationGlobal ExplanationsLime ExplanationsModel InterpretabilityModel-agnostic ExplanationPrivacySoftware Fault Prediction
Software analytics enable improved decision‑making, yet defect prediction models lack explanations and fail to satisfy privacy requirements for algorithmic decisions. The study evaluates three model‑agnostic explanation techniques—LIME, BreakDown, and an optimized LIME variant—for defect prediction models. The authors conduct an empirical assessment using 32 curated defect datasets from nine open‑source systems. The study finds that model‑agnostic techniques are essential for explaining defect predictions, produce largely overlapping yet reliable instance explanations, generate explanations in under a minute, and are perceived as useful by over half of practitioners, warranting their adoption in practice.
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.
78
Mark Hall, Eibe Frank, Geoffrey Holmes et al. · ACM SIGKDD Explorations Newsletter · 2009 · 17.8K citations
Marco Túlio Ribeiro, Sameer Singh, Carlos Guestrin · 2016 · 15.2K citations
Gradient boosting machines, a tutorial
Alexey Natekin, Alois Knoll · Frontiers in Neurorobotics · 2013 · 3.8K citations · Full text