The DOI matches its Crossref record; 9 of the 9 references it cites were found in a registry or an index.
Neural-machine-translation-based commit message generation: how far are we?
Open accessAbstract
Commit messages can be regarded as the documentation of software changes. These messages describe the content and purposes of changes, hence are useful for program comprehension and software maintenance. However, due to the lack of time and direct motivation, commit messages sometimes are neglected by developers. To address this problem, Jiang et al. proposed an approach (we refer to it as NMT), which leverages a neural machine translation algorithm to automatically generate short commit messages from code. The reported performance of their approach is promising, however, they did not explore why their approach performs well. Thus, in this paper, we first perform an in-depth analysis of their experimental results. We find that (1) Most of the test diffs from which NMT can generate high-quality messages are similar to one or more training diffs at the token level. (2) About 16% of the commit messages in Jiang et al.’s dataset are noisy due to being automatically generated or due to them describing repetitive trivial changes. (3) The performance of NMT declines by a large amount after removing such noisy commit messages. In addition, NMT is complicated and time-consuming. Inspired by our first finding, we proposed a simpler and faster approach, named NNGen (Nearest Neighbor Generator), to generate concise commit messages using the nearest neighbor algorithm. Our experimental results show that NNGen is over 2,600 times faster than NMT, and outperforms NMT in terms of BLEU (an accuracy measure that is widely used to evaluate machine translation systems) by 21%. Finally, we also discuss some observations for the road ahead for automated commit message generation to inspire other researchers.
Overview
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545
BLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344
Individual Comparisons by Ranking Methods
Wilcoxon, F. (1945) · Biometrics Bulletin · doi:10.2307/3001968 · Cited by 15,354
Introduction to information retrieval
(2009) · Choice Reviews Online · doi:10.5860/choice.46-2715 · Cited by 12,278
Introduction to Information Retrieval
Manning, C. D., Raghavan, P., & Schütze, H. (2008) · doi:10.1017/cbo9780511809071 · Cited by 11,288
Weighted kappa: nominal scale agreement provision for scaled disagreement or partial credit
Cohen, J. (1968) · Psychological Bulletin · doi:10.1037/h0026256 · Cited by 8,736
Violin Plots: A Box Plot-Density Trace Synergism
Hintze, J. L., & Nelson, R. D. (1998) · The American Statistician · doi:10.1080/00031305.1998.10480559 · Cited by 1,802
Towards automatically generating summary comments for Java methods
Sridhara, G., Hill, E., Muppaneni, D., Pollock, L., & Vijay-Shanker, K. (2010) · Proceedings of the IEEE/ACM international conference on Automated software engineering · doi:10.1145/1858996.1859006 · Cited by 514
Automatically documenting program changes
Buse, R. P. L., & Weimer, W. R. (2010) · Proceedings of the IEEE/ACM international conference on Automated software engineering · doi:10.1145/1858996.1859005 · Cited by 219
Research works printed but not linked: 48
- 10.1109/ICSM.2015.7332514 · DOI
- 10.1145/2786805.2786849 · DOI · Paper page
- Dzmitry Bahdanau , Kyunghyun Cho , and Yoshua Bengio . 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 ( 2014 ). Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 (2014). · arXiv
- 10.1145/1390630.1390664 · DOI
- 10.1109/SCAM.2014.14 · DOI · Paper page
- 10.1145/1085313.1085331 · DOI · Paper page
- 10.5555/2486788.2486844 · doi:10.5555/2486788.2486844
- 10.1145/3106237.3106256 · DOI
- 10.1016/j.infsof.2014.05.017 · DOI
- 10.5555/2818754.2818850 · doi:10.5555/2818754.2818850
- 10.1109/WCRE.2010.13 · DOI · Paper page
- 10.1145/1363686.1363876 · doi:10.1145/1363686.1363876
- 10.5555/998682.1006835 · doi:10.5555/998682.1006835
- 10.5555/2337223.2337322 · doi:10.5555/2337223.2337322
- 10.1145/3196321.3196334 · DOI · Paper page
- 10.1109/ESEM.2017.56 · DOI
- 10.18653/v1/P16-1195 · DOI · Paper page
- 10.5555/3155562.3155583 · doi:10.5555/3155562.3155583
- 10.1109/ICPC.2017.12 · DOI
- 10.1023/B:LIDA.0000048322.42751.ca · DOI
- 10.1109/ICPC.2013.6613851 · DOI
- 10.1145/2931037.2931051 · DOI · Paper page
- 10.1145/2858036.2858311 · DOI
- 10.1109/ICSME.2014.72 · DOI
- Boyang Li , Christopher Vendome , Mario Linares-Vásquez , Denys Poshyvanyk , and Nicholas A Kraft . 2016 . Automatically documenting unit test cases. In Software Testing , Verification and Validation (ICST), 2016 IEEE International Conference on. IEEE, 341–352 . Boyang Li, Christopher Vendome, Mario Linares-Vásquez, Denys Poshyvanyk, and Nicholas A Kraft. 2016. Automatically documenting unit test cases. In Software Testing, Verification and Validation (ICST), 2016 IEEE International Conference on. IEEE, 341–352.
- 10.5555/2819009.2819144 · doi:10.5555/2819009.2819144
- 10.1145/2931037.2931072 · DOI
- 10.3115/v1/P14-5010 · DOI · Paper page
- 10.1145/2597008.2597149 · DOI · Paper page
- 10.1109/TSE.2015.2465386 · DOI · Paper page
- Audris Mockus and Lawrence G Votta. 2000. Identifying Reasons for Software Changes using Historic Databases. In icsm. 120–130. Audris Mockus and Lawrence G Votta. 2000. Identifying Reasons for Software Changes using Historic Databases. In icsm. 120–130. · DOI · Paper page
- 10.1109/ICPC.2013.6613830 · DOI · Paper page
- 10.1145/2635868.2635870 · DOI
- 10.1109/TSE.2016.2591536 · DOI
- 10.1109/ICPC.2013.6613855 · DOI
- 10.1145/1166324.1166346 · DOI
- 10.1109/ASE.2015.36 · DOI · Paper page
- 10.1109/ICSE-NIER.2017.9 · DOI
- 10.5555/2486788.2486959 · doi:10.5555/2486788.2486959
- 10.1109/ICSM.2011.6080777 · DOI
- Jinfeng Shen , Xiaobing Sun , Bin Li , Hui Yang , and Jiajun Hu . 2016 . On Automatic Summarization of What and Why Information in Source Code Changes. In Computer Software and Applications Conference (COMPSAC) , 2016 IEEE 40th Annual , Vol. 1 . IEEE, 103–112. Jinfeng Shen, Xiaobing Sun, Bin Li, Hui Yang, and Jiajun Hu. 2016. On Automatic Summarization of What and Why Information in Source Code Changes. In Computer Software and Applications Conference (COMPSAC), 2016 IEEE 40th Annual, Vol. 1. IEEE, 103–112.
- 10.1145/1985793.1985808 · DOI · Paper page
- 10.1109/ICPC.2011.28 · DOI
- Xiaoran Wang , Lori Pollock , and K Vijay-Shanker . 2017 . Automatically generating natural language descriptions for object-related statement sequences. In Software Analysis , Evolution and Reengineering (SANER), 2017 IEEE 24th International Conference on. IEEE, 205–216 . Xiaoran Wang, Lori Pollock, and K Vijay-Shanker. 2017. Automatically generating natural language descriptions for object-related statement sequences. In Software Analysis, Evolution and Reengineering (SANER), 2017 IEEE 24th International Conference on. IEEE, 205–216.
- Edmund Wong , Taiyue Liu , and Lin Tan . 2015 . Clocom: Mining existing source code for automatic comment generation. In Software Analysis , Evolution and Reengineering (SANER), 2015 IEEE 22nd International Conference on. IEEE, 380– 389 . Edmund Wong, Taiyue Liu, and Lin Tan. 2015. Clocom: Mining existing source code for automatic comment generation. In Software Analysis, Evolution and Reengineering (SANER), 2015 IEEE 22nd International Conference on. IEEE, 380– 389.
- 10.1109/ASE.2013.6693113 · DOI · Paper page
- 10.1007/s10664-017-9514-4 · DOI · Paper page
- 10.1016/j.jss.2015.12.019 · doi:10.1016/j.jss.2015.12.019
Cited by
Machine Learning Testing: Survey, Landscapes and Horizons
Zhang, J. M., Harman, M., Ma, L., & Liu, Y. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2962027 · Cited by 897
Retrieval-based neural source code summarization
Zhang, J., Wang, X., Zhang, H., Sun, H., & Liu, X. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380383 · Cited by 275
Self-citationATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Ranking
Liu, S., Gao, C., Chen, S., Nie, L. Y., & Liu, Y. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3038681 · Cited by 93
CCT5: A Code-Change-Oriented Pre-trained Model
Lin, B., Wang, S., Liu, Z., Liu, Y., Xia, X., & Mao, X. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616339 · Cited by 69
Self-citationRetrieve and refine: exemplar-based neural comment generation
Wei, B., Li, Y., Li, G., Xia, X., & Jin, Z. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416578 · Cited by 69
Self-citation
Metadata
- Authors
- Liu, Z., Xia, X., Hassan, A. E., Lo, D., Xing, Z., & Wang, X.
- Venue
- Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering
- Publisher
- ACM
- Published
- 2018-09-03
- Pages
- 373-384
- OpenAlex
- W2888312537
- Cited by
- 247
- References
- 9
- FWCI
- 16.74
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Neural-machine-translation-based commit message generation: how far are we? https://app.cochat.ai/papers/10.1145/3238147.3238190
- The paper
- Liu, Z., Xia, X., Hassan, A. E., Lo, D., Xing, Z., & Wang, X. (2018). Neural-machine-translation-based commit message generation: how far are we? Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering. https://doi.org/10.1145/3238147.3238190
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.