Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networks

被引:0
|
作者
Zhou, Yaqin [1 ]
Liu, Shangqing [1 ]
Siow, Jingkai [1 ]
Du, Xiaoning [1 ]
Liu, Yang [1 ]
机构
[1] Nanyang Technol Univ, Singapore, Singapore
基金
新加坡国家研究基金会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Vulnerability identification is crucial to protect the software systems from attacks for cyber security. It is especially important to localize the vulnerable functions among the source code to facilitate the fix. However, it is a challenging and tedious process, and also requires specialized security expertise. Inspired by the work on manually-defined patterns of vulnerabilities from various code representation graphs and the recent advance on graph neural networks, we propose Devign, a general graph neural network based model for graph-level classification through learning on a rich set of code semantic representations. It includes a novel Conv module to efficiently extract useful features in the learned rich node representations for graph-level classification. The model is trained over manually labeled datasets built on 4 diversified large-scale open-source C projects that incorporate high complexity and variety of real source code instead of synthesis code used in previous works. The results of the extensive evaluation on the datasets demonstrate that Devign outperforms the state of the arts significantly with an average of 10.51% higher accuracy and 8.68% F1 score, increases averagely 4.66% accuracy and 6.37% F1 by the Conv module.
引用
收藏
页数:11
相关论文
共 50 条
  • [41] Towards Anomaly-resistant Graph Neural Networks via Reinforcement Learning
    Ding, Kaize
    Shan, Xuan
    Liu, Huan
    [J]. PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, : 2979 - 2983
  • [42] Learning Counterfactual Explanation of Graph Neural Networks via Generative Flow Network
    He K.
    Liu L.
    Zhang Y.
    Wang Y.
    Liu Q.
    Wang G.
    [J]. IEEE Transactions on Artificial Intelligence, 2024, 5 (09): : 1 - 13
  • [43] Sparse Structure Learning via Graph Neural Networks for Inductive Document Classification
    Piao, Yinhua
    Lee, Sangseon
    Lee, Dohoon
    Kim, Sun
    [J]. THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 11165 - 11173
  • [44] Comprehensive Graph Gradual Pruning for Sparse Training in Graph Neural Networks
    Liu, Chuang
    Ma, Xueqi
    Zhan, Yibing
    Ding, Liang
    Tao, Dapeng
    Du, Bo
    Hu, Wenbin
    Mandic, Danilo P.
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2023, 35 (10) : 1 - 15
  • [45] Molecular representation contrastive learning via transformer embedding to graph neural networks
    Liu, Yunwu
    Zhang, Ruisheng
    Li, Tongfeng
    Jiang, Jing
    Ma, Jun
    Yuan, Yongna
    Wang, Ping
    [J]. APPLIED SOFT COMPUTING, 2024, 164
  • [46] A Comprehensive Survey of Graph Neural Networks for Knowledge Graphs
    Ye, Zi
    Kumar, Yogan Jaya
    Sing, Goh Ong
    Song, Fengyan
    Wang, Junsong
    [J]. IEEE ACCESS, 2022, 10 : 75729 - 75741
  • [47] MGLNN: Semi-supervised learning via Multiple Graph Cooperative Learning Neural Networks
    Jiang, Bo
    Chen, Si
    Wang, Beibei
    Luo, Bin
    [J]. NEURAL NETWORKS, 2022, 153 : 204 - 214
  • [48] Imbalanced Graph Classification via Graph-of-Graph Neural Networks
    Wang, Yu
    Zhao, Yuying
    Shah, Neil
    Derr, Tyler
    [J]. PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2022, 2022, : 2068 - 2077
  • [49] Smart Contract Vulnerability Detection Using Graph Neural Networks
    Zhuang, Yuan
    Liu, Zhenguang
    Qian, Peng
    Liu, Qi
    Wang, Xiang
    He, Qinming
    [J]. PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 3283 - 3290
  • [50] A Comprehensive Survey on Distributed Training of Graph Neural Networks
    Lin, Haiyang
    Yan, Mingyu
    Ye, Xiaochun
    Fan, Dongrui
    Pan, Shirui
    Chen, Wenguang
    Xie, Yuan
    [J]. PROCEEDINGS OF THE IEEE, 2023, 111 (12) : 1572 - 1606