XGV-BERT: Leveraging Contextualized Language Model and Graph Neural Network for Efficient Software Vulnerability Detection
Vu Le Anh Quan, Chau Thuan Phat, Kiet Van Nguyen, Phan The Duy,, Van-Hau Pham

TL;DR
XGV-BERT combines pre-trained language models and graph neural networks to effectively detect software vulnerabilities, significantly outperforming existing methods in accuracy.
Contribution
This work introduces XGV-BERT, a novel framework that integrates CodeBERT and GCN for improved vulnerability detection in source code.
Findings
Achieves 97.5% F1-score on VulDeePecker dataset
Achieves 95.5% F1-score on SySeVR dataset
Outperforms existing methods VulDeePecker and SySeVR
Abstract
With the advancement of deep learning (DL) in various fields, there are many attempts to reveal software vulnerabilities by data-driven approach. Nonetheless, such existing works lack the effective representation that can retain the non-sequential semantic characteristics and contextual relationship of source code attributes. Hence, in this work, we propose XGV-BERT, a framework that combines the pre-trained CodeBERT model and Graph Neural Network (GCN) to detect software vulnerabilities. By jointly training the CodeBERT and GCN modules within XGV-BERT, the proposed model leverages the advantages of large-scale pre-training, harnessing vast raw data, and transfer learning by learning representations for training data through graph convolution. The research results demonstrate that the XGV-BERT method significantly improves vulnerability detection accuracy compared to two existing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research · Web Application Security Vulnerabilities
MethodsGraph Neural Network · CodeBERT · Graph Convolutional Network
