Code Vulnerability Detection: A Comparative Analysis of Emerging Large Language Models
Shaznin Sultana, Sadia Afreen, Nasir U. Eisty

TL;DR
This paper evaluates the effectiveness of emerging and established large language models in detecting software vulnerabilities, highlighting CodeGemma's superior performance with an F1-score of 58 and a recall of 87.
Contribution
It provides a comparative analysis of recent LLMs for vulnerability detection, demonstrating the capabilities of new models like CodeGemma.
Findings
CodeGemma achieves the highest F1-score of 58.
CodeGemma attains a recall of 87.
Emerging LLMs show promising results in vulnerability detection.
Abstract
The growing trend of vulnerability issues in software development as a result of a large dependence on open-source projects has received considerable attention recently. This paper investigates the effectiveness of Large Language Models (LLMs) in identifying vulnerabilities within codebases, with a focus on the latest advancements in LLM technology. Through a comparative analysis, we assess the performance of emerging LLMs, specifically Llama, CodeLlama, Gemma, and CodeGemma, alongside established state-of-the-art models such as BERT, RoBERTa, and GPT-3. Our study aims to shed light on the capabilities of LLMs in vulnerability detection, contributing to the enhancement of software security practices across diverse open-source repositories. We observe that CodeGemma achieves the highest F1-score of 58\ and a Recall of 87\, amongst the recent additions of large language models to detect…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Reliability and Analysis Research · Web Application Security Vulnerabilities · Software Engineering Research
