Research map / Large language models / Reasoning and chain of thought
CoT-Edit: Reinforcement Learning of Chain-of-Thought Reasoning for Code Edit Suggestion
Wuya Chen, Yihao Yang, Yue Lin
Netease Guangzhou AI Lab · South China University of Technology
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: Chain-of-thought prompting
add synthesized CoT reasoning traces to SFT · Edit-Test average EMR · EMR (%): 51.1 -> 47.2 (CoT inference), 51.1 -> 39.9 (non-CoT inference) Hurt
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
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 |
|---|---|---|---|
| train on in-house online-log data (SFT) instead of Zeta's dataset | Qwen2.5-Coder-7B-Base SFT · Edit-Test average EMR | EMR (%): 40.6 -> 51.1 | Improved |
| train on in-house online-log data (SFT) instead of Zeta's dataset | Qwen2.5-Coder-7B-Base SFT · Online A/B test | Acceptance rate: 7.1% -> 16.95% | Improved |
| add synthesized CoT reasoning traces to SFT | Qwen2.5-Coder-7B-Base SFT · Edit-Test average EMR | EMR (%): 51.1 -> 47.2 (CoT inference), 51.1 -> 39.9 (non-CoT inference) | Hurt |
| train CoT with RL (GRPO, edit-aware reward) instead of SFT | CoT-Edit-Merge.Base vs SFT-CoT · Edit-Test average EMR (CoT inference) | EMR (%): 47.2 -> 60.2 | Improved |
| merge RL-trained LoRA into code-base model rather than code-chat model (ablation) | CoT-Edit-Merge · Edit-Test average EMR (CoT inference) | EMR (%): 55.3 -> 60.2 | Improved |
| use edit-aware diff-based reward instead of overall code similarity reward (ablation) | CoT-Edit-Merge.Base · Edit-Test average EMR (CoT inference) | EMR (%): 34.1 -> 60.2 | Improved |
| use multi-step CoT prompt rather than non-CoT prompt in RL training (ablation) | RL training · training convergence | reward curve convergence | Improved |
| add LLM-as-a-Judge reward (ablation) | RL training reward · training convergence / performance | reward convergence | Hurt |
| switch from CoT to non-CoT inference | CoT-Edit-Merge.Base · Edit-Test average EMR | EMR (%): 60.2 -> 59.8 | No clear effect |
| switch from CoT to non-CoT inference | CoT-Edit-Merge.Base · inference latency | latency (s): 1.8s -> 0.45s | Improved |
| deploy CoT-Edit-Merge.Base online instead of SFT | online A/B test · Online A/B test | Acceptance rate: 16.95% -> 19.36% | Improved |
| add LLM-based judge reward for low-similarity cases (ablation) | correctness reward · Edit-Test | performance | No clear effect |
Open problems in chain-of-thought training and analysis
Do chain-of-thought findings hold beyond math, small open models and synthetic tasks?
- Tested mostly on math, with other reasoning domains untested. · 18 papers state it
- Larger models were not tested for lack of compute. · 17 papers state it
- Needs access to model internals, so closed-source models are out. · 11 papers state it
Closest papers by meaning
- EditLord: Learning Code Transformation Rules for Code Editing (ICML 2025 · similarity 0.87)
- Meta-CoT: Enhancing Granularity and Generalization in Image Editing (CVPR 2026 · similarity 0.87)
- From Guessing to Placeholding: A Cost-Theoretic Framework for Uncertainty-Aware Code Completion (ICML 2026 · similarity 0.87)
- Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding? (ICML 2025 · similarity 0.86)
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning (NeurIPS 2025 · similarity 0.86)
- Uncovering Overfitting in Large Language Model Editing (ICLR 2025 · similarity 0.86)
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.