TL;DR
While large language models (LLMs) excel at answering exam questions, they lack "curriculum cognition"—the structural understanding of how educational concepts connect, sequence, and ground visually in textbooks. To bridge this gap, the authors introduce K12-KGraph, a textbook-aligned knowledge graph, alongside a massive 23,640-question benchmark (K12-Bench) and a highly sample-efficient fine-tuning dataset (K12-Train). Their results show that structurally grounded training data drastically improves educational AI performance, proving that data quality and structure can trump raw volume.
What Problem Does This Paper Address?
Current LLMs are increasingly deployed as AI tutors, yet standard educational benchmarks only measure factual recall—whether a model can correctly answer a specific exam question. However, an effective human teacher does more than recall facts; they understand the pedagogical structure of a subject. They know which concepts are prerequisites for others, how ideas are grouped taxonomically, and how textbook diagrams provide visual evidence for abstract theories.
The authors define this capability as curriculum cognition. Existing instruction-tuning datasets do not explicitly teach this structure, and current benchmarks do not test it. This paper addresses this bottleneck by formalizing curriculum cognition and providing the resources needed to evaluate and train models on it.
Methods
The authors developed a five-stage pipeline to construct K12-KGraph directly from official Chinese K-12 textbooks published by the People's Education Press:
- OCR-based Parsing: Converting textbook PDFs into structured Markdown using MinerU.
- Table-of-Contents Parsing: Segmenting the Markdown files into per-section documents.
- Knowledge Extraction: Prompting frontier LLMs with schema-constraint rules to extract section-level nodes and edges.
- Hierarchical Merge: Reconciling and deduplicating entities bottom-up from the section level to the book and subject levels.
- Topological Validation: Applying depth-first cycle detection to ensure taxonomic (
is_a) and prerequisite (prerequisites_for) relationships form valid Directed Acyclic Graphs (DAGs), followed by human expert verification.
Using this verified graph, the authors deterministically generated evaluation questions for K12-Bench by traversing graph neighborhoods. For K12-Train, they synthesized high-quality question-answer pairs by prompting models to articulate the exact relationships defined by the graph's edges.
Datasets
The project introduces three core resources derived from the same underlying graph structure:
- K12-KGraph: A heterogeneous property graph covering Mathematics, Physics, Chemistry, and Biology across primary, middle, and high school. It features 9 node types and 14 relation types split into textual and multimodal components.
- K12-Bench: A benchmark consisting of 23,640 graph-derived multi-select questions across five task families: Ground (Knowledge Grounding), Prereq (Prerequisite Reasoning), Neighbor (Neighbor Recommendation), Evidence (Experiment Evidence Chain), and Locate (Cross-Chapter Indexing).
- K12-Train: An educational supervised fine-tuning (SFT) corpus containing 7,335 samples. It is split into K12-Train-Text (2,267 text-only QA pairs) and K12-Train-MM (5,068 multimodal VQA pairs).
The scale and distribution of the graph's textual and multimodal components are detailed below:
Key Insights and Ideas
- The Structural Blindspot: Even state-of-the-art proprietary models struggle with curriculum structure. On K12-Bench, Gemini-3-Flash only achieves a 57.1% exact match, while Gemma-4-31B-IT hits 46.4%. The hardest tasks are prerequisite reasoning and neighbor recommendation, proving that models lack an innate understanding of structural dependencies.
- Sample Efficiency via Structure: Under a strictly controlled budget of 2,300 samples, fine-tuning on K12-Train-Text consistently beats eight mainstream instruction-tuning datasets (including OpenHermes, UltraChat, and WizardLM) on downstream educational benchmarks.
- Cross-Subject Transferability: Fine-tuning on STEM-focused K12-Train data unexpectedly boosted performance in non-STEM subjects like Chinese, History, and Politics on GaokaoBench. This indicates that the model didn't just memorize facts; it acquired a transferable, structurally grounded reasoning style.
- Complementarity of Modalities: For Vision-Language Models (VLMs), combining text and visual training data (K12-Train-Full) outperformed text-only or multimodal-only training, demonstrating that textual curriculum structure and visual grounding provide mutual reinforcement.
Key Results
- Benchmark Evaluation: On K12-Bench, smaller open-source models like LLaMA-3-8B-Instruct performed close to random guess (7.2% vs 6.7% exact match), highlighting the difficulty of multi-select structural tasks without targeted training.
- Text-Only SFT: On GaokaoBench, Qwen3-4B-Base fine-tuned on K12-Train-Text achieved a total score of 1009.96, outperforming the strongest baseline (DataFlow) by +24.1 points and the official instruct version by +114.6 points.
- Multimodal SFT: On the K12Vista benchmark, Qwen3.5-2B-Base fine-tuned on K12-Train-Full was the only model configuration to improve upon the untuned base model (79.95% vs 79.72%), outperforming baselines trained on datasets up to 60 times larger (e.g., WizardLM with 142k samples).
Limitations and Future Work
The authors note that K12-KGraph is currently limited to four core STEM subjects and is strictly aligned with the Chinese national curriculum (People's Education Press). Expanding the graph schema to encompass humanities and adapting the pipeline to international curricula (such as K-12 systems in the US or Europe) remain open directions for future work. Additionally, the initial extraction phase still relies on frontier LLMs, leaving room for minor extraction errors despite rigorous downstream topological and human validation.
Summary updated