SEAICRLGJul 3, 2024

Revisiting the Performance of Deep Learning-Based Vulnerability Detection on Realistic Datasets

arXiv:2407.03093v126 citationsh-index: 8
Originality Incremental advance
AI Analysis

This addresses the reliability issue for software security practitioners, highlighting a significant performance gap that is incremental in exposing overfitting and dataset limitations.

The paper tackled the problem of deep learning-based vulnerability detection models performing poorly in real-world scenarios, showing that precision and F1 scores drop by up to 95 and 91 percentage points respectively when evaluated on realistic datasets compared to prior benchmarks.

The impact of software vulnerabilities on everyday software systems is significant. Despite deep learning models being proposed for vulnerability detection, their reliability is questionable. Prior evaluations show high recall/F1 scores of up to 99%, but these models underperform in practical scenarios, particularly when assessed on entire codebases rather than just the fixing commit. This paper introduces Real-Vul, a comprehensive dataset representing real-world scenarios for evaluating vulnerability detection models. Evaluating DeepWukong, LineVul, ReVeal, and IVDetect shows a significant drop in performance, with precision decreasing by up to 95 percentage points and F1 scores by up to 91 points. Furthermore, Model performance fluctuates based on vulnerability characteristics, with better F1 scores for information leaks or code injection than for path resolution or predictable return values. The results highlight a significant performance gap that needs addressing before deploying deep learning-based vulnerability detection in practical settings. Overfitting is identified as a key issue, and an augmentation technique is proposed, potentially improving performance by up to 30%. Contributions include a dataset creation approach for better model evaluation, Real-Vul dataset, and empirical evidence of deep learning models struggling in real-world settings.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes