Skip to main content
QUICK REVIEW

[Paper Review] CoDiQ: Test-Time Scaling for Controllable Difficult Question Generation

Zhongyuan Peng, Caijun Xu|arXiv (Cornell University)|Feb 2, 2026
Topic ModelingComputer Science0 citations
TL;DR

CoDiQ introduces test-time scaling with six difficulty-enhancement strategies, a verification pipeline, and RL-tuned generators to synthesize high-difficulty, solvable questions at scale, yielding a 44K-question corpus that improves LRM reasoning after training.

ABSTRACT

Large Reasoning Models (LRMs) benefit substantially from training on challenging competition-level questions. However, existing automated question synthesis methods lack precise difficulty control, incur high computational costs, and struggle to generate competition-level questions at scale. In this paper, we propose CoDiQ (Controllable Difficult Question Generation), a novel framework enabling fine-grained difficulty control via test-time scaling while ensuring question solvability. Specifically, first, we identify a test-time scaling tendency (extended reasoning token budget boosts difficulty but reduces solvability) and the intrinsic properties defining the upper bound of a model's ability to generate valid, high-difficulty questions. Then, we develop CoDiQ-Generator from Qwen3-8B, which improves the upper bound of difficult question generation, making it particularly well-suited for challenging question construction. Building on the CoDiQ framework, we build CoDiQ-Corpus (44K competition-grade question sequences). Human evaluations show these questions are significantly more challenging than LiveCodeBench/AIME with over 82% solvability. Training LRMs on CoDiQ-Corpus substantially improves reasoning performance, verifying that scaling controlled-difficulty training questions enhances reasoning capabilities. We open-source CoDiQ-Corpus, CoDiQ-Generator, and implementations to support related research.

Motivation & Objective

  • Motivate scalable synthesis of competition-grade, solvable questions to push reasoning in LRMs.
  • Develop a controllable difficulty framework that scales at test time while ensuring validity.
  • Create verification and ranking mechanisms to balance difficulty with solvability.
  • Build CoDiQ-Corpus (44K questions) and a dedicated generator to improve downstream reasoning.
  • Enable open-source access to CoDiQ resources to support further research.

Proposed method

  • Introduce six Difficulty-Enhancement Strategies to guide LLMs in injecting hard elements into questions.
  • Propose the CoDiQ Pipeline with iterative refinement and two verification modules (difficulty estimation and solvability verification).
  • Establish a relative difficulty paradigm using LLM-based ranking (LLMs-Ranking) and a ValueNetwork scoring method (DS-VN) to produce continuous difficulty scores.
  • Develop CoDiQ-Bench for standardized evaluation of question-generation capability across models.
  • Construct CoDiQ-Generator via reinforcement learning to optimize difficulty progression and validity signals.
  • Assemble CoDiQ-Corpus of 44K competition-grade math and coding questions and validate improvements in reasoning when trained on it.
Figure 1 : Distribution of CoDiQ-Corpus Dataset
Figure 1 : Distribution of CoDiQ-Corpus Dataset

Experimental results

Research questions

  • RQ1How can test-time scaling be used to controllably increase question difficulty while preserving solvability?
  • RQ2What are effective strategies to inject difficulty into question generation without creating invalid or unsolvable problems?
  • RQ3Can a reinforcement-learned generator further push the upper bound of solvable, high-difficulty questions?
  • RQ4Does training LRMs on a corpus of controlled-difficulty questions improve downstream reasoning performance?
  • RQ5What are the trade-offs between difficulty, solvability, and computational cost in automated question synthesis?

Key findings

  • CoDiQ prompts increase reasoning token usage and difficulty of generated questions across models.
  • CoDiQ-Generator (8B) outperforms larger models like Qwen3-32B in generating high-difficulty, yet solvable questions due to RL alignment.
  • A token-budget analysis shows higher token consumption correlates with higher difficulty within feasible generations.
  • Removing solvability verification raises the observed difficulty ceiling, indicating the verifier bounds the frontier of solvable hard questions.
  • CoDiQ-Corpus achieves higher difficulty on average than AIME, NuminaMath-1.5, LiveCodeBench, and Code-Contests based on DS-LLM and DS-VN metrics.
  • Curriculum-learning experiments using CoDiQ-Corpus improve MATH-500 and AIME-2024 performance compared to baselines.
Figure 2 : Question Difficulty Scaling on CoDiQ-Bench. Scatter plot showing the relationship between average reasoning tokens and difficulty ranking (DR-AVG) for models using CoDiQ Prompt. Each point represents a model, demonstrating the positive correlation between increased reasoning computation a
Figure 2 : Question Difficulty Scaling on CoDiQ-Bench. Scatter plot showing the relationship between average reasoning tokens and difficulty ranking (DR-AVG) for models using CoDiQ Prompt. Each point represents a model, demonstrating the positive correlation between increased reasoning computation a

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.