SPT-code

计算机科学 源代码 自然语言 自动汇总 编码(集合论) 自然语言处理 人工智能 程序设计语言 代码评审 KPI驱动的代码分析 语言模型 静态程序分析 软件开发 软件 集合(抽象数据类型)
作者
Changan Niu,Chuanyi Li,Vincent Ng,Jidong Ge,LiGuo Huang,Bin Luo
标识
DOI:10.1145/3510003.3510096
摘要

Recent years have seen the successful application of large pre-trained models to code representation learning, resulting in substantial improvements on many code-related downstream tasks. But there are issues surrounding their application to SE tasks. First, the majority of the pre-trained models focus on pre-training only the encoder of the Transformer. For generation tasks that are addressed using models with the encoder-decoder architecture, however, there is no reason why the decoder should be left out during pre-training. Second, many existing pre-trained models, including state-of-the-art models such as T5-learning, simply reuse the pretraining tasks designed for natural languages. Moreover, to learn the natural language description of source code needed eventually for code-related tasks such as code summarization, existing pretraining tasks require a bilingual corpus composed of source code and the associated natural language description, which severely limits the amount of data for pre-training. To this end, we propose SPT-Code, a sequence-to-sequence pre-trained model for source code. In order to pre-train SPT-Code in a sequence-to-sequence manner and address the aforementioned weaknesses associated with existing pre-training tasks, we introduce three pre-training tasks that are specifically designed to enable SPT-Code to learn knowledge of source code, the corresponding code structure, as well as a natural language description of the code without relying on any bilingual corpus, and eventually exploit these three sources of information when it is applied to downstream tasks. Experimental results demonstrate that SPT-Code achieves state-of-the-art performance on five code-related downstream tasks after fine-tuning.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
1秒前
1秒前
1秒前
洁净之卉发布了新的文献求助50
2秒前
大胆钢笔关注了科研通微信公众号
2秒前
3秒前
3秒前
大模型应助九皋揽鹤采纳,获得10
4秒前
orixero应助焖饼采纳,获得10
5秒前
科目三应助Z666666666采纳,获得30
5秒前
TJL发布了新的文献求助10
6秒前
优美傲易发布了新的文献求助10
6秒前
稳重落雁发布了新的文献求助10
6秒前
鲫鱼发布了新的文献求助10
6秒前
阳光的玉米完成签到,获得积分10
7秒前
7秒前
地球发布了新的文献求助10
8秒前
haroroda完成签到,获得积分10
8秒前
砍柴少年发布了新的文献求助20
10秒前
热心翠绿发布了新的文献求助10
10秒前
ywh发布了新的文献求助10
12秒前
秋凌应助李万洪采纳,获得10
12秒前
Serein发布了新的文献求助10
14秒前
15秒前
AllRightReserved应助漂亮糖豆采纳,获得10
15秒前
15秒前
17秒前
18秒前
wanci应助客念采纳,获得10
18秒前
科研通AI6.4应助客念采纳,获得10
18秒前
酷波er应助客念采纳,获得10
18秒前
科研通AI6.1应助客念采纳,获得10
18秒前
molihuakai应助客念采纳,获得10
18秒前
20秒前
传奇3应助今天不加班采纳,获得10
22秒前
22秒前
爱学习发布了新的文献求助10
22秒前
22秒前
奋斗小张完成签到,获得积分10
22秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6440491
求助须知:如何正确求助?哪些是违规求助? 8254399
关于积分的说明 17570530
捐赠科研通 5498702
什么是DOI,文献DOI怎么找? 2899897
邀请新用户注册赠送积分活动 1876494
关于科研通互助平台的介绍 1716837