Study finds simpler ML models match deep learning for scoring C/C++ vulnerabilities
An arXiv paper reports the first empirical comparison of machine learning and deep learning models for function-level vulnerability assessment in C and C++ code, using CVSS-based labels.
In plain words
Security teams do not only want to find vulnerable code; they also want to know how severe each flaw is, a task called vulnerability assessment. The authors tested whether common machine learning and deep learning models can predict this severity for individual C or C++ functions. Their main finding is that simpler machine learning models performed as well as deep learning ones while training much faster, and a multi-task deep learning setup improved results further.
What was announced
The study, published on arXiv, evaluated six multi-class machine learning models and five multi-class deep learning models on 9,993 vulnerable C/C++ functions, scoring each function's severity according to the Common Vulnerability Scoring System (CVSS). The authors report that traditional machine learning matched or exceeded the deep learning models while needing significantly less training time. They also tested multi-task learning, in which one model predicts all assessment outputs at once, and found it raised deep learning performance by an average of 8-22% in Matthews Correlation Coefficient, a metric for multi-class prediction quality.
The authors position this as the first empirical study of function-level vulnerability assessment with these techniques in C/C++, a task they argue is underexplored compared with vulnerability detection. They conclude that multi-task deep learning offers a way to balance efficiency and effectiveness, and that their findings lay a foundation for future work. The results come from the authors' own experiments on their dataset; the abstract does not report independent replication or deployment in production security tooling.
What it does not show
- Evidence is limited to the paper's abstract; full methodological details, exact metrics per model, and dataset construction are not available in the supplied passages.
- The reported performance gains are the authors' own measurements on their dataset and have not been independently confirmed.
For security and IT teams
- Scope
- The study covers function-level vulnerability assessment for C/C++ code using CVSS-based labels, not vulnerability detection or other languages.
Sources
Source-support review completed 1 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 1 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.