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

arXiv cs.AI Papers

Summary

The paper proposes GaokaoMathGen, a framework for generating Chinese Gaokao mathematics finale problems controlled by latent reasoning structures, with difficulty estimated via logical-quality filtering and solver-effort signals, showing 78% of candidates pass quality checks.

arXiv:2611.31823v2 Announce Type: new 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.
Original Article
View Cached Full Text

Cached at: 11/26/26, 09:29 AM

# GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Source: [https://arxiv.org/html/2611.31823](https://arxiv.org/html/2611.31823)
1State Key Laboratory of Blockchain and Data Security, College of Computer Science and Technology, Zhejiang University 2Zhejiang Sci\-Tech University3iflytek††thanks:Qian Chen and Kun Zhu contributed equally to this work\.

###### 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\.

KeywordsMathematical problem generation,Chinese Gaokao,latent reasoning structures,controllable generation,difficulty diagnostics\.

## Introduction

The Chinese National College Entrance Examination, known as Gaokao, is one of the most influential high\-stakes examinations in China\([Jia, Li, and Cousineau 2025](https://arxiv.org/html/2611.31823#bib.bib9)\)\. Its mathematics finale problems are designed to be highly discriminative: they often require students to integrate multiple knowledge points, identify hidden mathematical structure, perform non\-trivial transformations, and organize a multi\-step solution path\. Accurate and controllable generation of such problems is valuable for scalable reasoning\-oriented training, targeted student practice, and more reliable evaluation of mathematical reasoning models\. This task remains challenging, as a generated problem must be mathematically valid, aligned with the senior\-high\-school curriculum, solvable through a coherent reasoning path, and calibrated to an intended difficulty level\.

Mathematical problem generation has been studied through expert\-authored construction, rule\- or template\-based generation\([Xu, Smeets, and Bidarra 2021](https://arxiv.org/html/2611.31823#bib.bib21);[Yu et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib22)\), and recent LLM\-based methods\([Gunasekar et al\. 2023](https://arxiv.org/html/2611.31823#bib.bib4);[Lu et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib13);[Shah et al\. 2025](https://arxiv.org/html/2611.31823#bib.bib15)\)\. Expert\-authored problems provide strong guarantees on validity and educational value, but they require substantial human expertise and are difficult to scale\. Rule\- and template\-based methods improve controllability by instantiating predefined item models or solution patterns, but they are less suited to generating diverse non\-routine finale problems\. LLM\-based methods offer better scalability and linguistic diversity, and recent work has improved difficulty by extracting topics or skills from existing datasets and recombining them during generation\([Tang et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib17)\)\. For example, MATH2\([Shah et al\. 2025](https://arxiv.org/html/2611.31823#bib.bib15)\)constructs difficult problems by combining core skills extracted from the MATH dataset\. These studies show the promise of LLM\-assisted mathematical problem generation\. In most existing pipelines, the control signal is specified at the level of topics, skills, templates, equations, or seed\-problem transformations\.

However, for Chinese Gaokao mathematics finale problems, such surface\-level control is insufficient\. The difficulty of a finale problem is not determined only by which knowledge points appear, but also by how they are grounded in a mathematical kernel, concealed in the problem statement, and recovered through a solution bottleneck\. Two problems may involve the same skills and methods, yet differ substantially in difficulty depending on whether the key identity, auxiliary construction, or transformation step is explicit, implicit, or only recoverable after several intermediate deductions\. This observation motivates a shift from surface\-level control to structure\-level control: the generator should specify not only the intended skills and methods, but also the underlying mathematical core and the key pivot step that make the problem solvable and discriminative\.

Therefore, we study the Chinese Gaokao mathematics finale problem generation controlled by this structural view\. The task presents two main challenges\. First,the mapping from latent reasoning structures to well\-formed problems is underdetermined\. A latent reasoning structure specifies the intended skills, methods, core identity, and pivot step, but not how they should be encoded as conditions and subproblems that form a valid reasoning path and resist elementary shortcuts\. Direct LLM generation may consequently realize these elements only superficially, producing shortcut solutions, redundant conditions, or invalid mathematical cores\. Second,realized difficulty is not directly observable from the generation target\. A requested difficulty level expresses the intended difficulty but does not demonstrate the reasoning effort required by the generated problem\. Teacher annotation is reliable but costly, while standalone LLM judgments can exhibit systematic biases and solver accuracy provides limited diagnostic evidence\([Zheng et al\. 2023](https://arxiv.org/html/2611.31823#bib.bib24)\)\.

To address these challenges, we propose GaokaoMathGen, a framework for Chinese Gaokao mathematics finale problem generation controlled by latent reasoning structures\. To the best of our knowledge, this is the first study dedicated to Chinese Gaokao mathematics finale problem generation\. Moving beyond surface\-level content specification, GaokaoMathGen organizes standardized skills and methods around a core identity and pivot step, which serve as structural controls for candidate synthesis\. The main contributions are summarized as follows:

- •We propose a two\-stage generation framework in GaokaoMathGen for Chinese Gaokao mathematics finale problems\. The first stage converts seed finale problems into standardized latent reasoning structures\. The second stage performs constrained synthesis controlled by these latent reasoning structures\. Standardized skills and methods specify the required reasoning, while the core identity and pivot step anchor the concealed mathematical kernel and coherent solution path\.
- •We develop a low\-cost realized\-difficulty estimation protocol based on core\-anchored structural signals, fixed\-solver decoding effort, and teacher audit\. This protocol avoids relying solely on prompted difficulty labels and provides diagnostic evidence about whether generated problems realize the intended reasoning difficulty\.
- •We conduct systematic experiments on seed labeling, problem construction, quality evaluation, and ablation settings\. The results show that core\-anchored construction improves structural controllability and produces high\-effort candidate problems\.

## Related Work

### Mathematical Problem Generation

Mathematical problem generation has been studied through expert\-authored construction, rule\- or template\-based generation, and LLM\-based generation\. Expert\-authored construction, including human\-written examination problems and expert\-designed item models, can provide strong guarantees on mathematical validity, curriculum alignment, and educational value, but it requires substantial human expertise and is difficult to scale\([Shah et al\. 2025](https://arxiv.org/html/2611.31823#bib.bib15)\)\. Rule\- and template\-based methods improve scalability by instantiating predefined item models, equations, or procedural templates\([Xu, Smeets, and Bidarra 2021](https://arxiv.org/html/2611.31823#bib.bib21)\)\. These methods offer controllable formats and solution patterns, but their reliance on explicit templates limits their ability to generate diverse non\-routine problems\.

Recent LLM\-based methods further improve scalability and linguistic diversity\. Prior work generates mathematical word problems from equations, topics, or contexts while enforcing mathematical consistency or difficulty\-related constraints\([Wang, Lan, and Baraniuk 2021](https://arxiv.org/html/2611.31823#bib.bib18);[Jiao et al\. 2023](https://arxiv.org/html/2611.31823#bib.bib10)\)\. For example, MATHWELL\([Christ, Kropko, and Hartvigsen 2024](https://arxiv.org/html/2611.31823#bib.bib2)\)uses teacher annotations to improve the solvability, accuracy, and educational appropriateness of generated math word problems\. MathGenie\([Lu et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib13)\)synthesizes new math problems through solution augmentation and question back\-translation\. Closely related to difficult problem generation, MATH2\([Shah et al\. 2025](https://arxiv.org/html/2611.31823#bib.bib15)\)extracts core skills from the MATH dataset and prompts LLMs to generate problems combining pairs of skills\.

This line of work demonstrates the promise of scalable mathematical problem generation, but its control signals are usually specified at the level of topics, equations, skills, templates, or seed\-problem transformations\. Such surface\-level control is not sufficient for Chinese Gaokao mathematics finale problems, where difficulty depends not only on what knowledge points are involved, but also on how a mathematical kernel is concealed, transformed, and recovered through a coherent reasoning path\.

In contrast, our proposed framework, GaokaoMathGen, focuses on structure\-level control by representing each intended generation target as a latent reasoning structure comprising skills, methods, a core identity, a pivot step, and a target difficulty requirement\.

### Reasoning Evaluation and Difficulty Estimation

Mathematical reasoning benchmarks provide the standard setting for measuring solver performance on multi\-step problems\. Datasets, e\.g\., GSM8K\([Cobbe et al\. 2021](https://arxiv.org/html/2611.31823#bib.bib3)\)and MATH\([Hendrycks et al\. 2021](https://arxiv.org/html/2611.31823#bib.bib6)\), evaluate grade\-school and competition\-style reasoning, while recent benchmarks extend evaluation to high\-stakes examinations, olympiad\-level problems, Chinese mathematical tasks, and more fine\-grained difficulty annotations\([Zhang et al\. 2023](https://arxiv.org/html/2611.31823#bib.bib23);[He et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib5);[Zhong et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib25);[Liu et al\. 2024](https://arxiv.org/html/2611.31823#bib.bib11);[Liu et al\. 2025](https://arxiv.org/html/2611.31823#bib.bib12)\)\. These benchmarks are valuable for comparing reasoning models, but their difficulty information is usually attached to human\-authored problems through source labels, expert annotation, or aggregate model performance\. As a result, they offer limited guidance for determining whether a newly generated problem realizes a specified reasoning structure\.

Difficulty control and estimation have also been studied in question generation and educational assessment\. Prior methods often rely on prompted difficulty levels, surface features of the problem statement, equation or solution length, expert labels, or solver correctness\([Cheng et al\. 2021](https://arxiv.org/html/2611.31823#bib.bib1);[Jiao et al\. 2023](https://arxiv.org/html/2611.31823#bib.bib10)\)\. These signals are useful for scalable assessment, but they are not sufficiently diagnostic for Gaokao mathematics finale problems\. In this setting, a problem can appear difficult for undesirable reasons, e\.g\., ambiguity or excessive computation, while the intended difficulty should come from how skills and methods are organized around a hidden mathematical kernel and recovered through a solution bottleneck\.

Our proposed framework, GaokaoMathGen, addresses this gap by treating realized difficulty as a diagnostic property of generated candidates rather than as a prompted difficulty label\. It estimates difficulty from lightweight post\-generation evidence, including logical quality, fixed\-solver effort, skill\-method structural signals, and solver\-output search proxies\. This connects difficulty estimation to structure\-level control while avoiding direct reliance on prompted difficulty labels or final solver correctness\.

## Problem Formulation

We study controllable generation of Chinese Gaokao mathematics finale problems from a structure\-level perspective\. Given a seed mathematics problemxix\_\{i\}and a target difficultyτi\\tau\_\{i\}, our goal is not to imitate the surface form ofxix\_\{i\}, but to extract its reusable reasoning information and synthesize a new candidate problem under the specified difficulty\.

For a seed problemxix\_\{i\}, we construct its intended reasoning structureziz\_\{i\}as follows:

zi\\displaystyle z\_\{i\}=Ψ⁡\(xi,τi\)\\displaystyle=\\Psi\(x\_\{i\},\\tau\_\{i\}\)\(1\)=\(𝒮i,ℳi,ci,pi,τi\),\\displaystyle=\(\\mathcal\{S\}\_\{i\},\\mathcal\{M\}\_\{i\},c\_\{i\},p\_\{i\},\\tau\_\{i\}\),whereΨ\\Psidenotes the structure extraction and assembly process,𝒮i⊆𝒱S\\mathcal\{S\}\_\{i\}\\subseteq\\mathcal\{V\}^\{S\}is a finite set of standardized skills, andℳi⊆𝒱M\\mathcal\{M\}\_\{i\}\\subseteq\\mathcal\{V\}^\{M\}is a finite set of standardized methods\. The core identitycic\_\{i\}and pivot steppip\_\{i\}are variable\-length textual descriptors rather than fixed\-dimensional vectors or labels selected from a closed vocabulary\. The target difficultyτi\\tau\_\{i\}is an ordinal value from the target\-difficulty scale used during synthesis\. Accordingly,ziz\_\{i\}is a heterogeneous structured tuple rather than a fixed\-dimensional representation\.

To reduce annotator\-specific variation, raw skill and method labels produced by multiple LLM\-based annotators are semantically normalized into shared vocabularies\. Standardized skills refer to canonical labels for the mathematical knowledge required by a problem, e\.g\., derivative monotonicity, conic parameterization, or recurrence transformation\. Standardized methods refer to canonical labels for the reasoning strategies used to combine these skills, e\.g\., substitution, auxiliary construction, or case analysis\. The core identity denotes the mathematical kernel supporting the solution, e\.g\., a theorem, extremal property, or structural equivalence\. The pivot step denotes the key transformation through which a solver connects the problem statement to this kernel\.

Givenziz\_\{i\}, the generation goal is written as follows:

x^i=G⁡\(zi\),\\hat\{x\}\_\{i\}=G\(z\_\{i\}\),\(2\)wherex^i\\hat\{x\}\_\{i\}is a candidate finale problem generated by GaokaoMathGen\. The requirement is not only thatx^i\\hat\{x\}\_\{i\}contains the specified skills and methods, but also that its solution path coordinates them around the core identity and pivot step under the target difficulty\. This representation is intentionally different from a chain\-of\-thought trace\([Wei et al\. 2022](https://arxiv.org/html/2611.31823#bib.bib19)\): it describes the intended reasoning structure that a problem should realize, rather than an observed solver trajectory\.

## Method

### Overview

As illustrated in Figure[1](https://arxiv.org/html/2611.31823#Sx4.F1), GaokaoMathGen treats controllable generation as a process of extracting, realizing, and diagnosing latent reasoning structures\. It first extracts and standardizes latent reasoning structures from seed mathematics problems, forming a collection of structure\-level generation targets\. It then synthesizes candidate finale problems under structural constraints, so that the generated statements are guided by the intended core identity and pivot step rather than by surface topic or difficulty descriptions alone\. Finally, it collects diagnostic evidence for realized difficulty, including logical quality, fixed\-solver decoding effort, skill\-method structural signals, and search\-related signals extracted from solver outputs\. These stages respectively correspond to obtaining the reasoning specification, realizing it as a well\-formed candidate problem, and estimating whether the generated problem exhibits evidence of the intended difficulty\.

![Refer to caption](https://arxiv.org/html/2611.31823v2/framework.png)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\.
### Reasoning Structure Extraction

Raw seed problems provide the source material for generating Chinese Gaokao mathematics finale problems\. However, they cannot be used directly as structure\-level control signals, as their reusable reasoning information is entangled with surface wording, problem\-specific notation, and annotator\-dependent descriptions\. To obtain such control signals, GaokaoMathGen extracts a standardized latent reasoning structure from each seed problem, allowing later generation to be conditioned on comparable structural specifications rather than on the original problem statement\.

For each seed problemxix\_\{i\}, multiple LLM\-based annotators produce structured annotations that identify the problem’s skills, methods, mathematical kernel, difficulty anchor, and auxiliary metadata\. The annotated skills and methods provide raw label setsRiSR\_\{i\}^\{S\}andRiMR\_\{i\}^\{M\}, while the mathematical\-kernel fields provide the core identitycic\_\{i\}and pivot steppip\_\{i\}\. The difficulty annotation provides a seed\-level difficulty anchorδi\\delta\_\{i\}, which contextualizes the target difficultyτi\\tau\_\{i\}specified for synthesis but is not itself treated as the generation target\. Subject\-area metadata further constrains skill normalization, reducing the risk of merging labels that are lexically similar but mathematically different across domains\. Implementation details of the annotation and normalization protocol are provided in the Technical Supplement\.

To reduce variation across LLM\-based annotators, GaokaoMathGen semantically normalizes raw skill and method labels into shared vocabularies\. The normalization mappings are defined as follows:

πS:ℛS→𝒱S,πM:ℛM→𝒱M,\\pi\_\{S\}:\\mathcal\{R\}^\{S\}\\rightarrow\\mathcal\{V\}^\{S\},\\qquad\\pi\_\{M\}:\\mathcal\{R\}^\{M\}\\rightarrow\\mathcal\{V\}^\{M\},\(3\)whereℛS\\mathcal\{R\}^\{S\}andℛM\\mathcal\{R\}^\{M\}denote raw skill and method label spaces, and𝒱S\\mathcal\{V\}^\{S\}and𝒱M\\mathcal\{V\}^\{M\}denote standardized vocabularies\. Skill labels are normalized within subject areas to reduce cross\-domain merging, while method labels are normalized globally, as they describe reusable reasoning strategies across mathematical domains\.

After normalization, the standardized labels and mathematical\-kernel annotations are combined with the target difficultyτi\\tau\_\{i\}\. The resulting latent reasoning structure is defined as follows:

𝒮i\\displaystyle\\mathcal\{S\}\_\{i\}=\{πS​\(s\)∣s∈RiS\},\\displaystyle=\\\{\\pi\_\{S\}\(s\)\\mid s\\in R\_\{i\}^\{S\}\\\},\(4\)ℳi\\displaystyle\\mathcal\{M\}\_\{i\}=\{πM​\(m\)∣m∈RiM\},\\displaystyle=\\\{\\pi\_\{M\}\(m\)\\mid m\\in R\_\{i\}^\{M\}\\\},whereRiS⊆ℛSR\_\{i\}^\{S\}\\subseteq\\mathcal\{R\}^\{S\}andRiM⊆ℛMR\_\{i\}^\{M\}\\subseteq\\mathcal\{R\}^\{M\}are the raw skill and method sets extracted forxix\_\{i\}, andτi\\tau\_\{i\}is the target difficulty specified for the corresponding synthesis instance\.

### Constrained Structure\-Guided Synthesis

The structure collection𝒵\\mathcal\{Z\}provides structure\-level control signals, but converting these signals into well\-formed finale problems remains nontrivial\. A generator may include the requested skills and methods while still producing shallow testing targets, shortcut solutions, redundant conditions, loose subproblem dependencies, or invalid mathematical cores\. Therefore, GaokaoMathGen performs constrained structure\-guided synthesis by using the core identity and pivot step as structural anchors\. The goal is to construct an exam\-style statement in which the mathematical kernel is recoverable through the intended pivot step, but not directly exposed by the surface form\.

For a latent reasoning structurezi∈𝒵z\_\{i\}\\in\\mathcal\{Z\}, the constrained synthesis process is written as follows:

x^i=G⁡\(zi,𝒞\),\\hat\{x\}\_\{i\}=G\(z\_\{i\};\\mathcal\{C\}\),\(5\)wherex^i\\hat\{x\}\_\{i\}is the generated candidate problem and𝒞\\mathcal\{C\}denotes the structural requirements that guide howziz\_\{i\}is realized as both a problem statement and an intended solution path\. The core identitycic\_\{i\}provides the mathematical basis of the intended solution, while the pivot steppip\_\{i\}specifies the bottleneck through which this basis should be reached\.

During synthesis, GaokaoMathGen operationalizes𝒞\\mathcal\{C\}through three connected construction operations\.*Kernel grounding*organizes the standardized skills and methods aroundcic\_\{i\}, so that they serve the same mathematical kernel rather than appearing as independent topical requirements\.*Kernel concealment*transforms the explicit kernel into a solvable but nontrivial exam\-style statement, e\.g\., by introducing a new object, redistributing conditions, or expressing key information through constraints\.*Path validation*examines whether the intended solution still needs to pass throughpip\_\{i\}after common shortcuts are considered\.

To make these operations explicit and auditable, we express the structural requirements as follows:

𝒞=\{𝒞path,𝒞pivot,𝒞nonredund,𝒞prog,𝒞logic\},\\mathcal\{C\}=\\\{\\mathcal\{C\}\_\{\\mathrm\{path\}\},\\mathcal\{C\}\_\{\\mathrm\{pivot\}\},\\mathcal\{C\}\_\{\\mathrm\{nonredund\}\},\\mathcal\{C\}\_\{\\mathrm\{prog\}\},\\mathcal\{C\}\_\{\\mathrm\{logic\}\}\\\},\(6\)where𝒞path\\mathcal\{C\}\_\{\\mathrm\{path\}\}specifies the expected reasoning connection between problem conditions and the core identity, and𝒞pivot\\mathcal\{C\}\_\{\\mathrm\{pivot\}\}specifies that common elementary shortcuts should not bypass the pivot step\.𝒞nonredund\\mathcal\{C\}\_\{\\mathrm\{nonredund\}\}specifies that conditions should contribute to solvability rather than only increasing surface complexity\. For multi\-part problems,𝒞prog\\mathcal\{C\}\_\{\\mathrm\{prog\}\}specifies coherent progression among subproblems\.𝒞logic\\mathcal\{C\}\_\{\\mathrm\{logic\}\}specifies mathematical consistency, clear variable ranges, valid boundary cases, and solvability\. Implementation details of the synthesis protocol are provided in the Technical Supplement\.

The generator’s own blueprint is not reliable evidence that the structural requirements in𝒞\\mathcal\{C\}are actually satisfied\. Therefore, GaokaoMathGen applies a separate structural consistency checker\. To reduce anchoring to the generator’s self\-explanation, the checker reviews the candidate statement together with the associated core identity and pivot step\. The checker returns constraint\-level diagnostics as follows:

V⁡\(x^i,zi\)\\displaystyle V\(\\hat\{x\}\_\{i\},z\_\{i\}\)=\(vpath,vpivot,vnonredund,vprog,vlogic\)\\displaystyle=\(v\_\{\\mathrm\{path\}\},v\_\{\\mathrm\{pivot\}\},v\_\{\\mathrm\{nonredund\}\},v\_\{\\mathrm\{prog\}\},v\_\{\\mathrm\{logic\}\}\)\(7\)∈\{0,1\}5,\\displaystyle\\in\\\{0,1\\\}^\{5\},where each component indicates whether the corresponding structural requirement in𝒞\\mathcal\{C\}is satisfied\. A candidate receives a structural pass only when all components equal 1\. If any violation is detected, an update operator revises the candidate statement as follows:

x^i\(t\+1\)=Φ⁡\(x^i\(t\),zi,V⁡\(x^i\(t\),zi\)\)\.\\hat\{x\}\_\{i\}^\{\(t\+1\)\}=\\Phi\(\\hat\{x\}\_\{i\}^\{\(t\)\},z\_\{i\},V\(\\hat\{x\}\_\{i\}^\{\(t\)\},z\_\{i\}\)\)\.\(8\)
This checking\-and\-revision step reduces cases where a candidate appears to follow the requested skills or difficulty level but fails to realize the latent reasoning structure specified by the generation target\. Implementation details of the checking and revision protocol are provided in the Technical Supplement\.

### Diagnostic Evidence for Realized Difficulty

A target difficulty specified during synthesis is not sufficient evidence that a generated problem realizes the intended difficulty\. A generated problem may appear difficult because it is lengthy, ambiguous, or overcomplicated, rather than because it requires the intended reasoning structure\. GaokaoMathGen therefore collects post\-generation diagnostic evidence from logical quality, fixed\-solver decoding effort, skill\-method structural signals, and search\-related signals extracted from solver outputs\.

For each generated candidatex^i\\hat\{x\}\_\{i\}, the diagnostic evidence is summarized as follows:

r⁡\(x^i\)=\(qlogic​\(x^i\),esolve​\(x^i\),gstruct​\(x^i\),hsearch​\(x^i\)\),r\(\\hat\{x\}\_\{i\}\)=\(q\_\{\\mathrm\{logic\}\}\(\\hat\{x\}\_\{i\}\),e\_\{\\mathrm\{solve\}\}\(\\hat\{x\}\_\{i\}\),g\_\{\\mathrm\{struct\}\}\(\\hat\{x\}\_\{i\}\),h\_\{\\mathrm\{search\}\}\(\\hat\{x\}\_\{i\}\)\),\(9\)whereqlogicq\_\{\\mathrm\{logic\}\}measures automated logical quality,esolvee\_\{\\mathrm\{solve\}\}measures fixed\-solver decoding effort,gstructg\_\{\\mathrm\{struct\}\}measures the structural organization of standardized skills and methods, andhsearchh\_\{\\mathrm\{search\}\}captures search\-related proxies extracted from the fixed solver’s output\. These signals are designed to distinguish realized reasoning difficulty from spurious difficulty caused by invalidity, ambiguity, or excessive surface complexity\. These four signals are instantiated as follows\.

#### Logical quality filtering\.

Logical quality is evaluated before difficulty analysis, since invalid or ambiguous problems may produce long solver outputs for the wrong reason\. We compute logical quality from three dimensions as follows:

qlogic​\(x^i\)=13​\(qclarity​\(x^i\)\+qcoherence​\(x^i\)\+qvalidity​\(x^i\)\),q\_\{\\mathrm\{logic\}\}\(\\hat\{x\}\_\{i\}\)=\\frac\{1\}\{3\}\(q\_\{\\mathrm\{clarity\}\}\(\\hat\{x\}\_\{i\}\)\+q\_\{\\mathrm\{coherence\}\}\(\\hat\{x\}\_\{i\}\)\+q\_\{\\mathrm\{validity\}\}\(\\hat\{x\}\_\{i\}\)\),\(10\)whereqclarityq\_\{\\mathrm\{clarity\}\},qcoherenceq\_\{\\mathrm\{coherence\}\}, andqvalidityq\_\{\\mathrm\{validity\}\}denote clarity, logical coherence, and mathematical validity, respectively, and each dimension is scored on a 1–5 scale\.

A candidate is retained for difficulty analysis only if its average logical\-quality score is at least 3 and no individual dimension score is lower than or equal to 2\. The retained candidate set is defined as follows:

𝒳^logic=\{x^i:qlogic\(x^i\)≥3,minjqj\(x^i\)\>2\},\\widehat\{\\mathcal\{X\}\}\_\{\\mathrm\{logic\}\}=\\\{\\hat\{x\}\_\{i\}:q\_\{\\mathrm\{logic\}\}\(\\hat\{x\}\_\{i\}\)\\geq 3,\\;\\min\_\{j\}q\_\{j\}\(\\hat\{x\}\_\{i\}\)\>2\\\},\(11\)whereqjq\_\{j\}ranges over clarity, logical coherence, and mathematical validity\.

#### Fixed\-solver decoding effort\.

For each candidate retained in𝒳^logic\\widehat\{\\mathcal\{X\}\}\_\{\\mathrm\{logic\}\}, a fixed reasoning modelFFsolves the problem under the same prompt and decoding configuration\. The fixed\-solver decoding effort is defined as follows:

esolve​\(x^i\)=tokens⁡\(F⁡\(x^i\)\),x^i∈𝒳^logic,e\_\{\\mathrm\{solve\}\}\(\\hat\{x\}\_\{i\}\)=\\mathrm\{tokens\}\(F\(\\hat\{x\}\_\{i\}\)\),\\qquad\\hat\{x\}\_\{i\}\\in\\widehat\{\\mathcal\{X\}\}\_\{\\mathrm\{logic\}\},\(12\)wheretokens⁡\(⋅\)\\mathrm\{tokens\}\(\\cdot\)denotes the completion length\. This signal provides a consistent proxy for comparing fixed\-solver effort across generated candidates, but it should be interpreted as diagnostic evidence rather than as a direct measure of human\-perceived difficulty\.

#### Skill\-method structural signal\.

To connect difficulty evidence with the structure\-level control signals used during generation, GaokaoMathGen computes a topology\-only skill\-method structural signal\. We build an undirected co\-occurrence graph over the standardized vocabularies as follows:

𝒢=\(𝒱S∪𝒱M,E,w\),\\mathcal\{G\}=\(\\mathcal\{V\}^\{S\}\\cup\\mathcal\{V\}^\{M\},E,w\),\(13\)where nodes are standardized skills or methods, an edge\(u,v\)∈E\(u,v\)\\in Eindicates that two labels co\-occur in at least one problem, andw⁡\(u,v\)w\(u,v\)records their co\-occurrence frequency\. The graph uses co\-occurrence frequency rather than any prompted difficulty value, so the resulting structural signal remains difficulty\-label\-free\.

For a generated candidatex^i\\hat\{x\}\_\{i\}, we define its associated skill\-method node set as follows:

Ui=𝒮i∪ℳi\.U\_\{i\}=\\mathcal\{S\}\_\{i\}\\cup\\mathcal\{M\}\_\{i\}\.\(14\)The standardized skills and methods associated with the candidate induce a subgraph as follows:

𝒢i\\displaystyle\\mathcal\{G\}\_\{i\}=𝒢⁡\[Ui\]=\(Ui,Ei\),\\displaystyle=\\mathcal\{G\}\[U\_\{i\}\]=\(U\_\{i\},E\_\{i\}\),\(15\)Ei\\displaystyle E\_\{i\}=\{\(u,v\)∈E:u∈Ui,v∈Ui\},\\displaystyle=\\\{\(u,v\)\\in E:u\\in U\_\{i\},\\;v\\in U\_\{i\}\\\},where𝒢⁡\[Ui\]\\mathcal\{G\}\[U\_\{i\}\]denotes the subgraph of𝒢\\mathcal\{G\}induced by the node setUiU\_\{i\}\. The structural feature vector is computed as follows:

gstruct​\(x^i\)=ϕgraph​\(𝒢i\),g\_\{\\mathrm\{struct\}\}\(\\hat\{x\}\_\{i\}\)=\\phi\_\{\\mathrm\{graph\}\}\(\\mathcal\{G\}\_\{i\}\),\(16\)whereϕgraph\\phi\_\{\\mathrm\{graph\}\}extracts topology\-only features, e\.g\., node count, edge count, subgraph density, weighted degree centrality, betweenness centrality, PageRank, average co\-occurrence frequency, and rare\-edge ratio\. These features provide label\-free evidence about the size, connectivity, centrality, and rarity of the skill\-method specification associated with the candidate\.

#### Solver\-output search signal\.

GaokaoMathGen further extracts search\-related signals from the fixed solver’s output\. These features are not treated as direct observations of the solver’s internal reasoning process\. Instead, they provide textual and structural proxies for how the solver organizes its solution\. The search\-related feature vector is written as follows:

hsearch​\(x^i\)=ϕsearch​\(F⁡\(x^i\)\),h\_\{\\mathrm\{search\}\}\(\\hat\{x\}\_\{i\}\)=\\phi\_\{\\mathrm\{search\}\}\(F\(\\hat\{x\}\_\{i\}\)\),\(17\)whereϕsearch\\phi\_\{\\mathrm\{search\}\}extracts features such as subproblem count, explicit branching patterns, case\-analysis count, elimination count, verification count, and an aggregated search\-complexity score\. The diagnostic evidence is used in the experiments for filtering, ranking, and correlation analysis with fixed\-solver decoding effort\. High\-effort candidates identified by these signals are further sampled for teacher audit, providing a targeted quality check without requiring full manual annotation\. Implementation details of the evaluation, solver, and feature\-extraction protocol are provided in the Technical Supplement\.

## Experiments

We evaluate GaokaoMathGen through three research questions\.

RQ1 \(Structure Extraction\)\.Does semantic normalization improve cross\-annotator comparability of the extracted skills and methods?

RQ2 \(Controlled Synthesis\)\.How reliably does synthesis controlled by latent reasoning structures produce logically valid candidates, and do target levels induce distinguishable fixed\-solver effort?

RQ3 \(Difficulty Diagnostics\)\.Do post\-generation signals provide complementary diagnostics of fixed\-solver reasoning effort?

We also conduct a seed\-matched comparison with an independent reference pipeline and a teacher audit to assess relative performance and residual quality risks\. Further results are provided in the Technical Supplement\.

### Experimental Setup

#### Data and structure extraction\.

We start with 250 Chinese senior\-high\-school mathematics problems\. Screening removes 33 with missing figures, corrupted content, complete solutions, or material beyond the curriculum, leaving 217 seed problems\. Five LLM annotators, i\.e\., GPT\-5\.4, DeepSeek\-V3\.2, Qwen3\.5\-Plus, Doubao\-Seed\-2\.0\-Pro, and Claude Opus 4\.6, independently extract latent reasoning structures\. Cross\-annotator analysis uses the 174 seed problems with valid structured outputs from all five annotators\.

#### Generation and evaluation\.

In the main generation experiment, each LLM is conditioned on a target difficultyτi∈\{7,8\}\\tau\_\{i\}\\in\\\{7,8\\\}according to our eight\-level difficulty rubric\. We instantiate the same synthesis protocol with DeepSeek\-V3\.2, Doubao\-Seed\-2\.0\-Pro, GPT\-5\.4, and Qwen3\.5\-Plus\. Gemini\-2\.5\-Pro scores each generated statement from 1 to 5 on clarity, logical coherence, and mathematical validity\. Following Eq\.[11](https://arxiv.org/html/2611.31823#Sx4.E11), a candidate is retained when its average score is at least 3 and every dimension is greater than 2\. Each retained candidate is then solved by Doubao\-Seed\-2\.0\-Pro with the same prompt, high reasoning effort, and a maximum output length of 65,536 tokens\. Completion length is used only as a fixed\-solver effort signal\.

#### Statistical analysis\.

Our statistical analysis follows the three research questions\. For RQ1, we measure cross\-annotator overlap using pairwise Jaccard similarity\([Jaccard 1901](https://arxiv.org/html/2611.31823#bib.bib8)\)and examine whether normalization consistently improves this overlap across seeds using a paired Wilcoxon signed\-rank test\([Wilcoxon 1945](https://arxiv.org/html/2611.31823#bib.bib20)\)\. For RQ2, we test whether target\-8 candidates induce greater fixed\-solver decoding effort than target\-7 candidates within each generator using a one\-sided Mann–WhitneyUUtest\([Mann and Whitney 1947](https://arxiv.org/html/2611.31823#bib.bib14)\)\. For RQ3, we use Spearman’s rank correlation\([Spearman 1987](https://arxiv.org/html/2611.31823#bib.bib16)\)to quantify the monotonic association between each diagnostic signal and fixed\-solver decoding effort\. The external comparison uses a paired Wilcoxon signed\-rank test, as the candidates from the two pipelines are matched by their source seeds\. Holm correction\([Holm 1979](https://arxiv.org/html/2611.31823#bib.bib7)\)is applied separately to the model\-wise target\-level and external comparisons\. Additional statistical details, model configurations, and prompt protocols are provided in the Technical Supplement\.

### Reliability of Structure Extraction

We first examine whether normalization reduces annotator\-specific variation in the skill and method components of the latent reasoning structure\. For each seed, we form all\(52\)=10\\binom\{5\}\{2\}=10unordered pairs of the five annotators\. For each pair, we compute the Jaccard similarity and an exact\-match indicator for the skill and method sets, both before and after applying the normalization mappings used to construct the generation inputs\. We first average each metric over the ten annotator pairs for each seed and then report the mean across the 174 seeds\. Table[1](https://arxiv.org/html/2611.31823#Sx5.T1)summarizes the resulting cross\-annotator agreement\.

Table 1:Cross\-annotator agreement before and after semantic normalization\. Exact denotes exact\-set agreement\.Normalization raises mean pairwise Jaccard similarity from 0\.015 to 0\.261 for skills and from 0\.045 to 0\.211 for methods\. Both improvements are significant under paired seed\-level Wilcoxon tests \(p<10−29p<10^\{\-29\}\)\. Exact\-set agreement also increases, although it remains low, as annotators may select complementary labels for the same problem\. The numerical difficulty annotations show stronger agreement, with mean pairwise Spearman correlations of 0\.801 for abstraction and 0\.774 for computation\. These results support the use of normalized annotations as more comparable structure\-level control signals, without assuming that normalization removes all annotation uncertainty\.

### Generation Quality and Target\-Level Separation

Starting from the 174 common seeds and four generators, the 696 possible seed–generator instances are reduced to 663 generation inputs after excluding 33 annotations without usable mathematical kernels, of which 609 yield candidate problems with complete logical\-quality scores\. Table[2](https://arxiv.org/html/2611.31823#Sx5.T2)summarizes logical\-quality retention and fixed\-solver effort\. Overall, 475 of 609 scored candidates pass the logical\-quality filter\. GPT\-5\.4 has the highest retention rate at 94\.1%, followed by Doubao\-Seed\-2\.0\-Pro at 85\.1%\. The variation across generators shows that a shared latent reasoning structure and synthesis protocol do not guarantee equally reliable realization by different LLMs\.

Table 2:Logical\-quality retention and mean fixed\-solver effort at target levels 7 and 8\.E7E\_\{7\}andE8E\_\{8\}are computed over retained candidates\.Among retained candidates, target\-8 problems require 22,996 tokens on average, compared with 18,909 tokens for target 7, an increase of 21\.6%\. The association is positive for all four generators, and every within\-generator comparison remains significant after Holm correction \(p<0\.05p<0\.05\)\. A regression with generator fixed effects estimates an adjusted target\-8 increase of 4,040 tokens \(p<10−5p<10^\{\-5\}\)\. The aggregate logical retention rates are 80\.6% for target 7 and 75\.8% for target 8; this difference is not statistically significant under Fisher’s exact test \(p=0\.170p=0\.170\)\. Thus, the two requested levels are separated in fixed\-solver effort without a significant aggregate change in logical retention\. This result concerns controlled solver effort and does not by itself establish equivalent separation in human difficulty\.

The independent structural checker is also necessary in practice\. On development batches, it requests revision for 98\.3% of candidates produced by the initial synthesis prompt and 85\.1% after prompt refinement\. After one checking\-and\-revision round, the corresponding no\-revision rates are 0\.8% and 11\.9%\. These development results are not a controlled ablation, but they show that the generator’s own blueprint is insufficient evidence that the intended structural requirements are satisfied\. Detailed checker outcomes are reported in the Technical Supplement\.

### Diagnostic Evidence for Realized Difficulty

Table[3](https://arxiv.org/html/2611.31823#Sx5.T3)evaluates the topology\-only skill–method signal and solver\-output search signals against fixed\-solver completion length on the 475 retained candidates\. Records are matched by both generator and seed identifier to avoid collisions between candidates generated from the same seed\.

Table 3:Spearman correlation with fixed\-solver completion length on the retained high\-difficulty batch \(N=475N=475\)\.The topology\-only features are weak in this range\-restricted 7–8 batch\. In contrast, the search\-related features have moderate positive associations with completion length, and the aggregate search score reachesρ=0\.539\\rho=0\.539\. The same trend holds within every generator, with correlations from 0\.462 to 0\.636\. These signals characterize how the fixed solver organizes its output, but they are not independent human\-difficulty measurements, as both the features and completion length are derived from the same solution\. We therefore treat them as complementary diagnostics rather than as ground\-truth difficulty labels\.

### External Evidence and Error Analysis

We compare GaokaoMathGen with an independently developed industrial reference pipeline on seed\-matched candidates\. Candidates from the two pipelines are aligned by source\-seed identifier and solved by the same fixed solver\. Since the pipelines differ in their generation procedures and post\-generation selection, this comparison serves as an external reference rather than a controlled component ablation\. Table[4](https://arxiv.org/html/2611.31823#Sx5.T4)reports the resulting fixed\-solver effort\.

Table 4:Seed\-matched comparison of mean fixed\-solver completion length\. Ref\. denotes the industrial reference pipeline, andΔ\\Deltadenotes the relative difference \(%\)\.∗indicates Holm\-correctedp<0\.05p<0\.05\.GaokaoMathGen produces higher mean fixed\-solver completion lengths in four of the five matched subsets, with a macro\-average relative difference of\+6\.7%\+6\.7\\%\. After Holm correction, only the GPT\-5\.4 comparison remains significant \(p=0\.0145p=0\.0145\)\. These results support comparable fixed\-solver effort under matched seeds, with a significant increase in the GPT\-5\.4 subset, rather than uniform superiority over the reference pipeline\.

Finally, a high\-school mathematics teacher audits the 60 GPT\-5\.4 candidates with the largest fixed\-solver completion lengths from both difficulty and quality perspectives\. The teacher judges all 60 candidates to reach the difficulty expected of a Gaokao finale or penultimate problem\. Regarding quality, 59 of the 60 candidates \(98\.3%\) contain no severe logical issue\. Minor concerns in 21 cases mainly involve curriculum boundaries or nonstandard notation and do not invalidate the problems\. The only severe case \(1\.7%\) contains an ambiguous dependency between subproblems\. These results provide targeted human evidence that candidates ranked highest by fixed\-solver effort fall within the intended high\-difficulty range, while severe logical failures are rare in this audited subset\. Since the candidates are deliberately selected by fixed\-solver effort, the audit does not estimate corpus\-wide quality rates or establish human difficulty separation between target levels 7 and 8\.

## Conclusion and Future Work

We introduced GaokaoMathGen, to our knowledge the first framework dedicated to generating Chinese Gaokao mathematics finale problems\. It converts seed problems into standardized latent reasoning structures, whose core identities and pivot steps guide constrained synthesis\. Experiments demonstrate the value of semantic normalization, structure\-guided generation, and post\-generation diagnostics for high\-difficulty candidates\. After validation, its candidates can support teacher\-assisted question development, advanced student practice, and training and evaluation data for mathematical reasoning models\. Future work will incorporate broader expert feedback and multi\-solver evidence, directly evaluate structural realization, and extend the framework to multimodal mathematics problems\.

## References

- Cheng et al\. \(2021\)Cheng, Y\.; Li, S\.; Liu, B\.; Zhao, R\.; Li, S\.; Lin, C\.; and Zheng, Y\. 2021\. Guiding the growth: Difficulty\-controllable question generation through step\-by\-step rewriting\. In*Proceedings of the Annual Meeting of the Association for Computational Linguistics and the International Joint Conference on Natural Language Processing \(Volume 1: Long Papers\)*, 5968–5978\.
- Christ, Kropko, and Hartvigsen \(2024\)Christ, B\. R\.; Kropko, J\.; and Hartvigsen, T\. 2024\. MATHWELL: Generating educational math word problems using teacher annotations\. In*Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024*, 11914–11938\.
- Cobbe et al\. \(2021\)Cobbe, K\.; Kosaraju, V\.; Bavarian, M\.; Chen, M\.; Jun, H\.; Kaiser, L\.; Plappert, M\.; Tworek, J\.; Hilton, J\.; Nakano, R\.; Hesse, C\.; and Schulman, J\. 2021\. Training verifiers to solve math word problems\.*arXiv preprint arXiv:2110\.14168*\.
- Gunasekar et al\. \(2023\)Gunasekar, S\.; Zhang, Y\.; Aneja, J\.; Mendes, C\. C\. T\.; Del Giorno, A\.; Gopi, S\.; Javaheripi, M\.; Kauffmann, P\.; de Rosa, G\.; Saarikivi, O\.; et al\. 2023\. Textbooks are all you need\.*arXiv preprint arXiv:2306\.11644*\.
- He et al\. \(2024\)He, C\.; Luo, R\.; Bai, Y\.; Hu, S\.; Thai, Z\.; Shen, J\.; Hu, J\.; Han, X\.; Huang, Y\.; Zhang, Y\.; et al\. 2024\. OlympiadBench: A challenging benchmark for promoting AGI with Olympiad\-level bilingual multimodal scientific problems\. In*Proceedings of the Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\)*, 3828–3850\.
- Hendrycks et al\. \(2021\)Hendrycks, D\.; Burns, C\.; Kadavath, S\.; Arora, A\.; Basart, S\.; Tang, E\.; Song, D\.; and Steinhardt, J\. 2021\. Measuring mathematical problem solving with the math dataset\.*arXiv preprint arXiv:2103\.03874*\.
- Holm \(1979\)Holm, S\. 1979\. A simple sequentially rejective multiple test procedure\.*Scandinavian Journal of Statistics*, 65–70\.
- Jaccard \(1901\)Jaccard, P\. 1901\. Étude comparative de la distribution florale dans une portion des Alpes et des Jura\.*Bull Soc Vaudoise Sci Nat*, 37: 547–579\.
- Jia, Li, and Cousineau \(2025\)Jia, R\.; Li, H\.; and Cousineau, C\. 2025\.*The highest exam: How the Gaokao shapes China*\. Harvard University Press\.
- Jiao et al\. \(2023\)Jiao, Y\.; Shridhar, K\.; Cui, P\.; Zhou, W\.; and Sachan, M\. 2023\. Automatic educational question generation with difficulty level controls\. In*Proceedings of the International Conference on Artificial Intelligence in Education*, 476–488\.
- Liu et al\. \(2024\)Liu, H\.; Zheng, Z\.; Qiao, Y\.; Duan, H\.; Fei, Z\.; Zhou, F\.; Zhang, W\.; Zhang, S\.; Lin, D\.; and Chen, K\. 2024\. MathBench: Evaluating the theory and application proficiency of llms with a hierarchical mathematics benchmark\. In*Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024*, 6884–6915\.
- Liu et al\. \(2025\)Liu, Y\.; Jin, R\.; Shi, L\.; Yao, Z\.; and Xiong, D\. 2025\. FineMath: A fine\-grained mathematical evaluation benchmark for Chinese Large Language Models\.*ACM Transactions on Asian and Low\-Resource Language Information Processing*, 24\(12\): 1–15\.
- Lu et al\. \(2024\)Lu, Z\.; Zhou, A\.; Ren, H\.; Wang, K\.; Shi, W\.; Pan, J\.; Zhan, M\.; and Li, H\. 2024\. MathGenie: Generating synthetic data with question back\-translation for enhancing mathematical reasoning of LLMs\. In*Proceedings of the Annual Meeting of the Association for Computational Linguistics*, 2732–2747\.
- Mann and Whitney \(1947\)Mann, H\. B\.; and Whitney, D\. R\. 1947\. On a test of whether one of two random variables is stochastically larger than the other\.*The Annals of Mathematical Statistics*, 50–60\.
- Shah et al\. \(2025\)Shah, V\.; Yu, D\.; Lyu, K\.; Park, S\.; Yu, J\.; He, Y\.; Ke, N\. R\.; Mozer, M\.; Bengio, Y\.; Arora, S\.; et al\. 2025\. Ai\-assisted generation of difficult math questions\.*arXiv preprint arXiv:2407\.21009*\.
- Spearman \(1987\)Spearman, C\. 1987\. The proof and measurement of association between two things\.*The American Journal of Psychology*, 100\(3/4\): 441–471\.
- Tang et al\. \(2024\)Tang, Z\.; Zhang, X\.; Wang, B\.; and Wei, F\. 2024\. MathScale: Scaling instruction tuning for mathematical reasoning\. In*Proceedings of the International Conference on Machine Learning*\.
- Wang, Lan, and Baraniuk \(2021\)Wang, Z\.; Lan, A\.; and Baraniuk, R\. 2021\. Math word problem generation with mathematical consistency and problem context constraints\. In*Proceedings of the Conference on Empirical Methods in Natural Language Processing*, 5986–5999\.
- Wei et al\. \(2022\)Wei, J\.; Wang, X\.; Schuurmans, D\.; Bosma, M\.; Xia, F\.; Chi, E\.; Le, Q\. V\.; Zhou, D\.; et al\. 2022\. Chain\-of\-thought prompting elicits reasoning in large language models\.*Proceedings of the Advances in Neural Information Processing Systems*, 35: 24824–24837\.
- Wilcoxon \(1945\)Wilcoxon, F\. 1945\. Individual comparisons by ranking methods\.*Biometrics Bulletin*, 1\(6\): 80–83\.
- Xu, Smeets, and Bidarra \(2021\)Xu, Y\.; Smeets, R\.; and Bidarra, R\. 2021\. Procedural generation of problems for elementary math education\.*International Journal of Serious Games*, 8\(2\): 49–66\.
- Yu et al\. \(2024\)Yu, L\.; Jiang, W\.; Shi, H\.; YU, J\.; Liu, Z\.; Zhang, Y\.; Kwok, J\.; Li, Z\.; Weller, A\.; and Liu, W\. 2024\. MetaMath: Bootstrap your own mathematical questions for Large Language Models\. In*Proceedings of the International Conference on Learning Representations*\.
- Zhang et al\. \(2023\)Zhang, X\.; Li, C\.; Zong, Y\.; Ying, Z\.; He, L\.; and Qiu, X\. 2023\. Evaluating the performance of Large Language Models on gaokao benchmark\.*arXiv preprint arXiv:2305\.12474*\.
- Zheng et al\. \(2023\)Zheng, L\.; Chiang, W\.\-L\.; Sheng, Y\.; Zhuang, S\.; Wu, Z\.; Zhuang, Y\.; Lin, Z\.; Li, Z\.; Li, D\.; Xing, E\.; et al\. 2023\. Judging LLM\-as\-a\-judge with MT\-bench and chatbot arena\.*Proceedings of the Advances in Neural Information Processing Systems*, 36: 46595–46623\.
- Zhong et al\. \(2024\)Zhong, W\.; Cui, R\.; Guo, Y\.; Liang, Y\.; Lu, S\.; Wang, Y\.; Saied, A\.; Chen, W\.; and Duan, N\. 2024\. AGIEval: A human\-centric benchmark for evaluating foundation models\. In*Proceedings of the Findings of the association for computational linguistics: NAACL 2024*, 2299–2314\.

## Technical Supplement

This supplement reports additional experimental results and describes the prompting and evaluation protocols used in the main paper\.

## Appendix AAdditional Experimental Details

Unless otherwise stated, all solver\-effort analyses use Doubao\-Seed\-2\.0\-Pro under a fixed prompt, high reasoning effort, and a maximum output length of 65,536 tokens\.

### A\.1Data Processing and Coverage

Table[S1](https://arxiv.org/html/2611.31823#A1.T1)summarizes the construction of the seed set\. The common 174\-seed subset contains 37 function\-and\-derivative problems, 40 analytic\-geometry problems, 31 sequence problems, 42 probability\-and\-statistics problems, and 24 solid\-geometry problems\.

Table S1:Seed\-data processing\.The five annotators produce 1,039 valid structured outputs out of 1,085 attempted annotations, giving an overall extraction success rate of 95\.8%\. Table[S2](https://arxiv.org/html/2611.31823#A1.T2)gives the per\-model coverage\. The common subset is used for agreement analyses so that every seed has the same ten annotator pairs\.

Table S2:Structured\-annotation success rates\.Table[S3](https://arxiv.org/html/2611.31823#A1.T3)summarizes candidate flow in the main generation experiment\. Starting from the 174 common seeds and four generators, the experiment contains 696 possible seed–generator instances\. Excluding 33 annotations without usable mathematical kernels leaves 663 synthesis inputs\. Of these, 609 produce candidate problems with complete logical\-quality scores, and 475 pass the logical\-quality filter\.

Table S3:Candidate flow in the main generation experiment\.Table[S4](https://arxiv.org/html/2611.31823#A1.T4)summarizes the recorded model\-side configurations\. We retain provider defaults when a stored request does not specify an additional decoding parameter\.

Table S4:Recorded model configurations used in the main pipeline\.The semantic\-merging stage starts from 2,716 globally unique skill strings\. Subject\-conditioned partitioning creates 2,768 skill entries because the same surface string may occur in more than one domain; these entries are grouped into 238 canonical clusters\. The corresponding method inventory contains 1,379 globally unique strings grouped into 46 canonical clusters\. We retain unmatched labels to preserve annotation coverage, and the synthesis experiments use the normalized labels written to the generation inputs\.

### A\.2Structure\-Extraction Agreement

For label setsAAandBB, Jaccard similarity is computed as follows:

J⁡\(A,B\)=\|A∩B\|\|A∪B\|\.J\(A,B\)=\\frac\{\|A\\cap B\|\}\{\|A\\cup B\|\}\.\(S1\)For each seed and label type, we average over the ten pairs of five annotators\. Raw hierarchical skill paths are reduced to their leaf labels before comparison, matching the preprocessing used by the normalization pipeline\. Significance is assessed with a one\-sided paired Wilcoxon signed\-rank test over the 174 seed\-level averages, with the alternative that normalization increases agreement\. Skills improve from 0\.0153 to 0\.2610 \(p=1\.32×10−30p=1\.32\\times 10^\{\-30\}\), and methods improve from 0\.0453 to 0\.2113 \(p=1\.27×10−29p=1\.27\\times 10^\{\-29\}\)\. Exact\-set agreement changes from 0\.0006 to 0\.0230 for skills and from 0\.0063 to 0\.0443 for methods\.

For methods, the reportedpp\-value is slightly above the10−2910^\{\-29\}bound stated in the main text\.

Table[S5](https://arxiv.org/html/2611.31823#A1.T5)reports agreement for the two numerical difficulty annotations\. Pairwise correlations are computed across seeds for each annotator pair and then averaged\. Within\-seed standard deviation measures dispersion among the five annotators\.

Table S5:Agreement of numerical seed\-difficulty annotations\.
### A\.3Structural Checker Development

Table[S6](https://arxiv.org/html/2611.31823#A1.T6)details the development\-batch outcomes reported in the main text\. A nonemptyques\_revisedblock indicates a revision, an empty block indicates no revision, and outputs without a matching block are counted separately\. Percentages use all checker outputs for the corresponding prompt and round, including outputs without a matching block\. In the second round, the revised statement is checked when available, and the original statement is reused otherwise\.

Table S6:Structural\-checker outcomes on the two development batches\. Values in parentheses are percentages ofNN\.The two batches differ in both synthesis instructions and candidate counts\. These are development results\. The logical\-quality retention and solver\-effort results in Table[2](https://arxiv.org/html/2611.31823#Sx5.T2)use the initial statements from the main generation batch\.

### A\.4Detailed Target\-Level Analysis

Target difficulty valuesτi∈\{7,8\}\\tau\_\{i\}\\in\\\{7,8\\\}are assigned with random seed 42 and are not allowed to fall below the annotator’s abstraction score for the seed\. The corresponding implementation field is namedtarget\_abstraction\_score; throughout the paper, it is denoted byτi\\tau\_\{i\}because it serves as the requested difficulty level during synthesis\. Table[S7](https://arxiv.org/html/2611.31823#A1.T7)gives target\-specific logical retention and solver effort\. The tests compare retained target\-8 and target\-7 candidates separately for each generator\. All four one\-sided Mann–Whitney tests remain significant after Holm correction\.

Table S7:Detailed target\-level results\. Effort is the mean completion length over retained candidates\.To account for differences in average solver effort across generators, we conduct a robustness analysis using the following ordinary least\-squares model:

esolve,i=β0\+β1​𝟏​\(τi=8\)\+∑g=13αg​𝟏​\(Gi=g\)\+ϵi,e\_\{\\mathrm\{solve\},i\}=\\beta\_\{0\}\+\\beta\_\{1\}\\mathbf\{1\}\(\\tau\_\{i\}=8\)\+\\sum\_\{g=1\}^\{3\}\\alpha\_\{g\}\\mathbf\{1\}\(G\_\{i\}=g\)\+\\epsilon\_\{i\},\(S2\)whereGiG\_\{i\}denotes the candidate’s generator and one of the four generators is the reference category\. Fitted on the 475 retained candidates, the model givesβ^1=4,040\.3\\hat\{\\beta\}\_\{1\}=4\{,\}040\.3tokens\. An HC1 heteroscedasticity\-consistent standard error of 840\.4 yields a two\-sidedtt\-test result ofp=2\.06×10−6p=2\.06\\times 10^\{\-6\}\. Thus, the reported 4,040\-token difference is the target\-8 coefficient adjusted for generator\-level differences, rather than the unadjusted difference between the two target\-level means\. Aggregate logical retention is 80\.6% at target 7 and 75\.8% at target 8; Fisher’s exact test finds no significant difference \(p=0\.170p=0\.170\)\. These results confirm target\-level separation in fixed\-solver effort after accounting for generator variation\.

### A\.5Cross\-Domain Results

Table[S8](https://arxiv.org/html/2611.31823#A1.T8)reports results by the five source domains\. Retention ranges from 70\.0% in solid geometry to 83\.1% in probability and statistics\. Analytic geometry induces the largest mean fixed\-solver effort\. These results indicate that the pipeline is not confined to a single domain, while also revealing domain\-dependent reliability\.

Table S8:Logical retention and fixed\-solver effort by source domain\.
### A\.6Additional Diagnostic Analyses

#### Within\-generator stability\.

For the high\-difficulty batch, search features are recomputed from each generator\-specific solver\-output file and joined with graph records using the composite key consisting of generator and seed identifier\. This prevents candidates derived from the same seed by different generators from being conflated\. Table[S9](https://arxiv.org/html/2611.31823#A1.T9)reports the association between the aggregate search score and completion length within each generator\. The correlation remains significant in all four subsets, reducing the possibility that the aggregate result is driven only by between\-generator differences\.

Table S9:Search\-score correlations within each generator\.
#### Text\-only baseline\.

We compare solver\-search features with simple lexical indicators over a broader set of 3,160 solver outputs\. The aggregate text score reaches onlyρ=0\.236\\rho=0\.236, compared withρ=0\.578\\rho=0\.578for the aggregate search score on the same broader corpus\. Table[S10](https://arxiv.org/html/2611.31823#A1.T10)lists the strongest lexical features\. This comparison shows that the search features capture aspects of solution organization beyond surface lexical cues\.

Table S10:Text\-only correlations with completion length \(N=3,160N=3\{,\}160\)\.

### A\.7Seed\-Matched External Comparison

We compare GaokaoMathGen with an independently developed industrial generation pipeline\. Candidates are aligned by source\-seed identifier, and both sides are solved with the same fixed solver\. We additionally instantiate the same structure\-guided synthesis protocol with Gemini\-3\.1\-Pro and GPT\-5\.2 to broaden model coverage in this comparison\. Table[S11](https://arxiv.org/html/2611.31823#A1.T11)reports means, medians, and paired Wilcoxon results, providing an external benchmark under seed\-matched evaluation\.

Table S11:Seed\-matched fixed\-solver effort\.∗denotes Holm\-correctedp<0\.05p<0\.05\.The mean relative differences are\+3\.9%\+3\.9\\%,−0\.5%\-0\.5\\%,\+9\.3%\+9\.3\\%,\+9\.7%\+9\.7\\%, and\+11\.0%\+11\.0\\%, respectively, with a macro average of\+6\.7%\+6\.7\\%\. After Holm correction, the GPT\-5\.4 comparison remains significant\. Overall, GaokaoMathGen achieves competitive or higher fixed\-solver effort across the seed\-matched subsets\.

### A\.8Teacher Audit

For the teacher audit, all 160 retained GPT\-5\.4 candidates are re\-solved in a dedicated ranking run using the same solver model and decoding settings as the main analysis\. The ranking run uses a separate fixed instruction, and its completion lengths are used only to select the 60 highest\-effort candidates for the audit\. A high\-school mathematics teacher assesses the difficulty and quality of every selected problem individually\. All 60 are judged to reach the difficulty expected of a Gaokao finale or penultimate problem, and 59 contain no severe logical issue\. Table[S12](https://arxiv.org/html/2611.31823#A1.T12)summarizes these item\-level judgments, providing targeted human evidence for the quality and difficulty of high\-effort candidates\.

Table S12:Teacher audit of the 60 GPT\-5\.4 candidates selected by the dedicated ranking run\.The 59 candidates without a severe logical issue include the 21 candidates with minor concerns noted in the main text\. The single severe case concerns an ambiguous dependency between subproblems\.

## Appendix BPrompt and Protocol Details

#### Structure annotation\.

Each annotator receives the seed statement and returns problem type, subject area, skills, methods, core identity, pivot step, abstraction and computation scores, a difficulty anchor, and auxiliary structural fields\. Skills are expressed as curriculum knowledge components, while methods describe reusable solution strategies\. The output is parsed into a fixed JSON schema\. Skill normalization is performed separately within the five source domains, whereas method normalization is performed globally\.

#### Semantic normalization\.

We group raw leaf labels by semantic equivalence using multiple LLM proposals and adopt a mapping when at least two proposals agree\. Before mapping, we remove hierarchy prefixes and parenthetical elaborations\. We retain unmatched labels to preserve information, and the agreement experiment uses the resulting normalized labels\.

#### Structure\-guided synthesis\.

The synthesis prompt provides skills, methods, the reference core identity, the reference pivot step, target difficulty, and difficulty anchor\. In the stored prompt, target difficulty is represented by the fieldtarget\_abstraction\_score\. The generator returns a construction blueprint, a complete problem statement inside a dedicated tag, and a reference solution\. The prompt requires kernel grounding, concealment by concept wrapping or structural reorganization, shortcut analysis, condition\-redundancy checks, and subproblem progression\. It supports domain\-consistent adaptation of the reference kernel to integrate the specified skills and methods, while requiring the final core identity and pivot step to be recorded explicitly in the blueprint\.

#### Structural checking and revision\.

The checker receives the generated statement together with the final core identity and pivot step, but not the generator’s full self\-explanation\. The following is an English rendering of the final checker prompt\. The operational prompt is written in Chinese\.

> Role\.Act as a logic reviewer for Chinese senior\-high\-school mathematics problem design and identify defects rather than evaluating stylistic appeal\. Inputs\.The finalcore\_identity, the finalpivot\_step, and thegenerated\_problem\. Task\.Determine whether the problem realizes the supplied mathematical kernel and whether its statement contains structural or mathematical defects\. Checks\.\(1\) Trace each condition to the core identity, pivot step, and conclusion\. \(2\) Test whether special\-value substitution, direct expansion, numerical trial, or another elementary route bypasses the pivot step\. \(3\) Remove each condition in turn and identify conditions that do not affect unique solvability\. \(4\) For multi\-part problems, examine whether later subproblems meaningfully build on earlier ones\. \(5\) Check variable domains, consistency of conditions, leakage between subproblems, boundary cases, notation, and solvability\. Output\.Return a check\-by\-check report, a severity\-ordered defect list, and, when a defect is found, a revised statement enclosed by the designatedques\_revisedtag together with a concise revision note\.

When a violation is identified, the returned statement is checked once more using the same final protocol\.

#### Logical\-quality evaluator\.

The evaluator scores clarity and grammar, logical coherence and completeness, and mathematical validity and solvability from 1 to 5\. The prompt requests a short justification followed by a machine\-readable score list\. A problem is retained only when the mean is at least 3 and no score is at most 2\.

#### Fixed solver\.

Every retained problem is prefixed with the same instruction requesting a detailed derivation and final answer\. The solver uses high reasoning effort and a 65,536\-token maximum\. We record completion tokens and retain the generated solution for deterministic feature extraction\.

#### Search\-feature extraction\.

No additional LLM prompt is used for search features\. A deterministic parser counts explicit subproblems, case\-analysis constructions, elimination expressions, verification expressions, and explicit branch markers in the solver output\. The aggregate search score combines branching, case\-analysis, and verification signals after normalization\. This distinction is important because the extracted features describe observable output organization rather than hidden internal model states\.

#### Teacher audit\.

The ranking run uses Doubao\-Seed\-2\.0\-Pro with high reasoning effort, a 65,536\-token maximum, and a fixed Chinese instruction requesting a complete solution and final answer\. Its completion lengths are used to rank the GPT\-5\.4 audit pool\. For each selected problem, the teacher judges whether its difficulty reaches the level of a Gaokao finale or penultimate problem and checks for severe logical defects\.

Similar Articles

@FinanceYF5: Google new paper: Let LLM solve math competition problems, accuracy jumps from 10% to 70%. [LEAP framework] Instead of having the model write a complete proof at once, it breaks down the problem into a goal tree, learns step by step from Lean verifier feedback, and reuses proven lemmas. Result: All 12 problems of Putnam 2025 solved, IMO style…

X AI KOLs Timeline

Google new paper proposes the LEAP framework, which decomposes math problems into goal trees, learns from Lean verifier feedback, and improves LLM accuracy on math competition problems from 10% to 70%. It solves all 12 problems of Putnam 2025 and surpasses dedicated gold-medal-level systems on IMO-style benchmarks.

Reasoning, Code, or Both? How Large Language Models Handle Variations in Math Questions

arXiv cs.AI

This paper evaluates three approaches (pure chain-of-thought reasoning, single-shot code execution, and iterative code execution) on 1,000 GSM-Symbolic problems using Claude Haiku 4.5, finding that chain-of-thought is the most robust to perturbation, while code execution does not improve reasoning robustness on grade-school math problems.

@askalphaxiv: A fascinating paper supervised by Yoshua Bengio "Generative Recursive Reasoning" Test time compute should scale not jus…

X AI KOLs Timeline

The paper 'Generative Recursive Reasoning' introduces a method that scales test-time compute by sampling multiple latent reasoning trajectories in parallel, enabling the model to explore diverse hypotheses and avoid deterministic collapse. This approach improves performance on tasks such as Sudoku, ARC AGI, N Queens, and graph coloring, and can also generate valid Sudoku boards and MNIST digits.

RealMath-Eval: Why SOTA Judges Struggle with Real Human Reasoning

arXiv cs.AI

RealMath-Eval is a benchmark of 224 real-world high school math exam responses that reveals a significant 'Evaluation Gap': state-of-the-art LLM judges perform poorly on authentic human reasoning (MSE ~2.96) compared to synthetic LLM-generated solutions (MSE ~1.17), due to higher diversity and surprisal in human error patterns.