mlsanityData to 14 Oct 2026

Diverse LLMs vs. Vulnerabilities: Who Detects and Fixes Them Better?

arXiv 2512.12536 ↗First posted 14 Dec 2025cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are increasingly being studied for Software Vulnerability Detection (SVD) and Repair (SVR). Individual LLMs have demonstrated code understanding abilities, but they frequently struggle when identifying complex vulnerabilities and generating fixes. This study presents DVDR-LLM, an ensemble framework that combines outputs from diverse LLMs to determine whether aggregating multiple models reduces error rates. Our evaluation reveals that DVDR-LLM achieves 10-12% higher detection accuracy compared to the average performance of individual models, with benefits increasing as code complexity grows. For multi-file vulnerabilities, the ensemble approach demonstrates significant improvements in recall (+18%) and F1 score (+11.8%) over individual models. However, the approach raises measurable trade-offs: reducing false positives in verification tasks while simultaneously increasing false negatives in detection tasks, requiring careful decision on the required level of agreement among the LLMs (threshold) for increased performance across different security contexts. Artifact: https://github.com/Erroristotle/DVDR_LLM

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 38 references that are in the map. First posted on arXiv 14 Dec 2025.

Builds on

14 of 38 references.

References · 14

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  4. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  5. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  6. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 139
  7. 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 103
  8. 2023Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilitiescited by 59
  9. 2024Pre-training by Predicting Program Dependencies for Vulnerability Analysis Taskscited by 17
  10. 2024Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanationcited by 12
  11. 2024VulnLLMEval: A Framework for Evaluating Large Language Models in Software Vulnerability Detection and Patchingcited by 9
  12. 2025Reasoning with LLMs for Zero-Shot Vulnerability Detectioncited by 7
2 more
  1. 2024Quantifying Influencer Impact on Affective Polarizationcited by 6
  2. 2025GenXSS: an AI-Driven Framework for Automated Detection of XSS Attacks in WAFscited by 2

Built on by

Not cited yet.