Using Transfer Learning for Code-Related Tasks

计算机科学 自动汇总 学习迁移 人工智能 自然语言处理 变压器 机器翻译 编码(集合论) 语言模型 任务(项目管理) 深度学习 机器学习 源代码 程序设计语言 集合(抽象数据类型) 管理 电压 经济 物理 量子力学
作者
Antonio Mastropaolo,Nathan Cooper,David N. Palacio,Simone Scalabrino,Denys Poshyvanyk,Rocco Oliveto,Gabriele Bavota
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:49 (4): 1580-1598 被引量:34
标识
DOI:10.1109/tse.2022.3183297
摘要

Deep learning (DL) techniques have been used to support several code-related tasks such as code summarization and bug-fixing. In particular, pre-trained transformer models are on the rise, also thanks to the excellent results they achieved in Natural Language Processing (NLP) tasks. The basic idea behind these models is to first pre-train them on a generic dataset using a self-supervised task (e.g., filling masked words in sentences). Then, these models are fine-tuned to support specific tasks of interest (e.g., language translation). A single model can be fine-tuned to support multiple tasks, possibly exploiting the benefits of transfer learning . This means that knowledge acquired to solve a specific task (e.g., language translation) can be useful to boost performance on another task (e.g., sentiment classification). While the benefits of transfer learning have been widely studied in NLP, limited empirical evidence is available when it comes to code-related tasks. In this paper, we assess the performance of the Text-To-Text Transfer Transformer (T5) model in supporting four different code-related tasks: (i) automatic bug-fixing, (ii) injection of code mutants, (iii) generation of assert statements, and (iv) code summarization. We pay particular attention in studying the role played by pre-training and multi-task fine-tuning on the model's performance. We show that (i) the T5 can achieve better performance as compared to state-of-the-art baselines; and (ii) while pre-training helps the model, not all tasks benefit from a multi-task fine-tuning.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
哈哈哈哈哈完成签到,获得积分10
刚刚
刘晴晴完成签到,获得积分10
刚刚
Deng发布了新的文献求助10
1秒前
YPST完成签到,获得积分10
1秒前
飞鹰完成签到,获得积分10
2秒前
wm完成签到,获得积分10
2秒前
walker007完成签到,获得积分10
3秒前
ruochenzu完成签到,获得积分10
4秒前
4秒前
Hello应助娇气的蘑菇采纳,获得10
4秒前
5秒前
神经娃发布了新的文献求助10
6秒前
帅气的绿凝完成签到,获得积分10
6秒前
bkagyin应助Cholera采纳,获得10
7秒前
7秒前
独特鸽子完成签到 ,获得积分10
7秒前
大模型应助端庄的寄凡采纳,获得10
8秒前
ruochenzu发布了新的文献求助10
8秒前
鲸落温柔海完成签到,获得积分10
9秒前
Lkq完成签到,获得积分10
9秒前
晓薇发布了新的文献求助10
9秒前
七七完成签到 ,获得积分10
10秒前
夏夏山发布了新的文献求助10
10秒前
11秒前
Li发布了新的文献求助10
12秒前
momo完成签到,获得积分10
14秒前
迅速的访彤完成签到,获得积分10
15秒前
16秒前
16秒前
cc完成签到,获得积分10
16秒前
之后再说咯完成签到,获得积分10
17秒前
sjq完成签到,获得积分20
17秒前
橘子女王完成签到 ,获得积分10
17秒前
隐形的寒香完成签到,获得积分10
17秒前
Hello应助小小青椒采纳,获得10
18秒前
如意书桃完成签到 ,获得积分10
19秒前
大个应助yuyuyuyuyuyuyu采纳,获得10
19秒前
20秒前
Deng完成签到,获得积分10
20秒前
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Development Across Adulthood 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
天津市智库成果选编 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6445070
求助须知:如何正确求助?哪些是违规求助? 8258785
关于积分的说明 17592713
捐赠科研通 5504970
什么是DOI,文献DOI怎么找? 2901644
邀请新用户注册赠送积分活动 1878624
关于科研通互助平台的介绍 1718371