mlsanityData to 7 Oct 2026

ActiveClean: Generating Line-Level Vulnerability Data via Active Learning

arXiv 2312.01588 ↗First posted 4 Dec 2023cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Deep learning vulnerability detection tools are increasing in popularity and have been shown to be effective. These tools rely on large volume of high quality training data, which are very hard to get. Most of the currently available datasets provide function-level labels, reporting whether a function is vulnerable or not vulnerable. However, for a vulnerability detection to be useful, we need to also know the lines that are relevant to the vulnerability. This paper makes efforts towards developing systematic tools and proposes. ActiveClean to generate the large volume of line-level vulnerability data from commits. That is, in addition to function-level labels, it also reports which lines in the function are likely responsible for vulnerability detection. In the past, static analysis has been applied to clean commits to generate line-level data. Our approach based on active learning, which is easy to use and scalable, provide a complementary approach to static analysis. We designed semantic and syntactic properties from commit lines and use them to train the model. We evaluated our approach on both Java and C datasets processing more than 4.3K commits and 119K commit lines. AcitveClean achieved an F1 score between 70-74. Further, we also show that active learning is effective by using just 400 training data to reach F1 score of 70.23. Using ActiveClean, we generate the line-level labels for the entire FFMpeg project in the Devign dataset, including 5K functions, and also detected incorrect function-level labels. We demonstrated that using our cleaned data, LineVul, a SOTA line-level vulnerability detection tool, detected 70 more vulnerable lines and 18 more vulnerable functions, and improved Top 10 accuracy from 66% to 73%.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 53 references that are in the map. First posted on arXiv 4 Dec 2023.

Builds on

9 of 53 references.

References · 9

  1. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  2. 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
  3. 2021D2A: A Dataset Built for AI-Based Vulnerability Detection Methods Using Differential Analysiscited by 48
  4. 2018modAL: A modular active learning framework for Pythoncited by 35
  5. 2018Dissection of a Bug Dataset: Anatomy of 395 Patches from Defects4Jcited by 14
  6. 2015Untangling Fine-Grained Code Changescited by 10
  7. 2018Improving Vulnerability Inspection Efficiency Using Active Learningcited by 10
  8. 2020Learning to map source code to software vulnerability using code-as-a-graphcited by 9
  9. 2018Towards security defect prediction with AIcited by 6

Built on by

Not cited yet.