Shae McFaddenSM

Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Points

TMLR Transactions on Machine Learning Research, 2026

  • Dan Ristea
  • Shae McFadden
  • Ezzeldin Shereen
  • Madeleine Dwyer
  • Sanyam Vyas
  • Chris Hicks
  • Vasilios Mavroudis
  • University College London
  • The Alan Turing Institute
  • King’s College London
  • University of Southampton

Abstract

Security vulnerabilities in software can have severe consequences; however, manual vulnerability detection is costly and does not scale, especially as agentic coding frameworks increase the rate of code production. Over the last decade, a large body of research has applied machine learning to automate vulnerability detection (ML4AVD), yet self-reported performance on the most popular datasets shows no clear upward trend. The ML4AVD research community has identified several flaws in problem formulations, datasets, and metrics, but these are discussed in isolation, leaving the overarching problems that generate and reinforce these flaws unaddressed. We first systematize the field through a survey of 87 highly-cited influential works based on their problem formulation, input and detection granularity, target programming languages, evaluation metrics, datasets, and detection approach. Drawing on this corpus and prior empirical work, we identify twelve pain points spanning the ML4AVD pipeline and show that they are co-occurring and mutually reinforcing: feedback loops between datasets, formulations, baselines, and metrics perpetuate each other and explain the field’s persistent concentration on binary classification of C/C++ vulnerabilities at the function level. Thus, the field optimizes for a narrow and artificial problem that omits vulnerability type prediction, broader language support, and separation of input from detection granularity. We pair each pain point with concrete recommendations to break these loops. Finally, we use AIxCC as a case study to assess how well a recent high-profile effort aligns with these recommendations and reflect on the relevance of ML4AVD in the era of agentic AI.

Introduction

Traditionally, vulnerability detection relied on manual code reviews and security audits, both labor-intensive and time-consuming practices. However, in the past decade, researchers have developed increasingly sophisticated approaches to automate this process. Automated Vulnerability Detection (AVD) now represents a potentially transformative advancement in software security, aiming to identify and support the remediation of security flaws within codebases.

AVD approaches have evolved from rule-based methods to machine learning-based solutions (ML4AVD), including deep learning and large language model (LLM)-driven techniques that now dominate more recent literature. Despite this sustained effort, the self-reported performance of ML4AVD solutions does not exhibit a clear upward trend.

DatasetTheil–Sen slope of F1 per year95% CI
Devign / CodeXGLUE0.003[−0.016, 0.021]
ReVeal0.013[−0.054, 0.068]
Big-Vul0.002[−0.275, 0.089]

Appendix A. The results show that even self-reported performances for each dataset do not exhibit a clear upward trend as the confidence intervals for all three datasets include 0. Of the 87 articles reviewed in our survey, 28 reported the F1-score on at least one of the aforementioned datasets.

This demonstrates that even when working with the same dataset, measuring progress between papers is difficult as they apply different pre-processing steps and evaluation methodologies. More fundamentally, the ML4AVD field has become increasingly siloed, with studies often focused on isolated tasks and a narrow range of languages. A key driver is the disproportionate influence of a small number of highly cited works that shape the choices of subsequent research: which datasets to use, which problem formulations to adopt, and which evaluation protocols to follow.

Consequently, flawed assumptions embedded in foundational ML4AVD work are uncritically adopted by follow-up work and are propagated widely through the literature.

Research question

What are the key limitations of ML4AVD research that emerge from highly cited papers in the field, how do they interact, and what do they imply for future work?

Many of these issues have been raised individually in prior work, but their dissemination through the ML4AVD community is uneven, and their interactions remain underexplored. Our contribution is an integrated diagnosis: we show that the pain points are co-occurring and mutually reinforcing, that the feedback loops between them explain the state of the field better than any individual limitation, and that targeted fixes are therefore insufficient without breaking those loops.

Background

Vulnerability Management Life Cycle

Vulnerability detection does not exist in isolation; it is the first stage in a broader vulnerability management life cycle. This life cycle mirrors industry standards such as ISO 30111 and NIST SP 800-61.

Detection Triage Exploitation Repair Validation & testing findings prioritized list exploit, test case patch binary label MOST ML4AVD PAPERS vulnerable / not vulnerable rich context WHAT LATER STAGES NEED Vulnerability type (CWE-ID) triage Affected code lines repair Trigger conditions exploitation Code paths exploitation
Detection findings Triage prioritized list Exploitation exploit, test case Repair patch Validation & testing MOST ML4AVD PAPERS vulnerable / not vulnerable WHAT LATER STAGES NEED Vulnerability type (CWE-ID) triage Affected code lines repair Trigger conditions exploitation Code paths exploitation
The stages of the vulnerability management life cycle. Beyond a binary signal, detection can also provide the vulnerability type (e.g., CWE-ID), the affected code locations, the conditions under which the vulnerability is triggered, and the relevant code paths. This contextual information supports the subsequent stages of the vulnerability management life cycle.
  1. Detection

    Identifying vulnerable code within the codebase. The utility of detection depends not only on whether a vulnerability is found but also on the richness of the information provided.

  2. Triage

    Prioritizing detected vulnerabilities based on their likely impact and urgency. Effective triage requires more than a binary detection signal, as severity depends on contextual factors such as vulnerability type, affected assets, reachability, exploitability, and potential “blast radius”.

  3. Exploitation

    Validating the existence of a vulnerability by constructing a reproducible exploit. Although significantly more costly than detection, the exploitation phase eliminates false positives and yields a reusable test case to validate subsequent repair.

  4. Repair

    Applying a patch to remediate the vulnerability while preserving existing functionality. Detection informs repair by localizing the affected code, while exploitation provides the test cases needed to verify that the repair is effective.

  5. Validation & Testing

    Confirming that the patch has been applied successfully. Ensures that the vulnerability has been removed without degrading application functionality or introducing new vulnerabilities.

Program Analysis

Vulnerability detection is a branch of program analysis, the process of determining a program’s properties. However, static analysis of complex programs can be computationally expensive, and determining statically whether an arbitrary program is free of vulnerabilities is undecidable. Therefore, static AVD methods require approximation to be practical, leading to diverse approaches with different trade-offs. As universal approximators, neural networks have been increasingly applied to this setting.

Program Representation

Input and output granularity

ML4AVD solutions typically take a code snippet, the size and complexity of which determine the input granularity, to produce information about the presence and location of vulnerabilities; the level of detail at which solutions label the location of vulnerabilities determines the output granularity. In the literature, input and output granularities range from the project-level (the coarsest) to line-level (the finest).

Program slices

Subsets of code, possibly non-contiguous, that preserve the behavior of the full program with respect to a specified slicing criterion, such as the value of a variable at a particular program functionality. In the context of AVD, slicing is used as a preliminary step to simplify further analysis by excluding unrelated code in the resulting feature space.

Vectorization

A numeric representation of source code so it can be used as input to ML-based AVD solutions. In recent research, the most prevalent vectorization method is generating embeddings at the word, sub-word, or sentence level to capture code semantics.

Intermediate representations (IRs)

Compiler-oriented abstractions of source code, developed to support program analysis and optimization, that are now widely used beyond compilation. Code property graphs (CPG) combine information from the AST, CFG, and PDG into a single structure.

ML Approaches used for AVD

Convolutional Neural Networks (CNN)

Neural networks developed for grid-like data (e.g., images). CNNs apply learnable filters (called kernels) to sliding windows of the data and match patterns through a convolution operation.

Recurrent Neural Networks (RNN)

Neural networks designed primarily for sequential data. The core component of an RNN is the recurrent cell. It keeps a hidden state summarizing past inputs, enabling RNNs to learn what information to retain or forget.

Graph Neural Networks (GNN)

Neural networks that support learning from graph structures, where the information of each node is represented as a vector. GNNs can be applied to graphs irrespective of their dimensions (e.g., the number of nodes or edges).

Large Language Models (LLM)

Transformer-based neural networks that model natural language with a high number of parameters, from hundreds of millions to trillions. LLMs can be general purpose (e.g., ChatGPT) or specialized in a field (e.g., CodeBERT).

Methodology

Our methodology is designed to capture work that has had measurable influence on the field, rather than provide an exhaustive census of all AVD research. We searched four research databases that cover the vast majority of research venues in both the security and machine learning fields: IEEEXplore, ACM Digital Library, ScienceDirect, and arXiv. We applied the following search criteria: (i) The article title must include either “vulnerability detection” or “vulnerability discovery”, and (ii) The body of the article must include “software”. The cutoff is September 2024 to allow for the citation count, which we use in subsequent filtering, to stabilize.

Five reviewers screened the collected papers for topic relevance, with two reviewers per paper. Using these criteria, we reduced the selection to 395 articles and 76 empirical studies. We calculate citation frequency Rc for each article as Rc = Nc/A, where Nc is the number of citations achieved by an article as recorded in September 2025, and A is the article’s age in years from first publication or pre-print. As cited computer science articles had a mean of five citations after one year from publication, we set a threshold of Rc ≥ 5, resulting in 124 articles.

SOURCES IEEEXplore510 arXiv169 ACM157 ScienceDirect102 Manual search27 search 965collected Rayyan de-duplication 877unique articles topic screening 395on topic ≥ 5 citations per year 124highly cited full-text screening 87included for discussion 76empirical studies
SOURCES IEEEXplore510 arXiv169 ACM157 ScienceDirect102 Manual search27 search 965collected Rayyan de-duplication 877unique articles topic screening 395on topic ≥ 5 citations per year 124highly cited full-text screening 87included for discussion 76empirical studies
Article collection and screening process. 965 articles were collected from IEEEXplore (510), arXiv (169), ACM (157), ScienceDirect (102), and manual search (27). After de-duplication 877 remained; 76 were then classified as empirical studies, 395 were classified as relevant to the topic, of which 87 were included after full-text screening.

Although older articles have had more time to accrue citations, the publication-year distribution does not suggest that the citation-frequency threshold systematically favored older work. Newer surveys, datasets, and empirical studies are not included in the citation-filtered corpus. Instead, we incorporate them into the discussion where they help identify, corroborate, or refine the pain points and recommendations.

Systematization of AVD Literature

To inform our discussion of identified limitations, we first characterize the 87 influential ML4AVD articles in our corpus according to six key dimensions: problem formulation, input and output granularity, programming languages, evaluation metrics, datasets, and ML approaches. For each dimension, we report the distribution of choices made across the corpus. Papers may appear in multiple categories if they meet the criteria for each category.

86%of articles using a binary formulation
63%using function-level input and output granularity
70/82single-language articles target C/C++
68/87articles use the F1-score
PIPELINE STAGE MOST COMMON CHOICE IN THE CORPUS 1. DATA Labeled code samples Devign/CodeXGLUE: 27 papers C/C++ in 70 of 82 single-language papers code samples 2. REPRESENTATION Text, slices or graphs Function in, function out: 63% same granularity in and out: 82% tokens, graphs, embeddings 3. MODEL CNN, RNN, GNN or LLM GNN: 33 papers (37.9%) LLM: 46.2% of 2024 and 2025 papers prediction 4. OUTPUT A label at some granularity Binary label: 75 papers (86%) vulnerability type (CWE-ID): 16 papers predicted labels 5. EVALUATION Metrics on a test split F1-score: 68 of 87 papers PR-AUC: 2 papers
PIPELINE STAGE MOST COMMON CHOICE IN THE CORPUS 1. DATA Labeled code samples Devign/CodeXGLUE: 27 papers C/C++ in 70 of 82 single-language papers code samples 2. REPRESENTATION Text, slices or graphs Function in, function out: 63% same granularity in and out: 82% tokens, graphs, embeddings 3. MODEL CNN, RNN, GNN or LLM GNN: 33 papers (37.9%) LLM: 46.2% of 2024 and 2025 papers prediction 4. OUTPUT A label at some granularity Binary label: 75 papers (86%) vulnerability type (CWE-ID): 16 papers predicted labels 5. EVALUATION Metrics on a test split F1-score: 68 of 87 papers PR-AUC: 2 papers
The most common choice at each stage. The cumulative effect is a field that optimizes for a narrow and artificial task while neglecting several properties practical ML4AVD requires: predicting vulnerability type rather than mere existence, broader language coverage, and the decoupling of contextual input from fine-grained detection output.

Six key dimensions

Problem Formulation

All studied articles viewed AVD as a classification problem, with two prevalent formulations. (i) Binary: the ML4AVD solution returns whether the input software is vulnerable or not, without specifying the vulnerability type. (ii) CWE-ID: the ML4AVD solution returns the type of vulnerability (often represented by the Common Weakness Enumeration identifier, or CWE-ID) to which the input software is vulnerable, if any.

The binary formulation dominates the literature with 86% of the included articles. However, this dominance is not uniform over time, as CWE-based formulations become more prevalent starting in 2022, suggesting an emerging shift toward more informative problem formulations in more recent work.

Binary 75
CWE-ID 16
Articles, Table 1. Articles using both formulations are counted in each.
Show as table
FormulationArticles
Binary classification75
CWE-ID classification16

Pain Points and Recommendations

Building on the quantitative findings and a selection of empirical studies identified in the literature search, we qualitatively examine the motivations behind these limitations as articulated in the included papers and trace how they propagate through the field. While many of these issues have been raised individually in prior work, no existing source provides an integrated view.

Research question
Programming language
Datasets
Training
Evaluation

Pain Point 1: Problem formulation focuses on binary classification

AVD is conceptualized as a standalone classification task, with a large focus on binary labels; this limits the value of the research in the wider context of the vulnerability life cycle.

Description
On the rare occasion this choice is motivated, it is justified with reference to classification being the prevailing formulation in the field. In this context, binary classification of code into vulnerable or benign classes is considered the de facto default. In contrast, articles that adopt a multi-class formulation motivate it as an improvement over binary classification, as each vulnerability type will have different features.
Implications
Although binary formulations are simpler to solve, simply classifying a unit of code as vulnerable does not provide the information required by subsequent steps. Providing the vulnerability type (CWE-ID) supports triage, replication, and repair, whether performed automatically or by a human expert. For this reason, most vulnerability detection tools currently used in industry provide the vulnerability type. Nevertheless, 10 of the 16 articles using CWE-based formulations were published in 2023 or later, suggesting an emerging interest in this more practical formulation.
Recommendations
The problem formulation of ML4AVD should take into account the vulnerability life cycle and the role detection plays in it. At a minimum, multi-label classification based on the CWE-ID (or similar) provides information on severity required for triage, which also allows algorithms to learn features specific to each type of vulnerability. Additional information for each vulnerability, such as conditions and code paths that can trigger it, would be valuable for triaging the severity of the vulnerability and replicating it. Furthermore, program analysis techniques such as symbolic execution, concolic testing, and guided fuzzing are complementary to ML4AVD.

High proportions of mislabeled samples

Dataset quality is a well-known problem in the ML4AVD field, and poor-quality ground truth labels are cited as a motivation for choosing synthetic datasets. In a manual review, Croft, Babar, and Kholoosi found that a subset of the Big-Vul dataset contained 45% mislabeled samples; Devign contained 20%, and D2A contained 71% mislabeled samples. Similarly, Risse and Böhme found high proportions of false positive labels in random subsets of DiverseVul (35%), Devign (50%), and Big-Vul (61%).

Share of samples found to be wrongly labeled

Manual reviews of popular ML4AVD datasets, Pain Point 6.

Croft, Babar and Kholoosi: mislabeled samples
Big-Vul (subset)45%
Devign20%
D2A71%
Risse and Böhme: false positive labels in random subsets
DiverseVul35%
Devign50%
Big-Vul61%
Show as table
ReviewDatasetWrong labels
Croft, Babar and KholoosiBig-Vul (subset)45%
Croft, Babar and KholoosiDevign20%
Croft, Babar and KholoosiD2A71%
Risse and BöhmeDiverseVul35%
Risse and BöhmeDevign50%
Risse and BöhmeBig-Vul61%

Comparison of vulnerability datasets

Much of the work that proposes new datasets is done in response to perceived flaws in existing datasets, with some articles explicitly refining previous datasets. The datasets show that, while there have been improvements, none of the identified datasets bring together all the recommendations we put forward.

DatasetYear% vuln.GranularityCWE IDFixed splitCode pairs
Devign2019201945.0functionNoNoNo
ReVeal202120219.2functionNoNoYes
Big-Vul202020205.7function, lineYesRandom*Yes
VulDeePecker2018201828.8sliceYesNoNo
SySeVR2018201813.4sliceYesNoNo
Draper202120219.5functionYesRandomNo
D2A202120211.4sliceYesRandomYes
µVulDeePecker2019201923.7sliceYesNoNo
Real-Vul202420240.3repository, function, lineYesTemporalNo
PrimeVul202420243.1functionYesTemporalYes
VulEval202420243.0repository, file, functionYesTemporalNo

Selected rows of Table 6. Random: random splits; not accounting for temporal relationships. Temporal: split chronologically. *Fu and Tantithamthavorn provide a version with a random fixed test/train split. Code pairs: explicitly providing both vulnerable and patched code for each datapoint. VulDeePecker, SySeVR, Draper and µVulDeePecker contain both real-world and synthetic data; all rows are C/C++.

ML4AVD Preflight Checklist

What is the Direction for Detection?

We recommend that future work critically engages with previous work in the field, not just at the technical level, but also conceptually. Thus, future work should seek to answer the correct question, taking into account the very real-world problem of vulnerability discovery in the context of the vulnerability life cycle. We recommend that future work critically evaluate the datasets it uses, according to the criteria we lay out, and choose datasets that are useful in answering its research question, rather than allowing dataset availability to influence the direction of the research.

As a reference for future work, we present the main recommendations as an easy-to-follow checklist. Please note that these items are not independent and should be treated as a whole, rather than individual improvements.

Research question
  • Contextualize vulnerability detection within the vulnerability life cycle and provide information required by subsequent stages: at least vulnerability type, but also code paths or trigger conditions.
  • Separate input and output granularities; use rich input (e.g., repository-level, graph IRs) to provide context and specific output (line-level) to pinpoint the vulnerability.
  • Choose datasets that support the research question, rather than the other way around; critically evaluate datasets to ensure they are high-quality and fit the research.
Programming language
  • Target languages that are underrepresented in the literature but widely used (e.g., PHP, Python).
  • Target multi-language projects.
  • Choose tools that support the research question, rather than allow the availability of tools to shape the choice of programming language.
  • Evaluate, rather than claim, cross-language transferability.
Datasets
  • Choose real-world datasets that sample from multiple projects.
  • Keep validation and test sets imbalanced; for training, under-sample benign data conservatively and retain each vulnerable sample’s patched counterpart; consider loss re-weighting.
  • Use fixed temporal train/test splits; do not use random splits.
  • Audit for poor labeling, duplicate data, and other quality issues; also de-duplicate after pre-processing, as some steps (e.g., slicing) can introduce duplicates.
  • Prefer datasets that are context-rich, containing higher granularities, paired samples, and vulnerability type and metadata.
  • Assume data leakage when working with pre-trained LLMs regardless of reported knowledge cutoffs; prefer leaderboards with hidden test data.
Training
  • Train contrastively on vulnerable/patched pairs to force class separation and prevent learning of spurious features.
  • Run ablation studies to ensure each component of a solution is contributing to the output.
  • Test generalization across projects, across datasets, and across code augmentations.
  • Use explainability techniques diagnostically, to surface spurious correlations.
  • Use generic regularization methods (e.g., dropout, early termination) alongside domain-specific methods to reduce overfitting.
Evaluation
  • Provide a full replication package: code including pre-processing, weights/checkpoints, hyperparameters, random seeds, dataset versions (note: LLM prompts count as model parameterization); pin exact model versions and API parameters; prefer open-weight models where reproducibility matters.
  • Host on versioned platforms (Zenodo, OSF, Hugging Face, GitHub/GitLab/Codeberg) as independently hosted datasets and code can disappear.
  • Evaluate on realistic imbalanced test sets with time-based splits.
  • Verify that agentic solutions are not reward hacking.
  • Report PR-AUC and Recall@FPR across a range of FPR; keep F1 only for continuity; accuracy alone is invalid under realistic imbalance, and ROC-AUC is misleading because of its FPR dependence.
  • Report paired accuracy: the proportion of vulnerable/patched pairs in which both samples are classified correctly.
  • Provide a multi-class confusion matrix as additional material so any metric can be derived; provide a separate matrix for paired metrics.
  • Do not use newly published CVEs as a success metric, as it incentivizes spurious reporting.
  • Use interpretability and explainability techniques; do not rely on LLM self-explanation, which is often unfaithful; use black-box tools, GNN-specific explainers, or mechanistic interpretability.

ML4AVD in the Age of Agents

There have been two major changes in recent years that have the potential to shape the future of the AVD field: first, the AI Cyber Challenge (AIxCC), one of the largest initiatives to date aimed at making automated detection, exploitation, and repair of vulnerabilities practical through advancements in LLMs; second, the rise of agentic AI, which has demonstrated rapidly improving capabilities in both producing and analyzing code at scale.

Case Study: Was AIxCC a Step in the Right Direction?

AIxCC was a competition designed to advance the state of autonomous vulnerability detection, exploitation, and repair. Teams developed Cyber Reasoning Systems (CRSs) that operated on version-controlled repositories containing full source code in C/C++ or Java of real-world open-source projects, including the Linux kernel, nginx, and Jenkins. The vulnerabilities were synthetically introduced by the competition organizers into the commit history of these host repositories, and participants were required to identify the vulnerability-inducing commits. A perfect solution had to autonomously perform detection, exploitation, and patching (removing the vulnerability while preserving the functionality of the code).

48challenge projects in the finals
24open-source repositories
63synthetic vulnerabilities
18real, non-synthetic, vulnerabilities discovered by teams

The AIxCC scoring algorithm combines four assessed metrics to compute the overall team score: the Vulnerability Discovery Score (VDS), the Program Repair Score (PRS), a Diversity Multiplier (DM), and an Accuracy Multiplier (AM). The VDS and PRS are combined via a weighted logarithmic function, where patching is weighted approximately three times more heavily than discovery alone.

Most impactful contributions

  • The decoupling of input and detection granularity (Pain Point 2).
  • The evaluation of multiple languages (Pain Point 4).
  • The in-competition enforcement of withheld test sets (Pain Point 8).
  • The validation of labels through sanitizer-based verification (Pain Point 6).
  • The use of an application-aware scoring function rather than generic classification metrics (Pain Point 11).
  • The embedding of detection within a full vulnerability life cycle pipeline, which addresses the broader concern that AVD is too often treated as a standalone classification task (Pain Point 1).

Does not fully resolve

  • Synthetic injection of disclosed CVEs may have leaked into LLM training (Pain Point 8).
  • Commit-level output remains coarser than recommended (Pain Point 2).
  • Explanation quality is not directly evaluated (Pain Point 12).

We contend that AIxCC is best understood not as a solution to the pain points of ML4AVD, but as a proof of concept that the research community can build upon: one that demonstrates how design can reshape research incentives toward more practical and operationally relevant approaches.

Is ML4AVD still needed?

The rise of capable agentic LLMs raises a fair question for the future of the field: if general-purpose code-capable agents can already locate vulnerabilities in real codebases, as AIxCC’s CRSs demonstrated, then is dedicated ML4AVD research still needed or will it be subsumed by progress in foundation models? We argue that it remains both relevant and necessary, for three reasons.

Pain Points are Approach-Agnostic

The methodological issues surfaced in section 5 are not artifacts of any single model architecture. They persist across the dominant approaches we observed (CNNs, RNNs, GNNs, and LLMs) and, in several cases, are aggravated by the move to LLMs: opaque training corpora make data contamination harder to rule out, agentic systems are vulnerable to reward hacking when test data is reachable, and LLM self-explanations are known to be unfaithful.

Specialized Models Complement Agents

Agentic detection pipelines are increasingly capable of integrating heterogeneous signals through tool use, which positions specialized ML4AVD models as components within broader systems rather than as standalone end-to-end solutions. Furthermore, specialization remains valuable beyond raw capability: it supports local deployment (privacy), low-latency in-IDE inference (cost), and reproducible evaluation through fixed open-weights.

Need for Open Research

Even as frontier models (e.g., Anthropic Mythos) push the commercial state-of-the-art on vulnerability discovery, their closed nature limits reproducibility, interpretability, and applicability in air-gapped or privacy-critical settings, which make sending code to an external API infeasible. Therefore, there is still scope for smaller open-weight models as they are needed both for scientific research and understanding as well as deployment scenarios where external large commercial models are not applicable.

Finally, as agentic coding frameworks are accelerating the rate at which software and vulnerabilities are produced, we argue that the demand for scalable and accurate detection grows as well. Therefore, what has changed is not whether AVD research is needed, but what shape it should take: less function-level binary classification on saturated benchmarks, more focused attention on building principled foundations.

Conclusion

  • We analyzed 87 influential ML4AVD works across six dimensions – problem formulation, granularity, programming language, datasets, evaluation metrics, and ML approach – and identified twelve interconnected pain points that explain why the field has failed to show consistent progress despite a decade of sustained effort.
  • Our analysis indicates self-reinforcing cycles are present in ML4AVD research, which require future work to critically evaluate what came before, rather than look at incremental improvements.
  • The rise of agentic LLMs does not diminish the need for dedicated ML4AVD research.
  • The methodological pain points identified here are approach-agnostic and, in several cases, are aggravated by LLMs.
  • The need for improved open, small, and efficient ML4AVD models is still present, even if proprietary models are becoming increasingly capable.

The direction for detection is clear; what remains is the will to follow it.

Cite

@article{ristea2026direction,
      title={Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Points},
      author={Dan Ristea and Shae McFadden and Ezzeldin Shereen and Madeleine Dwyer and Sanyam Vyas and Chris Hicks and Vasilios Mavroudis},
      journal={Transactions on Machine Learning Research},
      year={2026}
}