DSHGT: Dual-Supervisors Heterogeneous Graph Transformer -- A pioneer study of using heterogeneous graph learning for detecting software vulnerabilities
Not on the map. Why?
Abstract (arXiv)
Vulnerability detection is a critical problem in software security and attracts growing attention both from academia and industry. Traditionally, software security is safeguarded by designated rule-based detectors that heavily rely on empirical expertise, requiring tremendous effort from software experts to generate rule repositories for large code corpus. Recent advances in deep learning, especially Graph Neural Networks (GNN), have uncovered the feasibility of automatic detection of a wide range of software vulnerabilities. However, prior learning-based works only break programs down into a sequence of word tokens for extracting contextual features of codes, or apply GNN largely on homogeneous graph representation (e.g., AST) without discerning complex types of underlying program entities (e.g., methods, variables). In this work, we are one of the first to explore heterogeneous graph representation in the form of Code Property Graph and adapt a well-known heterogeneous graph network with a dual-supervisor structure for the corresponding graph learning task. Using the prototype built, we have conducted extensive experiments on both synthetic datasets and real-world projects. Compared with the state-of-the-art baselines, the results demonstrate promising effectiveness in this research direction in terms of vulnerability detection performance (average F1 improvements over 10% in real-world projects) and transferability from C/C++ to other programming languages (average F1 improvements over 11%).
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 23 of its 56 references that are in the map. First posted on arXiv 2 Jun 2023.
Builds on
23 of 56 references.
References · 23
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2014Distributed Representations of Sentences and Documentscited by 678
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2020Heterogeneous Graph Transformercited by 582
- 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 545
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
- 2017Learning to Represent Programs with Graphscited by 220
11 more
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2020A Survey on Heterogeneous Graph Embedding: Methods, Techniques, Applications and Sourcescited by 126
- 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 92
- 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
- 2019Getafix: Learning to Fix Bugs Automaticallycited by 41
- 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 41
- 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
- 2021An Empirical Study on the Usage of Transformer Models for Code Completioncited by 22
- 2023Vulnerability Detection with Graph Simplification and Enhanced Graph Representation Learningcited by 8
- 2021GPS: A Policy-driven Sampling Approach for Graph Representation Learningcited by 5
- 2022AstBERT: Enabling Language Model for Financial Code Understanding with Abstract Syntax Treescited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.