跳到主要导航 跳到搜索 跳到主要内容

Multi-View Graph-Based Code Representation Learning for Vulnerability Detection

  • Zheng Yuan
  • , Chun Shan*
  • , Pengzhe Heng
  • *此作品的通讯作者
  • Beijing Institute of Technology

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Vulnerability detection is essential for ensuring software reliability and security. Existing learning-based approaches often fail to fully capture fine-grained program semantics and heterogeneous structural dependencies. In particular, directly merging different code representations into a unified graph may introduce semantic ambiguity and weaken vulnerability-specific signals. To address this issue, we propose SMGCN, a semantic-aware multi-view graph framework for vulnerability detection. SMGCN independently models abstract syntax, control flow, and data flow as separate graph views, preserving their structural characteristics. A node importance recalibration mechanism is introduced to emphasize vulnerability-relevant nodes, and an attention-based fusion module adaptively integrates multi-view representations into a unified embedding for classification. Extensive experiments on four benchmark datasets demonstrate that SMGCN consistently outperforms representative learning-based and LLM-based baselines, achieving average improvements of 7.18% in accuracy and 11.0% in F1-score. Additional analyses further validate the effectiveness of multi-view modeling and node importance calibration. These results highlight the advantage of semantic-aware multi-view graph learning for robust vulnerability detection.

源语言英语
主期刊名2026 International Conference on Generative Artificial Intelligence and Information Security, GAIIS 2026
出版商Institute of Electrical and Electronics Engineers Inc.
310-316
页数7
ISBN(电子版)9798331546229
DOI
出版状态已出版 - 2026
已对外发布
活动2026 International Conference on Generative Artificial Intelligence and Information Security, GAIIS 2026 - Wuhan, 中国
期限: 27 3月 202629 3月 2026

出版系列

姓名2026 International Conference on Generative Artificial Intelligence and Information Security, GAIIS 2026

会议

会议2026 International Conference on Generative Artificial Intelligence and Information Security, GAIIS 2026
国家/地区中国
Wuhan
时期27/03/2629/03/26

指纹

探究 'Multi-View Graph-Based Code Representation Learning for Vulnerability Detection' 的科研主题。它们共同构成独一无二的指纹。

引用此