paper-with-me

홈 › Papers

RefineRL: Advancing Competitive Programming with Self-Refinement Reinforcement Learning

2026-04-01 · Shaopeng Fu, Xingxing Zhang, Li Dong, Di Wang, Furu Wei arxiv

While large language models (LLMs) have demonstrated strong performance on complex reasoning tasks such as competitive programming (CP), existing methods predominantly focus on single-attempt settings, overlooking their capacity for iterative refinement. In this paper, we present RefineRL, a novel approach designed to unleash the self-refinement capabilities of LLMs for CP problem solving. RefineRL introduces two key innovations: (1) Skeptical-Agent, an iterative self-refinement agent equipped with local execution tools to validate generated solutions against public test cases of CP problems. This agent always maintains a skeptical attitude towards its own outputs and thereby enforces rigorous self-refinement even when validation suggests correctness. (2) A reinforcement learning (RL) solution to incentivize LLMs to self-refine with only standard RLVR data (i.e., problems paired with their verifiable answers). Extensive experiments on Qwen3-4B and Qwen3-4B-2507 demonstrate that our method yields substantial gains: after our RL training, these compact 4B models integrated with the Skeptical-Agent not only outperform much larger 32B models but also approach the single-attempt performance of 235B models. These findings suggest that self-refinement holds considerable promise for scaling LLM reasoning, with significant potential for further advancement.

📄 PDF Abstract BibTeX arXiv:2604.00790

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

AlgoSkill: Learning to Design Algorithms by Scheduling Human-Like Skills

2026-06-29 · Xinyuan Song, Zekun Cai, Liang Zhao arxiv

Designing an algorithm from a natural-language problem statement requires identifying the problem structure, reading constraints, choosing a suitable paradigm, checking correctness, and refining complexity. Existing larg…

Code Generation

Owlgorithm: Supporting Self-Regulated Learning in Competitive Programming through LLM-Driven Reflection

2025-11-13 · Juliana Nieto-Cardenas, Erin Joy Kramer, Peter Kurto, Ethan Dickey 외 arxiv

We present Owlgorithm, an educational platform that supports Self-Regulated Learning (SRL) in competitive programming (CP) through AI-generated reflective questions. Leveraging GPT-4o, Owlgorithm produces context-aware, …

Self-Execution Simulation Improves Coding Models

2026-03-11 · Gallil Maimon, Ori Yoran, Felix Kreuk, Michael Hassid 외 arxiv

A promising research direction in enabling LLMs to generate consistently correct code involves addressing their inability to properly estimate program execution, particularly for code they generate. In this work, we demo…

Reinforcement Learning

A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback

2026-05-18 · Anika Tabassum, Md Sifat Hossain, Md. Fahim Arefin, Tariqul Islam 외 arxiv

Large Language Models (LLMs) demonstrate strong potential for automated code generation, yet their ability to iteratively refine solutions using execution feedback remains underexplored. Competitive programming offers an…

Program SynthesisCode Generation

Self-Edit: Fault-Aware Code Editor for Code Generation

2023-05-06 · Kechi Zhang, Zhuo Li, Jia Li, Ge Li 외

Large language models (LLMs) have demonstrated an impressive ability to generate codes on competitive programming tasks. However, with limited sample numbers, LLMs still suffer from poor accuracy. Inspired by the process…

Code GenerationHumanEval