scimeatlas

Research map / Large language models / Agents, code and math

HierDiff: Enhancing Large Language Models for Commit Message Generation with Hierarchical Diff Information

Jinrui Sun, Tong Jia, Minghua He, Ying Li

EMNLP 2026Large language models › Agents, code and mathapproach: Software engineering agentsopen problems in this approach0 citations (OpenAlex)

Peking University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
1no clear effect
3hurt
1mixed

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 changedWhereMeasuredEffect
use HierDiff-6.7B instead of GPT-4o (Code Diff)commit message generation · HierCMDCIDEr: 0.57 -> 0.74Improved
use HierDiff-6.7B instead of GPT-4o (Code Diff)commit message generation · MCMD-New-TestXBLEU: 11.85 -> 13.22Hurt
use HierDiff-6.7B instead of Gemini-2.5-Flash (Code Diff)commit message generation · MCMD-New-TestXBLEU: 14.04 -> 13.22Mixed
give hierarchical diff input instead of code diffGPT-4o and Gemini-2.5-Flash · HierCMD and MCMD-New-TestXBLEU/METEOR/ROUGE-L/CIDEr: GPT-4o HierCMD CIDEr 0.57 -> 0.62No clear effect
add Stage 1 architectural-diff training (ablation)HierDiff-6.7B · HierCMD and MCMD-New-TestXmetricsImproved
add Stage 2 code-diff training (ablation)HierDiff-6.7B · HierCMD and MCMD-New-TestXmetricsImproved
add Stage 3 joint alignment (ablation)HierDiff-6.7B · HierCMD and MCMD-New-TestXmetricsImproved
use Staged Diff Learning instead of direct fine-tuning on hierarchical diffs (ablation)HierDiff-6.7B · HierCMD and MCMD-New-TestXmetricsImproved
fine-tune directly on hierarchical diffs instead of code diffs only (ablation)HierDiff-6.7B · HierCMD and MCMD-New-TestXmetricsImproved
use HierDiff-6.7B with architectural diffs only instead of strongest baselinecommit message generation · HierCMDBLEU: 4.39 -> 7.14 (62.6% reported)Improved
use HierDiff-6.7B instead of GPT-4o and Gemini-2.5-Flashcommit message generation · MCMD-New-TestX human/LLM evaloverall what and whyHurt
use HierDiff-6.7B instead of GPT-4ocommit message generation · MCMD-New-TestX LLM evalconciseness (1-5): 2.77 -> 4.33Improved

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.

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.

Open problems this paper states

Open problems in software engineering agents

Do coding-agent results hold beyond Python, small benchmarks and LLM judges?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy