xASTNN: Improved Code Representations for Industrial Practice
Not on the map. Why?
Abstract (arXiv)
The application of deep learning techniques in software engineering becomes increasingly popular. One key problem is developing high-quality and easy-to-use source code representations for code-related tasks. The research community has acquired impressive results in recent years. However, due to the deployment difficulties and performance bottlenecks, seldom these approaches are applied to the industry. In this paper, we present xASTNN, an eXtreme Abstract Syntax Tree (AST)-based Neural Network for source code representation, aiming to push this technique to industrial practice. The proposed xASTNN has three advantages. First, xASTNN is completely based on widely-used ASTs and does not require complicated data pre-processing, making it applicable to various programming languages and practical scenarios. Second, three closely-related designs are proposed to guarantee the effectiveness of xASTNN, including statement subtree sequence for code naturalness, gated recursive unit for syntactical information, and gated recurrent unit for sequential information. Third, a dynamic batching algorithm is introduced to significantly reduce the time complexity of xASTNN. Two code comprehension downstream tasks, code classification and code clone detection, are adopted for evaluation. The results demonstrate that our xASTNN can improve the state-of-the-art while being faster than the baselines.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 28 of its 59 references that are in the map. First posted on arXiv 13 Mar 2023.
Builds on
28 of 59 references.
References · 28
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,304
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 306
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
- 2017Learning to Represent Programs with Graphscited by 220
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 179
16 more
- 2021Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Taskscited by 70
- 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
- 2019When Deep Learning Met Code Searchcited by 46
- 2015SourcererCC: Scaling Code Clone Detection to Big Codecited by 40
- 2021What do pre-trained code models know about code?cited by 36
- 2022SPT-Code: Sequence-to-Sequence Pre-Training for Learning Source Code Representationscited by 36
- 2021Counterfactual Explanations for Models of Codecited by 25
- 2020InferCode: Self-Supervised Learning of Code Representations by Predicting Subtreescited by 23
- 2017Improved Neural Machine Translation with a Syntax-Aware Encoder and Decodercited by 16
- 2020Learning to Represent Programs with Heterogeneous Graphscited by 14
- 2017Structural Attention Neural Networks for improved sentiment analysiscited by 6
- 2021Improving Code Autocompletion with Transfer Learningcited by 6
- 2021On the Effectiveness of Transfer Learning for Code Searchcited by 6
- 2022Learning Program Semantics with Code Representations: An Empirical Studycited by 6
- 2021A Comparison of Code Embeddings and Beyondcited by 3
- 2022Exploring and Evaluating Personalized Models for Code Generationcited by 2
Built on by
Citing papers per year: 2025: 2.
2 papers.