scimeatlas

Research map / Large language models / Language, safety and interpretability

Leveraging Context-Aware Prompting for Commit Message Generation

Zhihua Jiang, Jianwei Chen, Dongning Rao, Guanghui Ye

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach5 citations (OpenAlex)

Jinan University · Guangdong University of Technology · Hunan University

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

9measured effects
6improved
1no clear effect
2hurt

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 COMMIT instead of CodeT5+CodeT5+ · CODEC testBLEU-4: 12.92 -> 13.13Improved
Use code property graph (CPG) instead of CFG (ablation)COMMIT · CODEC testBLEU-4: 12.40 -> 13.13Improved
Use CPG instead of PDG (ablation)COMMIT · CODEC testROUGE-L: 23.03 -> 24.05Improved
Increase dependency depth from 3 to 5 (ablation)COMMIT · CODEC testBLEU-4: 13.13 -> 12.57Hurt
Increase dependency depth from 1 to 3 (ablation)COMMIT · CODEC testBLEU-4: 12.37 -> 13.13Improved
Vary prompt template T1 to T2-T4 (ablation)COMMIT · CODEC testBLEU-4: 13.13 -> 12.80/12.83/12.91No clear effect
More changed lines per commitCOMMIT · CODEC test subsetsBLEU-4: 13.73 -> 11.99Hurt
Use context-enhanced input instead of Diff input (ablation)CodeT5+ (no fine-tuning) · CODEC testBLEU-4: 12.92 -> 13.11Improved
Use COMMIT instead of Code-LlaMa-7BCode-LlaMa-7B · CODEC testBLEU-4: 2.38 -> 13.13Improved

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 in controlled text generation

How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?

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