Structure-Preserving Digital Twins via Conditional Neural Whitney Forms

Brooks Kinch, Benjamin Shaffer, Elizabeth Armstrong, Michael Meehan, John Hewson, Nathaniel Trask · 2025

Read Structure-Preserving Digital Twins via Conditional Neural Whitney Forms by Brooks Kinch, Benjamin Shaffer, Elizabeth Armstrong, Michael Meehan, John Hewson, Nathaniel Trask (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-06981.txt.

Introduction

Six researchers wrote a paper in two thousand twenty-five on building digital twins that respect the laws of physics. A digital twin is a live software copy of a real system. Their twins run in real time and stay well behaved: conserved quantities, such as energy, are preserved exactly, however sparse the data or rough the fit.

The method learns a reduced set of building blocks and the conservation law itself, guided by a hidden variable. Attention mechanisms let the twin recalibrate to sensor data as conditions change. It plugs into standard engineering software without taking it over. Tests ran from heat flow to a battery thermal runaway case.

Catalog record

CREATORBrooks Kinch, Benjamin Shaffer, Elizabeth Armstrong, Michael Meehan, John Hewson, Nathaniel Trask
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE78 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2508-06981

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Structure-Preserving Digital Twins via Conditional Neural Whitney Forms Brooks Kinch, Benjamin Shaffer, Elizabeth Armstrong, Michael Meehan, John Hewson, Nathaniel Trask Abstract We present a framework for constructing real-time digital twins based on structure-preserving reduced finite element models conditioned on a latent variable Z Z . The approach uses conditional attention mechanisms to learn both a reduced finite element basis and a nonlinear conservation law within the framework of finite element exterior calculus (FEEC). This guarantees numerical well-posedness and exact preservation of conserved quantities, regardless of data sparsity or optimization error. The conditioning mechanism supports real-time calibration to parametric variables, allowing the construction of digital twins which support closed loop inference and calibration to sensor data. The framework interfaces with conventional finite element machinery in a non-invasive manner, allowing treatment of complex geometries and integration of learned models with conventional finite element techniques. Benchmarks include advection diffusion, shock hydrodynamics, electrostatics, and a complex battery thermal runaway problem. The method achieves accurate predictions on complex geometries with sparse data (25 LES simulations), including capturing the transition to turbulence and achieving real-time inference ( ∼ 0.1 \sim 0.1 s) with a speedup of 3.1 × 10 8 3.1\times 10^{8} relative to LES. An open-source implementation is available on GitHub. 1 Overview and literature review 1.1 Digital twins for complex physical systems. Digital twins are simulators that support real-time prediction of a physical system while simultaneously calibrating to real-time sensor data. The recent National Academies report [ 86 ] identifies this closed-loop capability as central to a digital twin: A digital twin is a set of virtual information constructs that mimics the structure, context, and behavior of a natural, engineered, or social system (or system-of-systems), is dynamically updated with data from its physical twin, has a predictive capability, and informs decisions that realize value. The bidirectional interaction between the virtual and the physical is central to the digital twin. While a digital twin could be as simple as a linear regression model, recent advances in data-driven techniques have significantly improved accuracy and speed of predictions. The literature may broadly be split between two approaches: projection-based reduced order models (ROMs) or other dimension-reduced FEM methods (e.g. [ 48 , 23 , 49 , 89 ] ) or neural operators (e.g. [ 19 , 56 , 50 ] ) using techniques like Fourier Neural Operators [ 54 , 64 ] , DeepONets [ 58 , 34 ] , or modern transformer architectures [ 81 , 15 ] . Both strategies support real-time prediction but have complementary limitations. ROMs are built on a rigorous Galerkin framework and support analysis, but nonlinear and advection-dominated problems are difficult to treat, particularly when the governing equations are partially known. Neural operators are flexible and can regress a wide range of behaviors, but they are black-box models that typically do not provide guarantees of conservation or stability. The goal of this work is to combine these benefits. We develop a transformer-based architecture that encodes a reduced mixed finite element space representing the geometry and a nonlinear discrete flux representing the physics, in effect merging the structure of ROMs with the flexibility of data-driven neural operators. 1.2 Operator regression and conditional neural fields. A number of works in scientific machine learning have considered the operator regression problem: learning of infinite-dimensional function to function maps. Motivated by the Riesz representation theorem, this task requires learning both a representation of functions in the domain and a suitable dual representation for the range. Many previous works may be understood in this context. DeepONets, separate the representation of the input function into a branch net and the spatial operator into a trunk net, effectively constructing a data-driven basis and projection [ 58 ] . Other methods explicitly construct a reduced basis with principal component analysis before encoding the operator with a neural network [ 51 ] . Other approaches encode operators via finite difference stencils with convolutional or graph architectures [ 9 ] . In this work, we adopt the perspective of conditional neural fields , an operator learning formulation originally developed in computer vision to model structured image-to-image mappings modulated by a second conditioning field [ 87 ] . From a probabilistic viewpoint, this corresponds to sampling from a data distribution conditioned on a latent or observed field, often in a generative modeling context. Architectures designed for this setting commonly employ self-attention layers to capture intra-field structure and cross-attention mechanisms to incorporate the conditioning field, providing a natural mechanism for integrating multiple modalities. Recently, these architectures have been identified as a powerful alternative for operator regression [ 80 ] and used in auto-regressive frameworks for building physics-emulators of problems like weather near-casting and composite mechanical modeling [ 81 , 79 , 15 ] . In this work, we consider an abstract conditioning field Z that may represent a vector of sensor readings, or other parameters influencing the finite element space and governing physics. 1.3 Physical structure preservation with FEEC. For many classes of multiphysics problems, structure preservation in the form of mass, momentum, and energy conservation, as well as variational structure that supports stability and well-posedness analysis, is crucial for quantitative and reliable predictions. A large fraction of physics-informed machine learning strategies embed physics by adding PDE residuals and other desirable properties as penalty terms in the loss function. It is well known that this weak enforcement of physics can lead to difficulties in both training and accuracy, although recent work has proposed schemes that partially mitigate these effects [ 82 , 84 ] . An alternative trend is to design neural architectures that preserve structure by construction. These methods have been proposed in both physical and non-physical contexts. Examples include equivariant or invariant networks that encode symmetries such as rotation, translation, reflection, or gauge [ 25 , 10 ] , monotone or convex networks [ 2 , 67 , 11 , 20 , 68 ] , Hamiltonian, Lagrangian, or symplectic networks [ 35 , 26 , 22 ] and dissipative bracket generalizations [ 37 , 36 ] , permutation equivariance [ 66 ] , topological invariants [ 90 , 45 ] , mechanical or thermodynamic principles [ 77 , 17 ] , and tensor invariants [ 55 , 32 ] . In traditional modeling, finite element exterior calculus (FEEC) provides a general framework for constructing finite element spaces that preserve the topological structure of differential operators such as grad, curl, and div [ 8 , 6 ] . In this framework, the connection between physics (expressed as exchanges of fluxes) and geometry (expressed through generalized Stokes theorems) is captured using exterior derivatives and the de Rham complex. Preserving this topological structure leads to discretizations that conserve invariants [ 7 ] , admit natural interface conditions for hybridizable schemes [ 4 , 47 ] , and provide a rigorous and stable platform for large-scale multiphysics simulation [ 3 , 65 , 13 ] . In our previous work [ 75 ] , we developed a data-driven version of the exterior calculus that enables PDE-constrained optimization of graph-based networks to extract models from data. This formulation preserves the de Rham complex and includes a complete Lax-Milgram-style stability analysis. We later introduced data-driven Whitney forms that allow

Read the complete text