LLM-Enhanced Commit Message Generation via Issue Information: An Exploratory Study
Zongen Ren, Wei Shi, Bo Xiong, Chong Wang, Peng Liang
Key points
From the paper's conclusion- We propose an ISsue-Augmented framework for Commit message generation (ISAC) by combining code diffs with issue information as LLM input.
Abstract
Commit messages help developers understand code changes, support collaboration, and improve long-term maintenance. However, the use of issue information alone as the external context for LLM-based CMG has not been systematically studied. We propose an ISsue-Augmented framework for Commit message generation (ISAC) by combining code diffs with issue information as LLM input. To support the evaluation, we construct ApacheCM-Issue, a commit-issue aligned dataset built upon ApacheCM by linking commits with issues from GitHub and Apache Jira. Using samples from Scala, Java, and C++ projects, we evaluate four input configurations using two representative LLMs, GPT-5.5 and DeepSeek-V4-Flash in different reasoning configurations. The results show that incorporating issue information consistently improves LLM-based CMG across all evaluated model configurations and metrics, with the largest gains observed for CIDEr. Incorporating a similar historical commit further improves automatic metric scores, while replacing full issue information with a structured issue summary decreases them. ISAC also outperforms the four reproduced state-of-the-art (SOTA) CMG baselines across all five automatic metrics on the experimental dataset. The human evaluation further shows that structured issue summaries may improve perceived completeness, although replacing the original issue information can sacrifice contextual details and lead to worse results on automatic metrics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Similarity-Based Generation: Guiding Commit Message Generation with Issue-Commit TraceabilityarXiv · 2026
- ComBeautify: Leveraging Code Change Summaries for Conventional Commit GenerationarXiv · 2026
- CAMGen: A Core Change-Aware Multi-View Framework for Commit Message GenerationarXiv · 2026
- Silence of Commit Messages: An Empirical Study for Vulnerability Commit Message Generation using Large Language ModelsProceedings of the ACM on Software Engineering · 2026
- When CONTRIBUTING Files Fall Short: Revising OSS Contribution Guidelines with Repository EvidencearXiv · 2026
- Automatic Assistance to Reduce Information Overload during Software Issue Report UnderstandingarXiv · 2026