Research map / Large language models / Retrieval and knowledge
RACE: Retrieval-augmented Commit Message Generation
Ensheng Shi, Yanlin Wang, Wei Tao, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, Hongbin Sun
Microsoft · Sun Yat-sen University · Fudan University · Xi’an Jiaotong University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add retrieval-augmented exemplar generation (RACE) over CodeT5-base | CodeT5-base · MCMD Java | BLEU: 22.76 -> 25.66 | Improved |
| RACE over CodeT5-base | CodeT5-base · MCMD C# | BLEU: 22.21 -> 26.33 | Improved |
| RACE over CodeT5-base | CodeT5-base · MCMD Python | CIDEr: 0.96 -> 1.40 | Improved |
| add exemplar guider (ablation) | RACE · MCMD Java | BLEU: 23.37 -> 25.66 | Improved |
| add exemplar guider (ablation) | RACE · MCMD C# | BLEU: 21.33 -> 26.33 | Improved |
| add exemplar guider (ablation) | RACE · MCMD JavaScript | BLEU: 23.39 -> 25.55 | Improved |
| vary number of retrieved commits k from 1 to 9 (ablation) | RACE · MCMD | performance | No clear effect |
| plug the retrieval-augmented framework into existing Seq2Seq models | NMTGen, CommitBERT, CodeT5-small, CodeT5-base · MCMD | BLEU: improvement from 7% to 73% | Improved |
| plug framework into NMTGen | NMTGen · MCMD | BLEU / Meteor / Rouge-L / Cider: +43% / +49% / +33% / +61% on average | Improved |
| RACE vs baselines in human evaluation | RACE · human evaluation (50 diffs) | Informativeness: 2.49 vs 1.22 (CommitBERT) | Improved |
Later papers that compared with this method
3 later accepted papers report RACE as a baseline in their results tables; 3 of them report a better number on most of the results they share with it.
- Hallucination Detection from Structural Reasoning Model (ICML 2026 · better on 4 of 4 shared results)
- Harnessing Reasoning Trajectories for Hallucination Detection via Answer-agreement Representation Shaping (ICML 2026 · better on 1 of 1 shared result)
- NEXUS: Network Exploration for eXploiting Unsafe Sequences in Multi-Turn LLM Jailbreaks (EMNLP 2025 · better on 6 of 6 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeT5-base — CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation (EMNLP 2021) · better on 15 of 15 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- PinNet: Pinpoint Instructive Information for Retrieval Augmented Code-to-Text Generation (ICML 2024 · similarity 0.82)
- Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems (ICLR 2025 · similarity 0.81)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.81)
- Retrieval is Accurate Generation (ICLR 2024 · similarity 0.81)
- CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming (NeurIPS 2025 · similarity 0.81)
- Commit0: Library Generation from Scratch (ICLR 2025 · similarity 0.81)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
