Residential College | false |
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 Publication | ACM Transactions on Software Engineering and Methodology |
ISSN | 1049-331X |
Volume | 33Issue: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. |
Keyword | Commit Message Generation Denoising Training Knowledge Introducing |
DOI | 10.1145/3643675 |
URL | View the original |
Indexed By | SCIE |
Language | 英語English |
WOS Research Area | Computer Science |
WOS Subject | Computer Science, Software Engineering |
WOS ID | WOS:001253452000022 |
Publisher | ASSOC COMPUTING MACHINERY, 1601 Broadway, 10th Floor, NEW YORK, NY 10019-7434 |
Scopus ID | 2-s2.0-85189459114 |
Fulltext Access | |
Citation statistics | |
Document Type | Journal article |
Collection | University of Macau |
Corresponding Author | Wang, Yanlin |
Affiliation | 1.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. |
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment