Automatic Data Labeling for Software Vulnerability Prediction Models: How Far Are We?
Le, Triet H. M., Babar, M. Ali
–arXiv.org Artificial Intelligence
Background: Software Vulnerability (SV) prediction needs large-sized and high-quality data to perform well. Current SV datasets mostly require expensive labeling efforts by experts (human-labeled) and thus are limited in size. Meanwhile, there are growing efforts in automatic SV labeling at scale. However, the fitness of auto-labeled data for SV prediction is still largely unknown. Aims: We quantitatively and qualitatively study the quality and use of the state-of-the-art auto-labeled SV data, D2A, for SV prediction. Method: Using multiple sources and manual validation, we curate clean SV data from human-labeled SV-fixing commits in two well-known projects for investigating the auto-labeled counterparts. Results: We discover that 50+% of the auto-labeled SVs are noisy (incorrectly labeled), and they hardly overlap with the publicly reported ones. Yet, SV prediction models utilizing the noisy auto-labeled SVs can perform up to 22% and 90% better in Matthews Correlation Coefficient and Recall, respectively, than the original models. We also reveal the promises and difficulties of applying noise-reduction methods for automatically addressing the noise in auto-labeled SV data to maximize the data utilization for SV prediction. Conclusions: Our study informs the benefits and challenges of using auto-labeled SVs, paving the way for large-scale SV prediction.
arXiv.org Artificial Intelligence
Jul-25-2024
- Country:
- Oceania > Australia
- South Australia > Adelaide (0.04)
- North America > United States
- Virginia (0.04)
- Europe > Spain
- Catalonia > Barcelona Province > Barcelona (0.05)
- Oceania > Australia
- Genre:
- Research Report > New Finding (0.93)
- Industry:
- Information Technology > Security & Privacy (1.00)
- Technology:
- Information Technology
- Security & Privacy (1.00)
- Data Science > Data Mining (1.00)
- Software (0.93)
- Modeling & Simulation (0.92)
- Artificial Intelligence
- Natural Language (1.00)
- Machine Learning
- Statistical Learning (1.00)
- Performance Analysis > Accuracy (0.89)
- Neural Networks > Deep Learning (0.67)
- Information Technology