QueST: Incentivizing LLMs to Generate Difficult Problems
Not on the map. Why?
Abstract (arXiv)
Large Language Models have achieved strong performance on reasoning tasks, solving competition-level coding and math problems. However, their scalability is limited by human-labeled datasets and the lack of large-scale, challenging coding problem training data. Existing competitive coding datasets contain only thousands to tens of thousands of problems. Previous synthetic data generation methods rely on either augmenting existing instruction datasets or selecting challenging problems from human-labeled data. In this paper, we propose QueST, a novel framework which combines difficulty-aware graph sampling and difficulty-aware rejection fine-tuning that directly optimizes specialized generators to create challenging coding problems. Our trained generators demonstrate superior capability compared to even GPT-4o at creating challenging problems that benefit downstream performance. We leverage QueST to generate large-scale synthetic coding problems, which we then use to distill from strong teacher models with long chain-of-thought or to conduct reinforcement learning for smaller models, proving effective in both scenarios. Our distillation experiments demonstrate significant performance gains. Specifically, after fine-tuning Qwen3-8B-base on 100K difficult problems generated by QueST, we surpass the performance of the original Qwen3-8B on LiveCodeBench. With an additional 112K examples (i.e., 28K human-written problems paired with multiple synthetic solutions), our 8B model matches the performance of the much larger DeepSeek-R1-671B. These findings indicate that generating complex problems via QueST offers an effective and scalable approach to advancing the frontiers of competitive coding and reasoning for large language models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 33 of its 38 references that are in the map. First posted on arXiv 20 Oct 2025.
Builds on
33 of 38 references.
References · 33
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2025s1: Simple test-time scalingcited by 1,341
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
21 more
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 735
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 625
- 2025LIMO: Less is More for Reasoningcited by 498
- 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 417
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 397
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 346
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 200
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 145
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
- 2025OpenCodeReasoning: Advancing Data Distillation for Competitive Codingcited by 113
- 2024Common 7B Language Models Already Possess Strong Math Capabilitiescited by 109
- 2024Synthetic Data (Almost) from Scratch: Generalized Instruction Tuning for Language Modelscited by 99
- 2024DART-Math: Difficulty-Aware Rejection Tuning for Mathematical Problem-Solvingcited by 95
- 2025NaturalReasoning: Reasoning in the Wild with 2.8M Challenging Questionscited by 84
- 2024Can Language Models Solve Olympiad Programming?cited by 72
- 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 55
- 2025Scaling Laws of Synthetic Data for Language Modelscited by 46
- 2025SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM Reasoningcited by 42
- 2024Preference Optimization for Reasoning with Pseudo Feedbackcited by 39
- 2025PromptCoT: Synthesizing Olympiad-level Problems for Mathematical Reasoning in Large Language Modelscited by 22
- 2024Fine-tuning Large Language Models with Sequential Instructionscited by 20
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Modelscited by 5
- 2026RefineRL: Advancing Competitive Programming with Self-Refinement Reinforcement Learningcited by 2
- 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generationcited by 1
- 2026CoDiQ: Test-Time Scaling for Controllable Difficult Question Generationcited by 0
- 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation1 Aug 2026
- 2026RefineRL: Advancing Competitive Programming with Self-Refinement Reinforcement Learning1 Apr 2026
- 2026CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Models4 Feb 2026
- 2026CoDiQ: Test-Time Scaling for Controllable Difficult Question Generation2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks
- 2026Scaling Data Difficulty: Improving Coding Models via Reinforcement Learning on Fresh and Challenging Problems
- 2026LLMs Encode Their Failures: Predicting Success from Pre-Generation Activations
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Coding
- 2026A Deep Dive into Scaling RL for Code Generation with Synthetic Data and Curricula
- 2025CodeContests+: High-Quality Test Case Generation for Competitive Programming
- 2026Post-Training Language Models for Gold-Medal Performance in Coding Competitions
- 2025How Difficulty-Aware Staged Reinforcement Learning Enhances LLMs' Reasoning Capabilities: A Preliminary Experimental Study