scimeatlas

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

Learning to Update Natural Language Comments Based on Code Changes

Sheena Panthaplackel, Pengyu Nie, Milos Gligoric, Junyi Jessy Li, Raymond J. Mooney

ACL 2020Large language models › Language, safety and interpretabilityapproach: Controlled text generationopen problems in this approach96 citations (OpenAlex)

University of Texas at Austin

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

12measured effects
10improved
1no clear effect
1hurt

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
decode comment edit actions instead of the full updated comment (ablation)edit model with Cold, Medit input · Comment update ablationxMatch (%): 6.114 -> 8.922Improved
decode comment edit actions instead of the full updated comment (ablation)edit model with Cold, Medit input · Comment update ablationSARI: 28.980 -> 40.538Improved
encode explicit code edits (Medit) instead of Mnew (ablation)edit model with Cedit output · Comment update ablationSARI: 35.516 -> 40.538Improved
encode Medit instead of Mold and Mnew separately (ablation)edit model with Cedit output · Comment update ablationxMatch (%): 5.163 -> 8.922Improved
add extracted features (ablation)edit model · Comment update test set (736 pairs)xMatch (%): 8.922 -> 17.663Improved
add extracted features (ablation)reranked edit model · Comment update test set (736 pairs)SARI: 36.924 -> 45.486Improved
rerank candidates with similarity to Coldedit model · Comment update test set (736 pairs)SARI: 46.376 -> 45.486Hurt
rerank candidates with similarity to Coldedit model · Comment update test set (736 pairs)xMatch (%): 17.663 -> 18.433Improved
rerank candidates with METEOR similarity to Coldgeneration model · Comment update test set (736 pairs)xMatch (%): 1.132 -> 2.083Improved
use edit model instead of generation model trained on 103,473 pairsreranked models · Comment update test set (736 pairs)xMatch (%): 2.083 -> 18.433Improved
use edit model instead of rule-based baselinesreranked edit model · Comment update test set (736 pairs)BLEU-4: 51.160 (baseline) vs 50.717No clear effect
use reranked edit model instead of best baseline or reranked generationcomment suggestions · Human evaluation% selected: 30.2% vs 18.4% and 12.4%Improved

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