mlsanityData to 7 Oct 2026

CommitBench: A Benchmark for Commit Message Generation

arXiv 2403.05188 ↗First posted 8 Mar 2024cs.CL cs.SEcited by 8

Not on the map. Why?

Abstract (arXiv)

Writing commit messages is a tedious daily task for many software developers, and often remains neglected. Automating this task has the potential to save time while ensuring that messages are informative. A high-quality dataset and an objective benchmark are vital preconditions for solid research and evaluation towards this goal. We show that existing datasets exhibit various problems, such as the quality of the commit selection, small sample sizes, duplicates, privacy issues, and missing licenses for redistribution. This can lead to unusable models and skewed evaluations, where inferior models achieve higher evaluation scores due to biases in the data. We compile a new large-scale dataset, CommitBench, adopting best practices for dataset creation. We sample commits from diverse projects with licenses that permit redistribution and apply our filtering and dataset enhancements to improve the quality of generated commit messages. We use CommitBench to compare existing models and show that other approaches are outperformed by a Transformer model pretrained on source code. We hope to accelerate future research by publishing the source code( https://github.com/Maxscha/commitbench ).

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 28 of its 50 references that are in the map. First posted on arXiv 8 Mar 2024.

Builds on

28 of 50 references.

References · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
  4. 2018Datasheets for Datasetscited by 1,371
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  7. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  8. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  9. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
  10. 2016FastText.zip: Compressing text classification modelscited by 331
  11. 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
  12. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
16 more
  1. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  2. 2018Mapping Language to Code in Programmatic Contextcited by 104
  3. 2021CoTexT: Multi-task Learning with Code-Text Transformercited by 61
  4. 2017Automatically Generating Commit Messages from Diffs using Neural Machine Translationcited by 42
  5. 2020Code to Comment "Translation": Data, Metrics, Baselining & Evaluationcited by 28
  6. 2021CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 28
  7. 2019ATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Rankingcited by 25
  8. 2017A Neural Architecture for Generating Natural Language Descriptions from Source Code Changescited by 23
  9. 2021On the Evaluation of Commit Message Generation Models: An Experimental Studycited by 20
  10. 2022What Makes a Good Commit Message?cited by 19
  11. 2021CommitBERT: Commit Message Generation Using Pre-Trained Programming Language Modelcited by 16
  12. 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
  13. 2020CoreGen: Contextualized Code Representation Learning for Commit Message Generationcited by 15
  14. 2017Towards Automatic Generation of Short Summaries of Commitscited by 8
  15. 2020On the Relevance of Cross-project Learning with Nearest Neighbours for Commit Message Generationcited by 4
  16. 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 3.

8 papers.