Research map / Large language models / Reasoning and chain of thought
ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learning
Juyong Jiang, Jiasi Shen, Sunghun Kim, Kang Min Yoo, Jeonghoon Kim, Sungju Kim
Hong Kong University of Science and Technology · Amazon · NAVER
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.
On benchmark leaderboards
- HumanEval leaderboard pass@1 95.73 · rank 13 of 261 papers
- MBPP leaderboard pass@1 82 · rank 37 of 165 papers
- LiveCodeBench leaderboard pass@1 54.12 · rank 15 of 44 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| RL-train Qwen3-8B into ReflexiCoder (single attempt) | Qwen3-8B · LiveCodeBench | pass@1: 37.75 -> 52.21 | Improved |
| RL-train Qwen3-8B into ReflexiCoder (single attempt) | Qwen3-8B · CodeForces | pass@1: 23.70 -> 37.34 | Improved |
| activate system prompt for iterative reflection at inference (Multiple vs Single) | ReflexiCoder-8B · BigCodeBench | pass@1: 35.00 -> 36.84 | Improved |
| add format gating (ablation) | ReflexiCoder-8B · LiveCodeBench | pass@1: 39.07 -> 52.21 | Improved |
| add format gating (ablation) | ReflexiCoder-8B · HumanEval | pass@1: 84.75 -> 94.51 | Improved |
| add efficiency reward (ablation) | ReflexiCoder-8B · LiveCodeBench | pass@1: 42.41 -> 52.21 | Improved |
| add progressive improvement term (ablation) | ReflexiCoder-8B · LiveCodeBench | pass@1: 39.19 -> 52.21 | Improved |
| add cycle regulation (ablation) | ReflexiCoder-8B · LiveCodeBench | pass@1: 52.09 -> 52.21 | No clear effect |
| add cycle regulation (ablation) | ReflexiCoder-8B · HumanEval | pass@1: 92.68 -> 94.51 | Improved |
| use ReflexiCoder (Multiple) instead of Single | ReflexiCoder-8B · HumanEval | average full response tokens: 3,455.13 -> 2,214.51 | Improved |
| RL-train ReflexiCoder instead of Qwen3-8B | Qwen3-8B · HumanEval | average full response tokens: 4,170.03 -> 3,455.13 | Improved |
| train with structured reflection reward instead of vanilla outcome RL (ablation) | Qwen3-8B · reasoning-intensive benchmarks (3, average) | pass@1: +5.22 | Improved |
Open problems in test-time compute scaling
When does spending more compute at inference pay off, and how should it be spent?
- The gain depends on a verifier that is itself unreliable. · 36 papers state it
- Tested on math and code with checkable answers. · 28 papers state it
- Search and voting act on final answers, not steps. · 10 papers state it
Closest papers by meaning
- RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning (ICML 2025 · similarity 0.90)
- CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Models (NeurIPS 2026 · similarity 0.90)
- SRPO: Self-Reflective Policy Optimization for Long-Horizon Reasoning (ICML 2026 · similarity 0.90)
- Incorporating Self-Rewriting into Large Language Model Reasoning Reinforcement (AAAI 2026 · similarity 0.90)
- T1: Advancing Language Model Reasoning through Reinforcement Learning and Inference Scaling (ICML 2025 · similarity 0.90)
- Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization (NeurIPS 2025 · similarity 0.89)
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.