image image | bpmn string | image_filename string | bpmn_filename string | split string |
|---|---|---|---|---|
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/... | process_001.png | process_001.bpmn | train | |
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/... | process_002.png | process_002.bpmn | train | |
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/... | process_005.png | process_005.bpmn | train | |
<?xml version='1.0' encoding='UTF-8'?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/... | process_010.png | process_010.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_011.png | process_011.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_016.png | process_016.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_018.png | process_018.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_019.png | process_019.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_020.png | process_020.bpmn | train | |
"<?xml version='1.0' encoding='UTF-8'?>\n<bpmn:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSch(...TRUNCATED) | process_023.png | process_023.bpmn | train |
ποΈ BPMN Diagram β BPMN XML Paired Dataset
Structured Extraction from Business Process Diagrams using Vision-Language Models
This dataset contains Business Process Model and Notation (BPMN) diagrams paired with their corresponding .bpmn XML ground truth files.
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).
π¦ Dataset Contents
Each example includes:
| Field | Description |
|---|---|
image |
BPMN diagram image (PNG/JPEG), uploaded directly to HF |
bpmn |
Text content of the corresponding .bpmn XML file |
image_filename |
Original image filename |
bpmn_filename |
Original BPMN filename |
split |
One of: train, validation, test |
Folder structure used during creation:
dataset/
βββ train/
β βββ images/
β βββ bpmn/
βββ validation/
β βββ images/
β βββ bpmn/
βββ test/
βββ images/
βββ bpmn/
πΌοΈ Example Image
Ground Truth BPMN (excerpt)
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
id="Definitions_1"
targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn:process id="Process_1" isExecutable="false">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0abcd12</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:task id="Task_1" name="Receive Order">
<bpmn:incoming>Flow_0abcd12</bpmn:incoming>
<bpmn:outgoing>Flow_0efgh34</bpmn:outgoing>
</bpmn:task>
<bpmn:exclusiveGateway id="Gateway_1">
<bpmn:incoming>Flow_0efgh34</bpmn:incoming>
<bpmn:outgoing>Flow_0ijkl56</bpmn:outgoing>
<bpmn:outgoing>Flow_0mnop78</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:task id="Task_2" name="Validate Order">
<bpmn:incoming>Flow_0ijkl56</bpmn:incoming>
<bpmn:outgoing>Flow_0qrst90</bpmn:outgoing>
</bpmn:task>
...
</bpmndi:BPMNDiagram>
</bpmn:definitions>
π§ Usage
from datasets import load_dataset
ds = load_dataset("pritamdeka/BPMN-VLM")
example = ds["train"][0]
image = example["image"] # PIL image object
bpmn_text = example["bpmn"] # XML content as string
image_name = example["image_filename"]
bpmn_name = example["bpmn_filename"]
π― Applications
This dataset is suitable for:
- BPMN diagram understanding and parsing
- OCR + VLM multimodal pipelines
- Structured JSON extraction
- Diagram-to-XML reconstruction
- Fine-tuning Pixtral, Qwen2.5-VL, LLaMA 3.2 Vision, Aya Vision, Gemma3 and other VLMs
- Evaluation against ground truth
.bpmnfiles
Ideal for research in:
- Vision-language reasoning
- Diagram understanding
- Business process modelling automation
π Citation
If you use this dataset, please cite:
@misc{deka2025structuredextractionbusinessprocess,
title={Structured Extraction from Business Process Diagrams Using Vision-Language Models},
author={Pritam Deka and Barry Devereux},
year={2025},
eprint={2511.22448},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2511.22448},
}
π License
This dataset is released under CC BY-NC 4.0 β
It can be used for research and non-commercial purposes with attribution.
π Acknowledgements
Developed at the Advanced Research Centre (ARC), Queenβs University Belfast, as part of research into multimodal structured extraction from business process diagrams.
π¬ Contact
For questions, contact:
Pritam Deka β p.deka@qub.ac.uk
- Downloads last month
- 56
