arrow
返回

Fret: Functional Reinforced Transformer With BERT for Code Summarization

delete2020-01-01
delete31
delete
OA
AI
R
Ruyun Wang
H
Hanwen Zhang
卢国梁 封面图
卢国梁 (Guoliang Lu)
L
Lei Lyu
C
Chen Lyu *
DOI:10.1109/ACCESS.2020.3011744delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Code summarization has long been viewed as a challenge in software engineering because of the difficulties of understanding source code and generating natural language. Some mainstream methods combine abstract syntax trees with language models to capture the structural information of the source code and generate relatively satisfactory comments. However, these methods are still deficient in code understanding and limited by the long dependency problem. In this paper, we propose a novel model called Fret, which stands for Functional REinforced Transformer with BERT. The model provides a new way to generate code comments by learning code functionalities and deepening code understanding while alleviating the problem of long dependency. For this purpose, a novel reinforcer is proposed for learning the functional contents of code so that more accurate summaries to describe the code functionalities can be generated. In addition, a more efficient algorithm is newly designed to capture the source code structure. The experimental results show that the effectiveness of our model is remarkable. Fret significantly outperforms all the state-of-the-art methods we examine. It pushes the BLEU-4 score to 24.32 for Java code summarization (14.23% absolute improvement) and the ROUGE-L score to 40.12 for Python. An ablation test is also conducted to further explore the impact of each component of our method.
Keyword:
Bit error rate
Neural networks
Task analysis
Semantics
Software engineering
Natural languages
Syntactics
BERT language representation model
software engineering
source code summarization
transformer network
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

S
shandong university
学者数:
9.5W
论文数: 6.4W
被引数: 94
S
shandong normal university
学者数:
1.0W
论文数: 8.2K
被引数: 3
引用论文

引用论文

err
IF0
err
err0
errOAAI
err
err分享
err收藏
No Perisaccadic Mislocalization with Abruptly Cancelled Saccades
err2014-04-16
err0
errOAAI
errJeroen Atsma; Femke Maij; Brian D. Corneil; W. Pieter Medendorp
err分享
err收藏
A phase I study evaluating the pharmacokinetics (PK) and pharmacodynamics (PD) of the oral pan-phosphoinositide-3 kinase (PI3K) inhibitor GDC-0941
err2009-05-20
err0
PREAI
errD. Sarker; R. Kristeleit; K. E. Mazina; J. A. Ware; Y. Yan; M. Dresser; M. K. Derynck; J. De-Bono
err分享
err收藏
Homeobox Gene Involvement in Normal Hematopoiesis and in the Pathogenesis of Childhood Leukemias
err2017-01-01
err0
PREAI
errMaria Adamaki; Maria Goulielmaki; Ioannis Christodoulou; Spiros Vlahopoulos; Vassilis Zoumpourlis
err分享
err收藏
Enhancement of pyramid solar distiller performance using reflectors, cooling cycle, and dangled cords of wicks
err2021-06-01
err0
PREAI
errF.A. Essa; Wissam H. Alawee; Suha A. Mohammed; A.S. Abdullah; Z.M. Omara
err分享
err收藏
学者 查看更多内容