mlsanityData to 7 Oct 2026

Modular Tree Network for Source Code Representation Learning

arXiv 2104.00196 ↗First posted 1 Apr 2021cs.SEcited by 8

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

Cited by year

Citing papers per year: 2021: 2; 2022: 3; 2023: 3.

8 papers.