Download README.md from PG23/Graph-Understanding-Multimodal-Benchmark: direct link, hf CLI and curl.
- Browser
- Download file 4.47 kB
-
https://huggingface.co/datasets/PG23/Graph-Understanding-Multimodal-Benchmark/resolve/main/README.md
- Command line
-
hf download hf://datasets/PG23/Graph-Understanding-Multimodal-Benchmark/README.md
-
curl -L -o README.md https://huggingface.co/datasets/PG23/Graph-Understanding-Multimodal-Benchmark/resolve/main/README.md
license: cc0-1.0
task_categories:
- visual-question-answering
- image-text-to-text
language:
- en
- zh
pretty_name: Graph Understanding Multimodal Benchmark
size_categories:
- 1K<n<10K
tags:
- graph-understanding
- flowchart
- gantt-chart
- knowledge-graph
- mind-map
- route-map
- vlm
- benchmark
configs:
- config_name: default
default: true
data_files:
- split: train
path: data/train.parquet
- split: test
path: data/test.parquet
- config_name: eval_subset
data_files:
- split: test
path: eval_subset/eval.parquet
Graph Understanding Multimodal Benchmark
Dataset of the ACL 2024 paper Advancement in Graph Understanding: A Multimodal Benchmark and Fine-Tuning of Vision-Language Models.
- Code / results: https://github.com/BIT-AQH/Graph-Understanding-Multimodal-Benchmark
- Paper: https://aclanthology.org/2024.acl-long.404/
The benchmark evaluates how well vision-language models understand
graph-structured images: flowcharts, Gantt charts, knowledge graphs, mind
maps and route maps. It is bilingual (English / Chinese) and every question is
labelled with a difficulty level (simple, medium, complex).
One example per graph type (test split, English).
Statistics
| Split | Language | QA pairs | Images |
|---|---|---|---|
| train | English | 2,945 | 1,210 |
| train | Chinese | 2,106 | 1,130 |
| test | English | 738 | 598 |
| test | Chinese | 554 | 302 |
| eval subset | English + Chinese | 239 | 93 |
QA pairs per graph type (train / test):
| Language | Flowchart | Gantt chart | Knowledge graph | Mind map | Route map |
|---|---|---|---|---|---|
| English | 571 / 143 | 451 / 113 | 592 / 148 | 475 / 119 | 856 / 215 |
| Chinese | 64 / 18 | 16 / 30 | 798 / 193 | 479 / 118 | 749 / 195 |
Usage
from datasets import load_dataset
ds = load_dataset("PG23/Graph-Understanding-Multimodal-Benchmark") # train / test
ev = load_dataset("PG23/Graph-Understanding-Multimodal-Benchmark", "eval_subset") # evaluation subset
print(ds["train"][0])
Fields (default config)
| Field | Description |
|---|---|
id |
Sample id (<lang>-<graph type>-<image>-<difficulty>). |
image |
The graph image. |
image_path |
Path of the image relative to images/<split>/. |
language |
en or zh. |
graph_type |
flowchart, gantt_chart, knowledge_graph, mind_map or route_map. |
difficulty |
simple, medium, complex (empty for a few multi-question samples). |
question / answer |
The question and the reference answer. |
eval_subset config
The 239 questions (93 images) with human-checked ground truth that are used for
the model comparison in the paper (GPT-4V, Gemini, LLaVA, MiniGPT-4 and the
fine-tuned models). Fields: question_id, image, image_path, language,
graph_type, difficulty, question, answer. The corresponding model
outputs are available in the GitHub repository under results/.
Raw files (LLaVA format)
Besides the Parquet files, the repository contains the original release:
annotations/
├── train/{train,train_en,train_zh}.jsonl # LLaVA conversation format
├── test/{test,test_en,test_zh}.jsonl
└── eval/eval.jsonl
images/
├── train/ # `image` field of annotations/train/*.jsonl is relative to this folder
├── test/
└── eval/
{
"id": "eng-routemap-image80-complex",
"image": "routemap/image80/image80.jpg",
"conversations": [
{"from": "human", "value": "<image>\n..."},
{"from": "gpt", "value": "..."}
]
}
These files can be used directly for LLaVA-style fine-tuning
(--data_path annotations/train/train.jsonl --image_folder images/train).
Citation
@inproceedings{ai2024advancement,
title={Advancement in Graph Understanding: A Multimodal Benchmark and Fine-Tuning of Vision-Language Models},
author={Ai, Qihang and Li, Jiafan and Dai, Jincheng and Zhou, Jianwu and Liu, Lemao and Jiang, Haiyun and Shi, Shuming},
booktitle={Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
pages={7485--7501},
year={2024}
}

