Modular Tree Network for Source Code Representation LearningJournal-First
Fri 28 May 2021 00:30 - 00:50 at Blended Sessions Room 1 - 3.2.1. Programming: Code Analysis Algorithms
Learning representation for source code is a foundation of many program analysis tasks. In recent years, neural networks have already shown success in this area, but most existing models did not make full use of the unique structural information of programs. Although abstract syntax tree (AST)-based neural models can handle the tree structure in the source code, they cannot capture the richness of different types of substructure in programs. In this article, we propose a modular tree network that dynamically composes different neural network units into tree structures based on the input AST. Different from the previous tree-structural neural network models, a modular tree network can capture the semantic differences between types of AST substructures. We evaluate our model on two tasks: program classification and code clone detection. Our model achieves the best performance compared with state-of-the-art approaches in both tasks, showing the advantage of leveraging more elaborate structure information of the source code.
Thu 27 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
11:50 - 13:10 | 3.2.1. Programming: Code Analysis AlgorithmsJournal-First Papers / Technical Track / SEIP - Software Engineering in Practice at Blended Sessions Room 1 +12h Chair(s): Giuseppe Scanniello University of Basilicata | ||
11:50 20mPaper | A Differential Testing Approach for Evaluating Abstract Syntax Tree Mapping AlgorithmsTechnical Track Technical Track Yuanrui Fan College of Computer Science and Technology, Zhejiang University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, Ahmed E. Hassan School of Computing, Queen's University, Yuan Wang Huawei Sweden Research Center, Shanping Li Zhejiang University Pre-print Media Attached | ||
12:10 20mPaper | InferCode: Self-Supervised Learning of Code Representations by Predicting SubtreesTechnical Track Technical Track Nghi D. Q. Bui Singapore Management University, Singapore, Yijun Yu The Open University, UK, Lingxiao Jiang Singapore Management University Pre-print Media Attached | ||
12:30 20mPaper | Modular Tree Network for Source Code Representation LearningJournal-First Journal-First Papers Wenhan Wang Peking University, Ge Li Peking University, Sijie Shen Peking University, Xin Xia Huawei Software Engineering Application Technology Lab, Zhi Jin Peking University Link to publication Pre-print Media Attached | ||
12:50 20mPaper | Case Study on Data-driven Deployment of Program Analysis on an Open Tools StackSEIP SEIP - Software Engineering in Practice Anton Ljungberg Lund University, David Åkerman Axis Communications, Emma Söderberg Lund University, Gustaf Lundh Axis Communications, Jon Sten Axis Communications, Luke Church University of Cambridge | Lund University | Lark Systems Pre-print Media Attached |
23:50 - 01:10 | 3.2.1. Programming: Code Analysis AlgorithmsSEIP - Software Engineering in Practice / Journal-First Papers / Technical Track at Blended Sessions Room 1 | ||
23:50 20mPaper | A Differential Testing Approach for Evaluating Abstract Syntax Tree Mapping AlgorithmsTechnical Track Technical Track Yuanrui Fan College of Computer Science and Technology, Zhejiang University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, Ahmed E. Hassan School of Computing, Queen's University, Yuan Wang Huawei Sweden Research Center, Shanping Li Zhejiang University Pre-print Media Attached | ||
00:10 20mPaper | InferCode: Self-Supervised Learning of Code Representations by Predicting SubtreesTechnical Track Technical Track Nghi D. Q. Bui Singapore Management University, Singapore, Yijun Yu The Open University, UK, Lingxiao Jiang Singapore Management University Pre-print Media Attached | ||
00:30 20mPaper | Modular Tree Network for Source Code Representation LearningJournal-First Journal-First Papers Wenhan Wang Peking University, Ge Li Peking University, Sijie Shen Peking University, Xin Xia Huawei Software Engineering Application Technology Lab, Zhi Jin Peking University Link to publication Pre-print Media Attached | ||
00:50 20mPaper | Case Study on Data-driven Deployment of Program Analysis on an Open Tools StackSEIP SEIP - Software Engineering in Practice Anton Ljungberg Lund University, David Åkerman Axis Communications, Emma Söderberg Lund University, Gustaf Lundh Axis Communications, Jon Sten Axis Communications, Luke Church University of Cambridge | Lund University | Lark Systems Pre-print Media Attached |