Research map / Large language models / Instruction and fine-tuning
When Models Edit Too Much: On the Fidelity of Minimal Code Edits
Tongyao Zhu, Wei Hern Lim, Min-Yen Kan
National University of Singapore
Read the paperPlace an idea next to itCheck your own paper ↗
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.
This paper tried a common change: Larger LoRA rank
increase LoRA rank from 1 to 64 · out-of-domain corruptions · excess Levenshtein distance: 0.166 -> 0.051 Improved
What 333 accepted papers report for this change
- 145 improved
- 95 no clear effect
- 24 mixed
- 69 hurt
- Understanding LoRA as Knowledge Memory: An Empirical Analysis ICML 2026 · increase LoRA rank · CounterFact · efficacyImproved
- SLQ: Bridging Modalities via Shared Latent Queries for Retrieval with Frozen MLLMs ICML 2026 · increase LoRA rank from 4 to 32 · COCO image-to-text · Recall@5: 84.5 -> 82.1Hurt
- Trojan-Speak: Bypassing Constitutional Classifiers with No Jailbreak Tax via Adversarial Finetuning ICML 2026 · Increase LoRA rank (8 to 128) · GPQA-Diamond during Stage 2 · accuracyImproved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add a preservation clause to the repair prompt | frontier LLMs · over-edit benchmark (BigCodeBench-based) | excess Levenshtein distance: 0.195 -> 0.131 | Improved |
| add a preservation clause to the repair prompt | frontier LLMs · over-edit benchmark (BigCodeBench-based) | added cognitive complexity: -26.6% | Improved |
| add a preservation clause to the repair prompt | frontier LLMs · over-edit benchmark (BigCodeBench-based) | Pass@1: +2.3 points | Improved |
| add a preservation clause to the repair prompt | open-weight models · over-edit benchmark | Pass@1 / excess Levenshtein distance: Pass@1 0.788 -> 0.828; excess 0.176 -> 0.121 | Improved |
| enable reasoning | matched frontier model families · over-edit benchmark | excess edits / added complexity | Mixed |
| increase model size from 14B to 32B | Qwen2.5-Coder-Instruct · over-edit benchmark, generic prompt | excess Levenshtein distance: 0.108 -> 0.127 | Hurt |
| use SFT instead of in-domain-only evaluation (generalize to out-of-domain corruptions) | SFT Qwen3-4B · in-domain vs out-of-domain Pass@1 | Pass@1: 0.932 -> 0.458 | Hurt |
| train with RL instead of SFT | Qwen3-4B-Instruct-2507 · LiveCodeBench v6 | accuracy (%): 17.7 -> 33.2 | Improved |
| train with RL instead of DPO | Qwen3-4B-Instruct-2507 · out-of-domain corruptions | excess Levenshtein distance: 0.092 -> 0.050 | Improved |
| use full reward (correctness plus edit minimality) instead of correctness only (ablation) | RL Qwen3-4B · out-of-domain corruptions | excess Levenshtein distance: 0.189 -> 0.050 | Improved |
| add cognitive complexity term to the reward (ablation) | RL Qwen3-4B · out-of-domain corruptions | excess Levenshtein distance: 0.050 -> 0.151 | Hurt |
| increase LoRA rank from 1 to 64 | RL Qwen3-4B · out-of-domain corruptions | excess Levenshtein distance: 0.166 -> 0.051 | Improved |
Open problems in fine-tuning for reasoning data
Do reasoning fine-tuning methods keep working on larger models, open-ended tasks and beyond plain SFT?
- Tested only on models of 14B parameters or fewer, not 70B-scale. · 22 papers state it
- Gains are shown on math and verifiable tasks, not open-ended ones. · 15 papers state it
- The method depends on what the base model already knows. · 7 papers state it
Closest papers by meaning
- QiMeng-PRepair: Precise Code Repair via Edit-Aware Reward Optimization (ACL 2026 · similarity 0.91)
- SWE-Edit: Rethinking Code Editing for Efficient SWE-Agent (EMNLP 2026 · similarity 0.89)
- Is Self-Repair a Silver Bullet for Code Generation? (ICLR 2024 · similarity 0.88)
- Uncovering Overfitting in Large Language Model Editing (ICLR 2025 · similarity 0.88)
- Code Repair with LLMs gives an Exploration-Exploitation Tradeoff (NeurIPS 2024 · similarity 0.87)
- AuPair: Golden Example Pairs for Code Repair (ICML 2025 · similarity 0.87)
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.