Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectors
Not on the map. Why?
Abstract (arXiv)
Vulnerability detectors based on deep learning (DL) models have proven their effectiveness in recent years. However, the shroud of opacity surrounding the decision-making process of these detectors makes it difficult for security analysts to comprehend. To address this, various explanation approaches have been proposed to explain the predictions by highlighting important features, which have been demonstrated effective in other domains such as computer vision and natural language processing. Unfortunately, an in-depth evaluation of vulnerability-critical features, such as fine-grained vulnerability-related code lines, learned and understood by these explanation approaches remains lacking. In this study, we first evaluate the performance of ten explanation approaches for vulnerability detectors based on graph and sequence representations, measured by two quantitative metrics including fidelity and vulnerability line coverage rate. Our results show that fidelity alone is not sufficient for evaluating these approaches, as fidelity incurs significant fluctuations across different datasets and detectors. We subsequently check the precision of the vulnerability-related code lines reported by the explanation approaches, and find poor accuracy in this task among all of them. This can be attributed to the inefficiency of explainers in selecting important features and the presence of irrelevant artifacts learned by DL-based detectors.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 43 of its 74 references that are in the map. First posted on arXiv 5 Jan 2024.
Builds on
43 of 74 references.
References · 43
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 735
- 2014Distributed Representations of Sentences and Documentscited by 677
31 more
- 2020Parameterized Explainer for Graph Neural Networkcited by 423
- 2020Explainability in Graph Neural Networks: A Taxonomic Surveycited by 383
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019Interpretable machine learning: definitions, methods, and applicationscited by 303
- 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
- 2021On Explainability of Graph Neural Networks via Subgraph Explorationscited by 280
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
- 2020XGNN: Towards Model-Level Explanations of Graph Neural Networkscited by 211
- 2020PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networkscited by 210
- 2020GraphLIME: Local Interpretable Model Explanations for Graph Neural Networkscited by 209
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2020Interpreting Graph Neural Networks for NLP With Differentiable Edge Maskingcited by 152
- 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
- 2020Higher-Order Explanations of Graph Neural Networks via Relevant Walkscited by 138
- 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
- 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
- 2017Explaining Recurrent Neural Network Predictions in Sentiment Analysiscited by 87
- 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
- 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
- 2020RelEx: A Model-Agnostic Relational Model Explainercited by 53
- 2023Data Quality for Software Vulnerability Datasetscited by 49
- 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
- 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
- 2022LineVD: Statement-level Vulnerability Detection using Graph Neural Networkscited by 35
- 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 20
- 2022Attribution-based XAI Methods in Computer Vision: A Reviewcited by 16
- 2020Predicting Defective Lines Using a Model-Agnostic Techniquecited by 14
- 2021JITLine: A Simpler, Better, Faster, Finer-grained Just-In-Time Defect Predictioncited by 14
- 2021VulSPG: Vulnerability detection based on slice property graph representation learningcited by 7
- 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Modelscited by 7
- 2022Learning Program Semantics with Code Representations: An Empirical Studycited by 6
Built on by
Not cited yet.