scimeatlas

Research map / Large language models / Reasoning and chain of thought

ReflectionCoder: Learning from Reflection Sequence for Enhanced One-off Code Generation

Houxing Ren, Mingjie Zhan, Zhongyuan Wu, Aojun Zhou, Junting Pan, Hongsheng Li

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Test-time compute scalingopen problems in this approach27 citations (OpenAlex)

CUHK MMLab · SenseTime · The Chinese University of Hong Kong · Shanghai AI Laboratory

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

14measured effects
11improved
1no clear effect
1hurt
1mixed

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.

On benchmark leaderboards

This paper tried a common change: Chain-of-thought prompting

apply ReflectionCoder with CoT as reflection sequence · MATH · pass@1: 9.6 -> 13.6 Improved

What 2,675 accepted papers report for this change

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 changedWhereMeasuredEffect
add reflection sequence data (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 65.9 -> 75.0Improved
add distillation on reflection data (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 69.5 -> 75.0Improved
add dynamic masking to distillation (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 70.7 -> 75.0Improved
keep reflection sequences in training data (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 66.5 -> 75.0Improved
add GPT-4 reflection data to self-generated data (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 71.3 -> 75.0Improved
add self-generated DeepSeek data to GPT-4 data (ablation)ReflectionCoder (Code Llama-7B) · MBPPpass@1: 69.6 -> 72.2Improved
use block mask instead of random mask (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 72.0 -> 75.0Improved
mix three mask strategies instead of block mask only (ablation)ReflectionCoder (Code Llama-7B) · HumanEval+pass@1: 68.9 -> 65.9Hurt
mask execution blocks first (EAC) rather than analysis first (CAE) (ablation)ReflectionCoder (Code Llama-7B) · HumanEvalpass@1: 71.3 -> 75.0Improved
add self-generated data from DeepSeek-Coder-33B stage (ablation)ReflectionCoder (DeepSeek-Coder-33B) · HumanEvalpass@1: 80.5 -> 82.9Improved
fine-tune on self-generated reflection sequences vs reflection at test timeLlama-3.1-8B-Instruct · HumanEvalpass@1: 70.1 -> 74.4Mixed
add distillation and test-time reflection togetherLlama-3.1-8B-Instruct (self-distilled) · MBPPpass@1: 73.0 -> 72.2No clear effect

Open problems in test-time compute scaling

When does spending more compute at inference pay off, and how should it be spent?

All 4 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