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 条
  • [41] Hardware Trojan Detection Using Graph Neural Networks
    Yasaei, Rozhin
    Chen, Luke
    Yu, Shih-Yuan
    Al Faruque, Mohammad Abdullah
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2025, 44 (01) : 25 - 38
  • [42] Heterogeneous Graph Neural Networks for Malicious Account Detection
    Liu, Ziqi
    Chen, Chaochao
    Yang, Xinxing
    Zhou, Jun
    Li, Xiaolong
    Song, Le
    CIKM'18: PROCEEDINGS OF THE 27TH ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2018, : 2077 - 2085
  • [43] Graph neural networks for financial fraud detection: a review
    Cheng, Dawei
    Zou, Yao
    Xiang, Sheng
    Jiang, Changjun
    FRONTIERS OF COMPUTER SCIENCE, 2025, 19 (09)
  • [44] Hardware Trojan Detection using Graph Neural Networks
    Yasaei, Rozhin
    Chen, Luke
    Yu, Shih-Yuan
    Faruque, Mohammad Abdullah Al
    IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2024, : 1 - 1
  • [45] Spoofing Detection in the Physical Layer with Graph Neural Networks
    Ha, Tien Ngoc
    Romero, Daniel
    2024 IEEE 99TH VEHICULAR TECHNOLOGY CONFERENCE, VTC2024-SPRING, 2024,
  • [46] ReGVD: Revisiting Graph Neural Networks for Vulnerability Detection
    Van-Anh Nguyen
    Dai Quoc Nguyen
    Van Nguyen
    Trung Le
    Quan Hung Tran
    Dinh Phung
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 178 - 182
  • [47] Symbols Detection and Classification using Graph Neural Networks
    Renton, Guillaume
    Balcilar, Muhammet
    Heroux, Pierre
    Gauzere, Benoit
    Honeine, Paul
    Adam, Sebastien
    PATTERN RECOGNITION LETTERS, 2021, 152 : 391 - 397
  • [48] EDoG: Adversarial Edge Detection For Graph Neural Networks
    Xu, Xiaojun
    Wang, Hanzhang
    Lal, Alok
    Gunter, Carl A.
    Li, Bo
    2023 IEEE CONFERENCE ON SECURE AND TRUSTWORTHY MACHINE LEARNING, SATML, 2023, : 291 - 305
  • [49] Graph Neural Networks Based Anomalous RSSI Detection
    Bertalanic, Blaz
    Vnucec, Matej
    Fortuna, Carolina
    2023 INTERNATIONAL BALKAN CONFERENCE ON COMMUNICATIONS AND NETWORKING, BALKANCOM, 2023,
  • [50] Disinformation detection using graph neural networks: a survey
    Lakzaei, Batool
    Chehreghani, Mostafa Haghir
    Bagheri, Alireza
    ARTIFICIAL INTELLIGENCE REVIEW, 2024, 57 (03)