Synthesizing Multimodal Geometry Datasets from Scratch and Enabling Visual Alignment via Plotting Code
About
Multimodal geometry reasoning requires models to jointly understand visual diagrams and perform structured symbolic inference, yet current vision--language models struggle with complex geometric constructions due to limited training data and weak visual--symbolic alignment. We propose a pipeline for synthesizing complex multimodal geometry problems from scratch and construct a dataset named \textbf{GeoCode}, which decouples problem generation into symbolic seed construction, grounded instantiation with verification, and code-based diagram rendering, ensuring consistency across structure, text, reasoning, and images. Leveraging the plotting code provided in GeoCode, we further introduce code prediction as an explicit alignment objective, transforming visual understanding into a supervised structured prediction task. GeoCode exhibits substantially higher structural complexity and reasoning difficulty than existing benchmarks, while maintaining mathematical correctness through multi-stage validation. Extensive experiments show that models trained on GeoCode achieve consistent improvements on multiple geometry benchmarks, demonstrating both the effectiveness of the dataset and the proposed alignment strategy. The code will be available at https://github.com/would1920/GeoCode.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Geometry Problem Solving | GeoQA | Top-1 Acc84.21 | 26 | |
| Plane Geometry Problem Solving | MathV (test) | Accuracy84.45 | 14 | |
| Geometric Reasoning | Geometry3K (test) | Accuracy0.6007 | 10 | |
| Geometry Problem Solving | OlympiadBench | Accuracy57.34 | 7 | |
| Geometric Reasoning | MATHVERSE Plane Geometry | Accuracy65.1 | 4 | |
| Geometric Reasoning | Test mini | Accuracy26.49 | 4 | |
| Geometry Problem Solving | Geometry3K | -- | 3 | |
| Geometry Problem Solving | GeoCode mini (test) | -- | 3 |