X-CAL: Explaining latent causality in physical space for fluid mechanics
Marcial Sanchis-Agudo, Andrés Cremades, Alvaro Martinez-Sanchez, Adrian Lozano-Duran, Ricardo Vinuesa
TL;DR
X-CAL introduces a principled, explainable pipeline that unites nonlinear latent compression ($β$-VAE), information-theoretic causality (SURD), and gradient-SHAP explainability to reveal causal interactions among latent flow features and map them to physical-space structures. Validated on DNS data for flow around a wall-mounted square cylinder at $Re_h=2000$ and demonstrated in controlled 2D torus and Lorenz systems, the framework identifies how latent variables causally influence each other and which wake structures drive those dynamics. The results show latent variables capture coherent wake regions, with a co-founder latent ($\mathcal{L}_3$) connecting subdomains and orchestrating vortex-shedding dynamics, offering a pathway to causality-guided control and discovery in high-dimensional turbulence. Overall, X-CAL translates latent-space causality into interpretable physical phenomena, enabling robust reduced-order modeling and targeted interventions in complex fluid flows.
Abstract
We present X-CAL, a pipeline that combines a $β$-variational autoencoder ($β$-VAE) with the synergistic-unique-redundant decomposition (SURD)~\cite{surd} approach for causality analysis to interpret low-dimensional latent representations of turbulent fluid flows. Combining $β$-VAE compression with SURD and SHAP (SHapley Additive exPlanations) yields interpretable latent representations and structure-level attributions in physical space, offering a general methodology for causal analysis of high-dimensional flows. Using direct numerical simulation (DNS) data of the flow around a wall-mounted square cylinder at $Re_h=2000$, we (i) learn a compact latent space with near-orthogonal variables, (ii) quantify directed information flows among these variables via the SURD approach, and (iii) map latent-space causality back to physical space through gradient-SHAP fields . By means of percolation analysis of the SHAP fields, we extract the coherent, time-resolved structures that most influence each latent variable. The analysis connects coherent structures with latent variables which are in turn associated with wake-boundary-layer interactions. This method enables translating the insight obtained through causal analysis in the latent space into interpretable phenomena in physical space.
