GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures

Qian Chen, Kun Zhu, Zhongyi Wang, Ling Chen

TL;DR

Generating genuinely difficult math problems with LLMs is tough because simply asking for a "hard calculus problem" usually yields messy, superficial mashups rather than deep puzzles. GaokaoMathGen solves this by extracting the hidden "skeleton" of a problem—its core mathematical identity and the exact "aha!" pivot step needed to solve it—and building new problems around that deep structure. The result is a system that reliably synthesizes valid, brutal, exam-finale-level math questions without needing an army of human experts.

What Problem Does This Paper Address?

Every year, millions of students in China face the Gaokao, a high-stakes college entrance exam. At the very end of the math test sit the "finale problems"—boss-level questions designed to separate top-tier thinkers from everyone else. Having a scalable way to generate these problems would be huge for student practice and training better reasoning models.

Right now, if you ask an LLM to generate a hard math problem by combining a few topics or equations, you get surface-level control. Two problems can share the exact same topics (say, derivatives and inequalities), yet one is a routine warm-up while the other is a mind-bending puzzle. Why? Because true difficulty comes from how a core mathematical truth is concealed in the text and unlocked through a clever intermediate deduction. Furthermore, just prompting an LLM for a "level 8 difficulty" problem doesn't mean you actually get one—a generated question might look hard simply because it is ambiguous, buggy, or requires tedious arithmetic.

Methods

Instead of copying surface wording, GaokaoMathGen operates in three stages: extracting a structural blueprint, synthesizing a new problem under strict rules, and diagnosing how hard the result actually is.

Figure 1: Overview of GaokaoMathGen. The framework extracts standardized latent reasoning structures from seed problems, performs structure-guided synthesis under explicit constraints, and collects post-generation diagnostic evidence for realized difficulty.
  1. Extracting Latent Reasoning Structures: Starting from real seed problems, multiple LLM annotators extract four key components: skills (knowledge points), methods (strategies like case analysis), a core identity (the underlying theorem or mathematical kernel), and a pivot step (the key transformation bottleneck). Because different LLMs use different phrasing, the system semantically normalizes raw skill and method tags into standardized vocabularies.
  2. Constrained Synthesis & Checking: Rather than letting an LLM wing it, the generator builds a new problem through three operations: grounding skills around the core identity, concealing that kernel behind exam-style constraints, and validating that elementary shortcuts can't bypass the pivot step. Crucially, an independent LLM "checker" audits the draft against explicit logical and structural rules—without seeing the generator's own self-justifying blueprint—and triggers revisions if anything fails.
  3. Diagnosing Realized Difficulty: Since human grading is expensive, the authors estimate realized difficulty post-generation. First, an automated filter weeds out unclear or logically invalid drafts. Surviving problems are handed to a fixed reasoning LLM, where the number of tokens it takes to solve the problem ("decoding effort") and search patterns in its output (like branching and case-checking) act as proxies for genuine reasoning complexity.

Datasets

The authors began with a collection of 250 Chinese senior-high-school mathematics problems. After screening out questions with missing figures, corrupted text, full solutions, or out-of-curriculum material, 217 seed problems remained. Cross-annotator experiments and main generation runs were anchored on 174 common seed problems where all five LLM annotators produced valid structured outputs. No external public benchmark was directly used as the seed source, nor is a static dataset formally named, though the pipeline itself produces validated finale-level candidates.

Key Insights and Ideas

  • Never trust a generator's self-assessment: When an LLM writes a math problem alongside a solution blueprint, it easily fools itself into thinking it followed all structural rules. On development batches, the independent blind checker caught flaws and requested revisions on 85.1% to 98.3% of initial drafts.
  • Difficulty is about search, not just topic count: Within high-difficulty problems, simply counting how many skills or graph connections a problem has barely correlates with how hard a solver works. Instead, how much branching, case analysis, and verification the solver is forced to do strongly tracks reasoning effort.
  • Structure transfers, but LLMs aren't interchangeable: Even when fed the exact same standardized reasoning blueprint and synthesis prompt, different frontier LLMs vary wildly in their ability to output logically valid math problems (ranging from ~60% to 94% pass rates).

Key Results

  • Cleaner Control Signals: Semantic normalization boosted cross-annotator Jaccard similarity from 0.015 to 0.261 for skills and 0.045 to 0.211 for methods ($p < 10^{-29}$).
  • Logical Validity & Effort Separation: Across 609 scored candidates from four generators, 78.0% (475) passed the logical-quality filter, led by GPT-5.4 at 94.1%. Bumping the target difficulty from level 7 to level 8 increased fixed-solver token effort by 21.6% on average (from 18,909 to 22,996 tokens) without significantly hurting logical validity.
Table 2: Logical-quality retention and mean fixed-solver effort at target levels 7 and 8. E7 and E8 are computed over retained candidates.
  • Diagnostic Signals & Baseline Comparison: Solver-output search scores correlated moderately well with total decoding length ($\rho = 0.539, p < 0.001$). Against an independent industrial reference pipeline on seed-matched problems, GaokaoMathGen required +6.7% more solver tokens on average across five models, with a statistically significant +11.0% jump on GPT-5.4.
  • Human Teacher Audit: A high-school math teacher audited the 60 highest-effort GPT-5.4 problems. 100% (60/60) were judged to reach genuine Gaokao finale or penultimate difficulty, and 98.3% (59/60) had zero severe logical flaws (only 1 problem had an ambiguous subproblem dependency).

Limitations and Future Work

The authors are admirably transparent about what their metrics do—and don't—prove:

  • Solver effort $\neq$ human difficulty: Counting tokens from a single fixed solver is a handy diagnostic proxy, not ground-truth proof of how hard a human student finds a question. Similarly, the teacher audit focused on the top 60 highest-effort problems, so it doesn't measure corpus-wide human difficulty separation between levels 7 and 8.
  • Text-only scope: Problems requiring geometric figures or visual diagrams were filtered out during seed screening.

For future work, the team plans to bring in broader human expert feedback, pool evidence from multiple diverse solver models, directly evaluate whether solvers actually traverse the intended structural path, and expand the framework to multimodal math problems with figures.

Summary updated

Abstract

Generating Chinese Gaokao mathematics finale problems requires controlling not only the included skills, but also the underlying mathematical kernel and solution path. Existing LLM-based methods mainly rely on surface-level specifications, while the realized difficulty of generated problems cannot be determined directly from prompted targets. Therefore, we propose GaokaoMathGen, a framework for Chinese Gaokao mathematics finale problem generation controlled by latent reasoning structures. It extracts standardized latent reasoning structures from seed problems and performs constrained synthesis using skills, methods, a core identity, and a pivot step as structural controls. We further estimate realized difficulty through logical-quality filtering, fixed-solver decoding effort, structural features, and solver-output search signals. Experiments show that semantic normalization improves cross-annotator comparability and that 78.0% of 609 scored candidates pass the logical-quality filter. In a teacher audit of the 60 highest-effort candidates, all were judged to reach finale or penultimate problem difficulty, and only one exhibited a severe logical issue. These results support latent reasoning structures as effective control signals for generating high-difficulty mathematical problems.
BibTeX
@misc{chen2026gaokaomathgen,
  author = {Qian Chen and Kun Zhu and Zhongyi Wang and Ling Chen},
  title = {{GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures}},
  year = {2026},
  eprint = {2611.31823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31823},
}
Figure