Graph Embedding Code Prediction Model Integrating Semantic Features
Computer Science and Information Systems, Tome 17 (2020) no. 3.

Voir la notice de l'article provenant de la source Computer Science and Information Systems website

With the advent of Big Code, code prediction has received widespread attention. However, the state-of-the-art code prediction techniques are inadequate in terms of accuracy, interpretability and efficiency. Therefore, in this paper, we propose a graph embedding model that integrates code semantic features. The model extracts the structural paths between the nodes in source code file’s Abstract Syntax Tree(AST). Then, we convert paths into training graph and extracted interdependent semantic structural features from the context of AST. Semantic structure features can filter predicted candidate values and effectively solve the problem of Out-of-Word(OoV). The graph embedding model converts the structural features of nodes into vectors which facilitates quantitative calculations. Finally, the vector similarity of the nodes is used to complete the prediction tasks of TYPE and VALUE. Experimental results show that compared with the existing state-of-the-art method, our method has higher prediction accuracy and less time consumption.
Keywords: Big Code, Graph Embedding, Code Prediction
@article{CSIS_2020_17_3_a14,
     author = {Kang Yang and Huiqun Yu and Guisheng Fan and Xingguang Yang},
     title = {Graph {Embedding} {Code} {Prediction} {Model} {Integrating} {Semantic} {Features}},
     journal = {Computer Science and Information Systems},
     publisher = {mathdoc},
     volume = {17},
     number = {3},
     year = {2020},
     url = {http://geodesic.mathdoc.fr/item/CSIS_2020_17_3_a14/}
}
TY  - JOUR
AU  - Kang Yang
AU  - Huiqun Yu
AU  - Guisheng Fan
AU  - Xingguang Yang
TI  - Graph Embedding Code Prediction Model Integrating Semantic Features
JO  - Computer Science and Information Systems
PY  - 2020
VL  - 17
IS  - 3
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2020_17_3_a14/
ID  - CSIS_2020_17_3_a14
ER  - 
%0 Journal Article
%A Kang Yang
%A Huiqun Yu
%A Guisheng Fan
%A Xingguang Yang
%T Graph Embedding Code Prediction Model Integrating Semantic Features
%J Computer Science and Information Systems
%D 2020
%V 17
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2020_17_3_a14/
%F CSIS_2020_17_3_a14
Kang Yang; Huiqun Yu; Guisheng Fan; Xingguang Yang. Graph Embedding Code Prediction Model Integrating Semantic Features. Computer Science and Information Systems, Tome 17 (2020) no. 3. http://geodesic.mathdoc.fr/item/CSIS_2020_17_3_a14/