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
基金
俄罗斯科学基金会;
关键词
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 条
  • [31] Leveraging Deep Neural Networks for Massive MIMO Data Detection
    Nguyen, Ly V.
    Nguyen, Nhan T.
    Tran, Nghi H.
    Juntti, Markku
    Swindlehurst, A. Lee
    Nguyen, Duy H. N.
    IEEE WIRELESS COMMUNICATIONS, 2023, 30 (01) : 174 - 180
  • [32] Graph Anomaly Detection With Graph Neural Networks: Current Status and Challenges
    Kim, Hwan
    Lee, Byung Suk
    Shin, Won-Yong
    Lim, Sungsu
    IEEE ACCESS, 2022, 10 : 111820 - 111829
  • [33] Hybrid graph transformer networks for multivariate time series anomaly detection
    Rong Gao
    Wei He
    Lingyu Yan
    Donghua Liu
    Yonghong Yu
    Zhiwei Ye
    The Journal of Supercomputing, 2024, 80 : 642 - 669
  • [34] Hybrid graph transformer networks for multivariate time series anomaly detection
    Gao, Rong
    He, Wei
    Yan, Lingyu
    Liu, Donghua
    Yu, Yonghong
    Ye, Zhiwei
    JOURNAL OF SUPERCOMPUTING, 2024, 80 (01): : 642 - 669
  • [35] Ethereum phishing detection based on graph neural networks
    Xiong A.
    Tong Y.
    Jiang C.
    Guo S.
    Shao S.
    Huang J.
    Wang W.
    Qi B.
    IET Blockchain, 2024, 4 (03): : 226 - 234
  • [36] Disinformation detection using graph neural networks: a survey
    Batool Lakzaei
    Mostafa Haghir Chehreghani
    Alireza Bagheri
    Artificial Intelligence Review, 57
  • [37] Fake Post Detection Using Graph Neural Networks
    Izotova, O. A.
    Lavrova, D. S.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2021, 55 (08) : 1215 - 1221
  • [38] Data Augmented Graph Neural Networks for Personality Detection
    Zhu, Yangfu
    Xia, Yue
    Li, Meiling
    Zhang, Tingting
    Wu, Bin
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 1, 2024, : 664 - 672
  • [39] Fake Post Detection Using Graph Neural Networks
    O. A. Izotova
    D. S. Lavrova
    Automatic Control and Computer Sciences, 2021, 55 : 1215 - 1221
  • [40] Graph Neural Networks for Vulnerability Detection: A Counterfactual Explanation
    Chu, Zhaoyang
    Wan, Yao
    Li, Qian
    Wu, Yang
    Zhang, Hongyu
    Sui, Yulei
    Xu, Guandong
    Jin, Hai
    PROCEEDINGS OF THE 33RD ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2024, 2024, : 389 - 401