Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Plane Geometry Diagram Parsing

About

Geometry diagram parsing plays a key role in geometry problem solving, wherein the primitive extraction and relation parsing remain challenging due to the complex layout and between-primitive relationship. In this paper, we propose a powerful diagram parser based on deep learning and graph reasoning. Specifically, a modified instance segmentation method is proposed to extract geometric primitives, and the graph neural network (GNN) is leveraged to realize relation parsing and primitive classification incorporating geometric features and prior knowledge. All the modules are integrated into an end-to-end model called PGDPNet to perform all the sub-tasks simultaneously. In addition, we build a new large-scale geometry diagram dataset named PGDP5K with primitive level annotations. Experiments on PGDP5K and an existing dataset IMP-Geometry3K show that our model outperforms state-of-the-art methods in four sub-tasks remarkably. Our code, dataset and appendix material are available at https://github.com/mingliangzhang2018/PGDP.

Ming-Liang Zhang, Fei Yin, Yi-Han Hao, Cheng-Lin Liu• 2022

Related benchmarks

TaskDatasetResultRank
Geometry Problem SolvingIMP-Geometry3K
Accuracy74.3
10
Point DetectionPGDP5K 1.0 (test)
Precision99.85
6
Line DetectionPGDP5K 1.0 (test)
Precision99.3
3
Specification Generation in Geometry Formal LanguageIMP-Geometry3K
All: Likely Same99.33
3
Specification Generation in Geometry Formal LanguagePGDP5K
Likely Same (All)99
3
Showing 5 of 5 rows

Other info

Code

Follow for update