@inproceedings{7b647cc413f94e89ba71accf22d4de72,
title = "COME: Commit Message Generation with Modification Embedding",
abstract = "Commit messages concisely describe code changes in natural language and are important for program comprehension and maintenance. Previous studies proposed some approaches for automatic commit message generation, but their performance is limited due to inappropriate representation of code changes and improper combination of translation-based and retrieval-based approaches. To address these problems, this paper introduces a novel framework named COME, in which modification embeddings are used to represent code changes in a fine-grained way, a self-supervised generative task is designed to learn contextualized code change representation, and retrieval-based and translation-based methods are combined through a decision algorithm. The average improvement of COME over the state-of-the-art approaches is 9.2\% on automatic evaluation metrics and 8.0\% on human evaluation metrics. We also analyse the effectiveness of COME's three main components and each of them results in an improvement of 8.6\%, 8.7\% and 5.2\%.",
keywords = "Automatic Commit Message Generation, Contextualized Code Change Representation Learning, Self-supervised Learning",
author = "Yichen He and Liran Wang and Kaiyi Wang and Yupeng Zhang and Hang Zhang and Zhoujun Li",
note = "Publisher Copyright: {\textcopyright} 2023 ACM.; 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2023 ; Conference date: 17-07-2023 Through 21-07-2023",
year = "2023",
month = jul,
day = "12",
doi = "10.1145/3597926.3598096",
language = "英语",
series = "ISSTA 2023 - Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis",
publisher = "Association for Computing Machinery, Inc",
pages = "792--803",
editor = "Rene Just and Gordon Fraser",
booktitle = "ISSTA 2023 - Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis",
}