跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 人工智能

arXiv:2201.07984 (cs)
[提交于 2022年1月20日 (v1),最后修订于 2022年10月11日 (此版本, v4)]

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

作者:Rong Liang, Tiehua Zhang, Yujie Lu, Yuze Liu, Zhen Huang, Xin Chen
查看论文《AstBERT: Enabling Language Model for Financial Code Understanding with Abstract Syntax Trees》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
主题: 人工智能 (cs.AI); 机器学习 (cs.LG)
引用方式: arXiv:2201.07984 [cs.AI]
  (或者 arXiv:2201.07984v4 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.07984

提交历史

来自:Tiehua Zhang
[v1] 2022年1月20日 星期四 03:27:26 UTC
[v2] 2022年4月27日 星期三 15:33:02 UTC
[v3] 2022年10月10日 星期一 03:30:47 UTC
[v4] 2022年10月11日 星期二 11:00:22 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-10
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站