It is shown that the forward DAE solve and its reverse-mode sensitivity can be unified in one JAX-native suite, and the DAE becomes a differentiable primitive for inference, control, and design.
Abstract
Many engineered models begin as partial differential equations. Spatial discretization converts them into ordinary differential equations coupled to algebraic constraints---conservation closures, constitutive laws, network topology---whose joint evolution is a differential-algebraic equation (DAE). Parameter inversion, uncertainty quantification, Bayesian inference, and optimal control all require gradients of this solve. The two software traditions that should supply them have not met: industrial acausal modeling tools simulate DAEs forward but stop at reverse-mode differentiation, while differentiable-physics frameworks in JAX handle explicit ODEs and PDEs but leave the algebraic-constraint layer untouched. Here we show that the forward DAE solve and its reverse-mode sensitivity can be unified in one JAX-native suite. jaxdae pairs adaptive BDF, Radau, and Rosenbrock integration with Pantelides index reduction and dummy derivatives, and makes the adaptive BDF path differentiable by freezing the accepted step grid and re-solving a variable-step BDF-2 on it for the backward pass. The full pipeline differentiates under one $\texttt{jax.grad}$ call, XLA fuses a batched parameter sweep into one program whose wall time stays nearly flat from batch~1 to~1000, and the DAE becomes a differentiable primitive for inference, control, and design.
As nonlinearity strengthens, the accuracy advantage of discretization-based constraints becomes increasingly pronounced, with smaller optimization errors compensating for the truncation errors, and the more complex the nonlinearity and boundary conditions, the greater the advantage of GNN over MLP.
Xing Guo, Hong-Wei Tang, Ze-Wei Meng et al.· 0 citations
The Physics-Informed Stochastic Configuration Machine is proposed, a novel backpropagation-free framework for both forward and inverse problems in differential equations that achieves high-fidelity predictive accuracy and robust parameter identification while accelerating the training process by orders of magnitude com...
Yueze Song, Zhong-Zhe Chen, Li-Hui Cen et al.· 0 citations
Diff-NekRS is introduced, a scalable differentiable framework that embeds neural corrections directly in the GPU-accelerated NekRS incompressible-flow solver, and establishes a verified and scalable path for multi-timestep solver-in-the-loop training that improves coarse-grid trajectory accuracy while retaining a speed...
Junoh Jung, R. Balin, Bethany Lusch et al.· 0 citations
Differentiable simulation is a key component in learning, control, and inverse problems, where gradients through nonlinear implicit solvers are required. Existing approaches either rely on unrolled automatic differentiation, whose memory grows with solver depth, or on equation-level implicit differentiation, which asse...
This paper develops a PDE realization and solver framework for a compact two-stage fourth-order two-derivative implicit--explicit time discretization for stiff split problems. The key difficulty is a consistency--cost coupling: full-field temporal differentiation is required to preserve the mixed explicit--implicit int...
Ordinary differential equations (ODEs) underlie models in science and engineering, and many applications need derivatives of their solutions with respect to parameters. Ensembles of independent trajectories suit graphics processing units (GPUs), but current GPU software forces a trade-off: the fastest ensemble solvers...
A. S. Mancini· 2 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.