paper-with-me

홈 › Papers

Data and Context Matter: Towards Generalizing AI-based Software Vulnerability Detection

2025-08-14 · Rijha Safdar, Danyail Mateen, Syed Taha Ali, M. Umer Ashfaq, Wajahat Hussain arxiv

AI-based solutions demonstrate remarkable results in identifying vulnerabilities in software, but research has consistently found that this performance does not generalize to unseen codebases. In this paper, we specifically investigate the impact of model architecture, parameter configuration, and quality of training data on the ability of these systems to generalize. For this purpose, we introduce VulGate, a high quality state of the art dataset that mitigates the shortcomings of prior datasets, by removing mislabeled and duplicate samples, updating new vulnerabilities, incorporating additional metadata, integrating hard samples, and including dedicated test sets. We undertake a series of experiments to demonstrate that improved dataset diversity and quality substantially enhances vulnerability detection. We also introduce and benchmark multiple encoder-only and decoder-only models. We find that encoder-based models outperform other models in terms of accuracy and generalization. Our model achieves \textbf{6.8\%} improvement in recall on the benchmark BigVul dataset and outperforms others on unseen projects, demonstrating enhanced generalizability. Our results highlight the role of data quality and model selection in the development of robust vulnerability detection systems. Our findings suggest a direction for future systems with high cross-project effectiveness.

📄 PDF Abstract BibTeX arXiv:2508.16625

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability Detection

Similar Papers 제목 키워드 기반

Efficient Software Vulnerability Detection Using Transformer-based Models

2026-03-31 · Sameer Shaik, Zhen Huang, Daniela Stan Raicu, Jacob Furst arxiv

Detecting software vulnerabilities is critical to ensuring the security and reliability of modern computer systems. Deep neural networks have shown promising results on vulnerability detection, but they lack the capabili…

Vulnerability Detection

ChatNVD: Advancing Cybersecurity Vulnerability Assessment with Large Language Models

2024-12-06 · Shivansh Chopra, Hussain Ahmad, Diksha Goel, Claudia Szabo

The increasing frequency and sophistication of cybersecurity vulnerabilities in software systems underscores the need for more robust and effective vulnerability assessment methods. However, existing approaches often rel…

Your Instructions Are Not Always Helpful: Assessing the Efficacy of Instruction Fine-tuning for Software Vulnerability Detection

2024-01-15 · Imam Nur Bani Yusuf, Lingxiao Jiang

Software, while beneficial, poses potential cybersecurity risks due to inherent vulnerabilities. Detecting these vulnerabilities is crucial, and deep learning has shown promise as an effective tool for this task due to i…

Deep LearningFeature EngineeringLanguage ModelingLanguage Modelling+1

Bringing Order Amidst Chaos: On the Role of Artificial Intelligence in Secure Software Engineering

2025-01-09 · Matteo Esposito

Context. Developing secure and reliable software remains a key challenge in software engineering (SE). The ever-evolving technological landscape offers both opportunities and threats, creating a dynamic space where chaos…

Prediction

Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimization

2025-07-03 · Marco Simoni, Aleksandar Fontana, Giulio Rossolini, Andrea Saracino arxiv

Improving and understanding the training dynamics and reasoning of Large Language Models (LLMs) has become essential for their deployment in AI-based security tools, such as software vulnerability detection. In this work…

Vulnerability Detection