SANER 2024
Tue 12 - Fri 15 March 2024 Rovaniemi , Finland

A commit message is a textual description of the code changes in a commit, which is a key part of the Git version control system (VCS). It captures the essence of software updating. Therefore, it can help developers understand code evolution and facilitate efficient collaboration between developers. However, it is time-consuming and labor-intensive to write good and valuable commit messages. Some researchers have conducted extensive studies on the automatic generation of commit messages and proposed several methods for this purpose, such as generationbased and retrieval-based models. However, seldom studies explored whether large language models (LLMs) can be used to generate commit messages automatically and effectively. To this end, this paper designed and conducted a series of experiments to comprehensively evaluate the performance of popular open-source and closed-source LLMs, i.e., Llama 2 and ChatGPT, in commit message generation. The results indicate that considering the BLEU and Rouge-L metrics, LLMs surpass the existing methods in certain indicators but lag behind in others. After human evaluations, however, LLMs show a distinct advantage over all these existing methods. Especially, in 78% of the 366 samples, the commit messages generated by LLMs were evaluated by humans as the best. This work not only reveals the promising potential of using LLMs to generate commit messages, but also explores the limitations of commonly used metrics in evaluating the quality of auto-generated commit messages.

Wed 13 Mar

Displayed time zone: Athens change

11:00 - 12:30
Natural Language Processing for Software Maintenance and EvolutionResearch Papers / Short Papers and Posters Track / Early Research Achievement (ERA) Track at LAPPI
Chair(s): Fang Liu Beihang University
11:00
15m
Talk
Challenges of Using Pre-trained Models: The Practitioners' Perspective
Research Papers
Xin Tan Beihang University, Taichuan Li Beihang University, Ruohe Chen Beihang University, Fang Liu Beihang University, Li Zhang Beihang University
11:15
15m
Talk
“A Large Language Model Approach to Code and Privacy Policy Alignment”
Research Papers
Pragyan K C University of Texas at San Antonio, Gabriel Morales University of Texas at San Antonio, Sadia Jahan University of Texas at San Antonio, Mitra Bokaei Hosseini University of Texas at San Antonio, Rocky Slavin University of Texas at San Antonio
11:30
15m
Talk
GLOSS: Guiding Large Language Models to Answer Questions from System Logs
Research Papers
Shaohan Huang Beihang University, Yi Liu Nanyang Technological University, Jiaxing Qi Beihang University, Jing Shang China Mobile Information Technology Center, Zhiwen Xiao China Mobile Information Technology Center, Carol Fung Concordia University, Zhihui Wu China Mobile Information Technology Center, Hailong Yang Beihang University, China, Zhongzhi Luan Beihang University, Depei Qian Beihang University, China
11:45
15m
Talk
Guiding ChatGPT for Better Code Generation: An Empirical Study
Research Papers
Chao Liu Chongqing University, Xuanlin Bao Chongqing University, Hongyu Zhang Chongqing University, Neng Zhang School of Software Engineering, Sun Yat-sen University, Haibo Hu Chongqing University, Xiaohong Zhang Chongqing University, Meng Yan Chongqing University
12:00
15m
Research paper
Refining GPT-3 Embeddings with a Siamese Structure for Technical Post Duplicate Detection
Research Papers
Xingfang Wu Polytechnique Montréal, Heng Li Polytechnique Montréal, Nobukazu Yoshioka Waseda University, Japan, Hironori Washizaki Waseda University, Foutse Khomh Polytechnique Montréal
DOI Pre-print
12:15
7m
Talk
Using Large Language Models for Commit Message Generation: A Preliminary Study
Early Research Achievement (ERA) Track
Linghao Zhang Wuhan University, Jingshu Zhao Wuhan University, Chong Wang Wuhan University, Peng Liang Wuhan University, China
Link to publication Pre-print Media Attached
12:22
7m
Talk
OppropBERL: A GNN and BERT-style Reinforcement Learning-based Type Inference System
Short Papers and Posters Track
Piyush Jha University of Waterloo, Werner Dietl University of Waterloo