7jep7 commited on
Commit
3bea3cf
·
verified ·
1 Parent(s): c053392

Dataset card for FactoryNet v4: 56,591 episodes, 7 embodiments, per-subset licenses

Browse files
Files changed (1) hide show
  1. README.md +162 -59
README.md CHANGED
@@ -1,74 +1,177 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  configs:
3
- - config_name: raw
4
  data_files:
5
  - split: train
6
- path: data/raw/*.parquet
7
- - config_name: normalized
8
- data_files:
9
- - split: train
10
- path: data/normalized/*.parquet
11
- ---
12
-
13
- # 🏭 FactoryNet: A Unified Multi-Machine Industrial Dataset
14
-
15
- ## Overview
16
- FactoryNet is a large-scale, machine-learning-ready foundation dataset for industrial robotics and manufacturing anomaly detection. Historically, industrial datasets have been heavily siloed—every manufacturer and research team uses different column names, units, and structures.
17
-
18
- FactoryNet solves this by forging massive, high-frequency physical datasets from completely different machines into a **single, mathematically unified coordinate system**. By standardizing axes, effort signals, and kinematic feedback, this dataset allows neural networks to learn universal physical relationships across different hardware boundaries.
19
-
20
- ## 📦 Dataset Composition
21
- This repository currently contains millions of rows of high-frequency sensor data merged from three distinct open-source industrial datasets:
22
-
23
- ### 1. UMich CNC Mill Tool Wear Dataset
24
- * **Machine:** 3-Axis CNC Mill
25
- * **Task:** Machining wax blocks under varying feedrates and clamp pressures.
26
- * **Anomalies:** Tool wear (Unworn vs. Worn) and visual inspection failures.
27
- * **Original Source:** University of Michigan (via Kaggle)
28
-
29
- ### 2. AURSAD (Automated UR3e Screwdriving Anomaly Dataset)
30
- * **Machine:** UR3e 6-Axis Collaborative Robot
31
- * **Task:** Automated screwdriving using an OnRobot Screwdriver.
32
- * **Anomalies:** Normal operation, damaged screws, missing screws, extra parts, and damaged threads.
33
- * **Original Source:** Zenodo (Record 4487073)
34
-
35
- ### 3. voraus-AD (Yu-Cobot Pick-and-Place)
36
- * **Machine:** Yu-Cobot 6-Axis Collaborative Robot
37
- * **Task:** Industrial pick-and-place task on a conveyor belt.
38
- * **Anomalies:** 12 diverse physical anomalies including axis wear (friction/miscommutation), gripping errors, collisions, and added axis weights.
39
- * **Original Source:** voraus robotik (via Kaggle)
40
-
41
  ---
42
 
43
- ## 🏗️ The Unified Schema
44
- To allow cross-machine learning, all raw variables (which previously had over 300 conflicting names) have been mapped to a standardized `FactoryNet` schema.
45
-
46
- **Standardized Prefix Naming:**
47
- * `setpoint_*`: The commanded target from the controller (e.g., `setpoint_pos_0`).
48
- * `feedback_*`: The actual measured state from the sensors (e.g., `feedback_vel_1`).
49
- * `effort_*`: The physical force/current applied (e.g., `effort_current_2`, `effort_torque_0`).
50
- * `ctx_*`: Contextual metadata (e.g., `ctx_anomaly_label`, `ctx_busvoltage_0`).
51
 
52
- **Standardized Axis Indexing:**
53
- Regardless of how the original manufacturer numbered their joints (X/Y/Z or 1-6), all axes in this dataset are strictly zero-indexed (`0` through `5`).
 
54
 
55
- ---
56
-
57
- ## ⚙️ Configurations
58
- This dataset is partitioned into highly compressed Parquet files and is available in two configurations:
59
 
60
- 1. **`raw`**: The original physical values (Amps, Volts, Radians, etc.) mapped directly into the new schema. Best for physics-informed neural networks or domain-specific thresholding.
61
- 2. **`normalized`**: All continuous physical variables have been independently standardized using a Z-score Scaler (`StandardScaler`) fitted specifically to that machine's domain. Best for immediate deep learning and foundation model training.
62
 
63
- ## 🚀 How to Use (Python)
64
- Because this dataset is partitioned using Parquet, you can load the entire multi-gigabyte repository without crashing your local RAM.
65
 
66
  ```python
67
  from datasets import load_dataset
68
 
69
- # Load the mathematically normalized dataset for AI training
70
- dataset = load_dataset("karimm6/FactoryNet_Dataset", "normalized")
 
71
 
72
- # Convert to a Pandas DataFrame
73
- df = dataset['train'].to_pandas()
74
- print(df['machine_type'].value_counts())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: per-subset
4
+ license_link: https://huggingface.co/datasets/Forgis/FactoryNet#licensing
5
+ pretty_name: FactoryNet
6
+ size_categories:
7
+ - 100M<n<1B
8
+ task_categories:
9
+ - time-series-forecasting
10
+ - tabular-classification
11
+ tags:
12
+ - industrial
13
+ - robotics
14
+ - anomaly-detection
15
+ - time-series
16
+ - sim-to-real
17
+ - manufacturing
18
+ - predictive-maintenance
19
  configs:
20
+ - config_name: default
21
  data_files:
22
  - split: train
23
+ path: data/*.parquet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ---
25
 
26
+ # FactoryNet
 
 
 
 
 
 
 
27
 
28
+ A multi-embodiment industrial time-series corpus: **56,591 end-to-end task executions**
29
+ (14,847 real, 41,744 simulated), **113M logged timesteps**, **7 embodiments**, **4 tasks**,
30
+ **27 annotated anomaly types** with healthy baselines and counterfactual pairs.
31
 
32
+ Every signal from every source is mapped into one control-theoretic schema —
33
+ **Setpoint, Effort, Feedback, Context (S-E-F-C)** — so a single dataloader works across a
34
+ 6-DOF arm and a 4-axis CNC gantry, and *commanded versus realized* dynamics are readable
35
+ as explicit prediction residuals rather than opaque reconstruction scores.
36
 
 
 
37
 
38
+ ## Quick start
 
39
 
40
  ```python
41
  from datasets import load_dataset
42
 
43
+ ds = load_dataset("Forgis/FactoryNet", split="train", streaming=True)
44
+ print(next(iter(ds)))
45
+ ```
46
 
47
+ Or read the Parquet directly, which is usually what you want for time series.
48
+ `cnc_000.parquet` is 1.1 MB, so this is a fast first look:
49
+
50
+ ```python
51
+ import pandas as pd
52
+ from huggingface_hub import hf_hub_download
53
+
54
+ p = hf_hub_download("Forgis/FactoryNet", "data/cnc_000.parquet",
55
+ repo_type="dataset")
56
+ df = pd.read_parquet(p)
57
+
58
+ # the same four prefixes on every machine, without vendor-specific names
59
+ S = [c for c in df.columns if c.startswith("setpoint_")]
60
+ E = [c for c in df.columns if c.startswith("effort_")]
61
+ F = [c for c in df.columns if c.startswith("feedback_")]
62
+ C = [c for c in df.columns if c.startswith("ctx_")]
63
+ ```
64
+
65
+ The same five lines work unchanged on a 6-DOF arm. The consolidated real UR
66
+ recording, `data/factorywave_ur_consolidated.parquet`, is 992 MB with 7,129,261
67
+ rows and 125 columns (44 Setpoint, 19 Effort, 25 Feedback, 30 Context), so pass
68
+ `columns=[...]` to `read_parquet` rather than loading it whole.
69
+
70
+ ### What is where
71
+
72
+ | Prefix in `data/` | Source | Files |
73
+ |---|---|---|
74
+ | `factorywave_*` | our laboratory UR3 and KUKA KR10 recordings, incl. screwdriver telemetry and episode metadata | 6 |
75
+ | `voraus_*` | voraus-AD | 60 |
76
+ | `aursad_*` | AURSAD | 32 |
77
+ | `cnc_*` | UMich CNC milling | 1 |
78
+ | `simulations_baseline_*` | simulated nominal episodes | 11 |
79
+ | `simulations_counterfactual_*` | matched simulated counterfactuals | 10 |
80
+
81
+ `data/` is 13.7 GB of Parquet. The repository also carries the paired sim-to-real
82
+ gap artifacts used for the validation campaign: `real_csv/` and `sim_csv/` (episodes
83
+ paired by filename), `pick_configs/` (per-episode simulation parameters), and
84
+ `gap_reports/` + `summary/` (per-episode and aggregated gap analysis).
85
+
86
+ ## The S-E-F-C schema
87
+
88
+ One wide table per source: one row per control tick, joined to an episode table by
89
+ `episode_id`. The column prefix carries the role; the suffix `_i` is the positional joint
90
+ index 0..5 (base → wrist), so the same column means the same slot on every arm. A column a
91
+ source does not expose is written as null rather than dropped, so all sources share one
92
+ schema.
93
+
94
+ | Role | Prefix | What it is | Examples |
95
+ |---|---|---|---|
96
+ | **Setpoint** | `setpoint_*` | commanded intent | target joint position, velocity, acceleration; target TCP pose; `gripper_command` |
97
+ | **Effort** | `effort_*` | actuation energy expended | motor current, joint torque, commanded torque, estimated contact force |
98
+ | **Feedback** | `feedback_*` | measured physical outcome | encoder position and velocity, TCP pose, tool accelerometer |
99
+ | **Context** | `ctx_*` | environment and static state | payload mass, task phase, fault labels, safety/robot mode, speed scaling, I/O bits |
100
+
101
+ This separation is the point of the corpus. Existing industrial datasets log sensor
102
+ *outcomes* without distinguishing what the controller asked for from what the machine did,
103
+ which makes cross-machine dynamics learning hard to set up at all.
104
+
105
+ ## Composition (the corpus as reported in the paper)
106
+
107
+ | Source | Machine | Tasks | Faults | Episodes | Timesteps |
108
+ |---|---|---|---|---|---|
109
+ | Lab (real) | UR3 | P&P, Screw, Peg | yes | 8,863 | 11M |
110
+ | Lab (real) | KUKA KR10 | P&P | yes | 1,799 | 4M |
111
+ | Open (real) | voraus-AD (Yu-Cobot) | P&P | yes | 2,122 | 16M |
112
+ | Open (real) | AURSAD (UR3e) | Screw | yes | 2,045 | 3M |
113
+ | Open (real) | UMich CNC | Machining | yes | 18 | 18K |
114
+ | Synthetic | Isaac Sim — UR3, UR5, UR10, UR30, KR10 | P&P | yes | 41,744 | 79M |
115
+ | **Total** | | | | **56,591** | **113M** |
116
+
117
+ 1,553 real counterfactual episodes accompany the faulty runs. Of the 10,662 lab episodes,
118
+ ~28% are healthy and ~72% contain an injected fault.
119
+
120
+ ### Synthetic track — read this before comparing against the paper
121
+
122
+ **This snapshot carries the earlier Isaac Sim 4.5.0 synthetic campaign**
123
+ (`simulations_baseline_*` and `simulations_counterfactual_*`), not the five-arm
124
+ 41,744-episode campaign the paper reports. That campaign is Isaac Sim 5.1 / Isaac Lab
125
+ 2.3 across UR3, UR5, UR10, UR30 and KR10, and is being uploaded during the review
126
+ period. Every real subset here is final and matches the paper.
127
+
128
+ The 5.1 campaign runs GPU-batched PhysX at 500 Hz, with control and logging at 125 Hz
129
+ for the UR arms and 83.3 Hz for the KR10 (the KRC interpolation cycle), no resampling.
130
+ Six fault classes: payload addition, motor miscommutation, gripper activation failure,
131
+ gripper release, collision, path obstacle.
132
+
133
+ Every episode passes a two-stage validity gate — structural (plausible length, complete
134
+ phases, part placed, injected event present, non-zero contact force) and trace (every
135
+ fault must leave a measurable physical effect). **41,744 of 50,000 generated episodes
136
+ pass.** This guarantees that a fault label corresponds to a real physical effect, but it
137
+ also biases the synthetic faults toward more detectable instances, and acceptance rates
138
+ differ by fault class. UR3 and KR10 motion profiles are fitted to real recordings; UR5,
139
+ UR10 and UR30 have no real counterpart and are scaled from the UR3 fit.
140
+
141
+ ## Known limitations
142
+
143
+ Stated here because they determine what the corpus can be used for:
144
+
145
+ - **UR5, UR10 and UR30 exist only in simulation.** Any multi-arm result on them is sim-to-sim.
146
+ - **The validity gate favours detectable faults**, so synthetic fault difficulty is not representative.
147
+ - **Recording context partly predicts fault labels** on both real robots (program, day, speed override), so real fault evaluation should stay within a single recording session.
148
+ - **Simulated motor current is not calibrated** to the real robots out of the box. Task and cycle structure transfer from simulation; fault signatures largely do not.
149
+ - The KUKA KR10 (KSS 8.3) does not expose joint velocities, commanded TCP pose, or TCP force/torque over RSI; those channels are null.
150
+
151
+ ## Licensing
152
+
153
+ Licensing is per subset:
154
+
155
+ | Subset | License |
156
+ |---|---|
157
+ | Laboratory (`factorywave_*`) and synthetic (`simulations_*`) | MIT |
158
+ | `voraus_*` (voraus-AD) | CC BY-NC-SA 4.0: **NonCommercial and ShareAlike**; works derived from it must keep this license |
159
+ | `aursad_*` (AURSAD) | CC BY 4.0 |
160
+ | `cnc_*` (UMich CNC) | follows its source terms |
161
+
162
+ Cite the original sources when using the adapted subsets.
163
+
164
+ ## Code
165
+
166
+ Adapters, simulation configs and the transfer study: https://github.com/Forgis-Labs/FactoryNet
167
+
168
+ ## Citation
169
+
170
+ ```bibtex
171
+ @article{petersen2026factorynet,
172
+ title = {FactoryNet: A Large-Scale Dataset toward Industrial Time-Series Foundation Models},
173
+ author = {Petersen, Jonas and Jawahar, Pratik and Maggioni, Riccardo and Huou, Alexandre and Othman, Karim and Mazzoleni, Camilla and Cozzi, Matteo and Gajewski, Marek and Paloschi, Davide and Lombardi, Gian-Alessandro and Ignuta-Ciuncanu, Matei C. and Porath, Lior and Martelli, Federico and Petersen, Philipp Christian},
174
+ journal = {arXiv preprint arXiv:2605.09081},
175
+ year = {2026}
176
+ }
177
+ ```