mlsanityData to 7 Oct 2026

Pre-training by Predicting Program Dependencies for Vulnerability Analysis Tasks

arXiv 2402.00657 ↗First posted 1 Feb 2024cs.SEcited by 17

Not on the map. Why?

Abstract (arXiv)

Vulnerability analysis is crucial for software security. This work focuses on using pre-training techniques to enhance the understanding of vulnerable code and boost vulnerability analysis. The code understanding ability of a pre-trained model is highly related to its pre-training objectives. The semantic structure, e.g., control and data dependencies, of code is important for vulnerability analysis. However, existing pre-training objectives either ignore such structure or focus on learning to use it. The feasibility and benefits of learning the knowledge of analyzing semantic structure have not been investigated. To this end, this work proposes two novel pre-training objectives, namely Control Dependency Prediction (CDP) and Data Dependency Prediction (DDP), which aim to predict the statement-level control dependencies and token-level data dependencies, respectively, in a code snippet only based on its source code. During pre-training, CDP and DDP can guide the model to learn the knowledge required for analyzing fine-grained dependencies in code. After pre-training, the pre-trained model can boost the understanding of vulnerable code during fine-tuning and can directly be used to perform dependence analysis for both partial and complete functions. To demonstrate the benefits of our pre-training objectives, we pre-train a Transformer model named PDBERT with CDP and DDP, fine-tune it on three vulnerability analysis tasks, i.e., vulnerability detection, vulnerability classification, and vulnerability assessment, and also evaluate it on program dependence analysis. Experimental results show that PDBERT benefits from CDP and DDP, leading to state-of-the-art performance on the three downstream tasks. Also, PDBERT achieves F1-scores of over 99% and 94% for predicting control and data dependencies, respectively, in partial and complete functions.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Feb 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 9; 2026: 6.

17 papers.

Sort:

By area:

  1. 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 27
  2. 2024Comparison of Static Application Security Testing Tools and Large Language Models for Repo-level Vulnerability Detectioncited by 18
  3. 2025LLM/Agent-as-Data-Analyst: A Surveycited by 15
  4. 2025A Systematic Literature Review on Detecting Software Vulnerabilities with Large Language Modelscited by 8
  5. 2025MAVUL: Multi-Agent Vulnerability Detection via Contextual Reasoning and Interactive Refinementcited by 6
  6. 2025LLM-based Vulnerability Discovery through the Lens of Code Metricscited by 4
  7. 2025A Systematic Study of Code Obfuscation Against LLM-based Vulnerability Detectioncited by 4
  8. 2025Revisiting Pre-trained Language Models for Vulnerability Detectioncited by 3
  9. 2025VULPO: Context-Aware Vulnerability Detection via On-Policy LLM Optimizationcited by 3
  10. 2026VulTriage: Triple-Path Context Augmentation for LLM-Based Vulnerability Detectioncited by 1
  11. 2025MulVuln: Enhancing Pre-trained LMs with Shared and Language-Specific Knowledge for Multilingual Vulnerability Detectioncited by 0
  12. 2025Diverse LLMs vs. Vulnerabilities: Who Detects and Fixes Them Better?cited by 0
5 more
  1. 2026A systematic literature Review for Transformer-based Software Vulnerability detectioncited by 0
  2. 2026DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localizationcited by 0
  3. 2026JavaVulBench: A Java Vulnerability Benchmark with Realistic Splits, a Unified Multi-Backend Harness, and a Leakage-Aware Evaluation Modecited by 0
  4. 2026SynH-Rank: Quality-Aware Code Search via Diverse Data Synthesis and Hierarchical Ranking Trainingcited by 0
  5. 2026JevVibe: Efficient Classification-Guided Secure Code Generationcited by 0