On the Relevance of Cross-project Learning with Nearest Neighbours for Commit Message Generation

Khashayar Etemadi, Martin Monperrus
10/5/2020
cs.SE

Official code: ASSERT-KTH/simple-nngen (1 star, Python, last commit 2020-10-06).

Abstract

Commit messages play an important role in software maintenance and evolution. Nonetheless, developers often do not produce high-quality messages.

Show full abstract

A number of commit message generation methods have been proposed in recent years to address this problem. Some of these methods are based on neural machine translation (NMT) techniques. Studies show that the nearest neighbor algorithm (NNGen) outperforms existing NMT-based methods, although NNGen is simpler and faster than NMT. In this paper, we show that NNGen does not take advantage of cross-project learning in the majority of the cases. We also show that there is an even simpler and faster variation of the existing NNGen method which outperforms it in terms of the BLEU_4 score without using cross-project learning.

View on arXivView PDF

Code Implementations(1)

repo for paper "On the Relevance of Cross-project Learning with Nearest Neighbours for Commit Message Generation"

13Python, PerlDec 11, 20196 years ago

Similar Papers

Cite this paper

@article{etemadi2020relevance,
  title  = {On the Relevance of Cross-project Learning with Nearest Neighbours for Commit Message Generation},
  author = {Khashayar Etemadi and Martin Monperrus},
  year   = {2020},
  eprint = {2010.01924},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01924}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.01924.svg)](https://codeofpaper.com/paper/2010.01924)

Discussion