VulBERTa: Simplified Source Code Pre-Training for Vulnerability Detection
Hazim Hanif, Sergio Maffeis · 2022 International Joint Conference on Neural Networks (IJCNN) · 2022
This paper presents VulBERTa, a deep learning approach to detect security vulnerabilities in source code. Our approach pre-trains a RoBERTa model with a custom tokenisation pipeline on real-world code from open-source C/C++ projects. The model learns a deep knowledge representation of the code syntax and semantics, which we leverage to train vulnerability detection classifiers. We evaluate our approach on binary and multi-class vulnerability detection tasks across several datasets (Vuldeepecker, Draper, REVEAL and muVuldeepecker) and benchmarks (CodeXGLUE and D2A). The evaluation results show that VulBERTa achieves state-of-the-art performance and outperforms existing approaches across different datasets, despite its conceptual simplicity, and limited cost in terms of size of training data and number of model parameters.
Cited by 169 works. doi:10.1109/ijcnn55064.2022.9892280 Open-access PDF
Authors
References
- Exploiting Generative AI to Scale up Intelligent Tutoring Systems
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale
- Convolutional Neural Networks for Sentence Classification
- HISTORIAE, History of Socio-Cultural Transformation as Linguistic Data Science. A Humanities Use Case
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Framewise phoneme classification with bidirectional LSTM and other neural network architectures
- GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- A new algorithm for data compression
- VulDeePecker: A Deep Learning-Based System for Vulnerability Detection