计算机科学
源代码
图形
学习迁移
人工智能
软件
卷积神经网络
编码(集合论)
机器学习
软件工程
理论计算机科学
程序设计语言
集合(抽象数据类型)
作者
Dingbang Fang,Shaoying Liu,Yang Li
标识
DOI:10.1142/s0218194023500262
摘要
A deep learning system (DLS) developed based on one software project for defect prediction may well be applied to the related code on the same project but is usually difficult to be applied to new or unknown software projects. To address this problem, we propose a Transferable Graph Convolutional Neural Network (TGCNN) that can learn defects from the lightweight semantic graphs of code and transfer the learned knowledge from the source project to the target project. We discuss how the semantic graph is constructed from code; how the TGCNN can learn from the graph; and how the learned knowledge can be transferred to a new or unknown project. We also conduct a controlled experiment to evaluate our method. The result shows that despite some limitations, our method performs considerably better than existing methods.
科研通智能强力驱动
Strongly Powered by AbleSci AI