Write a Blog >>
ICPC 2020
Mon 13 - Wed 15 July 2020
co-located with ICSE 2020
Wed 15 Jul 2020 08:50 - 09:10 at ICPC - Session 11: Search Chair(s): Banani Roy

Searching code in a large-scale codebase using natural language queries is a common practice during software development. Deep learning-based code search methods demonstrate superior performance if models are trained with large amount of text-code pairs. However, few deep code search models can be easily transferred from one codebase to another. It can be very costly to prepare training data for a new codebase and re-train an appropriate deep learning model. In this paper, we propose AdaCS, an adaptive deep code search method that can be trained once and transferred to new codebases. AdaCS decomposes the learning process into embedding domain-specific words and matching general syntactic patterns. Firstly, an unsupervised word embedding technique is used to construct a matching matrix to represent the lexical similarities. Then, a recurrent neural network is used to capture latent syntactic patterns from these matching matrices in a supervised way. As the supervised task learns general syntactic patterns that exist across domains, AdaCS is transferable to new codebases. Experimental results show that: when extended to new software projects never seen in the training data, AdaCS is more robust and significantly outperforms state-of-the-art deep code search methods.

Wed 15 Jul
Times are displayed in time zone: (UTC) Coordinated Universal Time change

08:30 - 09:30: Session 11: SearchResearch at ICPC
Chair(s): Banani RoyUniversity of Saskatchewan
08:30 - 08:50
Paper
Research
Liwei WuNanjing University, Fei LiNanjing University, Youhua WuNanjing University, Tao ZhengNanjing University
Media Attached
08:50 - 09:10
Paper
Research
ChunYang LingPeking University, Zeqi LinPeking University, Yanzhen ZouPeking University, Bing XiePeking University
Pre-print Media Attached
09:10 - 09:30
Paper
Research
Jianjun HeSchool of Big Data & Software Engineering, Chongqing University, Ling XuSchool of Big Data & Software Engineering, Chongqing University, Meng YanSchool of Big Data & Software Engineering, Chongqing University, Xin XiaMonash University, Yan LeiSchool of Big Data & Software Engineering, Chongqing University
Media Attached