Skip to main content
Search

# PairVul-Linux

1 related articles

Subscribe to updates
  1. arXiv

    Vulnerability detectors miss the patch, not the bug: PatchCon weights vulnerable–patched pairs as hard negatives and lifts pairwise accuracy from 0.2060 to 0.3264

    PatchCon treats a vulnerable function and its patched version as a hard negative pair in contrastive learning, giving that pair a larger weight and training it jointly with vulnerability classification. Most detectors had treated functions as independent samples and were scored mainly with accuracy and F1, which do not show whether a model can separate a vulnerable function from a minimally changed fix. On PairVul-Linux, built from Linux kernel CVEs and their patches, PatchCon raises pairwise accuracy from 0.2060 for the strongest reproduced baseline to 0.3264, and keeps the highest pairwise accuracy among reproduced models on CVEs unseen in training and on vulnerabilities disclosed after the training cutoff.

You’re all caught up