Lune

ICSE2023顶会

Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learning

Xin-Cheng Wen, Yupan Chen, Cuiyun Gao, Hongyu Zhang, Jie M. Zhang, Qing Liao

摘要

Prior studies have demonstrated the effectiveness of Deep Learning (DL) in automated software vulnerability detection. Graph Neural Networks (GNNs) have proven effective in learning the graph representations of source code and are commonly adopted by existing DL-based vulnerability detection methods. However, the existing methods are still limited by the fact that GNNs are essentially difficult to handle the connections between long-distance nodes in a code structure graph. Besides, they do not well exploit the multiple types of edges in a code structure graph (such as edges representing data flow and control flow). Consequently, despite achieving state-of-the-art performance, the existing GNN-based methods tend to fail to capture global information (i.e., long-range dependencies among nodes) of code graphs. To mitigate these issues, in this paper, we propose a novel vulnerability detection framework with grAph siMplification and enhanced graph rePresentation LEarning, named AMPLE. AMPLE mainly contains two parts: 1) graph simplification, which aims at reducing the distances between nodes by shrinking the node sizes of code structure graphs; 2) enhanced graph representation learning, which involves one edge-aware graph convolutional network module for fusing heterogeneous edge information into node representations and one kernel-scaled representation module for well capturing the relations between distant graph nodes. Experiments on three public benchmark datasets show that AMPLE outperforms the state-of-the-art methods by 0.39%-35.32% and 7.64%-199.81% with respect to the accuracy and F1 score metrics, respectively. The results demonstrate the effectiveness of AMPLE in learning global information of code graphs for vulnerability detection.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bridge and Hint: Extending Pre-trained Language Models for Long-Range Code 引用了 Vulnerability detection with fine-grained interpretations
  • Bridge and Hint: Extending Pre-trained Language Models for Long-Range Code 引用了 GraphCodeBERT: Pre-training Code Representations with Data Flow
  • Bridge and Hint: Extending Pre-trained Language Models for Long-Range Code 引用了 When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detection
  • VulSim: Leveraging Similarity of Multi-Dimensional Neighbor Embeddings for Vulnerability Detection 引用了 Vulnerability detection with fine-grained interpretations
  • VulSim: Leveraging Similarity of Multi-Dimensional Neighbor Embeddings for Vulnerability Detection 引用了 GraphCodeBERT: Pre-training Code Representations with Data Flow
  • Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection Systems 引用了 Vulnerability detection with fine-grained interpretations
  • When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detection 引用了 Vulnerability detection with fine-grained interpretations
  • SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability Detection 引用了 Vulnerability detection with fine-grained interpretations
  • SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability Detection 引用了 GraphCodeBERT: Pre-training Code Representations with Data Flow
  • SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability Detection 引用了 When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability Detection
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Coca: Improving and Explaining Graph Neural Network-Based Vulnerability Detection SystemsSicong Cao, Xiaobing Sun, Xiaoxue Wu, David Lo 等ICSE 2024 · 27 次引用
  2. When Less is Enough: Positive and Unlabeled Learning Model for Vulnerability DetectionXin-Cheng Wen, Xinchen Wang, Cuiyun Gao, Shaohua Wang 等ASE 2023 · 20 次引用
  3. SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability DetectionXin-Cheng Wen, Cuiyun Gao, Shuzheng Gao, Yang Xiao 等ISSTA 2024 · 17 次引用
  4. VulSim: Leveraging Similarity of Multi-Dimensional Neighbor Embeddings for Vulnerability DetectionSamiha Shimmi, Ashiqur Rahman, Mohan Gadde, Hamed Okhravi 等USENIX Security 2024 · 13 次引用
  5. Bridge and Hint: Extending Pre-trained Language Models for Long-Range CodeYujia Chen, Cuiyun Gao, Zezhou Yang, Hongyu Zhang 等ISSTA 2024 · 4 次引用

它引用的 Paper13

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
  3. GraphCodeBERT: Pre-training Code Representations with Data FlowDaya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng 等ICLR 2021 · 1,644 次引用
  4. Geom-GCN: Geometric Graph Convolutional NetworksHongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei 等ICLR 2020 · 1,445 次引用
  5. Vulnerability detection with fine-grained interpretationsYi Li, Shaohua Wang, Tien N. NguyenFSE 2021 · 283 次引用

相关 Paper

  1. Learning Program Semantics for Vulnerability Detection via Vulnerability-Specific Inter-procedural SlicingBozhi Wu, Shangqing Liu, Yang Xiao, Zhiming Li 等FSE 2023 · 16 次引用
  2. MVD: Memory-Related Vulnerability Detection Based on Flow-Sensitive Graph Neural NetworksSicong Cao, Xiaobing Sun, Lili Bo, Rongxin Wu 等ICSE 2022 · 100 次引用
  3. Enhancing Deep Learning-based Vulnerability Detection by Building Behavior Graph ModelBin Yuan, Yifan Lu, Yilin Fang, Yueming Wu 等ICSE 2023 · 20 次引用
  4. Path-sensitive code embedding via contrastive learning for software vulnerability detectionXiao Cheng, Guanqin Zhang, Haoyu Wang, Yulei SuiISSTA 2022 · 98 次引用
  5. DeepVD: Toward Class-Separation Features for Neural Network Vulnerability DetectionWenbo Wang, Tien N. Nguyen, Shaohua Wang, Yi Li 等ICSE 2023 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖