paper-with-me

Papers

RACE: Retrieval-Augmented Commit Message Generation

2022-03-05 · Ensheng Shi, Yanlin Wang, Wei Tao, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, Hongbin Sun

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.

📄 PDF Abstract BibTeX arXiv:2203.02700

Code (2)

deepsoftwareanalytics/race 공식 구현 pytorch
jetbrains-research/commit_message_generation pytorch

Tasks

Information RetrievalRetrievalSemantic SimilaritySemantic Textual Similarity

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

On the Evaluation of Commit Message Generation Models: An Experimental Study

2021-07-12 · Wei Tao, Yanlin Wang, Ensheng Shi, Lun Du 외

Commit messages are natural language descriptions of code changes, which are important for program understanding and maintenance. However, writing commit messages manually is time-consuming and laborious, especially when…

Retrieval

From Commit Message Generation to History-Aware Commit Message Completion

2023-08-15 · Aleksandra Eliseeva, Yaroslav Sokolov, Egor Bogomolov, Yaroslav Golubev 외

Commit messages are crucial to software development, allowing developers to track changes and collaborate effectively. Despite their utility, most commit messages lack important information since writing high-quality com…

PAVE: Premise-Aware Validation and Editing for Retrieval-Augmented LLMs

2026-03-21 · Tianyi Huang, Caden Yang, Emily Yin, Eric Wang 외 arxiv

Retrieval-augmented language models can retrieve relevant evidence yet still commit to answers before explicitly checking whether the retrieved context supports the conclusion. We present PAVE (Premise-Grounded Answer Va…

Question Answering

Beyond Probabilistic Similarity: Structural, Temporal, and Causal Limitations of Retrieval-Augmented Generation in the Legal Domain

2026-06-08 · Hudson de Martim arxiv

Retrieval-Augmented Generation (RAG) has become a standard architectural response to unreliability in legal AI, yet high-profile failures, including fabricated citations submitted to courts and anachronistic legal conten…

LibRec: Benchmarking Retrieval-Augmented LLMs for Library Migration Recommendations

2025-08-13 · Junxiao Han, Yarong Wang, Xiaodong Gu, Cuiyun Gao 외 arxiv

In this paper, we propose LibRec, a novel framework that integrates the capabilities of LLMs with retrieval-augmented generation(RAG) techniques to automate the recommendation of alternative libraries. The framework furt…