arrow
返回

CoreGen: Contextualized Code Representation Learning for Commit Message Generation

delete2021-10-01
delete25
delete
OA
AI
L
Lun Yiu Nie
C
Cuiyun Gao *
Z
Zhicong Zhong
Wai Lam 封面图
Wai Lam (Wai Lam)
刘洋 封面图
刘洋 (Yang Liu)
Z
Zenglin Xu
DOI:10.1016/j.neucom.2021.05.039delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Automatic generation of high-quality commit messages for code commits can substantially facilitate software developers' works and coordination. However, the semantic gap between source code and natural language poses a major challenge for the task. Several studies have been proposed to alleviate the challenge but none explicitly involves code contextual information during commit message generation. Specifically, existing research adopts static embedding for code tokens, which maps a token to the same vector regardless of its context. In this paper, we propose a novel Contextualized code representation learning strategy for commit message Generation (CoreGen). CoreGen first learns contextualized code representations which exploit the contextual information behind code commit sequences. The learned representations of code commits built upon Transformer are then fine-tuned for downstream commit message generation. Experiments on the benchmark dataset demonstrate the superior effectiveness of our model over the baseline models with at least 28.18% improvement in terms of BLEU-4 score. Furthermore, we also highlight the future opportunities in training contextualized code representations on larger code corpus as a solution to low-resource tasks and adapting the contextualized code representation framework to other code-to-text generation tasks. (c) 2021 Elsevier B.V. All rights reserved.
Keyword:
Commit message generation
Code representation learning
Code-to-text generation
Self-supervised learning
Contextualized code representation
AI总结

AI总结

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

COMET: Generating commit messages using delta graph context representation
err2025-04-01
err0
errOAAI
errMandli, Abhinav Reddy; Rajput, Saurabhsingh; Sharma, Tushar
err分享
err收藏
Learning to represent code changes学习代码变更的表示方法
err2025-12-17
err0
PREAI
errXunzhu Tang; Haoye Tian; Weiguo Pian; Saad Ezzini; Abdoul Kader Kaboré; Andrew Habib; Kisub Kim; Jacques Klein; Tegawendé F. Bissyandé
err分享
err收藏
Is It Hard to Generate Holistic Commit Message?
err2025-01-18
err0
PREAI
errWang, Guoqing; Sun, Zeyu; Dong, Jinhao; Zhang, Yuxia; Zhu, Mingxuan; Liang, Qingyuan; Hao, Dan
err分享
err收藏
On Representation Learning-based Methods for Effective, Efficient, and Scalable Code Retrieval
err2024-10-01
err1
PREAI
errFranca, Celso; Lima, Rennan C.; Andrade, Claudio; Cunha, Washington; Melo, Pedro O. S. Vaz de; Ribeiro-Neto, Berthier; Rocha, Leonardo; Santos, Rodrygo L. T.; Pagano, Adriana Silvina; Goncalves, Marcos Andre
err分享
err收藏

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.6W
被引数:
8.4W

机构

南
南洋理工大学
学者数:
4.5K
论文数: 2.1K
被引数: 5.3W
中山大学 封面图
中山大学
学者数:
9
论文数: 6
被引数: 5.9W
哈尔滨工业大学 封面图
哈尔滨工业大学
学者数:
1.1W
论文数: 3.1K
被引数: 5.7W
香
香港中文大學
学者数:
110
论文数: 48
被引数: 2.6W
学者 查看更多机构
引用论文

引用论文

Meta-analysis of bariatric surgery versus non-surgical treatment for type 2 diabetes mellitus
err2016-09-10
err0
errOAAI
errGuo-zhong Wu; Bing Cai; Feng Yu; Zheng Fang; Xing-li Fu; Hai-sen Zhou; Wen Zhang; Zhi-qiang Tian
err分享
err收藏
Enzymatic analysis of total- and HDL-cholesterol: Comparison with the standardized Liebermann-Burchard method used by the lipid research clinics program
err1988-06-01
err0
errOAAI
errPaul S. Bachorik; Donna G. Virgil; Carol Derby; David Widman; Robert McMahon; Robinson P. Fulwood; Trena Ezzati
err分享
err收藏
YAC transgene-mediated olfactory receptor gene choiceYAC转基因介导的嗅觉受体基因选择
err2000-02-01
err0
errOAAI
errFarah A.W. Ebrahimi; James Edmondson; Rodney Rothstein; Andrew Chess
err分享
err收藏
Nonanalytic supercurrents inHe3−A
err1983-04-01
err0
PREAI
errPaul Muzikar; Dierk Rainer
err分享
err收藏
On using machine learning to automatically classify software applications into domain categories
err2012-10-10
err62
errOAAI
errLinares-Vasquez, Mario; McMillan, Collin; Poshyvanyk, Denys; Grechanik, Mark
err分享
err收藏
Bayesian Optimal Sensor Placement for Modal Identification of Civil Infrastructures
err2017-03-06
err0
PREAI
errCostas Argyris; Costas Papadimitriou; Panagiotis Panetsos
err分享
err收藏
学者 查看更多内容