RACE: Retrieval-Augmented Commit Message Generation
원문 초록
Commit messages are important for software development and maintenance. Many neural network-based approaches have been proposed and shown promising results on automatic commit message generation. However, the generated commit messages could be repetitive or redundant. In this paper, we propose RACE, a new retrieval-augmented neural commit message generation method, which treats the retrieved similar commit as an exemplar and leverages it to generate an accurate commit message. As the retrieved commit message may not always accurately describe the content/intent of the current code diff, we also propose an exemplar guider, which learns the semantic similarity between the retrieved and current code diff and then guides the generation of commit message based on the similarity. We conduct extensive experiments on a large public dataset with five programming languages. Experimental results show that RACE can outperform all baselines. Furthermore, RACE can boost the performance of existing Seq2Seq models in commit message generation.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Enhancing Automatic Term Extraction with Large Language Models via Syntactic Retrieval
InsertRank: LLMs can reason over BM25 scores to Improve Listwise Reranking
ImpliRet: Benchmarking the Implicit Fact Retrieval Challenge
SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression
LineRetriever: Planning-Aware Observation Reduction for Web Agents
Semantic similarity estimation for domain specific data using BERT and other techniques
토론
이 논문과 연결된 포럼 글이 아직 없습니다.