一句话:提出统一框架,构造两类图以捕获丰富代码语义,服务多种软件工程应用。
程序语义学习是克隆检测、代码摘要等 AI for SE 应用中的关键问题。基于图神经网络(GNN)的程序表示已在漏洞识别、类型推断等任务上取得领先性能,但现有工作缺乏统一框架,且多数方法忽略节点间的全局关系,限制了模型学习丰富语义。本文提出一个统一框架,构造两类图来捕获代码语义,以服务多种软件工程应用。摘要未报告具体实验数据与结果,主要贡献在于统一建图视角与框架设计。
Program semantics learning is a vital problem in various AI for SE applications e.g., clone detection, code summarization. Learning to represent programs with Graph Neural Networks (GNNs) has achieved state-of-the-art performance in many applications e.g., vulnerability identification, type inference. However, currently, there is a lack of a unified framework with GNNs for distinct applications. Furthermore, most existing GNN-based approaches ignore global relations with nodes, limiting the model to learn rich semantics. In this paper, we propose a unified framework to construct two types of graphs to capture rich code semantics for various SE applications.