Datasets:
Commit ·
5c0c7e4
0
Parent(s):
Initial release: factorybench_qa
Browse files- .gitattributes +71 -0
- README.md +130 -0
- factorybench_qa/level_1/test.jsonl +3 -0
- factorybench_qa/level_1/train.jsonl +3 -0
- factorybench_qa/level_1/validation.jsonl +3 -0
- factorybench_qa/level_2/test.jsonl +3 -0
- factorybench_qa/level_2/train.jsonl +3 -0
- factorybench_qa/level_2/validation.jsonl +3 -0
- factorybench_qa/level_3/test.jsonl +0 -0
- factorybench_qa/level_3/train.jsonl +3 -0
- factorybench_qa/level_3/validation.jsonl +0 -0
- factorybench_qa/level_4/test.jsonl +3 -0
- factorybench_qa/level_4/train.jsonl +3 -0
- factorybench_qa/level_4/validation.jsonl +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
factorybench_qa/level_1/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
factorybench_qa/level_1/validation.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
factorybench_qa/level_1/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
factorybench_qa/level_2/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
factorybench_qa/level_2/validation.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
factorybench_qa/level_2/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
factorybench_qa/level_3/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
factorybench_qa/level_3/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
factorybench_qa/level_4/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
factorybench_qa/level_4/validation.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
factorybench_qa/level_4/test.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- question-answering
|
| 7 |
+
tags:
|
| 8 |
+
- robotics
|
| 9 |
+
- industrial
|
| 10 |
+
- time-series
|
| 11 |
+
- causal-reasoning
|
| 12 |
+
- benchmark
|
| 13 |
+
- machine-understanding
|
| 14 |
+
pretty_name: FactoryBench
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# FactoryBench
|
| 20 |
+
|
| 21 |
+
FactoryBench is a benchmark for evaluating **machine-behavior reasoning** in time-series models and LLMs over industrial robotic telemetry. Question-answer pairs are organised along the four levels of Pearl's causal hierarchy:
|
| 22 |
+
|
| 23 |
+
| Level | Capability | Example |
|
| 24 |
+
|-------|-----------|---------|
|
| 25 |
+
| **L1 — State** | Identify the operational state from raw signals | "Which fault, if any, is occurring in this episode?" |
|
| 26 |
+
| **L2 — Intervention** | Predict the effect of an intervention | "How would the joint torques change if the payload were doubled?" |
|
| 27 |
+
| **L3 — Counterfactual** | Reason about alternative histories | "Would the collision still have occurred if the speed had been 50% lower?" |
|
| 28 |
+
| **L4 — Decision** | Engineering decision-making (troubleshooting + optimisation) | "Given this anomaly, what is the most likely root cause and remediation?" |
|
| 29 |
+
|
| 30 |
+
The benchmark is grounded in **FactoryWave**, a dense multivariate telemetry dataset collected from a UR3 collaborative robot (125 Hz) and a KUKA KR10 industrial arm (83 Hz), supplemented with the AURSAD and voraus-AD open-source datasets.
|
| 31 |
+
|
| 32 |
+
## Dataset summary
|
| 33 |
+
|
| 34 |
+
- **70,918 Q&A pairs** across four causal levels and three splits (train/validation/test).
|
| 35 |
+
- **5 answer formats**: single-select MCQ, multi-select MCQ, ranking, tensor/numerical, free-form (judged by an LLM-as-judge voting protocol).
|
| 36 |
+
- **Telemetry from real industrial robots** with systematic fault injection (27 atomic mechanisms across pick-and-place, screwing, and peg-in-hole tasks).
|
| 37 |
+
|
| 38 |
+
## Repository layout
|
| 39 |
+
|
| 40 |
+
```
|
| 41 |
+
FactoryBench/
|
| 42 |
+
└── factorybench_qa/ # Question-answer pairs
|
| 43 |
+
├── level_1/{train,validation,test}.jsonl
|
| 44 |
+
├── level_2/{train,validation,test}.jsonl
|
| 45 |
+
├── level_3/{train,validation,test}.jsonl
|
| 46 |
+
└── level_4/{train,validation,test}.jsonl
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Q&A pair counts
|
| 50 |
+
|
| 51 |
+
| Level | Train | Val | Test | Total |
|
| 52 |
+
|-------|--------|-------|-------|---------|
|
| 53 |
+
| L1 | 12,674 | 1,338 | 1,309 | 15,321 |
|
| 54 |
+
| L2 | 33,311 | 3,428 | 3,487 | 40,226 |
|
| 55 |
+
| L3 | 2,353 | 265 | 321 | 2,939 |
|
| 56 |
+
| L4 | 9,949 | 1,251 | 1,232 | 12,432 |
|
| 57 |
+
| **Total** | **58,287** | **6,282** | **6,349** | **70,918** |
|
| 58 |
+
|
| 59 |
+
## Q&A fields
|
| 60 |
+
|
| 61 |
+
Each line in `factorybench_qa/level_*/*.jsonl` is a single Q&A item:
|
| 62 |
+
|
| 63 |
+
| Field | Description |
|
| 64 |
+
|-------|-------------|
|
| 65 |
+
| `id` | Unique item identifier |
|
| 66 |
+
| `level` | Causal level (1–4) |
|
| 67 |
+
| `template_id` | Question template the item was generated from |
|
| 68 |
+
| `template_type` | Answer format (`single_choice`, `multi_choice`, `ranking`, `tensor`, `free_form`) |
|
| 69 |
+
| `hides` | Channels/fields hidden from the model in this item |
|
| 70 |
+
| `question` | Natural-language question |
|
| 71 |
+
| `options` | Answer options (for MCQ/ranking templates) |
|
| 72 |
+
| `answer` | Ground-truth answer |
|
| 73 |
+
| `root_cause` | Underlying fault/cause (Level 4 only) |
|
| 74 |
+
| `acceptance_bounds` | Tolerance for numerical answers |
|
| 75 |
+
| `provenance` | Source episode(s) and channels used to derive the item |
|
| 76 |
+
| `context` | Time-series and metadata context exposed to the model |
|
| 77 |
+
|
| 78 |
+
## Loading the data
|
| 79 |
+
|
| 80 |
+
```python
|
| 81 |
+
from datasets import load_dataset
|
| 82 |
+
|
| 83 |
+
# Load a single level/split
|
| 84 |
+
ds = load_dataset(
|
| 85 |
+
"Forgis/FactoryBench",
|
| 86 |
+
data_files="factorybench_qa/level_1/test.jsonl",
|
| 87 |
+
split="train",
|
| 88 |
+
)
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
## Citation
|
| 92 |
+
|
| 93 |
+
If you use FactoryBench, please cite the dataset and the two upstream open-source datasets it incorporates (AURSAD and voraus-AD):
|
| 94 |
+
|
| 95 |
+
```bibtex
|
| 96 |
+
@misc{anonymous2026factorybench,
|
| 97 |
+
title = {FactoryBench: Evaluating Industrial Machine Understanding},
|
| 98 |
+
author = {Anonymous},
|
| 99 |
+
year = {2026},
|
| 100 |
+
note = {Submission under double-blind review}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
@article{leporowski2022aursad,
|
| 104 |
+
title = {{AURSAD}: Universal Robot Screwdriving Anomaly Detection Dataset},
|
| 105 |
+
author = {Leporowski, B{\l}a{\.z}ej and Tola, Daniella and Hansen, Christian and Iosifidis, Alexandros},
|
| 106 |
+
journal = {arXiv preprint arXiv:2202.03211},
|
| 107 |
+
year = {2022}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
@misc{brockmann2024vorausad,
|
| 111 |
+
title = {voraus-{AD}: A New Dataset for Anomaly Detection in Robot Applications},
|
| 112 |
+
author = {Brockmann, Jan Thie{\ss} and Rudolph, Marco and Rosenhahn, Bodo and Wandt, Bastian},
|
| 113 |
+
year = {2024},
|
| 114 |
+
eprint = {2311.04153},
|
| 115 |
+
archivePrefix = {arXiv},
|
| 116 |
+
primaryClass = {cs.RO}
|
| 117 |
+
}
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
## Intended use & limitations
|
| 121 |
+
|
| 122 |
+
**Intended use.** Benchmark evaluation of LLMs and time-series models on structured industrial Q&A reasoning tasks (state, intervention, counterfactual, decision-making).
|
| 123 |
+
|
| 124 |
+
**Limitations.** Domain-specific to factory and industrial robotic scenarios; may not generalise to open-domain Q&A. Faults are atomic and drawn from a closed catalogue of 27 physically injected mechanisms — different from compound or gradual real-world faults. The dataset shows a size imbalance between Levels 2 and 3.
|
| 125 |
+
|
| 126 |
+
**Out-of-scope.** Not intended for deployment in safety-critical, medical, legal, or financial decision systems without further validation by domain experts.
|
| 127 |
+
|
| 128 |
+
## License
|
| 129 |
+
|
| 130 |
+
Released under the [Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)](https://creativecommons.org/licenses/by-nc/4.0/) license. You may share and adapt the dataset for non-commercial purposes with appropriate attribution.
|
factorybench_qa/level_1/test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a73a78a64597525c192a314f980bdf2b098195e54819898f62877c69cc37a99
|
| 3 |
+
size 18400157
|
factorybench_qa/level_1/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8dbcb92f75ea975b2504dc8f7990d2191857803ad28d60afcb72cf0ffc83a18
|
| 3 |
+
size 201354182
|
factorybench_qa/level_1/validation.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b15273412a0d6a3a0d28f9f78ad9973fbdf43d38c87a389bcb5e5ca95b15715d
|
| 3 |
+
size 18374788
|
factorybench_qa/level_2/test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20ccbdaf45bbdfebea5db1fee930023cdd075deac2e39b3d465b90262f63a78d
|
| 3 |
+
size 47569915
|
factorybench_qa/level_2/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64b34453d57b7c5c1d1f05c21216eb8f3fb16dde8255b8762e3e05357d0e1cc6
|
| 3 |
+
size 487119125
|
factorybench_qa/level_2/validation.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7bb09fc21fea5ef3687fd186a556ad8210e29e501b67d4ceedaf2db6b71e616
|
| 3 |
+
size 46620251
|
factorybench_qa/level_3/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
factorybench_qa/level_3/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c9ed3688a90867f82705ab13be53d5d052222a631d2c4e20776f99667f9cee7
|
| 3 |
+
size 38520890
|
factorybench_qa/level_3/validation.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
factorybench_qa/level_4/test.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85966974b7a25a806b4c86b741a724e57335ffbe321246ec82bdd4b20a26f8e4
|
| 3 |
+
size 18243907
|
factorybench_qa/level_4/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9edd8694a7d0197d15d88921695f4941219eac31a1927ccfe74481f0b853ada8
|
| 3 |
+
size 146683508
|
factorybench_qa/level_4/validation.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1d6a83aff672d0a1d6cec7ff7b94f2f058d008f9fac568d2f53a4889b656210
|
| 3 |
+
size 18332842
|