File size: 3,014 Bytes
67b805c
 
 
87a7898
 
67b805c
87ca67c
ad8c9cc
67b805c
 
b3df895
67b805c
 
c4a9f22
 
 
 
 
67b805c
 
c4a9f22
 
 
 
1ddc430
c4a9f22
a50c0e5
c4a9f22
 
 
67b805c
c4a9f22
 
 
 
 
 
 
 
 
 
 
 
 
 
612d639
c4a9f22
 
a50c0e5
c4a9f22
 
612d639
 
 
 
 
 
c4a9f22
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<div align="center">
  <h2>GeoX: Geometric Problem Solving Through Unified Formalized Vision-Language Pre-training</h2>
  <p align="center">
    <a href="https://github.com/UniModal4Reasoning/GeoX">💡Github Page</a> •
    <a href="https://huggingface.co/papers/2412.11863">📃Paper</a> •
    <a href="https://huggingface.co/datasets/U4R/GeoX-data">🗂Dataset</a> •
    <a href="https://huggingface.co/U4R/GeoX">🤗Checkpoint • 
    <a href="#-citation"> 📖Citation
  </p>
  <br>
  <!-- <img src="https://huggingface.co/datasets/U4R/GeoX-data/blob/main/teaser.png" height="85%"> -->
</div>


## Introduction to GeoX

**GeoX** is a multi-modal large model designed for automatic geometric problem solving, utilizing three progressive training stages to enhance diagram understanding and reasoning. In this paper, we validate that the **formal vision-language training** paradigm is a simple-yet-effective solution for complex mathematical diagram learning.



## Data Preparation for GeoX

### Step 1. Data for Unimodal Pre-training

You can download our collected diagram images from [this link](https://huggingface.co/datasets/U4R/GeoX-data/pretrain-data.zip).

Additionally, we use existing geometric text to build a corpus, which is detailed in [our paper]().

### Step 2. Data for Geometry-Language Alignment


To train the GS-Former, please prepare the [unified formal annotations](https://huggingface.co/datasets/U4R/GeoX-data/unified_formal_annotations.json) and paired [images](https://huggingface.co/datasets/U4R/GeoX-data/images.zip).

### Step 3. Data for End-to-End Visual Instruction Tuning




We use the GeoQA, UniGeo, Geometry3K, and PGPS9K datasets for fine-tuning and evaluation:

1. **GeoQA**: Follow the instructions [here](https://github.com/chen-judge/GeoQA) to download the `GeoQA` dataset.
2. **UniGeo**: Follow the instructions [here](https://github.com/chen-judge/UniGeo) to download the `UniGeo` dataset.
3. **Geometry3K and PGPS9K**: Follow the instructions [here](https://github.com/mingliangzhang2018/PGPS) to download the `PGPS9K` datasets. The `Geometry3K` is also provided in this database.


<font color="#dd0000">Note:</font> Due to copyright restrictions, we are currently only providing links for these datasets. Full datasets for tuning and evaluation organized by us will be provided via email. If you need it, please contact us by [email](bo.zhangzx@gmail.com).


For more details, please refer to [our paper]() and [GitHub repository](https://github.com/UniModal4Reasoning/GeoX). If you find our work helpful, please consider starring ⭐ in this repository and citing us:

```bibtex
@article{xia2024geox,
  title={GeoX: Geometric Problem Solving Through Unified Formalized Vision-Language Pre-training},
  author={Xia, Renqiu and Li, Mingsheng and Ye, Hancheng and Wu, Wenjie and Zhou, Hongbin and Yuan, Jiakang and Peng, Tianshuo and Cai, Xinyu and Yan, Xiangchao and Wang, Bin and others},
  journal={arXiv preprint arXiv:2412.11863},
  year={2024}
}
```