mlsanityData to 14 Oct 2026

SCALE: Constructing Structured Natural Language Comment Trees for Software Vulnerability Detection

arXiv 2403.19096 ↗First posted 28 Mar 2024cs.SE cs.CRcited by 17

Not on the map. Why?

Abstract (arXiv)

Recently, there has been a growing interest in automatic software vulnerability detection. Pre-trained model-based approaches have demonstrated superior performance than other Deep Learning (DL)-based approaches in detecting vulnerabilities. However, the existing pre-trained model-based approaches generally employ code sequences as input during prediction, and may ignore vulnerability-related structural information, as reflected in the following two aspects. First, they tend to fail to infer the semantics of the code statements with complex logic such as those containing multiple operators and pointers. Second, they are hard to comprehend various code execution sequences, which is essential for precise vulnerability detection. To mitigate the challenges, we propose a Structured Natural Language Comment tree-based vulnerAbiLity dEtection framework based on the pre-trained models, named SCALE. The proposed Structured Natural Language Comment Tree (SCT) integrates the semantics of code statements with code execution sequences based on the Abstract Syntax Trees (ASTs). Specifically, SCALE comprises three main modules: (1) Comment Tree Construction, which aims at enhancing the model's ability to infer the semantics of code statements by first incorporating Large Language Models (LLMs) for comment generation and then adding the comment node to ASTs. (2) Structured Natural Language Comment Tree Construction}, which aims at explicitly involving code execution sequence by combining the code syntax templates with the comment tree. (3) SCT-Enhanced Representation, which finally incorporates the constructed SCTs for well capturing vulnerability patterns.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Mar 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 7; 2025: 5; 2026: 5.

17 papers.

Sort:

By area:

  1. 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insightscited by 47
  2. 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 28
  3. 2024From Vulnerabilities to Remediation: A Systematic Literature Review of LLMs in Code Securitycited by 10
  4. 2024AutoPT: How Far Are We from the End2End Automated Web Penetration Testing?cited by 8
  5. 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
  6. 2024Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysiscited by 6
  7. 2026MulVul: Retrieval-augmented Multi-Agent Code Vulnerability Detection via Cross-Model Prompt Evolutioncited by 6
  8. 2025RAG or Fine-tuning? A Comparative Study on LCMs-based Code Completion in Industrycited by 5
  9. 2025CTIConnect: A Benchmark for Retrieval-Augmented LLMs over Heterogeneous Cyber Threat Intelligencecited by 4
  10. 2024Repository-Level Graph Representation Learning for Enhanced Security Patch Detectioncited by 3
  11. 2024ANVIL: Anomaly-based Vulnerability Identification without Labelled Training Datacited by 1
  12. 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
5 more
  1. 2026VulTriage: Triple-Path Context Augmentation for LLM-Based Vulnerability Detectioncited by 1
  2. 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agentscited by 1
  3. 2024Direction for Detection: A Survey of Automated Vulnerability Detection and all of its Pain Pointscited by 0
  4. 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localizationcited by 0
  5. 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Commentscited by 0