GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Organizations: State Key Laboratory of Blockchain and Data Security, College of Computer Science and Technology, Zhejiang University · Zhejiang Sci-Tech University · iflytek
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.
Figures & tables
| Label | Metric | Raw | Normalized |
|---|---|---|---|
| Skills | Jaccard | 0.015 | 0.261 |
| Skills | Exact | 0.001 | 0.023 |
| Methods | Jaccard | 0.045 | 0.211 |
| Methods | Exact | 0.006 | 0.044 |
| Generator | Pass (%) | (%) | ||
|---|---|---|---|---|
| DeepSeek-V3.2 | 59.5 | 15,083 | 20,198 | +33.9 |
| Doubao-Seed-2.0-Pro | 85.1 | 18,717 | 22,927 | +22.5 |
| GPT-5.4 | 94.1 | 21,078 | 24,041 | +14.1 |
| Qwen3.5-Plus | 68.3 | 18,611 | 23,302 | +25.2 |
| All | 78.0 | 18,909 | 22,996 | +21.6 |
| Evidence | Feature | ||
|---|---|---|---|
| Graph | Node count | 0.067 | 0.146 |
| Graph | Edge count | 0.053 | 0.246 |
| Solver output | Branching factor | 0.438 | |
| Solver output | Case analysis | 0.490 | |
| Solver output | Verification | 0.322 | |
| Solver output | Search score | 0.539 |
| Generator | Ref. | Ours | ||
|---|---|---|---|---|
| Doubao-Seed-2.0-Pro | 131 | 20,245 | 21,031 | +3.9 |
| Gemini-3.1-Pro | 153 | 19,398 | 19,296 | |
| Qwen3.5-Plus | 112 | 19,286 | 21,082 | +9.3 |
| GPT-5.2 | 146 | 18,198 | 19,965 | +9.7 |
| GPT-5.4 | 156 | 20,447 | 22,686 | +11.0 ∗ |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Stage | Problems | Retained (%) |
|---|---|---|
| Raw collection | 250 | 100.0 |
| After automatic screening | 217 | 86.8 |
| Successful for all five annotators | 174 | 69.6 |
| Annotator | Valid/Attempted | Success (%) |
|---|---|---|
| GPT-5.4 | 217/217 | 100.0 |
| Qwen3.5-Plus | 217/217 | 100.0 |
| DeepSeek-V3.2 | 216/217 | 99.5 |
| Doubao-Seed-2.0-Pro | 215/217 | 99.1 |
| Claude Opus 4.6 | 174/217 | 80.2 |
| All | 1,039/1,085 | 95.8 |
| Stage | Instances |
|---|---|
| Possible seed–generator instances | 696 |
| Usable synthesis inputs | 663 |
| Candidates with complete quality scores | 609 |
| Candidates retained for difficulty analysis | 475 |
| Role | Model | Recorded configuration |
|---|---|---|
| Structure annotation | DeepSeek-V3.2 | High reasoning effort; 65,536 output tokens |
| Structure annotation | Doubao-Seed-2.0-Pro | High reasoning effort; 65,536 output tokens |
| Structure annotation | GPT-5.4 | Extra-high reasoning effort; detailed summary; 65,536 output tokens |
| Structure annotation | Qwen3.5-Plus | Thinking enabled; 65,536 output tokens |
| Structure annotation | Claude Opus 4.6 | 65,536 output tokens |
| Main synthesis | DeepSeek-V3.2 | High reasoning effort; 65,536 output tokens |
| Dimension | Pairwise | Within-seed SD |
|---|---|---|
| Abstraction | 0.801 | 0.670 |
| Computation | 0.774 | 0.803 |
| Synthesis prompt | Checker round | Revision | No revision | Missing block | |
|---|---|---|---|---|---|
| Initial | First | 663 | 652 (98.3) | 4 (0.6) | 7 |
| Initial | Second | 663 | 650 (98.0) | 5 (0.8) | 8 |
| Refined | First | 631 | 537 (85.1) | 46 (7.3) | 48 |
| Refined | Second | 631 | 546 (86.5) | 75 (11.9) | 10 |
| Generator | Target-7 pass | Target-8 pass | ( ) | ( ) | (%) | Holm |
|---|---|---|---|---|---|---|
| DeepSeek-V3.2 | 36/66 (54.5) | 36/55 (65.5) | 15,083 (36) | 20,198 (36) | +33.9 | 0.0133 |
| Doubao-Seed-2.0-Pro | 59/67 (88.1) | 72/87 (82.8) | 18,717 (59) | 22,927 (72) | +22.5 | 0.0044 |
| GPT-5.4 | 76/76 (100.0) | 84/94 (89.4) | 21,078 (76) | 24,041 (84) | +14.1 | 0.0144 |
| Qwen3.5-Plus | 53/69 (76.8) | 59/95 (62.1) | 18,611 (53) | 23,302 (59) | +25.2 | 0.0280 |
| All | 224/278 (80.6) | 251/331 (75.8) | 18,909 (224) | 22,996 (251) | +21.6 | – |
| Domain | Retained/All | Pass (%) | Mean effort |
|---|---|---|---|
| Functions/derivatives | 101/128 | 78.9 | 21,386 |
| Analytic geometry | 110/145 | 75.9 | 24,245 |
| Sequences | 85/108 | 78.7 | 18,693 |
| Probability/statistics | 123/148 | 83.1 | 19,855 |
| Solid geometry | 56/80 | 70.0 | 20,529 |
| Generator | Spearman | |
|---|---|---|
| DeepSeek-V3.2 | 72 | 0.636 |
| Doubao-Seed-2.0-Pro | 131 | 0.528 |
| GPT-5.4 | 160 | 0.554 |
| Qwen3.5-Plus | 112 | 0.462 |
| Feature | Spearman |
|---|---|
| Aggregate text score | 0.236 |
| Inverse-problem indicator | 0.151 |
| Quantifier depth | 0.143 |
| Existence indicator | 0.135 |
| Condition indicator | 0.132 |
| Parameter indicator | 0.129 |
| Generator | Ref. mean | Ours mean | Ref. median | Ours median | Holm | |
|---|---|---|---|---|---|---|
| Doubao-Seed-2.0-Pro | 131 | 20,245 | 21,031 | 18,555 | 19,327 | 0.9596 |
| Gemini-3.1-Pro | 153 | 19,398 | 19,296 | 18,975 | 18,483 | 0.9596 |
| Qwen3.5-Plus | 112 | 19,286 | 21,082 | 17,675 | 18,540 | 0.9596 |
| GPT-5.2 | 146 | 18,198 | 19,965 | 17,915 | 18,521 | 0.0857 |
| GPT-5.4 | 156 | 20,447 | 22,686 | 19,834 | 21,480 | 0.0145 ∗ |
| Assessment outcome | Count | Percentage |
|---|---|---|
| Finale/penultimate difficulty | 60 | 100.0 |
| No severe logical issue | 59 | 98.3 |
| Severe logical issue | 1 | 1.7 |