← Lab /AI/ML

Small decision model improves prioritization of memory-safety bugs on GPUs

A 4B-parameter open-weight decision model can effectively rank vulnerable functions for large-scale discovery

AI/ML arXiv 12 Nov 2026 Measurement Prototype evidence Threat model

Published as “Look Here, Then Decide: Small Decision Models in a Harness Find Memory-Safety Vulnerabilities at Scale on Commodity GPUs”

Why it matters

A cheap, open-weight decision model can be deployed on commodity GPUs to prioritize vulnerability candidates, enabling large-scale memory-safety hunting that would be infeasible with expensive frontier models.

Summary

Small decision models can dramatically improve the prioritization of memory-safety bug candidates, achieving a 7.5-fold lift in top-10 confirmed findings compared to random ordering, while a large-scale run on three desktop GPUs uncovered 187 real bugs. However, the model itself is a weak detector, separating vulnerable from benign functions with only AUC 0.73 and from its own patch with AUC 0.56, and recalling just 15% of vulnerabilities at a 6% false-positive rate. The study shows that deterministic mining and localizers are essential, and that recall is limited by where those components look. The evidence comes from a campaign scanning over 4,000 open-source C/C++ projects on commodity GPUs.

What they found 2

  1. The decision model separates vulnerable from benign functions with AUC 0.73 but separates vulnerable from its own patched version with only AUC 0.56.

    “Alone, a small decision model is a weak detector. On the native C/C++ function set, Intern-Decision-4B separates vulnerable from benign functions with AUC 0.73, but a vulnerable function from its own patch with only 0.56: a fix that changes one token can leave the score almost unchanged (Figure 1).”

  2. Ranking by the model yields a 7.5-fold lift in confirmed findings in the top-10 of real queues compared to random ordering.

    “Across the 51 campaign queues with a confirmed finding, the model’s order put 24 confirmed findings in the top 10, against 3.2 expected at random and 6 for the site-count heuristic. That is a 7.5-fold lift (95% CI 4.3-14.1).”

Caveats 8

  • The model’s classification performance is weak (AUC 0.73 vs benign, 0.56 vs patched) and recall at a 0.5 threshold is only 15% with a 6% benign false-positive rate.
  • Recall on a set of 75 public CVEs shows the fixed function appears in the top 25 only 21% of the time, meaning most known bugs are missed before ranking.
  • The ranking ablation is described as a selection-biased upper bound because reviewers read from the model’s own ranking, inflating the observed lift.
  • Small-sample and biased label issues: the method study uses only 8 bugs, and ranker evaluation labels were chosen by the incumbent model.
  • Triage and proof used stronger models. The corpus, miners, localizers and decision model use no frontier model. Triage and proof used separate, stronger coding-agent models; we did not measure their cost. A fully small-model pipeline is untested.
  • Recall is bounded by where to look. On known CVEs, the harness found about one in five within a repository’s top 25. Most misses were never flagged by a localizer.
  • The ranking ablation is an upper bound. Reviewers read from the model’s own ranking, making low-ranked findings less likely to be confirmed at all.
  • Small samples and biased labels. The method study has 8 bugs, and the ranker evaluation’s labels were chosen by the incumbent model.

What’s new here 4

  • Demonstrates that a 4B-parameter open-weight decision model can be used at scale for vulnerability prioritization without any frontier model.
  • Integrates deterministic incomplete-fix miners and shape localizers to feed the model, showing a pipeline that works on commodity GPUs.
  • Provides a quantitative lift (up to 7.5×) in confirmed findings at the top of the review queue compared to random ordering.
  • Measures end-to-end throughput on desktop-class GPUs, showing 4.4-9.8 decisions per second.

Threat model stated by the source

Adversarydefender team
Capabilitycommodity GPUs, open-weight models, no access to restricted frontier models
Assumesteam has limited compute resources; no access to frontier models; focus on memory-safety defects in C/C++ projects