Function-level Vulnerability Detection Through Fusing Multi-Modal Knowledge

被引:1
|
作者
Ni, Chao [1 ]
Guo, Xinrong [1 ]
Zhu, Yan [1 ]
Xu, Xiaodan [1 ]
Yang, Xiaohu [1 ]
机构
[1] Zhejiang Univ, Hangzhou, Peoples R China
基金
中国国家自然科学基金;
关键词
Vulnerability Detection; Computer Vision; Deep Learning; Multi-Modal Code Representations;
D O I
10.1109/ASE56229.2023.00084
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software vulnerabilities damage the functionality of software systems. Recently, many deep learning-based approaches have been proposed to detect vulnerabilities at the function level by using one or a few different modalities (e.g., text representation, graph-based representation) of the function and have achieved promising performance. However, some of these existing studies have not completely leveraged these diverse modalities, particularly the underutilized image modality, and the others using images to represent functions for vulnerability detection have not made adequate use of the significant graph structure underlying the images. In this paper, we propose MVulD, a multi-modal-based function-level vulnerability detection approach, which utilizes multi-modal features of the function (i.e., text representation, graph representation, and image representation) to detect vulnerabilities. Specifically, MVulD utilizes a pre-trained model (i.e., UniXcoder) to learn the semantic information of the textual source code, employs the graph neural network to distill graph-based representation, and makes use of computer vision techniques to obtain the image representation while retaining the graph structure of the function. We conducted a large-scale experiment on 25,816 functions. The experimental results show that MVulD improves four state-of-the-art baselines by 30.8%-81.3%, 12.8%-27.4%, 48.8%-115%, and 22.9%-141% in terms of F1-score, Accuracy, Precision, and PR-AUC respectively.
引用
收藏
页码:1911 / 1918
页数:8
相关论文
共 50 条
  • [21] SparseFusion: Fusing Multi-Modal Sparse Representations for Multi-Sensor 3D Object Detection
    Xie, Yichen
    Xu, Chenfeng
    Rakotosaona, Marie-Julie
    Rim, Patrick
    Tombari, Federico
    Keutzer, Kurt
    Tomizuka, Masayoshi
    Zhan, Wei
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 17545 - 17556
  • [22] Learning and Fusing Multi-View Code Representations for Function Vulnerability Detection
    Tian, Zhenzhou
    Tian, Binhui
    Lv, Jiajun
    Chen, Lingwei
    ELECTRONICS, 2023, 12 (11)
  • [23] Multi-modal pedestrian detection with misalignment based on modal-wise regression and multi-modal IoU
    Wanchaitanawong, Napat
    Tanaka, Masayuki
    Shibata, Takashi
    Okutomi, Masatoshi
    JOURNAL OF ELECTRONIC IMAGING, 2023, 32 (01)
  • [24] Is Multi-Modal Necessarily Better? Robustness Evaluation of Multi-Modal Fake News Detection
    Chen, Jinyin
    Jia, Chengyu
    Zheng, Haibin
    Chen, Ruoxi
    Fu, Chenbo
    IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2023, 10 (06): : 3144 - 3158
  • [25] Deep Image Annotation and Classification by Fusing Multi-Modal Semantic Topics
    Chen, YongHeng
    Zhang, Fuquan
    Zuo, WanLi
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2018, 12 (01): : 392 - 412
  • [26] Multi-modal Detection of Cyberbullying on Twitter
    Qiu, Jiabao
    Moh, Melody
    Moh, Teng-Sheng
    ACMSE 2022: PROCEEDINGS OF THE 2022 ACM SOUTHEAST CONFERENCE, 2022, : 9 - 16
  • [27] MLSFF: Multi-level structural features fusion for multi-modal knowledge graph completion
    Zhai, Hanming
    Lv, Xiaojun
    Hou, Zhiwen
    Tong, Xin
    Bu, Fanliang
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (08) : 14096 - 14116
  • [28] MULTI-MODAL BIOMETRIC AUTHENTICATION FUSING IRIS AND PALMPRINT BASED ON GMM
    Wang, Jingyan
    Li, Yongping
    Ao, Xinyu
    Wang, Chao
    Zhou, Juan
    2009 IEEE/SP 15TH WORKSHOP ON STATISTICAL SIGNAL PROCESSING, VOLS 1 AND 2, 2009, : 349 - 352
  • [29] Multi-modal human aggression detection
    Kooij, J. F. P.
    Liem, M. C.
    Krijnders, J. D.
    Andringa, T. C.
    Gavrila, D. M.
    COMPUTER VISION AND IMAGE UNDERSTANDING, 2016, 144 : 106 - 120
  • [30] FuseSeg: LiDAR Point Cloud Segmentation Fusing Multi-Modal Data
    Krispel, Georg
    Opitz, Michael
    Waltner, Georg
    Possegger, Horst
    Bischof, Horst
    2020 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2020, : 1863 - 1872