mlsanityData to 7 Oct 2026

Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectors

arXiv 2401.02686 ↗First posted 5 Jan 2024cs.CR cs.LG cs.SEcited by 0

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

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  4. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  6. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  7. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  9. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 936
  10. 2015Gated Graph Sequence Neural Networkscited by 792
  11. 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 735
  12. 2014Distributed Representations of Sentences and Documentscited by 677
31 more
  1. 2020Parameterized Explainer for Graph Neural Networkcited by 423
  2. 2020Explainability in Graph Neural Networks: A Taxonomic Surveycited by 383
  3. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
  4. 2019Interpretable machine learning: definitions, methods, and applicationscited by 303
  5. 2016Not Just a Black Box: Learning Important Features Through Propagating Activation Differencescited by 295
  6. 2021On Explainability of Graph Neural Networks via Subgraph Explorationscited by 280
  7. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  8. 2020XGNN: Towards Model-Level Explanations of Graph Neural Networkscited by 211
  9. 2020PGM-Explainer: Probabilistic Graphical Model Explanations for Graph Neural Networkscited by 210
  10. 2020GraphLIME: Local Interpretable Model Explanations for Graph Neural Networkscited by 209
  11. 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
  12. 2020Interpreting Graph Neural Networks for NLP With Differentiable Edge Maskingcited by 152
  13. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 142
  14. 2020Higher-Order Explanations of Graph Neural Networks via Relevant Walkscited by 138
  15. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  16. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  17. 2017Explaining Recurrent Neural Network Predictions in Sentiment Analysiscited by 87
  18. 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
  19. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  20. 2020RelEx: A Model-Agnostic Relational Model Explainercited by 53
  21. 2023Data Quality for Software Vulnerability Datasetscited by 49
  22. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  23. 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
  24. 2022LineVD: Statement-level Vulnerability Detection using Graph Neural Networkscited by 35
  25. 2021Understanding Neural Code Intelligence Through Program Simplificationcited by 20
  26. 2022Attribution-based XAI Methods in Computer Vision: A Reviewcited by 16
  27. 2020Predicting Defective Lines Using a Model-Agnostic Techniquecited by 14
  28. 2021JITLine: A Simpler, Better, Faster, Finer-grained Just-In-Time Defect Predictioncited by 14
  29. 2021VulSPG: Vulnerability detection based on slice property graph representation learningcited by 7
  30. 2022Syntax-Guided Program Reduction for Understanding Neural Code Intelligence Modelscited by 7
  31. 2022Learning Program Semantics with Code Representations: An Empirical Studycited by 6

Built on by

Not cited yet.