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 条
  • [21] Web Spam Detection by Probability Mapping GraphSOMs and Graph Neural Networks
    Di Noi, Lucia
    Hagenbuchner, Markus
    Scarselli, Franco
    Tsoi, Ah Chung
    ARTIFICIAL NEURAL NETWORKS-ICANN 2010, PT II, 2010, 6353 : 372 - +
  • [22] Exploiting stance similarity and graph neural networks for fake news detection
    Soga, Kayato
    Yoshida, Soh
    Muneyasu, Mitsuji
    PATTERN RECOGNITION LETTERS, 2024, 177 : 26 - 32
  • [23] Graph neural networks for anomaly detection and diagnosis in hydrogen extraction systems
    Seo, Jin
    Noh, Yoojeong
    Kang, Young-Jin
    Lim, Jaehun
    Ahn, Seungho
    Song, Inhyuk
    Kim, Kyung Chun
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 135
  • [24] Semantically-Informed Graph Neural Networks for Irony Detection in Turkish
    Bolucu, Necva
    Can, Burcu
    ACM TRANSACTIONS ON ASIAN AND LOW-RESOURCE LANGUAGE INFORMATION PROCESSING, 2025, 24 (01)
  • [25] Event-based Object Detection using Graph Neural Networks
    Sun, Daobo
    Ji, Haibo
    2023 IEEE 12TH DATA DRIVEN CONTROL AND LEARNING SYSTEMS CONFERENCE, DDCLS, 2023, : 1895 - 1900
  • [26] A dual graph neural networks model using sequence embedding as graph nodes for vulnerability detection
    Ling, Miaogui
    Tang, Mingwei
    Bian, Deng
    Lv, Shixuan
    Tang, Qi
    INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 177
  • [27] A steel surface defect detection model based on graph neural networks
    Pang, Wenkai
    Tan, Zhi
    MEASUREMENT SCIENCE AND TECHNOLOGY, 2024, 35 (04)
  • [28] Learning graph normalization for graph neural networks
    Chen, Yihao
    Tang, Xin
    Qi, Xianbiao
    Li, Chun-Guang
    Xiao, Rong
    NEUROCOMPUTING, 2022, 493 : 613 - 625
  • [29] Introduction to Graph Neural Networks
    Liu Z.
    Zhou J.
    1600, Morgan and Claypool Publishers (14): : 1 - 127
  • [30] Graph Transformer-based Heterogeneous Graph Neural Networks enhanced by multiple meta-path adjacency matrices decomposition
    Li, Shibin
    Gong, Jun
    Ke, Shengnan
    Tang, Shengjun
    NEUROCOMPUTING, 2025, 629