Reproduce “An Empirical Study of Deep Learning Models for Vulnerability Detection” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Benjamin Steenhoek, Md Mahbubur Rahman, Richard Jiles, Wei Le

Researchers at Iowa State University conducted an empirical study examining state-of-the-art deep learning models for software vulnerability detection, revealing high prediction variability, low inter-model agreement, and limited generalization to unseen projects. The study found that models often rely on superficial code patterns and that increased training data size does not always lead to substantial performance gains.

Key insights

  • Deep learning models for vulnerability detection exhibit high prediction variability across different training runs and very low agreement across different models, indicating inherent unreliability in individual predictions.
  • Current models struggle significantly to generalize to new vulnerability types and, more critically, to entirely unseen software projects, suggesting they learn project-specific patterns rather than universal vulnerability characteristics.
  • Models often base predictions on superficial code patterns (e.g., keywords, control flow structures) rather than deep semantic understanding, and surprisingly, performance improvements from increased training data size are often negligible.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.