FactoryNet3 commited on
Commit
b3d4109
·
verified ·
1 Parent(s): 438c9ba

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +112 -42
README.md CHANGED
@@ -1,61 +1,131 @@
1
- # FactoryNet: A Large-Scale Dataset toward Industrial Time-Series Foundation Models.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- FactoryNet is a large-scale, unified dataset designed to advance Industrial Time-Series Foundation Models within robotic manufacturing. By providing highly standardized, high-frequency telemetry across different robot morphologies (UR3, KUKA), specialized end-effectors (screwdrivers, grippers), and tens of thousands of simulated counterfactuals, FactoryNet serves as a rigorous benchmark for sequence modeling, anomaly detection, and sim-to-real gap analysis.
4
 
5
- This repository is completely anonymized for double-blind review.
 
 
6
 
7
- ---
 
 
 
8
 
9
- ## Repository Structure
10
 
11
- The repository is structured into two main components: the unified structured data (`/data`) and the Sim2Real gap evaluation artifacts (`/artifacts`).
12
 
13
- * **`data/`**: Contains the massive-scale, chunked Parquet files adhering to the S-E-F-C schema.
14
- * `aursad_*.parquet`, `cnc_*.parquet`, `voraus_*.parquet`: Pre-existing structured datasets.
15
- * `factorywave_*.parquet`: Real-world UR3 and KUKA telemetry (including specialized screwdriver torque data and episode metadata).
16
- * `simulations_baseline_*.parquet`: 10,000+ baseline pick-and-place episodes generated in Isaac Sim 4.5.0.
17
- * `simulations_counterfactual_*.parquet`: Matched counterfactual episodes for causal and anomaly modeling.
18
- * **`artifacts/`**: Contains the targeted Sim2Real benchmarking toolkit.
19
- * `real_csv/` & `sim_csv/`: Paired episode CSVs matching real-world executions with Isaac Sim equivalents.
20
- * `pick_configs/`: Per-episode JSON configurations driving the simulation parameters.
21
- * `gap_reports/` & `summary/`: Aggregated gap analysis, inventories, and per-episode markdown reports.
22
 
23
- ---
 
 
24
 
25
- ## The S-E-F-C Master Schema
26
 
27
- To facilitate foundation model training across heterogeneous hardware, all telemetry in the `data/` directory has been mapped to a unified **Setpoint-Effort-Feedback-Context (S-E-F-C)** schema.
 
 
28
 
29
- Rather than dealing with vendor-specific labels, models can train on standardized representations:
30
- * **Setpoint (`setpoint_*`)**: The commanded states (position, velocity, acceleration, target torque).
31
- * **Effort (`effort_*`)**: The hardware's physical exertion (current, voltage, force, torque).
32
- * **Feedback (`feedback_*`)**: The measured physical state (actual position, velocity).
33
- * **Context (`ctx_*`)**: Metadata and discrete states (anomaly labels, task phases, hardware modes, execution times).
34
 
35
- *Note: Specialized screwdriver telemetry (e.g., tightening states, measured shank torque) is fully integrated into the tool-specific effort and context columns.*
 
 
 
36
 
37
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
- ## Sim2Real Gap Artifacts (UR3 Pick-and-Place)
40
 
41
- In addition to the raw structured data, this repository provides artifacts explicitly generated for kinematic and effort alignment benchmarking between real UR3 executions and Isaac Sim 4.5.0.
42
 
43
- ### Episode Pairing and Chronology
44
- Real and sim episodes within the `artifacts/` folder are strictly paired by filename (e.g., `real_csv/<uuid>.csv` ↔ `sim_csv/<uuid>.csv`).
 
 
 
45
 
46
- Chronological payload buckets were assigned using boundary episodes to validate dynamic alignment:
47
- * **0.6 kg**: Start → `0ab540a6-7210-4531-b2ed-6a04c7b90ff1`
48
- * **0.3 kg**: After that → `29312353-3555-4eba-b2fb-3e2495e89782`
49
- * **1.2 kg**: After that → `640c65a7-2aee-4b58-94de-334f37832e14`
50
 
51
- ### Gap Metrics
52
- For each matched real/sim pair, the provided reports track:
53
- * **Joint RMSE (deg)**: Error across individual joints.
54
- * **TCP position RMSE (mm) / EE L2 RMS (mm)**: Pooled and step-wise Euclidean position errors.
55
- * **TCP rotvec RMSE (mrad)**: Rotational orientation gaps.
56
- * **W1 effort (A)**: Wasserstein-1 distance on `joint_current_*` to proxy effort alignment.
57
 
58
- *(Alignment is achieved by sorting by time, splitting by task phase, and linearly resampling timeframes to [0, 1] prior to calculating distances).*
59
 
60
- ### Scope and Limits
61
- The Sim2Real artifact package is strictly designed to support **kinematic agreement analysis** and **effort-proxy comparisons**. It is explicitly *out of scope* for contact-accurate dynamics validation, visual-domain realism, or claims of identical actuator torque physics.
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: FactoryNet
4
+ size_categories:
5
+ - 100M<n<1B
6
+ task_categories:
7
+ - time-series-forecasting
8
+ - tabular-classification
9
+ tags:
10
+ - industrial
11
+ - robotics
12
+ - anomaly-detection
13
+ - time-series
14
+ - sim-to-real
15
+ - manufacturing
16
+ - predictive-maintenance
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: train
21
+ path: data/*.parquet
22
+ ---
23
 
24
+ # FactoryNet
25
 
26
+ A multi-embodiment industrial time-series corpus: **56,591 end-to-end task executions**
27
+ (14,847 real, 41,744 simulated), **113M logged timesteps**, **7 embodiments**, **4 tasks**,
28
+ **27 annotated anomaly types** with healthy baselines and counterfactual pairs.
29
 
30
+ Every signal from every source is mapped into one control-theoretic schema —
31
+ **Setpoint, Effort, Feedback, Context (S-E-F-C)** — so a single dataloader works across a
32
+ 6-DOF arm and a 4-axis CNC gantry, and *commanded versus realized* dynamics are readable
33
+ as explicit prediction residuals rather than opaque reconstruction scores.
34
 
35
+ *This repository is anonymized for double-blind review.*
36
 
37
+ ## Quick start
38
 
39
+ ```python
40
+ from datasets import load_dataset
 
 
 
 
 
 
 
41
 
42
+ ds = load_dataset("FactoryNet4/factorynet", split="train", streaming=True)
43
+ print(next(iter(ds)))
44
+ ```
45
 
46
+ Or read the Parquet directly, which is usually what you want for time series:
47
 
48
+ ```python
49
+ import pandas as pd
50
+ from huggingface_hub import hf_hub_download
51
 
52
+ p = hf_hub_download("FactoryNet4/factorynet", "data/factorywave_ur3_000.parquet",
53
+ repo_type="dataset")
54
+ df = pd.read_parquet(p)
 
 
55
 
56
+ # every setpoint/effort pair, for any embodiment, without vendor-specific names
57
+ S = [c for c in df.columns if c.startswith("setpoint_")]
58
+ E = [c for c in df.columns if c.startswith("effort_")]
59
+ ```
60
 
61
+ ## The S-E-F-C schema
62
+
63
+ One wide table per source: one row per control tick, joined to an episode table by
64
+ `episode_id`. The column prefix carries the role; the suffix `_i` is the positional joint
65
+ index 0..5 (base → wrist), so the same column means the same slot on every arm. A column a
66
+ source does not expose is written as null rather than dropped, so all sources share one
67
+ schema.
68
+
69
+ | Role | Prefix | What it is | Examples |
70
+ |---|---|---|---|
71
+ | **Setpoint** | `setpoint_*` | commanded intent | target joint position, velocity, acceleration; target TCP pose; `gripper_command` |
72
+ | **Effort** | `effort_*` | actuation energy expended | motor current, joint torque, commanded torque, estimated contact force |
73
+ | **Feedback** | `feedback_*` | measured physical outcome | encoder position and velocity, TCP pose, tool accelerometer |
74
+ | **Context** | `ctx_*` | environment and static state | payload mass, task phase, fault labels, safety/robot mode, speed scaling, I/O bits |
75
+
76
+ This separation is the point of the corpus. Existing industrial datasets log sensor
77
+ *outcomes* without distinguishing what the controller asked for from what the machine did,
78
+ which makes cross-machine dynamics learning hard to set up at all.
79
+
80
+ ## Composition
81
+
82
+ | Source | Machine | Tasks | Faults | Episodes | Timesteps |
83
+ |---|---|---|---|---|---|
84
+ | Lab (real) | UR3 | P&P, Screw, Peg | yes | 8,863 | 11M |
85
+ | Lab (real) | KUKA KR10 | P&P | yes | 1,799 | 4M |
86
+ | Open (real) | voraus-AD (Yu-Cobot) | P&P | yes | 2,122 | 16M |
87
+ | Open (real) | AURSAD (UR3e) | Screw | yes | 2,045 | 3M |
88
+ | Open (real) | UMich CNC | Machining | yes | 18 | 18K |
89
+ | Synthetic | Isaac Sim — UR3, UR5, UR10, UR30, KR10 | P&P | yes | 41,744 | 79M |
90
+ | **Total** | | | | **56,591** | **113M** |
91
+
92
+ 1,553 real counterfactual episodes accompany the faulty runs. Of the 10,662 lab episodes,
93
+ ~28% are healthy and ~72% contain an injected fault.
94
+
95
+ ### Synthetic track
96
+
97
+ 41,744 validated Pick & Place episodes across five arms, generated in NVIDIA Isaac Sim 5.1
98
+ / Isaac Lab 2.3 (GPU-batched PhysX at 500 Hz; control and logging at 125 Hz for UR and
99
+ 83.3 Hz for the KR10, no resampling). Six fault classes: payload addition, motor
100
+ miscommutation, gripper activation failure, gripper release, collision, path obstacle.
101
+
102
+ Every episode passes a two-stage validity gate — structural (plausible length, complete
103
+ phases, part placed, injected event present, non-zero contact force) and trace (every
104
+ fault must leave a measurable physical effect). **41,744 of 50,000 generated episodes
105
+ pass.** This guarantees that a fault label corresponds to a real physical effect, but it
106
+ also biases the synthetic faults toward more detectable instances, and acceptance rates
107
+ differ by fault class. UR3 and KR10 motion profiles are fitted to real recordings; UR5,
108
+ UR10 and UR30 have no real counterpart and are scaled from the UR3 fit.
109
 
110
+ ## Known limitations
111
 
112
+ Stated here because they determine what the corpus can be used for:
113
 
114
+ - **UR5, UR10 and UR30 exist only in simulation.** Any multi-arm result on them is sim-to-sim.
115
+ - **The validity gate favours detectable faults**, so synthetic fault difficulty is not representative.
116
+ - **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.
117
+ - **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.
118
+ - The KUKA KR10 (KSS 8.3) does not expose joint velocities, commanded TCP pose, or TCP force/torque over RSI; those channels are null.
119
 
120
+ ## Licensing
 
 
 
121
 
122
+ Novel laboratory and synthetic data: **MIT**. Adapted open-source subsets
123
+ (voraus-AD, AURSAD, UMich CNC) retain their original licenses and are redistributed under
124
+ them. Cite the original sources when using those subsets.
 
 
 
125
 
126
+ ## Code
127
 
128
+ Adapters, simulation configs, the full transfer study and every result file behind the
129
+ paper's figures are in the anonymous code repository linked from the paper. A verification
130
+ script there re-resolves all 126 plotted values against the raw result files with no data
131
+ download required.