Convolutional Neural Networks over Control Flow Graphs for Software Defect Prediction

被引:88
|
作者
Anh Viet Phan [1 ]
Minh Le Nguyen [1 ]
Lam Thu Bui [2 ]
机构
[1] Japan Adv Inst Informat Technol, Nomi 9231211, Japan
[2] Le Quy Don Tech Univ, Hanoi, Vietnam
关键词
Software Defect Prediction; Control Flow Graphs; Convolutional Neural Networks;
D O I
10.1109/ICTAI.2017.00019
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Existing defects in software components is unavoidable and leads to not only a waste of time and money but also many serious consequences. To build predictive models, previous studies focus on manually extracting features or using tree representations of programs, and exploiting different machine learning algorithms. However, the performance of the models is not high since the existing features and tree structures often fail to capture the semantics of programs. To explore deeply programs' semantics, this paper proposes to leverage precise graphs representing program execution flows, and deep neural networks for automatically learning defect features. Firstly, control flow graphs are constructed from the assembly instructions obtained by compiling source code; we thereafter apply multi-view multi-layer directed graph-based convolutional neural networks (DGCNNs) to learn semantic features. The experiments on four real-world datasets show that our method significantly outperforms the baselines including several other deep learning approaches.
引用
收藏
页码:45 / 52
页数:8
相关论文
共 50 条
  • [31] Hybrid convolutional neural networks and optical flow for video visual attention prediction
    Meijun Sun
    Ziqi Zhou
    Dong Zhang
    Zheng Wang
    Multimedia Tools and Applications, 2018, 77 : 29231 - 29244
  • [32] Multi-perspective convolutional neural networks for citywide crowd flow prediction
    Dai, Genan
    Kong, Weiyang
    Liu, Yubao
    Ge, Youming
    Zhang, Sen
    APPLIED INTELLIGENCE, 2023, 53 (08) : 8994 - 9008
  • [33] Deep Learning of Graphs with Ngram Convolutional Neural Networks
    Luo, Zhiling
    Liu, Ling
    Yin, Jianwei
    Li, Ying
    Wu, Zhaohui
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2017, 29 (10) : 2125 - 2139
  • [34] Convolutional Neural Networks on Manifolds: From Graphs and Back
    Wang, Zhiyang
    Ruiz, Luana
    Ribeiro, Alejandro
    2022 56TH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS, AND COMPUTERS, 2022, : 356 - 360
  • [35] Software defect prediction with semantic and structural information of codes based on Graph Neural Networks
    Zhou, Chunying
    He, Peng
    Zeng, Cheng
    Ma, Ju
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 152
  • [36] Software defect prediction using Bayesian networks
    Ahmet Okutan
    Olcay Taner Yıldız
    Empirical Software Engineering, 2014, 19 : 154 - 181
  • [37] Convolutional Neural Networks on Graphs with Chebyshev Approximation, Revisited
    He, Mingguo
    Wei, Zhewei
    Wen, Ji-Rong
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35, NEURIPS 2022, 2022,
  • [38] Software defect prediction using Bayesian networks
    Okutan, Ahmet
    Yildiz, Olcay Taner
    EMPIRICAL SOFTWARE ENGINEERING, 2014, 19 (01) : 154 - 181
  • [39] Wavefront Reconstruction and Prediction with Convolutional Neural Networks
    Swanson, Robin
    Lamb, Masen
    Correia, Carlos
    Sivanandam, Suresh
    Kutulakos, Kiriakos
    ADAPTIVE OPTICS SYSTEMS VI, 2018, 10703
  • [40] Public Transportation Prediction with Convolutional Neural Networks
    Panovski, Dancho
    Zaharia, Titus
    INTELLIGENT TRANSPORT SYSTEMS, 2020, 310 : 150 - 161