paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context Conquers Parameters: Outperforming Proprietary Llm in Commit Message Generation

上下文胜过参数量:在提交信息生成中超越专有 LLM
ICSE 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE)2025匹配度 2/10 · 该论文聚焦用开源LLM生成提交信息,属于AI辅助软件工程/开发者工具,与用户核心关注的静态分析、形式化验证、浮点程序分析和贝叶斯程序分析无直接交集;也未涉及ML系统或Agentic程序的静态分析。引用 1 inbox
Aaron Imani, Iftekhar Ahmed, Mohammad Moshirpour
crossref: 2026-09-12

AI 速览

一句话:提出 OMEGA,用 4-bit 量化的 8B 开源 LLM 结合上下文细化生成提交信息,在从业者偏好上超越 GPT-4。

提交信息以自然语言描述代码改动,对软件维护与演化至关重要。近期 LLM 被用于自动生成高质量提交信息,如基于 GPT-4 的 OMG,但专有模型带来隐私与可持续性隐患,阻碍工业落地。本文探究开源 LLM 能否生成与 OMG 相当的提交信息。实验显示开源 LLM 可达到可比质量;作者进一步通过一系列上下文细化提出 OMEGA,使用 4-bit 量化的 8B 开源模型。评估表明 OMEGA 生成的提交信息达到当前最佳水平,并在从业者偏好上超过 GPT-4。

问题
基于 GPT-4 等专有 LLM 的提交信息生成方法存在隐私与可持续性顾虑,可能阻碍其在工业界的采用,因此需要考察开源 LLM 能否生成质量相当的提交信息。
方法
作者通过一系列上下文细化(contextual refinements)构建 OMEGA,基于 4-bit 量化的 8B 开源 LLM 生成提交信息。
评估
通过实验比较开源 LLM 与 OMG(GPT-4)生成的提交信息质量,并以从业者偏好评估 OMEGA 的效果。
原文摘要(Abstract)

Commit messages provide descriptions of the modifications made in a commit using natural language, making them crucial for software maintenance and evolution. Recent developments in Large Language Models (LLMs) have led to their use in generating high-quality commit messages, such as the Omniscient Message Generator (OMG). This method employs GPT-4 to produce state-of-the-art commit messages. However, the use of proprietary LLMs like GPT-4 in coding tasks raises privacy and sustainability concerns, which may hinder their industrial adoption. Considering that open-source LLMs have achieved competitive performance in developer tasks such as compiler validation, this study investigates whether they can be used to generate commit messages that are comparable with OMG. Our experiments show that an open-source LLM can generate commit messages comparable to those produced by OMG. In addition, through a series of contextual refinements, we propose OMEGA, a commit message generation approach that uses a 4-bit quantized 8B open-source LLM. OMEGA produces state-of-the-art commit messages, surpassing the performance of GPT-4 in practitioners' preference.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8881,
  title = {Context Conquers Parameters: Outperforming Proprietary Llm in Commit Message Generation},
  author = {Aaron Imani and Iftekhar Ahmed and Mohammad Moshirpour},
  booktitle = {ICSE},
  year = {2025},
  doi = {10.1109/icse55347.2025.00048}
}