UM
Residential Collegefalse
Status已發表Published
KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation
Tao, Wei1; Zhou, Yucheng2; Wang, Yanlin3; Zhang, Hongyu4; Wang, Haofen5; Zhang, Wenqiang1
2024-06-04
Source PublicationACM Transactions on Software Engineering and Methodology
ISSN1049-331X
Volume33Issue:5Pages:133
Abstract

Commit messages are natural language descriptions of code changes, which are important for software evolution such as code understanding and maintenance. However, previous methods are trained on the entire dataset without considering the fact that a portion of commit messages adhere to good practice (i.e., good-practice commits), while the rest do not. On the basis of our empirical study, we discover that training on good-practice commits significantly contributes to the commit message generation. Motivated by this finding, we propose a novel knowledge-aware denoising learning method called KADEL. Considering that good-practice commits constitute only a small proportion of the dataset, we align the remaining training samples with these good-practice commits. To achieve this, we propose a model that learns the commit knowledge by training on good-practice commits. This knowledge model enables supplementing more information for training samples that do not conform to good practice. However, since the supplementary information may contain noise or prediction errors, we propose a dynamic denoising training method. This method composes a distribution-aware confidence function and a dynamic distribution list, which enhances the effectiveness of the training process. Experimental results on the whole MCMD dataset demonstrate that our method overall achieves state-of-the-art performance compared with previous methods.

KeywordCommit Message Generation Denoising Training Knowledge Introducing
DOI10.1145/3643675
URLView the original
Indexed BySCIE
Language英語English
WOS Research AreaComputer Science
WOS SubjectComputer Science, Software Engineering
WOS IDWOS:001253452000022
PublisherASSOC COMPUTING MACHINERY, 1601 Broadway, 10th Floor, NEW YORK, NY 10019-7434
Scopus ID2-s2.0-85189459114
Fulltext Access
Citation statistics
Document TypeJournal article
CollectionUniversity of Macau
Corresponding AuthorWang, Yanlin
Affiliation1.Fudan University, Shanghai, China
2.University of Macau, Macao
3.Sun Yat-Sen University, Zhuhai, China
4.Chongqing University, Chongqing, China
5.Tongji University, Shanghai, China
Recommended Citation
GB/T 7714
Tao, Wei,Zhou, Yucheng,Wang, Yanlin,et al. KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation[J]. ACM Transactions on Software Engineering and Methodology, 2024, 33(5), 133.
APA Tao, Wei., Zhou, Yucheng., Wang, Yanlin., Zhang, Hongyu., Wang, Haofen., & Zhang, Wenqiang (2024). KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation. ACM Transactions on Software Engineering and Methodology, 33(5), 133.
MLA Tao, Wei,et al."KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation".ACM Transactions on Software Engineering and Methodology 33.5(2024):133.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Tao, Wei]'s Articles
[Zhou, Yucheng]'s Articles
[Wang, Yanlin]'s Articles
Baidu academic
Similar articles in Baidu academic
[Tao, Wei]'s Articles
[Zhou, Yucheng]'s Articles
[Wang, Yanlin]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Tao, Wei]'s Articles
[Zhou, Yucheng]'s Articles
[Wang, Yanlin]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.