mlsanityData to 7 Oct 2026

Evaluating Large Language Models in Vulnerability Detection Under Variable Context Windows

arXiv 2502.00064 ↗First posted 30 Jan 2025cs.CR cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

This study examines the impact of tokenized Java code length on the accuracy and explicitness of ten major LLMs in vulnerability detection. Using chi-square tests and known ground truth, we found inconsistencies across models: some, like GPT-4, Mistral, and Mixtral, showed robustness, while others exhibited a significant link between tokenized length and performance. We recommend future LLM development focus on minimizing the influence of input length for better vulnerability detection. Additionally, preprocessing techniques that reduce token count while preserving code structure could enhance LLM accuracy and explicitness in these tasks.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 30 Jan 2025.

Builds on

13 of 20 references.

References · 13

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2023Mistral 7Bcited by 3,065
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  5. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  6. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 889
  7. 2023Textbooks Are All You Needcited by 561
  8. 2023Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilitiescited by 58
  9. 2022Transformer-Based Language Models for Software Vulnerability Detectioncited by 39
  10. 2023Benchmarking Large Language Models for Log Analysis, Security, and Interpretationcited by 19
  11. 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
  12. 2024Incremental Comprehension of Garden-Path Sentences by Large Language Models: Semantic Interpretation, Syntactic Re-Analysis, and Attentioncited by 10
1 more
  1. 2024Reimagining Self-Adaptation in the Age of Large Language Modelscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.