How Should Diffusion Language Models Edit Code?
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:19 UTC · 0e563e0101f6 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "CpyQ4F7MaS"- }- ],- "title": "How Should Diffusion Language Models Edit Code?",- "authors": [],- "abstract": "Code editing requires a model to decide *where* to make changes, generate the new content, and preserve everything else.\nWe study how masked diffusion language models divide these responsibilities across four editing interfaces: whole-file rewriting, search-and-replace, locate-then-infill, and token-level editing.\nExperiments on CanItEdit reveal a *composition gap*: diffusion models can generate coordinated changes when the correct edit locations are supplied, but much of this capability is lost when those locations must be predicted.\nAccess to the intact original code helps the model fill multiple edit regions, yet does not resolve the difficulty of selecting those regions.\nBy varying the editable regions while holding the generation model and decoding procedure fixed, we identify two distinct requirements for successful editing: covering every required change and placing precise boundaries around it.\nMissing a required region prevents the corresponding change, while widening regions to ensure coverage can sharply reduce success by requiring unchanged code to be regenerated.\nA sentence-level Wiki editing probe shows the same qualitative gap between supplied and predicted locations beyond code.\nThese findings show why strong infilling capability alone does not ensure reliable editing: the interface must expose all required changes while limiting regeneration of unchanged code.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "f6221782-3d32-433f-8110-f078305b4f64"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "How Should Diffusion Language Models Edit Code?",+ "authors": [],+ "abstract": "Code editing requires a model to decide *where* to make changes, generate the new content, and preserve everything else.\nWe study how masked diffusion language models divide these responsibilities across four editing interfaces: whole-file rewriting, search-and-replace, locate-then-infill, and token-level editing.\nExperiments on CanItEdit reveal a *composition gap*: diffusion models can generate coordinated changes when the correct edit locations are supplied, but much of this capability is lost when those locations must be predicted.\nAccess to the intact original code helps the model fill multiple edit regions, yet does not resolve the difficulty of selecting those regions.\nBy varying the editable regions while holding the generation model and decoding procedure fixed, we identify two distinct requirements for successful editing: covering every required change and placing precise boundaries around it.\nMissing a required region prevents the corresponding change, while widening regions to ensure coverage can sharply reduce success by requiring unchanged code to be regenerated.\nA sentence-level Wiki editing probe shows the same qualitative gap between supplied and predicted locations beyond code.\nThese findings show why strong infilling capability alone does not ensure reliable editing: the interface must expose all required changes while limiting regeneration of unchanged code.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}