arXiv:2608.25709stat.MLAug 2026

Manuscript Offprint

arXiv:2608.25709

Multi-output Gaussian process prediction of physical fields under linear equality constraints

Mahamat Hamdan Nassouradine, Clément Gauchy, Pierre-Emmanuel Angeli, Sébastien da Veiga

ABSTRACT

We address the simultaneous prediction of multiple high-dimensional physical fields governed by linear equality constraints, a setting that arises in many real-world applications in physics machine learning. Gaussian process (GP) regression is a widely used surrogate modeling approach due to its effectiveness in small-sample regimes and its ability to provide uncertainty quantification. However, applying GP models in this setting raises two major challenges: the high dimensionality of the discretized output fields and the enforcement of the physical constraint in predictions. For the latter, a common strategy consists in deducing one output from the others via the constraint relation. Through an empirical benchmark, we show that this deductive approach is sensitive to the arbitrary choice of which output to deduce, affecting both predictive accuracy and uncertainty quantification. Consequently, there is a need for an approach that treats all fields symmetrically while strictly respecting the underlying physics. Motivated by these limitations, we propose a robust framework for jointly modeling constrained multi-field data. Our approach first leverages a specific PCA procedure for multi-field data, coined row-wise PCA, which has the interesting property of preserving the constraint in the latent space. Since standard PCA strategies for multi-field data (field-wise, column-wise) do not preserve such constraints, we investigate theoretically the optimality of the row-wise choice and provide conditions under which it incurs a negligible reconstruction cost. In a second step, we consider a linearly-constrained multi-output GP approach based on a specific kernel parametrization which is trained on the latent space of row-wise PCA. The proposed framework is validated on a population dynamics problem and on an industrial computational fluid dynamics application, which involves the prediction of Reynolds stress tensor components under the incompressibility constraint. We demonstrate competitive predictive performance while guaranteeing strict constraint satisfaction.

1. Introduction

Metamodeling is now a fundamental approach for approximating computationally expensive numerical simulations or costly experiments (O'Hagan, 2006; Kennedy and O'Hagan, 2000; Santner, Williams and Notz, 2003). This technique is essential for various engineering applications, such as structural optimization (Jansson, Nilsson and Redhe, 2003), aeronautics (Sobieszczanski-Sobieski and Haftka, 1997), multifidelity optimization (Forrester, Söbester and Keane, 2007; Forrester, Sobester and Keane, 2008), sensitivity analysis (Nanty, Helbert, Marrel, Pérot and Prieur, 2016), or reliability analysis (Su, Peng and Hu, 2017; Li, Sadoughi, Hu and Hu, 2020). In this work, we specifically focus on building a metamodel that simultaneously predicts multiple spatial or temporal fields governed by linear equality constraints, which are ubiquitous in physics-based simulations. Gaussian process (GP) regression, also known as kriging in geostatistics (Matheron, 1963), has established itself as a method of choice in metamodeling context, thanks to its flexibility in capturing nonlinear relationships, its principled quantification of predictive uncertainty, and its effectiveness in small-sample regimes (Rasmussen and Williams, 2005). This approach has been successfully applied to approximate scalar outputs across various domains: uncertainty quantification (O'Hagan, 2006), thermohydraulic studies in nuclear safety (Marrel, Iooss and Chabridon, 2022), or magnetic field reconstruction in physics (Macêdo and Castro, 2010). To capture dependencies across multiple scalar outputs, this framework has been

∗^{*}Corresponding author

mahamat-hamdan.nassouradine@cea.fr (M.H. Nassouradine); clement.gauchy@cea.fr (C. Gauchy); pierre-emmanuel.anglei@cea.fr (P. Angeli); sebastien.da-veiga@ensai.fr (S. Da Veiga)

ORCID(s):

: Preprint submitted to Elsevier

Page 1 of 31 naturally extended to Multi-Output Gaussian Processes (MOGP) using structured covariance models such as the linear model of coregionalization (LCM) (Goulard and Voltz, 1992; Rougier, 2008), the intrinsic coregionalization model (ICM), or process convolutions (Higdon, 2002; Alvarez, Rosasco and Lawrence, 2012).

In many physical applications of interest, however, the output fields are subject to linear equality constraints: for instance, an incompressibility condition on the velocity field, or a conservation law imposing that species mass fractions sum to unity at every point. Accounting for these constraints is crucial: first, it guarantees physically consistent predictions. Second, we expect that accounting for the constraints will produce a more accurate metamodel. When such constraints are of the form ∑j=1Qαj(x)fj(x)=c(x)\sum_{j=1}^{Q} \alpha_j(\mathbf{x}) f_j(\mathbf{x}) = c(\mathbf{x}), a seemingly straightforward strategy consists in exploiting the constraint algebraically: one output is deduced from the others via the constraint relation, and a standard (unconstrained) GP surrogate is built only on the remaining Q−1Q - 1 fields. We refer to this as the deductive approach. It is appealing because it allows the direct reuse of any existing unconstrained framework and at first sight guarantees constraint satisfaction on the predictive mean by construction. However, this approach may suffer from a fundamental structural limitation: the treatment of the outputs becomes arbitrary, since the deduced field is not modeled jointly with the others but is instead recovered a posteriori through the constraint relation. As a consequence, the deduced output accumulates the prediction errors of all modeled fields, and its predictive quality depends on the arbitrary choice of the deduced output. This phenomenon is closely related to the well-known dependence on the reference category in the additive log-ratio transformation of compositional data analysis (Aitchison, 1986), where the statistical properties of the transformed variables are sensitive to the choice of the component used as denominator.

The structural limitations of this deductive approach motivate the search for methods that integrate constraints directly into the GP model. Several methods have been developed for integrating constraints into GP regression (Swiler, Gulian, Frankel, Safta and Jakeman, 2020). For inequality constraints, approaches include data augmentation (Abrahamsen and Benth, 2001), finite-dimensional projections (Da Veiga and Marrel, 2020; Maatouk and Bay, 2017), and shape constraint methods (Wang and Berger, 2016). For equality constraints, early work on linear forms dates back to Graepel (2003), leading to more general approaches that encode constraints directly in the kernel by restricting the GP to the solution space of a linear operator (Jidling, Wahlström, Wills and Schön, 2017; Lange-Hegermann, 2018). The parametrization approach of Jidling et al. (2017), in particular, constructs a covariance kernel such that every sample path of the GP satisfies the constraint over the entire domain, thus ensuring constraint satisfaction on both the predictive mean and posterior samples. More recently, Pilar, Jidling, Schön and Wahlström (2022) specifically addressed linear and non linear constraints in multitask GPs. However, these constrained GP methods have been developed and demonstrated for problems with low-dimensional outputs, and they inherit the cubic scaling of full GP inference O(N3P3)\mathcal{O}(N^{3}P^{3}) or O(N3+P3)\mathcal{O}(N^{3} + P^{3}) in favorable cases (Stegle, Lippert, Mooij, Lawrence and Borgwardt, 2011), where N is the sample size and P the output dimension, which precludes their direct application to high-dimensional discretized fields.

To overcome the dimensional limitation in general case, a widely adopted strategy in the GP literature combines a dimensionality reduction step with GP regression in the resulting low-dimensional latent space. The seminal contribution of Higdon, Gattiker, Williams and Rightley (2008) proposed applying Principal Component Analysis (PCA) to the output fields and training independent GPs on the principal component scores. More recently, Xing, Yu, Leung, Li, Wang and Shah (2021) extended this framework by independently reducing the dimension of each individual field and coupling these representations with MOGP through the LCM kernel, enabling the joint modeling of several correlated fields in high dimensions. Other strategies have explored nonlinear alternatives such as Isomap-GP or KPCA-GP (Xing, Shah and Nair, 2015; Zhou and Peng, 2020), developed extended formulations such as the extended LCM (Wang, Zhang, Meng and Xing, 2022) that use invertible neural networks to capture spatial nonlinearities, or introduced higher-order GPs (Zhe, Xing and Kirby, 2019) exploiting Kronecker product properties to further reduce computational cost. We also mention the PCA-GP emulators of Herman, Stewart and Dingreville (2020) for predicting high-dimensional microstructure morphology fields, and the efficient surrogate of Mak, Sung, Wang, Yeh, Chang, Joseph, Yang and Wu (2018) for large eddy simulations, which also relies on dimensionality reduction combined with GP regression. While all these methods successfully address the dimensionality challenge, they do not naturally guarantee compliance with linear equality constraints unless they are embedded within a deductive approach, which, as discussed above, introduces its own structural limitations.

In this paper, we propose an approach that addresses both the dimensionality and the constraint challenges in a unified framework. The key idea is to perform dimensionality reduction in a way that preserves the constraint structure in the latent space, so that constrained GP regression can then be applied in this reduced space. We focus on PCA as the dimensionality reduction tool, since nonlinear alternatives are both less robust in small-sample regimes and

: Preprint submitted to Elsevier

Page 2 of 31 incompatible with the linear constraint structure. For multi-field data, PCA admits several formulations depending on how the component fields are arranged before decomposition. In the geoscience and spatio-temporal statistics literature, this extension of PCA to vector fields is known as multivariate Empirical Orthogonal Functions (EOFs) (Preisendorfer and Mobley, 1988; Hannachi, Jolliffe and Stephenson, 2007; Sparnocchia, Pinardi and Demirov, 2003), with applications in climatology (Alvera-Azcárate, Barth, Beckers and Weisberg, 2007), oceanography (Liang, Mazloff, Rosso, Fang and Yu, 2018), and ecology (Petitgas, Doray, Huret, Massé and Woillez, 2014). Two main global formulations exist (Preisendorfer and Mobley, 1988): the time-modulation form (TMF, or column-wise PCA), which concatenates the fields column-wise and captures inter-field dependencies in the spatial dimension, and the space-modulation form (SMF, or row-wise PCA), which stacks the fields row-wise and produces a shared spatial basis. In contrast to these global methods, a third option consists in applying the reduction independently to each component. Following Xing et al. (2021), we formally refer to this strategy as field-wise PCA. Theoretical underpinnings for such decoupled representations of vector fields can also be found in functional data analysis (Happ and Greven, 2018) and generalized Karhunen–Loève expansions (Perrin, Soize, Duhamel and Funfschilling, 2013). Among these strategies, the row-wise approach has a distinctive property: it preserves linear equality constraints exactly in the latent space, regardless of the truncation level. This makes it uniquely suited for coupling with a constrained MOGP model. We propose the row-wise PCA-Constrained MOGP framework (coined Row-CMO), which combines the row-wise PCA with constrained MOGP regression based on the parametrization approach of Jidling et al. (2017), ensuring that both the predictive mean and posterior samples satisfy the physical constraint to machine precision. The column-wise and field-wise PCA strategies, which do not preserve the constraint after truncation, can only be used within a deductive approach for constrained problems. A natural question then arises: what is the reconstruction cost of choosing row-wise PCA over these alternatives? To address this, we provide a theoretical analysis comparing the three strategies from the perspective of reconstruction error. The main contributions of this paper are the following:

  1. We propose the Row-CMO framework for predicting multi-field outputs under linear equality constraints.

  2. Through empirical benchmarking, we demonstrate the inherent heterogeneity of deductive approaches, showing that performance can degrade significantly depending on the arbitrary choice of the deduced output.

  3. We provide a theoretical analysis of multi-field PCA strategies (field-wise, column-wise, and row-wise) by bounding the excess reconstruction error associated with global methods. Based on classical perturbation theory, our analysis identifies inter-field spectral heterogeneity as the sole factor driving this discrepancy.

  4. We validate Row-CMO on two case studies: the Lotka–Volterra population dynamics system (Wangersky, 1978), subject to a sum-to-zero conservation constraint, and a Computational Fluid Dynamics (CFD) application predicting Reynolds stress tensor components on the Buice–Eaton 2D diffuser (Buice and Eaton, 2000a), governed by the incompressibility constraint.

The paper is organized as follows. Section 2 establishes the problem statement and recalls the necessary background on Gaussian process regression. Building on this framework, Section 3 exposes the vulnerabilities of the deductive approach to constraint enforcement. The core theoretical analysis of the different multi-field PCA strategies is then presented in Section 4. These theoretical insights and the proposed model are subsequently validated through numerical experiments in Section 5. All the numerical experiments, except for the CFD application, are available at https://github.com/nasrmht/paper_benchmark_repo.

References (62)