paper-with-me

Papers

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

2025-05-27 · Yifei Liu, Li Lyna Zhang, Yi Zhu, Bingcheng Dong, Xudong Zhou, Ning Shang, Fan Yang, Mao Yang

Advancing code reasoning in large language models (LLMs) is fundamentally limited by the scarcity of high-difficulty datasets, especially those with verifiable input-output test cases necessary for rigorous solution validation at scale. We introduce rStar-Coder, which significantly improves LLM code reasoning capabilities by constructing a large-scale, verified dataset of 418K competition-level code problems, 580K long-reasoning solutions along with rich test cases of varying difficulty. This is achieved through three core contributions: (1) we curate competitive programming code problems and oracle solutions to synthesize new, solvable problems; (2) we introduce a reliable input-output test case synthesis pipeline that decouples the generation into a three-step input generation method and a mutual verification mechanism for effective output labeling; (3) we augment problems with high-quality, test-case-verified long-reasoning solutions. Extensive experiments on Qwen models (1.5B-14B) across various code reasoning benchmarks demonstrate the superiority of rStar-Coder dataset, achieving leading performance comparable to frontier reasoning LLMs with much smaller model sizes. On LiveCodeBench, rStar-Coder improves Qwen2.5-7B from 17.4% to an impressive 57.3%, and Qwen2.5-14B from 23.3% to 62.5%, surpassing o3-mini (low) by3.1%. On the more challenging USA Computing Olympiad, our 7B model achieves an average pass@1 accuracy of 16.15%, outperforming the frontier-level QWQ-32B. Code and the dataset will be released at https://github.com/microsoft/rStar.

📄 PDF Abstract BibTeX arXiv:2505.21297

Code (1)

microsoft/rstar 공식 구현 pytorch

Similar Papers 제목 키워드 기반

MetaphorStar: Image Metaphor Understanding and Reasoning with End-to-End Visual Reinforcement Learning

2026-02-11 · Chenhao Zhang, Yazhe Niu, Hongsheng Li arxiv

Metaphorical comprehension in images remains a critical challenge for Nowadays AI systems. While Multimodal Large Language Models (MLLMs) excel at basic Visual Question Answering (VQA), they consistently struggle to gras…

Visual Question AnsweringReinforcement LearningVisual Reasoning

rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking

2025-01-08 · Xinyu Guan, Li Lyna Zhang, Yifei Liu, Ning Shang 외

We present rStar-Math to demonstrate that small language models (SLMs) can rival or even surpass the math reasoning capability of OpenAI o1, without distillation from superior models. rStar-Math achieves this by exercisi…

Math

Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solvers

2024-08-12 · Zhenting Qi, Mingyuan Ma, Jiahang Xu, Li Lyna Zhang 외

This paper introduces rStar, a self-play mutual reasoning approach that significantly improves reasoning capabilities of small language models (SLMs) without fine-tuning or superior models. rStar decouples reasoning into…

GSM8KMathStrategyQA

rStar2-Agent: Agentic Reasoning Technical Report

2025-08-28 · Ning Shang, Yifei Liu, Yi Zhu, Li Lyna Zhang 외 arxiv

We introduce rStar2-Agent, a 14B math reasoning model trained with agentic reinforcement learning to achieve frontier-level performance. Beyond current long CoT, the model demonstrates advanced cognitive behaviors, such …

Reinforcement Learning

"Hi AirStar, Guide Me to the Badminton Court."

2025-07-06 · Ziqin Wang, Jinyu Chen, Xiangyi Zheng, Qinan Liao 외 arxiv

Unmanned Aerial Vehicles, operating in environments with relatively few obstacles, offer high maneuverability and full three-dimensional mobility. This allows them to rapidly approach objects and perform a wide range of …

Question Answering