Student or educator? Sign up with your school email and get 6 months of Pro free.
Cited by 247

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 access
Liu, Zhongxin, Xia, Xin, Hassan, Ahmed E., Lo, David, Xing, Zhenchang, Wang, Xinyu·2018·Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering

Abstract

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3238147.3238190

Cites

9 of 9 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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

Show all 9 references

Research works printed but not linked: 48

  1. 10.1109/ICSM.2015.7332514 · DOI
  2. 10.1145/2786805.2786849 · DOI · Paper page
  3. 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
  4. 10.1145/1390630.1390664 · DOI
  5. 10.1109/SCAM.2014.14 · DOI · Paper page
  6. 10.1145/1085313.1085331 · DOI · Paper page
  7. 10.5555/2486788.2486844 · doi:10.5555/2486788.2486844
  8. 10.1145/3106237.3106256 · DOI
  9. 10.1016/j.infsof.2014.05.017 · DOI
  10. 10.5555/2818754.2818850 · doi:10.5555/2818754.2818850
  11. 10.1109/WCRE.2010.13 · DOI · Paper page
  12. 10.1145/1363686.1363876 · doi:10.1145/1363686.1363876
  13. 10.5555/998682.1006835 · doi:10.5555/998682.1006835
  14. 10.5555/2337223.2337322 · doi:10.5555/2337223.2337322
  15. 10.1145/3196321.3196334 · DOI · Paper page
  16. 10.1109/ESEM.2017.56 · DOI
  17. 10.18653/v1/P16-1195 · DOI · Paper page
  18. 10.5555/3155562.3155583 · doi:10.5555/3155562.3155583
  19. 10.1109/ICPC.2017.12 · DOI
  20. 10.1023/B:LIDA.0000048322.42751.ca · DOI
  21. 10.1109/ICPC.2013.6613851 · DOI
  22. 10.1145/2931037.2931051 · DOI · Paper page
  23. 10.1145/2858036.2858311 · DOI
  24. 10.1109/ICSME.2014.72 · DOI
  25. 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.
  26. 10.5555/2819009.2819144 · doi:10.5555/2819009.2819144
  27. 10.1145/2931037.2931072 · DOI
  28. 10.3115/v1/P14-5010 · DOI · Paper page
  29. 10.1145/2597008.2597149 · DOI · Paper page
  30. 10.1109/TSE.2015.2465386 · DOI · Paper page
  31. 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
  32. 10.1109/ICPC.2013.6613830 · DOI · Paper page
  33. 10.1145/2635868.2635870 · DOI
  34. 10.1109/TSE.2016.2591536 · DOI
  35. 10.1109/ICPC.2013.6613855 · DOI
  36. 10.1145/1166324.1166346 · DOI
  37. 10.1109/ASE.2015.36 · DOI · Paper page
  38. 10.1109/ICSE-NIER.2017.9 · DOI
  39. 10.5555/2486788.2486959 · doi:10.5555/2486788.2486959
  40. 10.1109/ICSM.2011.6080777 · DOI
  41. 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.
  42. 10.1145/1985793.1985808 · DOI · Paper page
  43. 10.1109/ICPC.2011.28 · DOI
  44. 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.
  45. 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.
  46. 10.1109/ASE.2013.6693113 · DOI · Paper page
  47. 10.1007/s10664-017-9514-4 · DOI · Paper page
  48. 10.1016/j.jss.2015.12.019 · doi:10.1016/j.jss.2015.12.019

Cited by

See all 247

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.