CONFIDE: Contextual Finite Differences Modelling of PDEs
Ori Linial, Orly Avner, Dotan Di Castro
TL;DR
This work tackles inferring context-dependent PDE coefficients when only partial mechanistic knowledge is available. It introduces CONFIDE, a context-aware hybrid that encodes dynamics with an autoencoder and jointly estimates coefficient functions which are then used by a standard PDE solver to forecast future states, achieving zero-shot generalization across unseen coefficient contexts. The method combines an initial-conditions aware autoencoder with a PDE-consistency loss, enabling accurate coefficient reconstruction and robust predictions across multiple PDE families (constant-coefficient, Burgers', FitzHugh-Nagumo, Navier–Stokes) and under out-of-distribution scenarios. Experiments show that CONFIDE consistently outperforms Neural ODE, FNO, Unet, and DINo baselines, while offering explainability through the recovered coefficient functions and providing significant speed advantages over integration-based approaches. The approach holds promise for data-efficient, physics-informed modeling in domains like battery dynamics, where different instances exhibit varying coefficients within a shared PDE structure.
Abstract
We introduce a method for inferring an explicit PDE from a data sample generated by previously unseen dynamics, based on a learned context. The training phase integrates knowledge of the form of the equation with a differential scheme, while the inference phase yields a PDE that fits the data sample and enables both signal prediction and data explanation. We include results of extensive experimentation, comparing our method to SOTA approaches, together with ablation studies that examine different flavors of our solution.
