Pith. sign in

REVIEW 2 cited by

Using Large Language Models for Commit Message Generation: A Preliminary Study

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2401.05926 v2 pith:4NMYNQJW submitted 2024-01-11 cs.SE

classification cs.SE
keywords commitllmsmessagesgenerationhowevermessagemethodsmodels
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

A commit message is a textual description of the code changes in a commit, which is a key part of the Git version control system (VCS). It captures the essence of software updating. Therefore, it can help developers understand code evolution and facilitate efficient collaboration between developers. However, it is time-consuming and labor-intensive to write good and valuable commit messages. Some researchers have conducted extensive studies on the automatic generation of commit messages and proposed several methods for this purpose, such as generationbased and retrieval-based models. However, seldom studies explored whether large language models (LLMs) can be used to generate commit messages automatically and effectively. To this end, this paper designed and conducted a series of experiments to comprehensively evaluate the performance of popular open-source and closed-source LLMs, i.e., Llama 2 and ChatGPT, in commit message generation. The results indicate that considering the BLEU and Rouge-L metrics, LLMs surpass the existing methods in certain indicators but lag behind in others. After human evaluations, however, LLMs show a distinct advantage over all these existing methods. Especially, in 78% of the 366 samples, the commit messages generated by LLMs were evaluated by humans as the best. This work not only reveals the promising potential of using LLMs to generate commit messages, but also explores the limitations of commonly used metrics in evaluating the quality of auto-generated commit messages.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Evaluating Generated Commit Messages with Large Language Models

    cs.SE 2025-07 conditional novelty 6.0 of 10

    An LLM evaluator using Chain-of-Thought and few-shot prompting correlates with human quality ratings at 0.65 to 0.78, beating BLEU, ROUGE, METEOR and semantic similarity metrics.

  2. Automated Generation of Commit Messages in Software Repositories

    cs.SE 2025-04 conditional novelty 3.0 of 10

    A comparison of lightweight ML models for commit message generation finds a cosine-similarity TF-IDF retrieval model reaches BLEU 16.82, below RACE's 25.66, while ChatGPT was preferred in manual evaluation.

Pith tools