A slice-level software vulnerability detection method based on hyperbolic gated graph neural network

Yu Liu , Bin Liu , Shihai Wang , Tengfei Shi , Haoran Li , Shudi Guo

Front. Comput. Sci. ››

PDF (4779KB)
Front. Comput. Sci. ›› DOI: 10.1007/s11704-026-50989-1
RESEARCH ARTICLE
A slice-level software vulnerability detection method based on hyperbolic gated graph neural network
Author information +
History +
PDF (4779KB)

Abstract

As technological progress drives software complexity, traditional vulnerability detection can’t meet rising security demands. AI-driven detection is now a trend. Recent research indicates deep learning can automate code semantic analysis for proactive risk identification and better detection efficiency. In deep learning-based vulnerability detection, graph-based source code representation prevails, capturing code structures better than sequence-based methods. But it fails to model tree-like dependency relationships well, resulting in poor feature extraction. To solve this, we propose a Slice-based Hyperbolic Gated graph neural network for Vulnerability Detection, named SHGvd. It first extracts key semantic features through normalization, graph slicing and embedding. Then it employs a novel Hyperbolic Gated Graph Neural Network that utilizes the negative curvature of hyperbolic space to enhance hierarchical code relation capture.Moreover, with a trainable curvature strategy, it can dynamically adjust the hyperbolic space curvature according to data. Finally, it employs convolutional, pooling layers and multi-layer perceptrons for classification. Evaluated on Big-Vul, SHGvd outperforms existing models, achieving 80.55% accuracy and 81.37% F1-score, showing superior feature extraction.

Keywords

Vulnerability detection / Source code representation / Graph neural network / Hyperbolic space

Cite this article

Download citation ▾
Yu Liu, Bin Liu, Shihai Wang, Tengfei Shi, Haoran Li, Shudi Guo. A slice-level software vulnerability detection method based on hyperbolic gated graph neural network. Front. Comput. Sci. DOI:10.1007/s11704-026-50989-1

登录浏览全文

4963

注册一个新账户 忘记密码

References

RIGHTS & PERMISSIONS

Higher Education Press

PDF (4779KB)

42

Accesses

0

Citation

Detail

Sections
Recommended

/