betaFeedback

WorksMathematics

Energy-preserving Bayesian model reduction: closed-form structured posteriors and probabilistic stability certificates for quadratic operator inference

Abstract

Bayesian operator inference learns reduced-order models (ROMs) with polynomial structure from state data and returns a closed-form Gaussian posterior over the reduced operators. That posterior is unconstrained, so it gives positive probability to operators with unbounded dynamics, and current practice controls this only through finite-horizon simulation tests on a few samples. We show that energy preservation of the quadratic operator is a set of linear equality constraints, which can be imposed exactly inside the Bayesian formulation without losing the closed form. In particular, the constrained posterior follows from one Kalman-type update of the unconstrained one, and its samples are obtained exactly, by the same correction applied to unconstrained draws. Under this structure, global boundedness for all initial conditions and bounded inputs reduces to a linear matrix condition on the symmetric part of the linear operator. The simulation test is then replaced by a probabilistic stability certificate: the posterior probability that the ROM is globally bounded, estimated with exact confidence bounds; the posterior restricted to certified models is then sampled exactly by rejection. For energy-conserving systems, the linear part can be constrained to be skew-symmetric as well: every draw then grows at most linearly in time, and conserves energy exactly when unforced. On a forced viscous Burgers' equation, the Korteweg-de Vries equation and a two-dimensional viscous Burgers' equation, every sample of the constrained posterior integrates to a bounded trajectory, where up to all unconstrained draws diverge, and beyond the observation window the former is also the more accurate of the two.

Introduction

Many tasks in computational science require repeated simulations of the same underlying system. Design optimization, parameter estimation, uncertainty quantification, and real-time prediction may each demand thousands of evaluations across different characterizing parameters, configurations, external inputs, initial or boundary conditions. When each evaluation requires solving a large-scale model, these many-query tasks can be prohibitively expensive. Reduced-order models (ROMs) address this challenge by approximating the dynamics in a low-dimensional latent space, so that repeated predictions can be made at a small fraction of the cost of the full-order model (FOM).

ROMs can be constructed intrusively or non-intrusively. Intrusive methods typically use the governing equations or simulation code to project the FOM dynamics onto a low-dimensional basis. Projection-based methods can often preserve mathematical and physical properties of the original system in the reduced equations. Non-intrusive methods infer the reduced dynamics from data, and therefore remain applicable when the equations or solvers are unavailable, as is common with experimental data or legacy software. This flexibility comes with a challenge: a fit to observed trajectories does not, by itself, ensure that the inferred ROM retains the mathematical and physical properties of the original system, such as conservation laws, energy balance, or stability. These properties can be especially important when a ROM is used beyond the conditions represented in its training data.

Operator inference (OpInf) [1, 2] is a non-intrusive approach that posits a low-dimensional model form and estimates its operators by regression on reduced-state snapshots and their time derivatives. In many applications, however, snapshots are sparse in time, noisy, or both. Estimating derivatives directly from such data can amplify measurement noise, while sparse temporal sampling makes the state evolution harder to resolve. Bayesian OpInf [3] places a probabilistic prior on the operators, relating regularized least squares to a Gaussian posterior and providing a natural representation of operator uncertainty. GP-BayesOpInf [4] extends this idea by fitting Gaussian processes (GPs) to the reduced coordinates. The GP regression smooths noisy observations and provides analytic derivative estimates together with their uncertainty; these quantities lead to a generalized least-squares fit and a closed-form posterior over the reduced operators. The resulting uncertainty can then be propagated to the ROM predictions, an essential part of assessing reliability when data are limited and predictions extend beyond the observed trajectories.

Stability is a further requirement for a useful ROM: a surrogate whose trajectories grow without bound may not provide reliable long-time or out-of-training predictions. This issue is acute for quadratic models, whose nonlinear terms can cause finite-time blow-up, and for projection-based models, which can lose stability when dissipative modes are truncated [5]. It is also structural in a Bayesian formulation. A non-degenerate Gaussian posterior has full support over the operator coefficients, so choosing its hyperparameters alone cannot rule out unstable operators. In current practice, prior hyperparameters may be screened by simulating a small number of posterior draws and rejecting values for which a trajectory exceeds a chosen amplitude over a finite time horizon [4, 6]. Such screening can be practically useful, but a finite set of trajectories on a finite horizon does not certify global boundedness, and stronger prior regularization also reduces posterior uncertainty. Nor does this procedure carry a stability guarantee to new inputs, initial conditions, or subsequent data updates.

This paper studies Bayesian learning of quadratic ROMs with a focus on stability. A key structure is energy preservation: the quadratic part redistributes energy among the reduced coordinates without creating or dissipating net energy. For many convection-type systems, this property follows from the energy balance of the full-order equations and is inherited under Galerkin projection when the discretization and projection are compatible. For data-driven models, energy preservation can be imposed through linear equality constraints on the quadratic-operator coefficients. Deterministic OpInf methods have already exploited this structure. Koike and Qian [7] formulate the constrained least-squares problem, give the independent constraint count, and discuss inheritance under projection; Gkimisis et al. [8] prove that every energy-preserving quadratic operator has an equivalent representation with skew-symmetric blocks and use it in a sequential least-squares method; Mou [9] imposes the same constraints inside a maximum-likelihood fit of a stochastic model, estimating a diffusion amplitude jointly with the quadratic-linear drift and using an upper-triangular parametrization to remove the non-identifiability of the full quadratic tensor.

Energy preservation is not the only structure that can be built into operator inference. When the full-order system is canonically Hamiltonian, Hamiltonian OpInf learns a reduced Hamiltonian in symplectic coordinates, so that the inferred model is Hamiltonian by construction and stays accurate well beyond the training interval [10]; related constructions preserve Lagrangian and multi-symplectic structure [11]. Where no such geometric structure is available, stability can be promoted by physics-informed regularization [12] or enforced exactly by parametrizing the operators so that only stable models can be represented [13]. These approaches share our premise, that structure known from the physics should be imposed on the learned operators rather than hoped for, and differ in which structure is imposed and at what price: a nonlinear parametrization, for instance, secures stability but forfeits the linear-in-the-coefficients form on which a closed-form Gaussian posterior depends.

Stabilization of data-driven ROMs is not specific to operator inference: the same energy-preserving structure is promoted through a trapping-region formulation in sparse identification [14], and stability is imposed as a constraint on the learned operator in system identification [15, 16]. Stability can also be improved after the model is learned, by filtering the reduced solution as it is computed [17]. The constraint used here acts earlier: the model class is restricted before any data are seen, so the guarantee is a property of every operator in the class rather than of a particular trajectory.

Building on these developments, we incorporate energy preservation into a Bayesian model and study the resulting stability guarantees and uncertainty quantification.

The contributions of this work are as follows:

  1. We collect and extend the stability theory needed for energy-preserving quadratic ROMs (section 3). In particular, we show that energy preservation is necessary for the Euclidean energy to be a global Lyapunov function, and that it gives global exponential stability when the constant term and input vanish, as well as an explicit input-to-state estimate for bounded inputs, under a single dissipativity condition on the linear operator (theorems 3.7, 3.9 and 3.10). A shifted energy extends the analysis to non-dissipative linear parts (theorem 3.12), while weak energy preservation yields explicit local stability radii (theorem 3.14). Previously known results are attributed in theorems 3.3 and 3.5 and before theorem 3.9.

  1. We develop energy-preserving Bayesian operator inference (section 4). The constrained posterior has equivalent interpretations from three perspectives: a degenerate prior on the energy-preserving subspace, a noise-free pseudo-observation, and a constrained MAP estimate with its reduced Hessian (theorem 4.2). Computationally, it follows from a single Kalman-type update of the GP-BayesOpInf posterior and admits exact samples by a linear correction (theorem 4.6). We also give a soft constraint equivalent to an anisotropic prior with Tikhonov regularization, with hyperparameters selected by closed-form marginal likelihood (theorems 4.8 and 4.10); the proposed method is recovered as a limiting case.

  1. We define posterior probabilities of certifiable stability and provide exact confidence intervals based on inexpensive eigenvalue computations, together with exact sampling from the posterior restricted to certified models (section 5 and theorem 5.1).

  1. For conservative systems, which neither create nor consume energy and for which no decay rate exists to certify, we constrain the linear part as well, asking that sym⁡A^=0\operatorname{sym}\hat{A}=0 (section 6). This amounts to adding rows to the constraint matrix, while the closed-form posterior, the Kalman update and the exact sampling remain unchanged. In this case, every draw obeys a deterministic bound: growth at most linear in time, and exact conservation of the reduced energy when the constant term vanishes (theorem 6.1).

  1. We give algorithms that incorporate these steps into GP-BayesOpInf with negligible additional cost, and analyze their complexity (section 7).

The stability analysis builds on the long-term boundedness and shifted trapping regions of Schlegel and Noack [5], later used in the analysis of data-driven quadratic models by Kaptanoglu et al. [14]; stability domains for quadratic-bilinear ROMs are studied by Kramer [18]. We do not claim the energy-preservation index conditions, their count, or their inheritance under Galerkin projection as new results; we state them with attribution because the Bayesian construction relies on their precise form. Our contribution is a posterior supported on the energy-preserving subspace, with a closed-form covariance and exact samples that remain compatible with sequential updating, as well as explicit stability estimates for sampled operators and a posterior probability of certified stability with exact confidence bounds. To our knowledge, existing work does not provide this combination of structured operator posteriors and probabilistic stability certification.

Outline. Section 2 reviews proper orthogonal decomposition (POD), OpInf, and GP-BayesOpInf. Section 3 develops the stability theory. Section 4 builds energy preservation into the Bayesian model. Section 5 introduces probabilistic certificates. Section 6 treats conservative systems, where no decay rate exists and the linear part is constrained instead. Section 7 collects the algorithms. Section 8 is reserved for numerical experiments, and section 9 concludes. Proofs of auxiliary results are in Appendix A.

Notation. ∥⋅∥\lVert\cdot\rVert is the Euclidean norm, or the induced spectral norm for matrices. ∥⋅∥F\lVert\cdot\rVert_{F} is the Frobenius norm. sym⁡(X)=12(X+XT)\operatorname{sym}(X) = \frac{1}{2}(X + X^{\mathsf{T}}). λmax⁡\lambda_{\max} is the largest eigenvalue of a symmetric matrix. ⊗\otimes is the Kronecker product. N(μ,Σ)\mathcal{N}(\mu, \Sigma) denotes a (possibly degenerate) Gaussian distribution. For a positive semidefinite Σ\Sigma, Σ1/2\Sigma^{1/2} is its symmetric square root.

Background

POD and quadratic reduced-order models

Consider a full-order model (FOM)

q˙=f(q,u),q(t)∈RN,(1)\dot{\mathbf{q}} = \mathbf{f}(\mathbf{q},\mathbf{u}), \qquad\mathbf{q}(t) \in\mathbb{R}^{N}, \tag*{(1)}

where q(t)∈RN\mathbf{q}(t) \in\mathbb{R}^{N} is the state, typically a field discretized on a fine spatial grid, so that NN is large; u(t)∈Rp\mathbf{u}(t) \in\mathbb{R}^{p} collects the inputs, such as forcing terms, boundary data or control signals; and f:RN×Rp→RN\mathbf{f} : \mathbb{R}^{N} \times\mathbb{R}^{p} \to\mathbb{R}^{N} is the vector field of the governing equations, which may be available only as a simulation code, or not at all. Snapshots of q\mathbf{q} are collected at representative times and operating conditions u\mathbf{u}. Given a reference state q‾\overline{\mathbf{q}} (e.g. the average of snapshots), proper orthogonal decomposition (POD) applies a singular value decomposition to the centered snapshots and selects the leading left singular vectors. These vectors span a low-dimensional subspace that captures the predominant variation in the data. Let V∈RN×r\mathbf{V} \in\mathbb{R}^{N \times r} contain the resulting orthonormal basis, where the size of the reduced basis r≪Nr \ll N and VTV=Ir\mathbf{V}^{\mathsf{T}}\mathbf{V} = \mathbf{I}_{r}. The reduced-order solution is given by an approximation in such a low-dimensional subspace:

q≈q‾+Vq^,(2)\mathbf{q} \approx\overline{\mathbf{q}} + \mathbf{V}\widehat{\mathbf{q}}, \tag*{(2)}

so q^∈Rr\widehat{\mathbf{q}} \in\mathbb{R}^{r} contains the reduced coordinates. If the FOM is accessible, substituting this approximation into the governing equations and projecting the residual onto the reduced basis gives the intrusive reduced dynamics q^˙=VTf(q‾+Vq^,u)\dot{\widehat{\mathbf{q}}} = \mathbf{V}^{\mathsf{T}}\mathbf{f}(\overline{\mathbf{q}} + \mathbf{V}\widehat{\mathbf{q}}, \mathbf{u}). This is the Galerkin-projection ROM. When the vector field is quadratic in the state, or can be expressed in quadratic form after a suitable variable transformation [19], the reduced dynamics take the form

q^˙=c^+A^q^+H^(q^⊗q^)+B^u(t),q^(0)=q^0,(3)\dot{\widehat{\mathbf{q}}} = \widehat{\mathbf{c}} + \widehat{\mathbf{A}}\widehat{\mathbf{q}} + \widehat{\mathbf{H}}(\widehat{\mathbf{q}} \otimes\widehat{\mathbf{q}}) + \widehat{\mathbf{B}}\mathbf{u}(t), \qquad\widehat{\mathbf{q}}(0) = \widehat{\mathbf{q}}_{0}, \tag*{(3)}

where c^∈Rr\widehat{\mathbf{c}} \in\mathbb{R}^{r}, A^∈Rr×r\widehat{\mathbf{A}} \in\mathbb{R}^{r \times r}, H^∈Rr×r2\widehat{\mathbf{H}} \in\mathbb{R}^{r \times r^{2}}, and B^∈Rr×p\widehat{\mathbf{B}} \in\mathbb{R}^{r \times p}. The constant and linear terms include the effects of expanding about the reference state. The same model form (3) can also be learned from data, without constructing its operators by projecting the FOM.

To describe the quadratic term, write Hijk:=H^i,(j−1)r+kH_{ijk}:=\widehat{H}_{i,(j-1)r+k}, so that [H^(q^⊗q^)]i=∑j,kHijkq^jq^k[\widehat{\mathbf{H}}(\widehat{\mathbf{q}}\otimes\widehat{\mathbf{q}})]_i=\sum_{j,k}H_{ijk}\widehat{q}_j\widehat{q}_k. Because the products commute, we may assume without loss of generality that

Hijk=Hikj∀ i,j,k,(4)H_{ijk}=H_{ikj}\qquad\forall\,i,j,k, \tag*{(4)}

and define the associated symmetric bilinear map by H(y,z):=H^(y⊗z)\mathcal{H}(\mathbf{y},\mathbf{z}):=\widehat{\mathbf{H}}(\mathbf{y}\otimes\mathbf{z}). Only the r(r+1)/2r(r+1)/2 products q^jq^k\widehat{q}_j\widehat{q}_k with j≤kj\leq k are distinct. We therefore represent the quadratic term using compact coefficients hi,jkh_{i,jk}:

[H^(q^⊗q^)]i=∑j≤khi,jkq^jq^k,i=1,…,r,(5)[\widehat{\mathbf{H}}(\widehat{\mathbf{q}}\otimes\widehat{\mathbf{q}})]_i=\sum_{j\leq k}h_{i,jk}\widehat{q}_j\widehat{q}_k,\qquad i=1,\ldots,r, \tag*{(5)}

where hi,jkh_{i,jk} is the coefficient of q^jq^k\widehat{q}_j\widehat{q}_k in equation ii. Under (4), hi,jj=Hijjh_{i,jj}=H_{ijj} and hi,jk=2Hijkh_{i,jk}=2H_{ijk} for j<kj<k, since the two symmetric tensor entries multiply the same product. In the operator matrix below, the quadratic block stores these compact coefficients and therefore has r(r+1)/2r(r+1)/2 columns.

Operator inference

When the FOM equations or solver are unavailable, OpInf learns the reduced operators from reduced-state data and estimates of their time derivatives. For (3), collect the constant, linear, compact quadratic, and input coefficients in O^=[c^ A^ H^ B^]∈Rr×d\widehat{\mathbf{O}}=[\widehat{\mathbf{c}}\ \widehat{\mathbf{A}}\ \widehat{\mathbf{H}}\ \widehat{\mathbf{B}}]\in\mathbb{R}^{r\times d}, where the quadratic block is understood in the compact form just defined. Then the model can be written as a linear function of its unknown operators evaluated at a nonlinear feature vector:

q^˙=O^d(q^,u),d(q^,u)=[1;q^;q^⊗^q^;u]∈Rd,d=1+r+r(r+1)2+p,(6)\dot{\widehat{\mathbf{q}}}=\widehat{\mathbf{O}}\mathbf{d}(\widehat{\mathbf{q}},\mathbf{u}),\qquad \mathbf{d}(\widehat{\mathbf{q}},\mathbf{u})=[1;\widehat{\mathbf{q}};\widehat{\mathbf{q}}\widehat{\otimes}\widehat{\mathbf{q}};\mathbf{u}]\in\mathbb{R}^{d},\qquad d=1+r+\frac{r(r+1)}{2}+p, \tag*{(6)}

where ⊗^\widehat{\otimes} lists only the distinct quadratic products. Given reduced states q^\widehat{\mathbf{q}} and derivative estimates for q^\widehat{\mathbf{q}} at m′m' time instants, form the data matrix D∈Rm′×d\mathbf{D}\in\mathbb{R}^{m'\times d} with the corresponding feature vectors as its rows. For each reduced coordinate, let zi\mathbf{z}_i collect its derivative estimates and let o^iT\widehat{\mathbf{o}}_i^{\mathsf{T}} denote row ii of O^\widehat{\mathbf{O}}. Regularized OpInf then solves the independent least-squares problems for all reduced modes:

min⁡o^i∈Rd ∥Do^i−zi∥2+∥Γio^i∥2,i=1,…,r,(7)\min_{\widehat{\mathbf{o}}_i\in\mathbb{R}^{d}}\ \|\mathbf{D}\widehat{\mathbf{o}}_i-\mathbf{z}_i\|^2+\|\mathbf{\Gamma}_i\widehat{\mathbf{o}}_i\|^2,\qquad i=1,\ldots,r, \tag*{(7)}

where Γi\mathbf{\Gamma}_i contains the regularization weights [1, 2]. The regression is linear in the operators, but its quality depends on the reduced states and derivative estimates. This dependence is problematic when snapshots are sparse or noisy. Finite-difference estimates amplify observation noise, and widely or irregularly spaced snapshots leave the state evolution between them unresolved, so that the estimate is inaccurate even in the absence of noise.

Bayesian operator inference with Gaussian processes

References

  1. [1]B. Peherstorfer, K. Willcox, Data-driven operator inference for nonintrusive projection-based model reduction, Comput. Methods Appl. Mech. Engrg. 306 (2016) 196–215.DOI
  2. [2]B. Kramer, B. Peherstorfer, K. E. Willcox, Learning nonlinear reduced models from data with operator inference, Annu. Rev. Fluid Mech. 56 (2024) 521–548.DOI
  3. [3]M. Guo, S. A. McQuarrie, K. E. Willcox, Bayesian operator inference for data-driven reduced-order modeling, Comput. Methods Appl. Mech. Engrg. 402 (2022) 115336; arXiv:2204.10829.DOI
  4. [4]S. A. McQuarrie, A. Chaudhuri, K. E. Willcox, M. Guo, Bayesian learning with Gaussian processes for low-dimensional representations of time-dependent nonlinear systems, Physica D 475 (2025) 134572; arXiv:2408.03455.DOI
  5. [5]M. Schlegel, B. R. Noack, On long-term boundedness of Galerkin models, J. Fluid Mech. 765 (2015) 325–352; arXiv:1310.0053.arxiv.org/abs/1310.0053
  6. [6]S. A. McQuarrie, C. Huang, K. E. Willcox, Data-driven reduced-order models via regularised operator inference for a single-injector combustion process, J. R. Soc. N. Z. 51 (2021) 194–211; arXiv:2008.02862.DOI
  7. [7]T. Koike, E. Qian, Energy-preserving reduced operator inference for efficient design and control, AIAA SciTech Forum (2024), AIAA 2024-1012; arXiv:2401.02889.DOI
  8. [8]L. Gkimisis, I. Pontes Duff, P. Goyal, P. Benner, On the representation of energy-preserving quadratic operators with application to operator inference, Appl. Math. Lett. 173 (2026) 109761; arXiv:2503.10824.arxiv.org/abs/2503.10824
  9. [9]C. Mou, Stochastic physics-constrained operator inference for complex systems, preprint, 2026; arXiv:2609.33380.arxiv.org/abs/2609.33380
  10. [10]H. Sharma, Z. Wang, B. Kramer, Hamiltonian operator inference: Physics-preserving learning of reduced-order models for canonical Hamiltonian systems, Physica D 431 (2022) 133122; arXiv:2107.12996.arxiv.org/abs/2107.12996
  11. [11]S. Yıldız, P. Goyal, P. Benner, Structure-preserving learning for multi-symplectic PDEs, Adv. Model. Simul. Eng. Sci. 12 (2025) 6; arXiv:2409.10432.
  12. [12]N. Sawant, B. Kramer, B. Peherstorfer, Physics-informed regularization and structure preservation for learning stable reduced models from data with operator inference, Comput. Methods Appl. Mech. Engr. 404 (2023) 115836; arXiv:2107.02597.arxiv.org/abs/2107.02597
  13. [13]P. Goyal, I. Pontes Duff, P. Benner, Guaranteed stable quadratic models and their applications in SINDy and operator inference, Physica D 483 (2025) 134893; arXiv:2308.13819.arxiv.org/abs/2308.13819
  14. [14]A. A. Kaptanoglu, J. L. Callaham, A. Aravkin, C. J. Hansen, S. L. Brunton, Promoting global stability in data-driven models of quadratic nonlinear dynamics, Phys. Rev. Fluids 6 (2021) 094401; arXiv:2105.01843.DOI
  15. [15]S. L. Lacy, D. S. Bernstein, Subspace identification with guaranteed stability using constrained optimization, IEEE Trans. Automat. Control 48 (2003) 1259–1263.
  16. [16]J. Umenberger, J. Wågberg, I. R. Manchester, T. B. Schön, Maximum likelihood identification of stable linear dynamical systems, Automatica 96 (2018) 280–292.DOI
  17. [17]I. Moore, P.-H. Tsai, A. Gruber, I. Farças, C. Wentland, I. Tezaur, et al., Learning long-term stable operator inference reduced-order models of fluid flows through online spatial filtering, preprint, 2026; arXiv:2609.14812.arxiv.org/abs/2609.14812
  18. [18]B. Kramer, Stability domains for quadratic-bilinear reduced-order models, SIAM J. Appl. Dyn. Syst. 20 (2021) 981–996.arxiv.org/abs/2009.02769
  19. [19]E. Qian, B. Kramer, B. Peherstorfer, K. Willcox, Lift & Learn: Physics-informed machine learning for large-scale nonlinear dynamical systems, Physica D 406 (2020) 132401; arXiv:1912.08177.DOI
  20. [20]H. K. Khalil, Nonlinear Systems, 3rd ed., Prentice Hall, 2002.
  21. [21]J. T. Wilson, V. Borovitskiy, A. Terenin, P. Mostowsky, M. P. Deisenroth, Efficiently sampling functions from Gaussian process posteriors, in: Proc. ICML, 2020; arXiv:2002.09309.arxiv.org/abs/2002.09309
  22. [22]G. Evensen, Data Assimilation: The Ensemble Kalman Filter, 2nd ed., Springer, 2009.
  23. [23]S. Boucheron, G. Lugosi, P. Massart, Concentration Inequalities: A Nonasymptotic Theory of Independence, Oxford University Press, 2013.
  24. [24]C. J. Clopper, E. S. Pearson, The use of confidence or fiducial limits illustrated in the case of the binomial, Biometrika 26 (1934) 404–413.DOI
  25. [25]H. Aref, P. K. Daripa, Note on finite difference approximations to Burgers’ equation, SIAM J. Sci. Statist. Comput. 5 (1984) 856–864.DOI
  26. [26]N. J. Zabusky, M. D. Kruskal, Interaction of “solitons” in a collisionless plasma and the recurrence of initial states, Phys. Rev. Lett. 15 (1965) 240–243.DOI

Paper details

vlnc:W_aknuape6
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

ChatGPT, Claude, Grammarly

View statement
Looking for related papers…
Contents