Answers are grounded in this paper and cite their sources.
Synthetic vulnerabilities have gained increasing attention in recent years for addressing the class imbalance issue in deep vulnerability detector training datasets, thereby boosting detector training. Despite their promise, existing work generally employs all available synthetic vulnerabilities indiscriminately, leaving a fundamental question under-explored: are all synthetic vulnerabilities beneficial for detector training? To bridge this gap, we empirically demonstrate a non-monotonic relationship between detector performance and the quantity of synthetic vulnerabilities, which we attribute to the limited diversity of synthetic samples, both internally and relative to the original training data. Motivated by these observations, we proposeDiVuse, a novel method for selecting synthetic vulnerabilities to better train deep vulnerability detectors. Specifically,DiVuseevaluates synthetic vulnerabilities using intra-dataset and inter-dataset similarity to select a maximally diverse subset for detector training. Our extensive experiments on four deep vulnerability detectors and three synthetic vulnerability datasets demonstrate thatDiVuseoutperforms seven baseline approaches across various settings.
No takes yet. Share an insight, caveat, or question.
Yong et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: