Leveraging Transformer and Graph Neural Networks for Variable Misuse Detection

被引:0
|
作者
Romanov, Vitaly [1 ]
Dlamini, Gcinizwe [1 ]
Valeev, Aidar [1 ]
Ivanov, Vladimir [1 ]
机构
[1] Innopolis Univ, Fac Comp Sci & Engn, Innopolis, Russia
来源
PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, ENASE 2023 | 2023年
基金
俄罗斯科学基金会;
关键词
Graph Neural Network; CodeBERT; Variable Misuse Detection;
D O I
10.5220/0011997300003464
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Understanding source code is a central part of finding and fixing software defects in software development. In many cases software defects caused by an incorrect usage of variables in program code. Over the years researchers have developed data-driven approaches to detect variable misuse. Most of modern existing approaches are based on the transformer architecture, trained on millions of buggy and correct code snippets to learn the task of variable detection. In this paper, we evaluate an alternative, a graph neural network (GNN) architectures, for variable misuse detection. Popular benchmark dataset, which is a collection functions written in Python programming language, is used to train the models presented in this paper. We compare the GNN models with the transformer-based model called CodeBERT.
引用
收藏
页码:727 / 733
页数:7
相关论文
共 50 条
  • [11] One-class graph neural networks for anomaly detection in attributed networks
    Xuhong Wang
    Baihong Jin
    Ying Du
    Ping Cui
    Yingshui Tan
    Yupu Yang
    Neural Computing and Applications, 2021, 33 : 12073 - 12085
  • [12] Leveraging spatio-temporal features using graph neural networks for human activity recognition
    Raj, M. S. Subodh
    George, Sudhish N.
    Raja, Kiran
    PATTERN RECOGNITION, 2024, 150
  • [13] Combine sliced joint graph with graph neural networks for smart contract vulnerability detection?
    Cai, Jie
    Li, Bin
    Zhang, Jiale
    Sun, Xiaobing
    Chen, Bing
    JOURNAL OF SYSTEMS AND SOFTWARE, 2023, 195
  • [14] Graph Neural Network Based Anomaly Detection in Dynamic Networks
    Guo J.-Y.
    Li R.-H.
    Zhang Y.
    Wang G.-R.
    Ruan Jian Xue Bao/Journal of Software, 2020, 31 (03): : 748 - 762
  • [15] Reinforced Contrastive Graph Neural Networks (RCGNN) for Anomaly Detection
    Sun, Zenan
    Su, Jingyi
    Jeon, Donghyun
    Velasquez, Alvaro
    Song, Houbing
    Niu, Shuteng
    2022 IEEE INTERNATIONAL PERFORMANCE, COMPUTING, AND COMMUNICATIONS CONFERENCE, IPCCC, 2022,
  • [16] Structural Temporal Graph Neural Networks for Anomaly Detection in Dynamic Graphs
    Cai, Lei
    Chen, Zhengzhang
    Luo, Chen
    Gui, Jiaping
    Ni, Jingchao
    Li, Ding
    PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, : 3747 - 3756
  • [17] Rumor Detection Based on SAGNN: Simplified Aggregation Graph Neural Networks
    Zhang, Liang
    Li, Jingqun
    Zhou, Bin
    Jia, Yan
    MACHINE LEARNING AND KNOWLEDGE EXTRACTION, 2021, 3 (01): : 84 - 94
  • [18] Anomaly traffic detection in IoT security using graph neural networks
    Gao, Mengnan
    Wu, Lifa
    Li, Qi
    Chen, Wei
    JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2023, 76
  • [19] MalGraph: Hierarchical Graph Neural Networks for Robust Windows Malware Detection
    Ling, Xiang
    Wu, Lingfei
    Deng, Wei
    Qu, Zhenqing
    Zhang, Jiangyu
    Zhang, Sheng
    Ma, Tengfei
    Wang, Bin
    Wu, Chunming
    Ji, Shouling
    IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2022), 2022, : 1998 - 2007
  • [20] An explainable botnet detection model based on lightweight graph neural networks
    He, Guofeng
    Zhu, Jianghua
    Shi, Yinong
    Yan, Ke
    Zheng, Xu
    INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2025, 28 (02) : 219 - 231