Vulnerability Detection with Fine-Grained Interpretations

被引:129
|
作者
Li, Yi [1 ]
Wang, Shaohua [1 ]
Nguyen, Tien N. [2 ]
机构
[1] New Jersey Inst Technol, Newark, NJ 07102 USA
[2] Univ Texas Dallas, Richardson, TX 75083 USA
基金
美国国家科学基金会;
关键词
Vulnerability Detection; Deep Learning; Intelligence Assistant; Explainable AI (XAI); Interpretable AI;
D O I
10.1145/3468264.3468597
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Despite the successes of machine learning (ML) and deep learning (DL) based vulnerability detectors (VD), they are limited to providing only the decision on whether a given code is vulnerable or not, without details on what part of the code is relevant to the detected vulnerability. We present IVDETECT, an interpretable vulnerability detector with the philosophy of using Artificial Intelligence (AI) to detect vulnerabilities, while using Intelligence Assistant (IA) to provide VD interpretations in terms of vulnerable statements. For vulnerability detection, we separately consider the vulnerable statements and their surrounding contexts via data and control dependencies. This allows our model better discriminate vulnerable statements than using the mixture of vulnerable code and contextual code as in existing approaches. In addition to the coarse-grained vulnerability detection result, we leverage interpretable AI to provide users with fine-grained interpretations that include the sub-graph in the Program Dependency Graph (PDG) with the crucial statements that are relevant to the detected vulnerability. Our empirical evaluation on vulnerability databases shows that IVDETECT outperforms the existing DL-based approaches by 43%-84% and 105%-255% in top-10 nDCG and MAP ranking scores. IVDETECT correctly points out the vulnerable statements relevant to the vulnerability via its interpretation in 67% of the cases with a top-5 ranked list. IVDETECT improves over the baseline interpretation models by 12.3%-400% and 9%-400% in accuracy.
引用
收藏
页码:292 / 303
页数:12
相关论文
共 50 条
  • [41] Fine-grained Action Detection in Untrimmed Surveillance Videos
    Aakur, Sathyanarayanan
    Sawyer, Daniel
    Sarkar, Sudeep
    2019 IEEE WINTER APPLICATIONS OF COMPUTER VISION WORKSHOPS (WACVW), 2019, : 38 - 40
  • [42] Detection of Crystalline and Fine-grained Calcic Plagioclases on Vesta
    Palomba, E.
    D'Aversa, E.
    Sato, T. M.
    Longobardo, A.
    Dirri, F.
    Aoki, S.
    Orton, G.
    Sindoni, G.
    Oliva, F.
    Carrozzo, G.
    Kasaba, Y.
    ASTROPHYSICAL JOURNAL LETTERS, 2019, 882 (02)
  • [43] Fine-grained respiratory event detection for SAHS screening
    Chu, Ronghe
    Wei, Jianguo
    Lu, Wenhuan
    Chen, Yibing
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2025, 101
  • [44] Phase-based fine-grained change detection
    Wang, Xuzhi
    Wan, Liang
    Lin, Di
    Feng, Wei
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 227
  • [45] Fine-Grained Cryptography
    Degwekar, Akshay
    Vaikuntanathan, Vinod
    Vasudevan, Prashant Nalini
    ADVANCES IN CRYPTOLOGY (CRYPTO 2016), PT III, 2016, 9816 : 533 - 562
  • [46] Stochastic Edge Detection for Fine-Grained Progressive Precision
    Lee, Youngwook
    Kim, Kyung-Ki
    Kim, Yong-Bin
    Choi, Minsu
    18TH INTERNATIONAL SOC DESIGN CONFERENCE 2021 (ISOCC 2021), 2021, : 119 - 120
  • [47] Fine-Grained Car Detection for Visual Census Estimation
    Gebru, Timnit
    Krause, Jonathan
    Wang, Yilun
    Chen, Duyun
    Deng, Jia
    Li Fei-Fei
    THIRTY-FIRST AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2017, : 4502 - 4508
  • [48] Dissolving is Amplifying: Towards Fine-Grained Anomaly Detection
    Shi, Jian
    Zhang, Pengyi
    Zhang, Ni
    Ghazzai, Hakim
    Wonka, Peter
    COMPUTER VISION - ECCV 2024, PT LIX, 2025, 15117 : 377 - 394
  • [49] Multi Fine-Grained Fusion Network for Depression Detection
    Zhou, Li
    Liu, Zhenyu
    Li, Yutong
    Duan, Yuchi
    Yu, Huimin
    Hu, Bin
    ACM TRANSACTIONS ON MULTIMEDIA COMPUTING COMMUNICATIONS AND APPLICATIONS, 2024, 20 (08)
  • [50] Application of Image Classification for Fine-Grained Nudity Detection
    Ion, Cristian
    Minea, Cristian
    ADVANCES IN VISUAL COMPUTING, ISVC 2019, PT I, 2020, 11844 : 3 - 15