atlas

Research map / Large language models / Agents, code and math

rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset

NeurIPS 2025 · Large language models › Agents, code and math · approach: Execution-based code verification · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds a 418K-problem competitive programming dataset with 580K verified long-reasoning solutions, using GPT-4o-generated input generators and a mutual-verification labeling scheme, and fine-tunes Qwen2.5-Coder models (1.5B-14B) that rival much larger reasoning models.

Problem

Code reasoning LLMs lack large-scale, high-difficulty competitive programming problems with reliable, verifiable input-output test cases to validate solutions.

Approach

Synthesize new solvable problems from expert seeds plus their oracle solutions; generate diverse, constraint-valid test inputs via LLM-written generator/validator utilities swept over scale parameters; label outputs by majority agreement among 16 QWQ-32B solutions (mutual verification) rather than by LLM direct output prediction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Qwen2.5-7B on rStar-Coder instead of using the base modelQwen2.5-7B · LiveCodeBenchpass@1 accuracy: 17.4% to 57.3%Helped
Fine-tune Qwen2.5-14B on rStar-Coder instead of using the base modelQwen2.5-14B · LiveCodeBenchpass@1 accuracy: 23.3% to 62.5%Helped
Replace direct GPT-4o input-output generation with mutual verification (ablation)Test output labeling · 64 seed problems; 3,150 test inputslabeling accuracy: 12.7% -> 96.8%Helped
Use three-step input generation instead of direct GPT-4o prompting (ablation)Qwen2.5-Coder-7B-Instruct trained on 150K synthetic problems · LiveCodeBenchAverage: 42.9 -> 44.6Helped
Train on the full dataset rather than only synthetic problems (ablation)Qwen2.5-Coder-7B · LiveCodeBenchaccuracy: 46.8 -> 57.3Helped
Train on the full dataset rather than only seed problems (ablation)Qwen2.5-Coder-7B · LiveCodeBenchaccuracy: 49.7 -> 57.3Helped
Increase solutions per seed problem from 1 to 8 (ablation)7B model trained on seed problems · LiveCodeBenchaccuracy: 40.8 -> 51.1Helped
Increase solutions per seed problem from 8 to 16 (ablation)7B model trained on seed problems · LiveCodeBenchaccuracy: 51.1 -> 54.7Helped
Expand problem diversity using the rStar-Coder dataset rather than scaling solutions on seed problems alone (ablation)7B model · LiveCodeBenchaccuracy: 54.7 -> 57.3Helped
Expand problem diversity using the rStar-Coder dataset rather than scaling solutions on seed problems alone (ablation)7B model · USACO 2025average pass@1 accuracy: 10.41 -> 16.15Helped

Surprising findings

Limitations

Experimental setup

Datasets: TACO APPS CodeContests CodeContests-Python-Submission CodeForces (OpenR1) USACO 2011-2023 IOI 2002-2023

Benchmarks: LiveCodeBench v5 USACO 2025 HumanEval HumanEval+ MBPP MBPP+

Metrics: pass@1 (average of 16 samples) output labeling accuracy

Baselines: GPT-4o Claude 3.5 Sonnet DeepSeek-R1 QWQ-32B OpenAI o3-mini DeepSeek-R1-Distill-Qwen OpenThinker OlympicCoder OCR-Qwen OpenThinker2 Bespoke-Stratos

Builds on: Qwen2.5-Coder QWQ-32B CYaRon KodCode FlashAttention-2

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