NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

causalAssembly: Generating Realistic Production Data for Benchmarking Causal Discovery

Konstantin Göbler, Tobias Windisch, Tim Pychynski, Steffen Sonntag, Martin Roth, Mathias DrtonarXiv 2023 · DOI

Introduction

Causal discovery—the task of identifying directed cause-and-effect relationships from observational data—is a cornerstone of modern industrial optimization and root-cause analysis. Despite its importance, the field suffers from a significant "validation crisis." Benchmarking typically relies on either simplistic synthetic data, which fails to capture real-world complexities, or real-world data that lacks a verified ground truth. Furthermore, proprietary industrial data is rarely shareable due to privacy concerns.

To bridge this gap, we introduce causalAssembly, a semisynthetic data generator and benchmarking suite. By leveraging high-frequency measurements from a real Bosch assembly line and integrating physics-based domain knowledge, causalAssembly provides realistic, privacy-compliant datasets with known causal structures.

Methodology: The Generation Pipeline

The causalAssembly pipeline transforms raw production data into a benchmark-ready format through a three-layered approach:

  1. Physics-Informed Layering and Domain Mapping: The manufacturing process is inherently sequential. We establish a "layered" Directed Acyclic Graph (DAG) where variables in upstream stations can only influence downstream ones. Within specific operations, such as "press-in" or "staking," we use physical laws to define local causal edges. For instance, the force required in a press-in operation is functionally dependent on the geometry of the parts involved.
Schematic of the physical processes: (a) Press-in and (b) Staking, which form the basis for the physics-informed causal graph.
  1. Cross-Process Pruning via SpAM: To identify relationships between stations where physical links are less obvious, we employ Sparse Additive Models (SpAM). This non-parametric regression technique allows us to detect functional dependencies across the production line, pruning unnecessary edges to maintain a sparse and realistic graph.
  2. Markovian Synthetization with DRF: To ensure data privacy while maintaining statistical realism, we use Distributional Random Forests (DRF) to learn the conditional distributions of the original data. By sampling from these forests according to the established DAG, we generate "Markovian" semisynthetic data that obeys the causal structure while retaining the non-linearities and noise characteristics of the actual production environment.

Dataset Characteristics

The resulting causalAssembly dataset encompasses:

  • Source: A highly automated industrial manufacturing plant.
  • Scope: 10 sequential processes across 5 production stations, featuring 98 features and 15,581 samples.
  • Content: High-frequency time-series data of force and position during mechanical assembly operations.

Benchmarking Results

We evaluated several state-of-the-art (SOTA) causal discovery algorithms, including PC, DirectLiNGAM, NOTEARS, GraN-DAG, and SCORE/DAS. The results highlight the difficulty of industrial data:

  • The Complexity Gap: Algorithms that perform well on toy Gaussian datasets often fail on causalAssembly. Most methods struggled to significantly outperform an "empty graph" baseline in terms of Structural Hamming Distance (SHD) when applied to the full 98-variable line.
  • Varsortability: Many modern algorithms rely on "varsortability"—the assumption that marginal variance increases along the causal path. Our results demonstrate that real-world industrial data frequently violates this assumption, leading to poor performance for variance-based methods.
  • Algorithm Specifics: NOTEARS achieved the best SHD and Structural Intervention Distance (SID) on the full line, but primarily by producing extremely sparse graphs. DirectLiNGAM showed promise on smaller subsets but did not scale effectively to the full non-linear production line.

Conclusion

causalAssembly provides a rigorous testing ground for causal discovery in the industrial domain. Our findings suggest that current SOTA methods are often over-optimized for simple simulations and struggle with the non-linear, high-dimensional nature of real production data. Future work will expand the framework to include categorical variables and interventional data to further challenge and refine causal discovery techniques.

Summary updated

BibTeX
@misc{gobler2023causalassembly,
  author = {Konstantin Göbler and Tobias Windisch and Tim Pychynski and Steffen Sonntag and Martin Roth and Mathias Drton},
  title = {{causalAssembly: Generating Realistic Production Data for Benchmarking Causal Discovery}},
  year = {2023},
  eprint = {2306.10816},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.10816},
}
Figure