Graphical conditional generative modeling for digital twin modeling

Zongren Zou, Théo Bourdais, Ricardo Baptista, Houman OwhadiarXiv 2026

TL;DR

Building digital twins often suffers from an "open-ended fidelity problem," where adding more variables indefinitely increases model complexity. This paper introduces a two-stage framework that uses conditional generative modeling and Gaussian-process-based ANOVA to identify only the variables that influence the full probability distribution of a target quantity. By pruning irrelevant inputs, the method creates parsimonious, highly interpretable stochastic surrogates that maintain peak performance across physics, robotics, and economics applications.

What Problem Does This Paper Address?

When engineers and scientists build "digital twins"—virtual replicas of complex physical systems—they face a dilemma. To make the model accurate, it is tempting to feed in every available data stream, variable, and time scale. However, this over-engineering leads to massive, uninterpretable models that are difficult to validate, maintain, or use for safety testing.

To simplify these models, we typically turn to variable selection. But standard feature selection methods have a blind spot: they assume a functional relationship where an input changes the conditional mean ($\mathbb{E}[y|x]$) of the output. In highly stochastic, chaotic, or coarse-grained systems, a critical variable might leave the mean completely untouched while drastically altering the variance, multimodality, or likelihood of extreme events.

For instance, consider a system where $y = x\omega$ and $\omega \sim \mathcal{N}(0,1)$. Here, $\mathbb{E}[y|x] = 0$ regardless of $x$, making $x$ look completely irrelevant to traditional algorithms, even though it entirely dictates the spread of $y$. This paper tackles the challenge of discovering these hidden, distributional dependencies to build leaner, safer digital twins.

Methods

The authors propose a clever two-stage architecture that decouples distribution learning from structure discovery:

  1. Stage 1: Conditional Generative Modeling: The framework first learns the full conditional distribution of a target variable given all candidate inputs. It utilizes Flow Matching, a highly scalable and stable continuous-time generative modeling technique, to build a conditional sampler $\mathcal{G}_\theta(X, z)$ that maps simple noise $z$ to the target distribution.
  2. Stage 2: Distillation and Ancestor Discovery: Because deep neural networks are notoriously hard to interpret, the learned sampler is distilled into a Gaussian Process (GP) surrogate. The authors then apply Kernel Mode Decomposition (KMD) to perform a nonlinear Analysis of Variance (ANOVA). This breaks down the function's energy into variable-specific contribution scores.

The algorithm iteratively prunes the variable with the lowest contribution score and retrains the GP. To know when to stop, it monitors the Noise-to-Signal Ratio (NSR). A sharp spike in NSR indicates that a vital variable was just removed, signaling the algorithm to stop and output the optimal "ancestor set."

Schematic of the proposed two-stage framework for digital twin modeling

Datasets

The framework was validated across a diverse suite of synthetic benchmarks and real-world datasets:

  • Stochastic Lorenz-63 & Multiscale Lorenz 96 systems: Classic chaotic dynamical systems used to verify graph recovery against known ground truths.
  • Stochastic Pendulum & Heat Equation: Used to evaluate control performance under missing variables and boundary conditions.
  • Gymnasium Lunar Lander & MuJoCo 7-DOF Reacher: Standard robotics and reinforcement learning benchmarks used to test surrogate sufficiency in downstream tasks.
  • WTI Crude Oil Prices & Geopolitical Risk (GPR) Index: Real-world daily economic data spanning 1986 to 2026, used to analyze delayed market dependencies.

Key Insights and Ideas

  • Distributional vs. Mean Dependence: The core "aha!" moment is that variance, tail behavior, and multimodality are just as informative for structure discovery as the mean, especially in systems prone to rare failures or bifurcations.
  • Decoupling for Best of Both Worlds: Neural networks excel at learning complex, high-dimensional distributions but lack interpretability. GPs provide exact variance decompositions but struggle to scale to massive datasets. Distilling the neural sampler into a GP bridges this gap perfectly.
  • Discovering Markovian Memory: In partially observed systems, the framework can look at historical lags to discover exactly how much memory is needed to make a system effectively Markovian, turning complex history tracking into a lean Markov Decision Process (MDP).

Key Results

  • PDE Control Efficiency: In the stochastic heat equation benchmark, pruning the input space down to the true boundary ancestors allowed a Model Predictive Control (MPC) planner to drop its average online computation time from 31.0 to 24.7 seconds per simulation, without any degradation in control cost.
  • Robotics Policy Transfer: For the Lunar Lander simulator, the algorithm successfully isolated the thrust-stage variables, correctly identifying that ground-contact indicators were irrelevant to instantaneous engine impulses. A Soft Actor-Critic (SAC) agent trained on this pruned surrogate achieved a 1000/1000 successful landing rate when transferred to the real environment, outperforming the unpruned baseline (991/1000).
Figure 3. Control examples. (a)–(b) Missing-variable pendulum: memory discovery and policy transfer. (c)–(d) Stochastic heat equation: boundary discovery and MPC performance.
  • Economic Non-Stationarity: When applied to 40 years of oil market data, the method revealed that the dominant lag through which geopolitical risk impacts oil returns shifts over time. Notably, during the 2000-2009 window (encompassing 9/11 and the 2008 financial crisis), a 10-day delayed response dominated, proving that market dependency structures are highly non-stationary during global crises.

Limitations and Future Work

While powerful, the framework has a few limitations:

  • Data Intensity: Training high-fidelity conditional generative models (Stage 1) requires substantial amounts of data. With finite data, run-to-run variability can occur.
  • Pruning Weak Dependencies: The framework prioritizes surrogate fidelity, meaning it might prune weak but real physical dependencies if they don't significantly alter the distribution.
  • Ambiguous Stopping Criteria: The NSR inflection point can sometimes be smooth rather than sharp, making the automated stopping threshold ambiguous.

The authors suggest that future work should focus on developing adaptive pipelines that periodically rediscover the ancestor structure as data distributions shift during online reinforcement learning.

Summary updated

Abstract

Digital twin modeling, including control and data assimilation under model uncertainty, often faces an open-ended fidelity problem: adding variables, data streams, and time scales can indefinitely increase model complexity, ultimately producing systems that are difficult to maintain, validate, interpret, and use for stress or safety testing. As an alternative, one can seek parsimonious stochastic surrogate models built only on the variables needed to describe the relevant quantities of interest. We introduce a framework for discovering such variables from observational data by identifying which candidate inputs influence the full conditional law of a target quantity, rather than only its conditional mean. This distinction is essential in stochastic, coarse-grained, or partially observed systems, where dependencies may appear through changes in variability, tail behavior, multimodality, or uncertainty rather than through deterministic functional relationships. The framework couples conditional generative modeling, which learns the conditional distribution of the target given candidate inputs, with Gaussian-process-based analysis of variance (through kernel mode decomposition), which enables iterative pruning of non-influential inputs and interpretable structure discovery. In control settings, the resulting surrogate can be interpreted as a learned Markov decision process: the method identifies not only a transition model, but also the state, action, and memory variables needed to make the learned dynamics effectively Markovian. Across examples involving stochastic dynamical systems, missing variables, PDE control, reinforcement learning, and economic data, the discovered structures yield interpretable stochastic surrogates whose downstream performance is comparable to models trained on the full variable set.
BibTeX
@misc{zou2026graphical,
  author = {Zongren Zou and Théo Bourdais and Ricardo Baptista and Houman Owhadi},
  title = {{Graphical conditional generative modeling for digital twin modeling}},
  year = {2026},
  eprint = {2606.16219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.16219},
}

Loading related content...

Figure