Modular Tree Network for Source Code Representation Learning
Not on the map. Why?
Abstract (arXiv)
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-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 paper, we propose a modular tree network (MTN) which dynamically composes different neural network units into tree structures based on the input abstract syntax tree. Different from previous tree-structural neural network models, MTN can capture the semantic differences between types of ASTsubstructures. We evaluate our model on two tasks: program classification and code clone detection. Ourmodel 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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Apr 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 3.
8 papers.
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Structured Chain-of-Thought Prompting for Code Generationcited by 136
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
- 2021On Multi-Modal Learning of Editing Source Codecited by 25
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarizationcited by 16
- 2022Learning Program Representations with a Tree-Structured Transformercited by 6
- 2022A Library for Representing Python Programs as Graphs for Machine Learningcited by 4
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023
- 2023Structured Chain-of-Thought Prompting for Code Generation11 May 2023
- 2023One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarization28 Mar 2023
- 2022Learning Program Representations with a Tree-Structured Transformer18 Aug 2022
- 2022A Library for Representing Python Programs as Graphs for Machine Learning15 Aug 2022
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligence24 Jul 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021On Multi-Modal Learning of Editing Source Code15 Aug 2021