Research map / Large language models / Agents, code and math
Rethinking Code Refinement: Learning to Judge Code Efficiency
Minju Seo, Jinheon Baek, Sung Ju Hwang
Korea Advanced Institute of Science and Technology · DeepAuto
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 Chain-of-Thought prompting · Efficiency judgment, All (Python & C++) · accuracy: 46.55 -> 51.39 No clear effect
What 1,817 accepted papers report for this change
- 1,158 improved
- 184 no clear effect
- 87 mixed
- 388 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 a code LM to judge efficiency (vs zero-shot prompting) | DeepSeek-Coder-Instruct-1.3B · Efficiency judgment, All (Python) | accuracy: 50.87 -> 72.49 | Improved |
| trained 1.3B judge vs GPT-4o | judge model · Efficiency judgment, All (Python & C++) | accuracy: 57.75 -> 64.42 | Improved |
| add Chain-of-Thought prompting | LLM prompting · Efficiency judgment, All (Python & C++) | accuracy: 46.55 -> 51.39 | No clear effect |
| restrict to easy pairs (efficiency difference over 10%) | Ours · Efficiency judgment (Python) | accuracy: 72.49 -> 77.65 | Improved |
| train on Python and C++ instead of Python only (ablation) | Ours · Efficiency judgment, All (Python & C++) | accuracy: 61.52 -> 64.42 | Improved |
| train on Python only, test on C++ (ablation) | Ours · Efficiency judgment (C++) | accuracy: 58.26 vs 62.08 | Mixed |
| evaluate on Ruby, Perl, Rust after training on Python and C++ | Ours · Efficiency judgment, All (Ruby, Perl, Rust) | accuracy: 51.08 -> 58.32 | Improved |
| use larger 7B base model | Ours · Efficiency judgment, All (Python & C++) | accuracy: 64.42 -> 65.27 | No clear effect |
| flip order of code pair in input (ablation) | Ours · Efficiency judgment, All (Python) | accuracy: 72.49 -> 71.67 | No clear effect |
| judge efficiency of human-human vs machine-machine refinements | Ours · Breakdown by scenario (Python) | accuracy: 80.43 (H-H) vs 60.77 (M-M) | Mixed |
| use three classes instead of two with regression model (ablation) | Ours (regression) · Efficiency judgment (Python) | accuracy: 76.38 -> 65.40 | Hurt |
Closest papers by meaning
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.90)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.89)
- Code Repair with LLMs gives an Exploration-Exploitation Tradeoff (NeurIPS 2024 · similarity 0.89)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.89)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.88)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
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.
