scimeatlas

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

To Diff or Not to Diff? Structure-Aware and Adaptive Output Formats for Efficient LLM-based Code Editing

Wei Cheng, Yongchang Cao, Chen Shen, Binhua Li, Jue Chen, Yongbin Li, Wei Hu

ACL 2026Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach3 citations (OpenAlex)

Nanjing University · Alibaba Group

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

15measured effects
8improved
4no clear effect
3hurt

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
number-indexed unified diff instead of full-code generationQwen2.5-Coder-7B · average of 5 Python benchmarkspass@1: 57.07 -> 33.15Hurt
add line numbers to the source code for unified diff (ablation)Qwen2.5-Coder-7B (UniDiff) · average of 5 Python benchmarkspass@1: 33.15 -> 37.66Improved
use content-addressed anchors (MinContentDiff) instead of line numbersQwen2.5-Coder-7B · average of 5 Python benchmarkspass@1: 37.66 -> 45.68Improved
require at least three context lines in anchors (ContentDiff vs MinContentDiff) (ablation)Qwen2.5-Coder-7B · average of 5 Python benchmarkspass@1: 45.68 -> 54.43Improved
use block-level structure-aware FuncDiff instead of line-level ContentDiffQwen2.5-Coder-7B · average of 5 Python benchmarkspass@1: 54.43 -> 57.32Improved
use FuncDiff instead of FullCodeQwen2.5-Coder-14B · average of 5 Python benchmarkspass@1: 63.89 -> 64.89Improved
use BlockDiff instead of FullCodeDeepSeek-Coder-6.7B · average of 5 Python benchmarkspass@1: 52.21 -> 50.64Hurt
add AdaEdit adaptive format selectionBlockDiff, Qwen2.5-Coder-7B · average of 5 Python benchmarkspass@1: 55.98 -> 57.61Improved
add AdaEdit adaptive format selectionBlockDiff, Qwen2.5-Coder-14B · average of 5 Python benchmarkspass@1: 64.11 -> 63.92No clear effect
add AdaEdit adaptive format selectionContentDiff, Qwen2.5-Coder-14B · average of 5 Python benchmarkspass@1: 62.16 -> 62.15No clear effect
add AdaEdit to FuncDiffQwen2.5-Coder-7B · CanItEdit long-code subsetcost (output tokens): 546.77 -> 481.63Improved
add AdaEdit to FuncDiffQwen2.5-Coder-7B · CanItEdit long-code subsetpass@1: 40.75 -> 40.69No clear effect

Open problems in parallel and early-exit decoding

Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?

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