AI & ML
From Lab to Reality: A Practical Evaluation of Deep Learning Models and LLMs for Vulnerability Detection
arXiv cs.CR0 views
arXiv:2512.10485v4 Announce Type: replace Abstract: Vulnerability detection methods based on deep learning (DL) have shown strong performance on benchmark datasets, yet their real-world effectiveness remains underexplored. Recent work suggests that graph neural network-based and transformer-based models, including large language models (LLMs), yield promising results when evaluated on curated benchmark datasets. These datasets are typically characterized by similar data distributions and may contain synthetic samples, heuristic labels, or labeling noise. In this study, we systematically evaluate four representative DL models---Devign, ReVeal, LineVul, and VulBERTa---across four representative datasets: Juliet, Devign, BigVul, and ICVul. Each model is trained independently on each dataset, and the graph-based and CodeBERT representations adopted by these models are analyzed using t-SNE and centroid distance to examine vulnerability-related patterns. To assess realistic applicability, we further evaluate trained ReVeal and LineVul models, along with four open-weight LLMs, on VentiVul, our newly constructed temporally separated out-of-distribution (OOD) dataset comprising 200 recent vulnerabilities from Linux and Chromium. Our experiments reveal that current representation methods struggle to distinguish vulnerable from non-vulnerable code and that trained models generalize poorly across datasets with differing distributions and characteristics. When evaluated on VentiVul, performance drops sharply, with most models failing to detect vulnerabilities reliably or distinguish vulnerable functions from their patched counterparts. These results expose a persistent gap between academic benchmarks and real-world deployment, emphasizing the value of our deployment-oriented evaluation framework and the need for more robust code representations, higher-quality datasets, and evaluation methods that account for vulnerability-fixing changes.
Source:https://arxiv.org/abs/2512.10485PreviousRethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMsNextThings that Matter -- Identifying Interactions and IoT Device Types in Encrypted Matter Traffic
Related posts

How AI Is Changing Healthcare in 2026 - And Why Developers Should Pay Attention
0dev.to Productivity

When Should Singapore Healthcare Enterprises Hire AI Developers?
0dev.to Productivity

How to Ask AI Questions About Your PDFs Without Uploading Them in 2026 (Page Citations, On Your Own Device)
0dev.to Productivity
Black Friday 2026 AI and SaaS Deals We Checked (and 5 Checks Before You Buy)
0dev.to Productivity
Changing the Time of Day in a Photo with a Text Prompt
0dev.to Tutorial
Soft vs Hard Subtitles: Which One Your Video Actually Needs
0dev.to Tutorial