RAG-Enhanced Commit Message Generation
Linghao Zhang, Hongyi Zhang, Chong Wang, Peng Liang

TL;DR
This paper introduces REACT, a retrieval-augmented framework that combines advanced retrieval techniques with language models to significantly improve automatic commit message generation.
Contribution
It proposes a novel hybrid retrieval method integrated with PLMs and LLMs, enhancing their performance on commit message generation tasks.
Findings
REACT improves BLEU scores of models by up to 102%.
The framework surpasses all baseline methods in experiments.
Retrieval augmentation effectively enhances code-related language tasks.
Abstract
Commit message is one of the most important textual information in software development and maintenance. However, it is time-consuming to write commit messages manually. Commit Message Generation (CMG) has become a research hotspot. Recently, several pre-trained language models (PLMs) and large language models (LLMs) with code capabilities have been introduced, demonstrating impressive performance on code-related tasks. Meanwhile, prior studies have explored the utilization of retrieval techniques for CMG, but it is still unclear what effects would emerge from combining advanced retrieval techniques with various generation models. This paper proposed REACT, a REtrieval-Augmented framework for CommiT message generation. It integrates advanced retrieval techniques with different PLMs and LLMs, to enhance the performance of these models on the CMG task. Specifically, a hybrid retriever is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWireless Communication Networks Research · Wireless Body Area Networks
