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 条
  • [31] Dynamic deep graph convolution with enhanced transformer networks for time series anomaly detection in IoT
    Gao, Rong
    Chen, Zhiwei
    Wu, Xinyun
    Yu, Yonghong
    Zhang, Li
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2025, 28 (01):
  • [32] Sensor Embedding and Variant Transformer Graph Networks for Multi-source Data Anomaly Detection
    Ma, Liwei
    Huang, Zhe
    Peng, Bei
    Zhang, Mingquan
    He, Wangpeng
    Wang, Yu
    NEURAL COMPUTING FOR ADVANCED APPLICATIONS, NCAA 2024, PT I, 2025, 2181 : 378 - 392
  • [33] Extended Abstract of Combine Sliced Joint Graph with Graph Neural Networks for Smart Contract Vulnerability Detection
    Cai, Jie
    Li, Bin
    Zhang, Jiale
    Sun, Xiaobing
    Chen, Bing
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 851 - 852
  • [34] A Graph Construction Method for Anomalous Traffic Detection with Graph Neural Networks Using Sets of Flow Data
    Okui, Norihiro
    Akimoto, Yusuke
    Kubota, Ayumu
    Yoshida, Takuya
    2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC, 2023, : 1017 - 1018
  • [35] Medicare Fraud Detection Using Graph Analysis: A Comparative Study of Machine Learning and Graph Neural Networks
    Yoo, Yeeun
    Shin, Jinho
    Kyeong, Sunghyon
    IEEE ACCESS, 2023, 11 : 88278 - 88294
  • [36] Federated Graph Neural Network for Fast Anomaly Detection in Controller Area Networks
    Zhang, Hengrun
    Zeng, Kai
    Lin, Shuai
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2023, 18 : 1566 - 1579
  • [37] Heterogeneous graph neural networks for fraud detection and explanation in supply chain finance
    Wu, Bin
    Chao, Kuo-Ming
    Li, Yinsheng
    INFORMATION SYSTEMS, 2024, 121
  • [38] Using Graph Neural Networks to Improve Generalization Capability of the Models for Deepfake Detection
    She, Huimin
    Hu, Yongjian
    Liu, Beibei
    Li, Jicheng
    Li, Chang-Tsun
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2024, 19 : 8414 - 8427
  • [39] Masked Graph Neural Networks for Unsupervised Anomaly Detection in Multivariate Time Series
    Xu, Kang
    Li, Yuan
    Li, Yixuan
    Xu, Liyan
    Li, Ruiyao
    Dong, Zhenjiang
    SENSORS, 2023, 23 (17)
  • [40] Salient Object Detection Based on Multiple Graph Neural Networks Collaborative Learning
    Liu, Bing
    Wang, Tiantian
    Gao, Lina
    Xu, Mingzhu
    Fu, Ping
    JOURNAL OF ELECTRONICS & INFORMATION TECHNOLOGY, 2023, 45 (07) : 2561 - 2570