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 条
  • [21] FINE-GRAINED COLOUR DISCRIMINATION WITHOUT FINE-GRAINED COLOUR
    Gert, Joshua
    AUSTRALASIAN JOURNAL OF PHILOSOPHY, 2015, 93 (03) : 602 - 605
  • [22] Improve Fine-Grained Feature Learning in Fine-Grained DataSet GAI
    Wang, Hai Peng
    Geng, Zhi Qing
    IEEE ACCESS, 2025, 13 : 12777 - 12788
  • [23] Leveraging Fine-Grained Labels to Regularize Fine-Grained Visual Classification
    Wu, Junfeng
    Yao, Li
    Liu, Bin
    Ding, Zheyuan
    PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON COMPUTER MODELING AND SIMULATION (ICCMS 2019) AND 8TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND APPLICATIONS (ICICA 2019), 2019, : 133 - 136
  • [24] DIME: Fine-grained Interpretations of Multimodal Models via Disentangled Local Explanations
    Lyu, Yiwei
    Liang, Paul Pu
    Deng, Zihao
    Salakhutdinov, Ruslan
    Morency, Louis-Philippe
    PROCEEDINGS OF THE 2022 AAAI/ACM CONFERENCE ON AI, ETHICS, AND SOCIETY, AIES 2022, 2022, : 455 - 467
  • [25] Fine-Grained Vulnerability Analysis of Resource Constrained Neural Inference Accelerators
    Corneliou, Panayiotis
    Nikolaou, Panagiota
    Michael, Maria K.
    Theocharides, Theocharis
    34TH IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI AND NANOTECHNOLOGY SYSTEMS (DFT 2021), 2021,
  • [26] Fine-grained smart contract vulnerability detection by heterogeneous code feature learning and automated dataset construction
    Cai, Jie
    Li, Bin
    Zhang, Tao
    Zhang, Jiale
    Sun, Xiaobing
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 209
  • [27] VulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability Detector
    Li, Zhen
    Zou, Deqing
    Xu, Shouhuai
    Chen, Zhaoxuan
    Zhu, Yawei
    Jin, Hai
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2022, 19 (04) : 2821 - 2837
  • [28] Fine-grained Assessment Method of Vulnerability Impact Scope for PyPI Ecosystem
    Wang, Zi-Bo
    Jia, Xiang-Kun
    Ying, Ling-Yun
    Su, Pu-Rui
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (10): : 4493 - 4509
  • [29] A Fine-Grained Approach for Vulnerabilities Discovery Using Augmented Vulnerability Signatures
    Zhou, Xiaoxiao
    Niu, Weina
    Zhang, Xiaosong
    Chen, Ruidong
    Wang, Yan
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, KSEM 2022, PT III, 2022, 13370 : 27 - 38
  • [30] Multiple Granularity Analysis for Fine-grained Action Detection
    Ni, Bingbing
    Paramathayalan, Vignesh R.
    Moulin, Pierre
    2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, : 756 - 763