Skip to main navigation Skip to search Skip to main content

Vul-CTG: A Multimodal Framework for Software Vulnerability Detection via Code Text and Graph Integration

  • Xi'an Jiaotong University
  • Hong Kong University of Science and Technology
  • Nanyang Technological University

Research output: Contribution to journalArticlepeer-review

Abstract

Pretrained Language Models (PLMs) and Graph Neural Networks (GNNs) have emerged as promising approaches for software vulnerability detection. However, existing methods still face limitations, including the absence of fine-grained cross-modal interaction and the impact of data noise. Approaches integrating PLMs and GNNs fail to fully leverage their complementary strengths, while unreliable labels hinder generalization, further degrading real-world detection performance. To over-come these limitations, we propose Vul-CTG, a multimodal integration framework for software vulnerability detection that combines Code Text, and program Graph representations. Vul-CTG constructs enriched code graph representations by integrating statement-level source code graphs and abstract code property graphs, enabling more effective alignment between structural and semantic information. To enhance robustness against noisy labels and improve cross-modal consistency, the model incorporates contrastive learning and pre-training techniques. Central to Vul-CTG is CTG-Former, a novel alignment architecture that projects both code text and graph modalities into a unified latent space, allowing the model to capture complex structural and semantic patterns for more accurate vulnerability detection. Experimental results on recent function-level datasets demonstrate the effectiveness of Vul-CTG, showing an approximate 3% improvement in F1-score over state-of-the-art methods. Our code is available at https://github.com/ryxFry/Vul-CTG.

Original languageEnglish
JournalIEEE Transactions on Information Forensics and Security
DOIs
StateAccepted/In press - 2026
Externally publishedYes

Keywords

  • Graph Neural Network
  • Multimodal Framework
  • Pretraining Language Model
  • Vulnerability Detection

Fingerprint

Dive into the research topics of 'Vul-CTG: A Multimodal Framework for Software Vulnerability Detection via Code Text and Graph Integration'. Together they form a unique fingerprint.

Cite this