Mitigating Data Imbalance for Software Vulnerability Assessment: Does Data Augmentation Help?
Not on the map. Why?
Abstract (arXiv)
Background: Software Vulnerability (SV) assessment is increasingly adopted to address the ever-increasing volume and complexity of SVs. Data-driven approaches have been widely used to automate SV assessment tasks, particularly the prediction of the Common Vulnerability Scoring System (CVSS) metrics such as exploitability, impact, and severity. SV assessment suffers from the imbalanced distributions of the CVSS classes, but such data imbalance has been hardly understood and addressed in the literature. Aims: We conduct a large-scale study to quantify the impacts of data imbalance and mitigate the issue for SV assessment through the use of data augmentation. Method: We leverage nine data augmentation techniques to balance the class distributions of the CVSS metrics. We then compare the performance of SV assessment models with and without leveraging the augmented data. Results: Through extensive experiments on 180k+ real-world SVs, we show that mitigating data imbalance can significantly improve the predictive performance of models for all the CVSS tasks, by up to 31.8% in Matthews Correlation Coefficient. We also discover that simple text augmentation like combining random text insertion, deletion, and replacement can outperform the baseline across the board. Conclusions: Our study provides the motivation and the first promising step toward tackling data imbalance for effective SV assessment.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 84 references that are in the map. First posted on arXiv 15 Jul 2024.
Builds on
22 of 84 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
- 2014Distributed Representations of Sentences and Documentscited by 677
- 2021A Survey of Data Augmentation Approaches for NLPcited by 408
- 2018Model Evaluation, Model Selection, and Algorithm Selection in Machine Learningcited by 157
- 2021A Survey on Data Augmentation for Text Classificationcited by 111
- 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
- 2021Self-Supervised Bug Detection and Repaircited by 59
- 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
- 2023ChatGPT for Vulnerability Detection, Classification, and Repair: How Far Are We?cited by 44
10 more
- 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
- 2021Automated Software Vulnerability Assessment with Concept Driftcited by 15
- 2020A Large-scale Study of Security Vulnerability Support on Developer Q&A Websitescited by 12
- 2020PUMiner: Mining Security Posts from Developer Question and Answer Websites with PU Learningcited by 10
- 2024Are Latent Vulnerabilities Hidden Gems for Software Vulnerability Prediction? An Empirical Studycited by 9
- 2016Darknet and Deepnet Mining for Proactive Cybersecurity Threat Intelligencecited by 8
- 2024Software Vulnerability Prediction in Low-Resource Languages: An Empirical Study of CodeBERT and ChatGPTcited by 8
- 2021Automated Security Assessment for the Internet of Thingscited by 6
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integrationcited by 6
- 2023Pathways to Leverage Transcompiler based Data Augmentation for Cross-Language Clone Detectioncited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 5.
6 papers.
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
- 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurationscited by 9
- 2024Automated Code-centric Software Vulnerability Assessment: How Far Are We? An Empirical Study in C/C++cited by 6
- 2025Assessing Data Augmentation-Induced Bias in Training and Testing of Machine Learning Modelscited by 1
- 2025Securing the AI Supply Chain: What Can We Learn From Developer-Reported Security Issues and Solutions of AI Projects?cited by 1
- 2025Software Vulnerability Management in the Era of Artificial Intelligence: An Industry Perspectivecited by 0
- 2025Securing the AI Supply Chain: What Can We Learn From Developer-Reported Security Issues and Solutions of AI Projects?29 Dec 2025
- 2025Software Vulnerability Management in the Era of Artificial Intelligence: An Industry Perspective20 Dec 2025
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Tasks15 Mar 2025
- 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurations4 Feb 2025
- 2025Assessing Data Augmentation-Induced Bias in Training and Testing of Machine Learning Models3 Feb 2025
- 2024Automated Code-centric Software Vulnerability Assessment: How Far Are We? An Empirical Study in C/C++24 Jul 2024