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| 33 |
- split: test
|
| 34 |
path: data/test-*
|
| 35 |
+
|
| 36 |
+
license: cc-by-nc-4.0
|
| 37 |
+
datasets:
|
| 38 |
+
- bpmn
|
| 39 |
+
language:
|
| 40 |
+
- en
|
| 41 |
+
tags:
|
| 42 |
+
- vision
|
| 43 |
+
- multimodal
|
| 44 |
+
- diagrams
|
| 45 |
+
- business-process
|
| 46 |
+
- bpmn
|
| 47 |
+
- xml
|
| 48 |
+
- vlm
|
| 49 |
+
- structured-output
|
| 50 |
+
- ocr
|
| 51 |
+
task_categories:
|
| 52 |
+
- image-to-text
|
| 53 |
+
- structured-prediction
|
| 54 |
+
pretty_name: BPMN Diagram ↔ BPMN XML Paired Dataset
|
| 55 |
+
size_categories:
|
| 56 |
+
- 1K<n<10K
|
| 57 |
---
|
| 58 |
+
|
| 59 |
+
# 🏗️ BPMN Diagram → BPMN XML Paired Dataset
|
| 60 |
+
### Structured Extraction from Business Process Diagrams using Vision-Language Models
|
| 61 |
+
|
| 62 |
+
This dataset contains **Business Process Model and Notation (BPMN)** diagrams paired with their corresponding `.bpmn` XML ground truth files.
|
| 63 |
+
The dataset is designed for **training, evaluation, and benchmarking** multimodal models that perform *structured extraction from diagrams*, including OCR-enhanced pipelines and vision-language models (VLMs).
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
# 📦 Dataset Contents
|
| 68 |
+
|
| 69 |
+
Each example includes:
|
| 70 |
+
|
| 71 |
+
| Field | Description |
|
| 72 |
+
|-------|-------------|
|
| 73 |
+
| `image` | BPMN diagram image (PNG/JPEG), uploaded directly to HF |
|
| 74 |
+
| `bpmn` | Text content of the corresponding `.bpmn` XML file |
|
| 75 |
+
| `image_filename` | Original image filename |
|
| 76 |
+
| `bpmn_filename` | Original BPMN filename |
|
| 77 |
+
| `split` | One of: `train`, `dev`, `test` |
|
| 78 |
+
|
| 79 |
+
Folder structure used during creation:
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
dataset/
|
| 83 |
+
├── train/
|
| 84 |
+
│ ├── images/
|
| 85 |
+
│ ├── bpmn/
|
| 86 |
+
├── dev/
|
| 87 |
+
│ ├── images/
|
| 88 |
+
│ ├── bpmn/
|
| 89 |
+
├── test/
|
| 90 |
+
├── images/
|
| 91 |
+
├── bpmn/
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
# 🖼️ Example Images
|
| 97 |
+
|
| 98 |
+
Replace these after dataset upload:
|
| 99 |
+
|
| 100 |
+
### **Example 1**
|
| 101 |
+

|
| 102 |
+
|
| 103 |
+
### Ground Truth BPMN (excerpt)
|
| 104 |
+
```xml
|
| 105 |
+
<definitions ... >
|
| 106 |
+
<process id="Process_1">
|
| 107 |
+
...
|
| 108 |
+
</process>
|
| 109 |
+
</definitions>
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
---
|
| 113 |
+
|
| 114 |
+
# 🔧 Usage
|
| 115 |
+
|
| 116 |
+
```python
|
| 117 |
+
from datasets import load_dataset
|
| 118 |
+
|
| 119 |
+
ds = load_dataset("pritamdeka/BPMN-VLM")
|
| 120 |
+
|
| 121 |
+
example = ds["train"][0]
|
| 122 |
+
|
| 123 |
+
image = example["image"] # PIL image object
|
| 124 |
+
bpmn_text = example["bpmn"] # XML content as string
|
| 125 |
+
image_name = example["image_filename"]
|
| 126 |
+
bpmn_name = example["bpmn_filename"]
|
| 127 |
+
```
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
# 🎯 Applications
|
| 132 |
+
|
| 133 |
+
This dataset is suitable for:
|
| 134 |
+
|
| 135 |
+
- BPMN diagram understanding and parsing
|
| 136 |
+
- OCR + VLM multimodal pipelines
|
| 137 |
+
- Structured JSON extraction
|
| 138 |
+
- Diagram-to-XML reconstruction
|
| 139 |
+
- Fine-tuning Pixtral, Qwen2-VL, LLaMA 3.2 Vision, Aya Vision, Phi multimodal, Gemma-VLM
|
| 140 |
+
- Evaluation against ground truth `.bpmn` files
|
| 141 |
+
|
| 142 |
+
Ideal for research in:
|
| 143 |
+
|
| 144 |
+
- Vision-language reasoning
|
| 145 |
+
- Diagram understanding
|
| 146 |
+
- Business process modelling automation
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
# 📜 Citation
|
| 151 |
+
|
| 152 |
+
If you use this dataset, please cite:
|
| 153 |
+
|
| 154 |
+
```bibtex
|
| 155 |
+
@misc{deka2025structuredextractionbusinessprocess,
|
| 156 |
+
title={Structured Extraction from Business Process Diagrams Using Vision-Language Models},
|
| 157 |
+
author={Pritam Deka and Barry Devereux},
|
| 158 |
+
year={2025},
|
| 159 |
+
eprint={2511.22448},
|
| 160 |
+
archivePrefix={arXiv},
|
| 161 |
+
primaryClass={cs.AI},
|
| 162 |
+
url={https://arxiv.org/abs/2511.22448},
|
| 163 |
+
}
|
| 164 |
+
```
|
| 165 |
+
|
| 166 |
+
---
|
| 167 |
+
|
| 168 |
+
# 📄 License
|
| 169 |
+
|
| 170 |
+
This dataset is released under **CC BY-NC 4.0** —
|
| 171 |
+
You may use it for **research and non-commercial purposes** with attribution.
|
| 172 |
+
|
| 173 |
+
---
|
| 174 |
+
|
| 175 |
+
# 🙏 Acknowledgements
|
| 176 |
+
|
| 177 |
+
Developed at the **Advanced Research Centre (ARC), Queen’s University Belfast**, as part of research into multimodal structured extraction from business process diagrams.
|
| 178 |
+
|
| 179 |
+
---
|
| 180 |
+
|
| 181 |
+
# 📬 Contact
|
| 182 |
+
|
| 183 |
+
For questions, contact:
|
| 184 |
+
**Pritam Deka** — *p.deka@qub.ac.uk*
|
| 185 |
+
|