Vulnerability Detection With Graph Attention Network And Metric Learning
Chunyong ZhangBin LiuQi FanYang XinHongliang Zhu
Chunyong Zhang
Bin Liu
Qi Fan
Yang Xin
Hongliang Zhu
+5
This paper addresses static code vulnerability detection, where existing methods suffer high false-positive/false-negative rates and deep learning approaches struggle with extracting syntax and semantics, data imbalance, and overlapping feature distributions between vulnerable and non-vulnerable samples. The authors build GSM, a systematic model combining a Graph Attention Network, sampling methods, and metric learning, with one phase dedicated to each problem. Compared with state-of-the-art approaches, GSM improves Precision, Recall, F1-Score, and AUC by 11.5%, 12.3%, 12.57%, and 7.90%, respectively, and the authors offer directions for more efficient future vulnerability detection research.

TechRxiv · May 18, 2022