Beyond Fidelity: Explaining Vulnerability Localization of Learning-based Detectors
Baijun Cheng, Shengming Zhao, Kailong Wang, Meizhen Wang, Guangdong, Bai, Ruitao Feng, Yao Guo, Lei Ma, Haoyu Wang

TL;DR
This paper evaluates explanation methods for deep learning-based vulnerability detectors, revealing that current approaches often lack precision in identifying critical vulnerability-related code lines and fidelity metrics are insufficient for assessment.
Contribution
It provides an in-depth evaluation of ten explanation approaches for vulnerability detectors, highlighting their limitations in accurately pinpointing vulnerability-critical code features.
Findings
Fidelity metrics fluctuate significantly across datasets and detectors.
All explanation approaches show poor accuracy in identifying vulnerability-related code lines.
Current explainers are inefficient in selecting important features and are affected by irrelevant artifacts.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Explainable Artificial Intelligence (XAI)
