mlsanityData to 14 Oct 2026

Security Bug Report Prediction Within and Across Projects: A Comparative Study of BERT and Random Forest

arXiv 2504.21037 ↗First posted 28 Apr 2025cs.CR cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Early detection of security bug reports (SBRs) is crucial for preventing vulnerabilities and ensuring system reliability. While machine learning models have been developed for SBR prediction, their predictive performance still has room for improvement. In this study, we conduct a comprehensive comparison between BERT and Random Forest (RF), a competitive baseline for predicting SBRs. The results show that RF outperforms BERT with a 34% higher average G-measure for within-project predictions. Adding only SBRs from various projects improves both models' average performance. However, including both security and nonsecurity bug reports significantly reduces RF's average performance to 46%, while boosts BERT to its best average performance of 66%, surpassing RF. In cross-project SBR prediction, BERT achieves a remarkable 62% G-measure, which is substantially higher than RF.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 8 of its 26 references that are in the map. First posted on arXiv 28 Apr 2025.

Builds on

8 of 26 references.

References · 8

  1. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
  2. 2022Learning to Reduce False Positives in Analytic Bug Detectorscited by 12
  3. 2025Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Modelscited by 12
  4. 2020Security Smells in Androidcited by 4
  5. 2021How Do Developers Deal with Security Issue Reports on GitHub?cited by 4
  6. 2019Better Security Bug Report Classification via Hyperparameter Optimizationcited by 3
  7. 2021Security Risks of Porting C Programs to WebAssemblycited by 2
  8. 2023Insecure by Design in the Backbone of Critical Infrastructurecited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.