mlsanityData to 7 Oct 2026

AstBERT: Enabling Language Model for Financial Code Understanding with Abstract Syntax Trees

arXiv 2201.07984 ↗First posted 20 Jan 2022cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Using the pre-trained language models to understand source codes has attracted increasing attention from financial institutions owing to the great potential to uncover financial risks. However, there are several challenges in applying these language models to solve programming language-related problems directly. For instance, the shift of domain knowledge between natural language (NL) and programming language (PL) requires understanding the semantic and syntactic information from the data from different perspectives. To this end, we propose the AstBERT model, a pre-trained PL model aiming to better understand the financial codes using the abstract syntax tree (AST). Specifically, we collect a sheer number of source codes (both Java and Python) from the Alipay code repository and incorporate both syntactic and semantic code knowledge into our model through the help of code parsers, in which AST information of the source codes can be interpreted and integrated. We evaluate the performance of the proposed model on three tasks, including code question answering, code clone detection and code refinement. Experiment results show that our AstBERT achieves promising performance on three different downstream tasks.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 21 of its 26 references that are in the map. First posted on arXiv 20 Jan 2022.

Builds on

21 of 26 references.

References · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  6. 2018Deep contextualized word representationscited by 2,285
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  9. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  10. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  11. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  12. 2018An Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translationcited by 106
9 more
  1. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 74
  2. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
  3. 2019Multi-Modal Attention Network Learning for Semantic Source Code Retrievalcited by 40
  4. 2019Learning and Evaluating Contextual Embedding of Source Codecited by 33
  5. 2020Exploring Software Naturalness through Neural Language Modelscited by 32
  6. 2017Query Expansion Based on Crowd Knowledge for Code Searchcited by 18
  7. 2020SCELMo: Source Code Embeddings from Language Modelscited by 16
  8. 2020Neural Code Search Revisited: Enhancing Code Snippet Retrieval through Natural Language Intentcited by 16
  9. 2019Neural Code Search Evaluation Datasetcited by 13

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.