paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Understanding and Tackling Label Errors in Deep Learning-Based Vulnerability Detection (Experience Paper)

理解并应对基于深度学习的漏洞检测中的标签错误(经验论文)
ISSTA Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis2023匹配度 4/10 · 论文关注深度学习漏洞检测数据集的标签错误与去噪,属于 ML for Software Engineering/安全方向,且问题驱动、关注 benchmark 质量;但它不涉及用户核心的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与研究方向仅弱相关。引用 36 inbox
Xu Nie, Ningke Li, Kailong Wang, Shangguang Wang, Xiapu Luo, Haoyu Wang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:系统剖析深度学习漏洞检测数据集的标签错误成因,量化其影响并提出两种去噪方法。

软件系统复杂性与安全漏洞的多样性使漏洞研究长期面临挑战,深度学习为自动漏洞检测提供了有效补充,但缺乏高质量基准数据集严重制约了检测效果——现有漏洞数据集中长期存在的错误标签会导致结果不准确、有偏甚至错误。本文系统分析了当前最先进的基于学习的漏洞检测方法所使用的多样化数据集,并考察其收集漏洞源码数据集的技术,从而深入理解并解释标签错误的成因。研究发现,标签错误严重影响主流漏洞检测模型,最坏情况下平均 F1 下降 20.7%。作为缓解,作者提出两种数据集去噪方法,平均可将模型性能提升 10.4%,并据此给出了获取高质量标注数据集的可行方案。

问题
现有基于深度学习的漏洞检测数据集长期存在错误标签,缺乏高质量基准,导致检测模型结果不准确、有偏甚至错误。
方法
系统分析主流学习方法所用漏洞数据集的多样性及其漏洞源码数据收集技术,剖析标签错误的成因,并提出两种数据集去噪方法。
评估
在主流漏洞检测模型上量化标签错误的影响(最坏情况下平均 F1 下降 20.7%),并评估所提去噪方法带来的性能提升(平均 10.4%)。
原文摘要(Abstract)

Software system complexity and security vulnerability diversity are plausible sources of the persistent challenges in software vulnerability research. Applying deep learning methods for automatic vulnerability detection has been proven an effective means to complement traditional detection approaches. Unfortunately, lacking well-qualified benchmark datasets could critically restrict the effectiveness of deep learning-based vulnerability detection techniques. Specifically, the long-term existence of erroneous labels in the existing vulnerability datasets may lead to inaccurate, biased, and even flawed results. In this paper, we aim to obtain an in-depth understanding and explanation of the label error causes. To this end, we systematically analyze the diversified datasets used by state-of-the-art learning-based vulnerability detection approaches, and examine their techniques for collecting vulnerable source code datasets. We find that label errors heavily impact the mainstream vulnerability detection models, with a worst-case average F1 drop of 20.7%. As mitigation, we introduce two approaches to dataset denoising, which will enhance the model performance by an average of 10.4%. Leveraging dataset denoising methods, we provide a feasible solution to obtain high-quality labeled datasets.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{NieLWWLW23,
  title = {Understanding and Tackling Label Errors in Deep Learning-Based Vulnerability Detection (Experience Paper)},
  author = {Xu Nie and Ningke Li and Kailong Wang and Shangguang Wang and Xiapu Luo and Haoyu Wang},
  booktitle = {ISSTA},
  year = {2023},
  doi = {10.1145/3597926.3598037}
}