Shape Derivative-Informed Neural Operators with Application to Risk-Averse Shape Optimization Xindi Gong, Dingcheng Luo, Thomas O’Leary-Roseberry, Ruanui Nicholson, Omar Ghattas Abstract Shape optimization under uncertainty (OUU) is computationally intensive for classical PDE-based methods due to the high cost of repeated sampling-based risk evaluation across many uncertainty realizations and varying geometries, while standard neural surrogates often fail to provide accurate and efficient sensitivities for optimization. We introduce Shape-DINO, a derivative-informed neural operator framework for learning PDE solution operators on families of varying geometries, with a particular focus on accelerating PDE-constrained shape OUU. Shape-DINOs encode geometric variability through diffeomorphic mappings to a fixed reference domain and employ a derivative-informed operator learning objective that jointly learns the PDE solution and its Fréchet derivatives with respect to design variables and uncertain parameters, enabling accurate state predictions and reliable gradients for large-scale OUU. We establish a priori error bounds linking surrogate accuracy to optimization error and prove universal approximation results for multi-input reduced basis neural operators in suitable C 1 C^{1} norms. We demonstrate efficiency and scalability on three representative shape OUU problems, including boundary design for a Poisson equation and shape design governed by steady-state Navier–Stokes exterior flows in two and three dimensions. Across these examples, Shape-DINOs produce more reliable optimization results than operator surrogates trained without derivative information. In our examples, Shape-DINOs achieve 3–8 orders-of-magnitude speedups in state and gradient evaluations. Counting training data generation, Shape-DINOs reduce necessary PDE solves by 1–2 orders-of-magnitude compared to a strictly PDE-based approach for a single OUU problem. Moreover, Shape-DINO construction costs can be amortized across many objectives and risk measures, enabling large-scale shape OUU for complex systems. #1# 1 Introduction Computational models of physical systems often must account for geometry that is either variable or uncertain. An example of the former is shape optimization, where many iterations over a changing geometry are required during optimization to maximize given performance objectives, while an example of the latter is uncertainty quantification, where geometric features such as bathymetry or as-built geometry are uncertain and many geometries must be sampled to propagate that uncertainty into quantities of interest. In many settings, the geometric variability is encoded using problem-specific parameterizations that should be accounted for simultaneously with additional sources of uncertainty, such as spatially varying material properties or forcing fields, further complicating the modeling and analysis of these systems. We are particularly interested in systems governed by partial differential equations (PDEs). Throughout, we will denote the geometric (shape) parameters by z , uncertain parameters by m , and the PDE state by u , and write the implicitly defined solution map as (m,z)\mapsto u(m,z)\quad\text{subject to}\quad\mathcal{R}(u,m,z)=0, where \mathcal{R} denotes an abstract residual form of the governing PDE. In this work, we develop efficient neural operator learning formulations for the parametric solution map (m,z)\mapsto u(m,z), with the goal of accelerating outer-loop tasks involving simultaneous variations in the model parameters and domains. While the proposed operator learning framework is broadly applicable to a range such tasks, we restrict our attention here to problems of shape optimization under uncertainty (OUU), which arise naturally when geometric design decisions must be made in the presence of uncertain model parameters. We treat the uncertainty in the parameters by modeling m as a random variable distributed according to a reference probability measure \mu_{m} , which may be informed, for example, by prior beliefs or the solution of a Bayesian inverse problem. As a consequence, any quantities of interest that depend on the PDE solution, i.e., Q=Q(u(m,z),m,z) , are random variables whose distribution reflects the combined effects of parameter uncertainty and geometric variability. Rather than optimizing a single realization of Q , one instead seeks to optimize a scalar risk measure \rho that encodes the designer’s tolerance to uncertainty [ 1 ] . This leads to the shape OUU problem \min_{z}\mathcal{J}(z)=\rho_{m\sim\mu_{m}}\!\left(Q(u(m,z),m,z)\right)+\mathcal{P}(z), (1) where \mathcal{P}(z) is a regularization or cost term on the geometry, enforcing design constraints or prior geometric preferences. Common choices of \rho include the expectation, mean–variance functionals, conditional value-at-risk (CVaR), worst-case risk, and entropic risk measures [ 1 , 2 , 3 ] . These allow practitioners to interpolate between risk-neutral designs and highly conservative designs that emphasize tail events or worst-case performance [ 4 , 5 , 6 , 7 ] . Computational challenges Shape OUU presents several interrelated computational challenges: 1. Geometric variability. Modeling changes in geometry typically requires re-meshing or mesh deformation, leading to substantial computational overhead for each variation of the design variable z . 2. Sampling complexity. The estimation of risk measures requires repeated evaluations of the forward model across many realizations of the uncertain parameters m , resulting in prohibitively large sampling costs. 3. Fast online evaluation. Efficient (online) query capabilities are essential to mitigate the high sample complexity inherent in optimization under uncertainty. 4. Derivative accuracy. Nonlinear optimization algorithms require accurate gradients and, for fast convergence, Hessian information. In the context of risk-averse shape optimization, this necessitates the ability to differentiate the PDE solution with respect to the design variables z (i.e., the shape sensitivities). Because these difficulties are tightly coupled, shape OUU quickly becomes computationally intractable when the cost of a single high-fidelity PDE solve is large, as is typical in complex three-dimensional simulations. In such settings, the combined demands of sampling, geometric variation, and derivative evaluation overwhelm traditional optimization workflows. This computational bottleneck has driven the development of advanced surrogate modeling techniques, such as neural operators, that explicitly account for geometric variability and thereby enable tasks such as shape optimization. In this context, neural operators [ 8 ] approximate the parametric solution map (m,z)\mapsto u(m,z) by a nonlinear surrogate u_{\theta}(m,z) , parameterized by weights \theta , which encodes discretization-invariant structure in the inputs and outputs to provide efficient approximations. However, existing neural operator approaches typically have not addressed the simultaneous parametrization of auxiliary spatial fields m along with the shape parameters z , nor do they explicitly control errors in the surrogate approximations of the Fréchet derivatives of PDE states u with respect to the design and uncertain parameters, D_{z}u and D_{m}u . As a consequence, their deployment in optimization settings lacks guarantees on the accuracy of the resulting gradients and, ultimately, on the quality of the computed optimal designs. This gap motivates the approach developed in this work. 1.1 Contributions In this work, we develop shape derivative-informed neural operators to address the aforementioned challenges in a unified manner. Our approach accommodates geometric variability by representing families of PDEs through diffeomorphic mappings to a common reference domain. This formulation enables the entire learning problem to be posed on a fixed reference mesh, while the trained operator remains capable of making predictions across a broad range of geometric transformations. The central contribution of this work is the extension of derivative-informed operator learning to this geometrically complex setting. We construct a unified surrogate that is jointly parameterized by the shape variables z and auxiliary spatial fields m , and is explicitly trained to accurately approximate both the PDE solution u and its Fréchet derivatives with respect to each set of parameters. Our main contributions are as follows. (C1) A priori error bounds for surrogate-driven optimization and inversion. We analyze optimization problems of the form ( 1 ) where the objective \mathcal{J}(z) is approximated by a surrogate objective \mathcal{J}_{\theta}(z):=\rho_{m\sim\mu}(Q(u_{\theta}(m,z),m,z))+\mathcal{P}(z) , using an approximate solution operator u_{\theta}(m,z) . In particular, standard techniques from optimization theory are used to show that when \mathcal{J} is strongly convex, the optimization errors of first-order stationary points of the surrogate objective \mathcal{J}_{\theta} can be bounded in terms of errors in the objective’s derivatives, D_{z}\mathcal{J}-D_{z}\mathcal{J}_{\theta} ( Theorem 2.1 ). Moreover, in the risk neutral setting where \rho(\cdot)=\mathbb{E}[\cdot] , we show that this derivative error of the objective is bounded by a combination of the L^{2}_{\mu} errors of the output \|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}} , and the z -derivative \|D_{z}u(m,z)-D_{z}u_{\theta}(m,z))\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})} . These results provide theoretical justification for derivative-informed operator learning in the context of risk-neutral optimization, and can be easily extended to other settings such as risk averse optimization and inverse problems. (C2) Approximation theory for multi-input neural operators. We establish universal approximation results for neural operators demonstrating that multi-input neural operators u_{\theta}(m,z) can approximate both the solution operator u(m,z) and its z -derivatives D_{z}u(m,z) arbitrarily well over compact domains for z but possibly unbounded domains in m ( Theorem 3.1 ). Moreover, in the risk neutral setting, this implies that the surrogate objective yields stationary points with arbitrarily small optimization error ( Theorem 3.2 ). These results justify the use of neural operators for shape optimization under uncertainty as characterized by first-order stationary points of the corresponding optimization problems. (C3) Efficient algorithms for shape derivative-informed operator learning. We develop practical algorithms for learning operators over families of geometries by representing arbitrary diffeomorphic transformations \chi_{z} of a reference mesh via extensions. We present efficient formulations of the governing PDEs posed either on the deformed domain or, equivalently, on the reference domain using the inverse diffeomorphism \chi_{z}^{-1} . We further delineate conditions for existence and efficient computation of derivatives of the solution with respect to both m and z , leveraging the implicit function theorem together with adjoint and forward sensitivity methods. Building on these components, we extend multi-input reduced-basis derivative-informed neural operators [ 9 ] to the shape-parametric setting. We demonstrate the effectiveness of the proposed framework through a collection of challenging operator learning problems involving geometric variability, culminating in risk-averse PDE-constrained shape optimization problems. Empirically, the proposed approach yields two key benefits: (i) improved optimization accuracy, consistent with the bounds on the optimization error developed for the risk neutral setting, and (ii) improved generalization accuracy per unit of computational effort. 1.2 Related Work Diffeomorphic mappings of geometries Diffeomorphisms have been widely used to parameterize transformations of computational domains across a range of settings. In the context of PDEs, such approaches play a central role in shape calculus and PDE-constrained shape optimization. Of particular interest are diffeomorphisms constructed from basis expansions, such as Fourier bases, B-splines, and NURBS. These are commonly used in shape optimization and inference (e.g., in the method of free-form deformations) due to their expressive power and close integration with computer aided design [ 10 , 11 , 12 , 13 , 14 , 15 ] . Other classical developments include velocity-based formulations of diffeomorphic shape calculus [ 16 , 17 , 18 , 19 , 20 , 21 , 22 ] , the method of mappings [ 23 , 24 ] , and approaches that construct diffeomorphic domain transformations via PDE-based extension operators, such as elastic deformations [ 25 , 26 , 27 , 28 ] . Closely related diffeomorphism-based formulations also arise in medical imaging, particularly in large-deformation registration and computational anatomy [ 29 , 30 , 31 , 32 , 33 , 34 ] . Risk-averse shape optimization There has been substantial work done on risk-averse shape optimization under uncertainty [ 4 , 5 , 6 , 35 , 36 , 37 , 38 ] . These approaches typically rely on high-fidelity numerical discretizations, such as the finite element method, which restricts their applicability in high-dimensional stochastic settings due to the coupled computational costs of sampling and repeated PDE solves. Similar methods have also been employed in risk-averse topology optimization [ 39 , 40 , 41 ] . Machine learning methods for shape optimization Motivated by the computational cost of shape optimization using traditional high-fidelity solvers, recent years have seen growing interest in machine learning–based approaches for learning PDE solution operators over varying geometries. Representative examples include geometry-aware variants of the Fourier Neural Operator (FNO) architecture [ 42 , 43 , 44 ] , as well as DeepONet-based models and their multi-input extensions (MIONet) [ 45 , 46 , 47 ] . A variety of strategies have been proposed to incorporate geometric variability into these frameworks. These include learned deformation maps that transform irregular domains to regular latent grids compatible with FNOs [ 43 ] , low-dimensional geometric parameterizations such as control points or NURBS representations for applications including NACA airfoil optimization [ 48 ] , and operator learning over diffeomorphic families of domains [ 44 , 47 , 49 ] . Related neural operator–based approaches have also been proposed for topology optimization problems [ 50 ] . While these approaches demonstrate strong performance for deterministic geometric variability, they do not address auxiliary uncertain parameters or risk-averse optimization objectives. Moreover, all of the aforementioned works rely on standard L^{2}_{\mu} training formulations and do not incorporate Fréchet derivative information into the learning process. Derivative-informed operator learning This work extends derivative-informed operator learning [ 51 ] to reduced basis neural operator architectures designed to simultaneously accommodate uncertain parameters and varying geometries, with their associated derivatives. It also builds on [ 9 ] , which developed a multi-input reduced-basis derivative-informed neural operator framework for risk-averse PDE-constrained optimization. In the present work, we substantially expand the approximation theory and focus on risk-averse shape optimization, which introduces substantial additional challenges compared to previous work. Derivative-informed neural operators (DINOs) have also shown substantial improvements in other optimization-related settings such as inverse problems [ 52 , 53 ] , and have been extended to various architectures such as DeepONet [ 54 ] and FNOs [ 55 ] . The approximation capabilities of neural operators have been thoroughly explored in existing literature for a range of architectures. Most relevant to the present work are results developed for reduced basis architectures, e.g., [ 56 , 57 , 58 , 59 ] , which establish universal approximation properties along with parametric complexity estimates under suitable regularity assumptions of the operator. Typically, such results focus on the error in the outputs of the operator but not its derivatives, the latter of which is important to the stability of the optimizers obtained when using the neural operator to approximate the objective function of optimization problems. In this regard, universal approximation results that additionally include the derivative accuracy have been developed for the reduced basis architecture in [ 60 ] and for FNOs in [ 55 ] . We build on these works to develop a universal approximation result for the reduced basis architecture tailored to the OUU setting. 1.3 Layout of the Paper In Section 2 , we introduce the class of PDE problems considered in this work and formally state the target learning and optimization tasks. This section provides the necessary mathematical background, including properties of the diffeomorphic mappings between the reference and deformed domains, and establishes error bounds for optimization problems in which the true PDE solution operator is replaced by a surrogate model. Section 3 formulates the derivative-informed operator learning problem and presents universal approximation results for a class of reduced-basis neural operator architectures. In Section 4 describes practical implementation aspects of the proposed framework, including mesh deformation via basis expansions and elastic extensions along with the construction of the reduced-basis neural operators. Finally, Section 5 presents numerical experiments that demonstrate the effectiveness of the proposed methods on several challenging shape optimization problems, including two- and three-dimensional flow optimization under uncertainty with risk-averse design objectives. The results show that, for a fixed amount of training data, the shape derivative-informed approach yields substantially higher optimization accuracy than neural operators trained without derivative information. Moreover, when applied to risk-averse shape optimization, Shape-DINO can achieve greater accuracy in producing optimal designs than conventional PDE-based sample-average approximation methods while requiring 1–2 orders of magnitude fewer state PDE solves (including the cost of generating training data). We further demonstrate that the construction cost of Shape-DINO can be amortized across many design objectives and risk measures. In terms online costs, Shape-DINO enables 3–8 orders-of-magnitude speedups for state evaluations and gradient computations. 2 Formulation and Motivation 2.1 Notation for Operator Learning on Hilbert Spaces We begin by introducing some common notation used for operator learning on Hilbert spaces. Additional notation will be introduced where they are used. In this work, we will consider state variables, model parameters, and design variables that belong to (finite- or infinite-dimensional) separable Hilbert spaces over \mathbb{R} . Suppose \mathcal{X} is such a Hilbert space, we will use \langle v_{1},v_{2}\rangle_{\mathcal{X}} to denote the inner product on \mathcal{X} , which generates the norm \|v\|_{\mathcal{X}}=\sqrt{\langle v,v\rangle_{\mathcal{X}}} . We will use \mathcal{X}^{\prime} to denote its topological dual and \langle l,v\rangle_{\mathcal{X}^{\prime}\times\mathcal{X}} to denote the duality pairing between l\in\mathcal{X}^{\prime} and v\in\mathcal{X} . For Hilbert spaces, \mathcal{X}^{\prime} can be identified with \mathcal{X} by the Riesz map, \mathsf{R}_{\mathcal{X}}:\mathcal{X}^{\prime}\rightarrow\mathcal{X} , i.e., for l\in\mathcal{X}^{\prime} , \langle\mathsf{R}_{\mathcal{X}}l,v\rangle_{\mathcal{X}}=\langle l,v\rangle_{\mathcal{X}^{\prime}\times\mathcal{X}}. We use \mathcal{L}(\mathcal{X},\mathcal{Y}) to denote the space of bounded linear operators between the two Hilbert spaces \mathcal{X} and \mathcal{Y} . This is a Banach space with the operator norm \|A\|_{\mathcal{L}(\mathcal{X},\mathcal{Y})}=\sup_{\|v\|_{\mathcal{X}}=1}\|Av\|_{\mathcal{Y}} . For any A\in\mathcal{L}(\mathcal{X},\mathcal{Y}) , we let A^{*}\in\mathcal{L}(\mathcal{Y},\mathcal{X}) denote the adjoint of A and A^{T}\in\mathcal{L}(\mathcal{Y}^{\prime},\mathcal{X}^{\prime}) denote the transpose of A , such that \langle w,Av\rangle_{\mathcal{Y}}=\langle A^{*}w,v\rangle_{\mathcal{X}} and \langle l,Av\rangle_{\mathcal{Y}^{\prime}\times\mathcal{Y}}=\langle A^{T}l,v\rangle_{\mathcal{X}^{\prime}\times\mathcal{X}} for any v\in\mathcal{X},w\in\mathcal{Y} , and l\in\mathcal{Y}^{\prime} . In particular, when v\in\mathcal{X} is a vector, we have v^{T}=\mathsf{R}_{\mathcal{X}}^{-1}v . We use this notation to define the outer product of two vectors v_{1} and v_{2} , denoted v_{1}v_{2}^{T} , which is the linear operator given by (v_{1}v_{2}^{T})v_{3}=v_{1}\langle v_{2},v_{3}\rangle_{\mathcal{X}} . We will also consider the space of Hilbert–Schmidt operators \mathrm{HS}(\mathcal{X},\mathcal{Y}) , which include continuous linear operators that have finite Hilbert–Schmidt norm, defined as \|A\|_{\mathrm{HS}(\mathcal{X},\mathcal{Y})}^{2}=\sum_{i=1}^{\infty}\|Av_{i}\|_{\mathcal{Y}}^{2}, where \{v_{i}\}_{i=1}^{\infty} is any orthonormal basis of \mathcal{X} . We note that when either \mathcal{X} or \mathcal{Y} is finite dimensional, the Hilbert–Schmidt norm is equivalent to the operator norm. We will represent uncertainty in the model parameters through Borel probability measures \mu on Hilbert spaces. For Hilbert spaces \mathcal{X} and \mathcal{Y} , we let L^{p}_{\mu}(\mathcal{X};\mathcal{Y}) denote the Bochner space of operators F:\mathcal{X}\rightarrow\mathcal{Y} that are Bochner integrable with finite norm, i.e., \|F\|_{L^{p}_{\mu}(\mathcal{X};\mathcal{Y})}^{p}:=\mathbb{E}_{x\sim\mu}[\|F(x)\|_{\mathcal{Y}}^{p}]=\int\|F(x)\|^{p}_{\mathcal{Y}}d\mu(x)<\infty when p\in[1,\infty) , and \|F\|_{L^{\infty}_{\mu}(\mathcal{X};\mathcal{Y})}=\esssup_{x}\|F(x)\|_{\mathcal{Y}}. when p=\infty . Note that we will occasionally use the shorthand L^{p}_{\mu} instead of L^{p}_{\mu}(\mathcal{X};\mathcal{Y}) when the input and output spaces are clear. Additionally, we will consider mappings that are Fréchet differentiable. For such a mapping, F:\mathcal{X}\rightarrow\mathcal{Y} , we denote its derivative at x\in\mathcal{X} as D_{x}F(x)\in\mathcal{L}(\mathcal{X},\mathcal{Y}) , such that \lim_{\|h\|_{\mathcal{X}}\rightarrow 0}\frac{\|F(x+h)-F(x)-D_{x}F(x)h\|_{\mathcal{Y}}}{\|h\|_{\mathcal{X}}}=0. Moreover, we will write the space of continuously Fréchet differentiable mappings as C^{1}(\mathcal{X};\mathcal{Y}) or C^{1}(\mathcal{B};\mathcal{Y}) if we are considering a subset of the input space \mathcal{B}\subset\mathcal{X} . 2.2 Partial Differential Equations on Parametric Domains For shape optimization, we consider a family of spatial domains \Omega_{z}\subset\mathbb{R}^{d} , with d=2,3 , parametrized by finite-dimensional shape variables z\in\mathcal{Z}=\mathbb{R}^{d_{z}} . Specifically, we assume each \Omega_{z} is coupled to a reference domain \Omega_{0} through a diffeomorphism \chi_{z}:\mathcal{D}\rightarrow\mathbb{R}^{d} defined by the shape parameters, where \mathcal{D}\subset\mathbb{R}^{d} is a hold-all domain containing the closure of \Omega_{0} . Moreover, we assume that the reference domain \Omega_{0} is bounded and Lipschitz, such that for each z within some closed admissible set \mathcal{Z}_{ad}\subset\mathcal{Z} , the resulting spatial domain \Omega_{z}=\chi_{z}(\Omega_{0}) is also bounded and Lipschitz. We are concerned with PDE problems defined on the family of domains \Omega_{z} . Such PDE problems relate the shape variable z , along with any additional model parameters \widetilde{m}\in\mathcal{M}(\Omega_{z}) such as spatially varying coefficient fields or forcing terms, to the state variable \widetilde{u}\in\mathcal{U}(\Omega_{z}) . Here, \mathcal{M}(\Omega_{z}) and \mathcal{U}(\Omega_{z}) are separable Hilbert spaces for the model parameters and the state, respectively, and are defined over the spatial domain \Omega_{z} . These are typically given as Lebesgue spaces L^{2}(\Omega_{z}) or Sobolev spaces H^{k}(\Omega_{z}) . Then, for each instance of \Omega_{z} , the PDE problem can be stated abstractly in residual form as \text{given }\Omega_{z}\text{ and }\widetilde{m}\in\mathcal{M}(\Omega_{z}),\quad\text{find }\widetilde{u}\in\mathcal{U}(\Omega_{z})\quad\text{such that}\quad\mathcal{R}_{z}(\widetilde{u},\widetilde{m})=0, (2) where \mathcal{R}_{z}:\mathcal{U}(\Omega_{z})\times\mathcal{M}(\Omega_{z})\rightarrow\mathcal{V}(\Omega_{z})^{\prime} is a differential operator whose output lies in the topological dual of some test space \mathcal{V}(\Omega_{z})^{\prime} . Alternatively, we can state the PDE on the reference domain \Omega_{0} using the pullback through \chi_{z} . To this end, let \mathcal{M}(\Omega_{0}) and \mathcal{U}(\Omega_{0}) be the corresponding function spaces defined on the reference domain \Omega_{0} . Then, ( 2 ) can be equivalently formulated on \Omega_{0} as \text{given }z\in\mathcal{Z}\text{ and }m\in\mathcal{M}(\Omega_{0}),\quad\text{find }u\in\mathcal{U}(\Omega_{0})\quad\text{such that}\quad\mathcal{R}(u,m,z)=0, (3) where ( 3 ) is derived from ( 2 ) through the fact that u=\widetilde{u}\circ\chi_{z} , m=\widetilde{m}\circ\chi_{z} , and \mathcal{R}:\mathcal{U}(\Omega_{0})\times\mathcal{M}(\Omega_{0})\times\mathcal{Z}\rightarrow\mathcal{V}(\Omega_{0})^{\prime} is given by the appropriate change of variable of the associated operators. We list the coordinate transformations for some commonly used differential and integral operations in Section A.1 . Note that in ( 3 ), the shape variables appear explicitly in the form of the residual. Under the assumption that the PDE admits a unique solution for every z\in\mathcal{Z}_{ad} and m\in\mathcal{M}(\Omega_{0}) such that we can abstractly write u=u(m,z) where we refer to u:\mathcal{M}(\Omega_{0})\times\mathcal{Z}_{ad}\rightarrow\mathcal{U}(\Omega_{0}) as the solution operator. Remark 2.1 (On notation) . For the remainder of our exposition, we will adopt the following notational conventions. We will use \widetilde{\cdot} over a symbol to indicate that this quantity is defined in terms of the spatial domain \Omega_{z} , while quantities without \widetilde{\cdot} will generally be used for their reference domain counterparts, such as in \widetilde{u} and u above. For geometric quantities, we will use n,dx,ds to denote unit normal vectors, volume elements, and surface elements on the spatial domain and N,dX,dS to that on the reference domain. Moreover, when writing \mathcal{M} , \mathcal{U} , and \mathcal{V} without the associated domain, it is assumed that these refer to the reference domain function spaces \mathcal{M}:=\mathcal{M}(\Omega_{0}) , \mathcal{U}:=\mathcal{U}(\Omega_{0}) , and \mathcal{V}:=\mathcal{V}(\Omega_{0}) . Before proceeding, we will introduce the notions of pushforward and pullback operators that will be of use in subsequent sections. For any diffeomorphism \chi:\Omega_{0}\rightarrow\Omega_{1} , we let T_{\chi} denote the composition operator, T_{\chi}u=u\circ\chi . We refer to T_{\chi} as the pullback operator and refer to T_{\chi}^{-1}=T_{\chi^{-1}} as the pushforward operator (i.e., T_{\chi}^{-1}u=u\circ\chi^{-1} ). Under these definitions, the changes of variables used in ( 2 ) and ( 3 ) can be expressed as u=T_{\chi_{z}}\widetilde{u},\quad m=T_{\chi_{z}}\widetilde{m}\quad\text{or}\quad\widetilde{u}=T_{\chi_{z}}^{-1}u,\quad\widetilde{m}=T_{\chi_{z}}^{-1}m, when m and u are scalar fields. When \chi_{z}\in W^{1,\infty}(\Omega_{0}) and \chi_{z}^{-1}\in W^{1,\infty}(\Omega_{z}) , the resulting composition operators are bounded linear operators between low order Sobolev spaces on the reference/spatial domains. Proposition 2.1 . Suppose \chi:\Omega_{0}\rightarrow\Omega_{1} is a diffeomorphism such that \chi\in W^{1,\infty}(\Omega_{0}) and \chi^{-1}\in W^{1,\infty}(\Omega_{1}) . We have the following: 1. The pushforward and pullback operators are bounded linear operators between L^{2}(\Omega_{0}) and L^{2}(\Omega_{1}) , i.e., T_{\chi}^{-1}\in\mathcal{L}(L^{2}(\Omega_{0}),L^{2}(\Omega_{1})) and T_{\chi}\in\mathcal{L}(L^{2}(\Omega_{1}),L^{2}(\Omega_{0})) . Moreover, their norms are bounded by \displaystyle\|T_{\chi}^{-1}\|_{\mathcal{L}(L^{2}(\Omega_{0}),L^{2}(\Omega_{1}))}^{2} \displaystyle\leq\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{d}, (4a) \displaystyle\|T_{\chi}\|_{\mathcal{L}(L^{2}(\Omega_{1}),L^{2}(\Omega_{0}))}^{2} \displaystyle\leq\|\chi^{-1}\|_{W^{1,\infty}(\Omega_{1})}^{d}. (4b) 2. The pushforward and pullback operators are bounded linear operators between H^{1}(\Omega_{0}) and H^{1}(\Omega_{1}) , i.e., T_{\chi}^{-1}\in\mathcal{L}(H^{1}(\Omega_{0}),H^{1}(\Omega_{1})) and T_{\chi}\in\mathcal{L}(H^{1}(\Omega_{1}),H^{1}(\Omega_{0})) . Moreover, their norms are bounded by \displaystyle\|T_{\chi}^{-1}\|_{\mathcal{L}(H^{1}(\Omega_{0}),H^{1}(\Omega_{1}))}^{2} \displaystyle\leq\left(1+\|\chi^{-1}\|_{W^{1,\infty}(\Omega_{1})}^{2}\right)\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{d}, (5a) \displaystyle\|T_{\chi}\|_{\mathcal{L}(H^{1}(\Omega_{1}),H^{1}(\Omega_{0}))}^{2} \displaystyle\leq\left(1+\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{2}\right)\|\chi^{-1}\|_{W^{1,\infty}(\Omega_{1})}^{d}. (5b) Proof. See Section A.2 . ∎ The fact that problems of the form ( 2 ) can be equivalently formulated as ( 3 ) is of essential importance to this work. Due to this fact, we can formulate both the shape optimization problem and the operator learning task for all \Omega_{z} on \Omega_{0} via the parametrization with shape parameter z , which now explicitly appears in the residual operator \mathcal{R} in ( 3 ). 2.3 Derivatives of the Solution Operator In this work, we assume that that solution operator is continuously differentiable with respect to m and z . Generally, this allows us to solve shape optimization problems involving the PDE by derivative-based optimization algorithms. More specific assumptions will be made in subsequent sections when deriving formal theoretical results. Since we are working directly in the reference domain, the Fréchet derivative operators D_{m}u(m,z) and D_{z}u(m,z) can be computed through implicit differentiation of the PDE ( 3 ) as in standard forward and adjoint sensitivity methods, and does not need to explicitly involve shape calculus. That is, at any m,z and u(m,z) and for any direction of the input space (h_{m},h_{z})\in\mathcal{M}\times\mathcal{Z} , the derivative action, or the Jacobian-vector product (JVP), h_{u}:=D_{m}u(m,z)h_{m}+D_{z}u(m,z)h_{z} is given by the solution of the linearized state equation D_{u}\mathcal{R}(u,m,z)h_{u}=-\left(D_{m}\mathcal{R}(u,m,z)h_{m}+D_{z}\mathcal{R}(u,m,z)h_{z}\right). (6) On the other hand, to compute the action of the derivative’s adjoint, or the vector-Jacobian product (VJP), in some direction v\in\mathcal{U} , we solve the adjoint equation D_{u}\mathcal{R}(u,m,z)^{T}p=-v^{T}, (7) for the adjoint variable p\in\mathcal{U} , such that v^{T}D_{m}u(m,z)=D_{m}\mathcal{R}(u,m,z)^{T}p,\qquad v^{T}D_{z}u(m,z)=D_{z}\mathcal{R}(u,m,z)^{T}p. (8) The forms above imply that having already computed the solution u=u(m,z) , the cost of subsequently computing a single VJP or JVP amounts to solving a single linear PDE with the operator D_{u}\mathcal{R} or its adjoint (transpose). Moreover, at a single point (m,z,u(m,z)) , the computation of multiple derivative actions always shares the same linear operator D_{u}\mathcal{R} , with the only change being the right hand side of ( 6 ) or ( 7 ); this often leads to significant computational savings when linear algebraic operations are amortizable. We note that although we will frequently refer to derivatives with respect to z as shape derivatives , this type of differentiation aligns more closely with the notion of material derivatives in shape optimization, since the derivatives are not only affected by the motion of the domain boundary, \partial\Omega_{z} , but also by the motion of the interior through the definition of \chi_{z} (for example, see [ 61 , Chapter 11] ). 2.4 Shape Optimization under Uncertainty Let Q_{z}:\mathcal{U}(\Omega_{z})\times\mathcal{M}(\Omega_{z})\rightarrow\mathbb{R} define a scalar quantity of interest (QoI) that depends on the model parameters, state variables, and indexed by the shape variables z that define the domain \Omega_{z} . Commonly, these are formulated as integral quantities over the domain \Omega_{z} or its subsets, such as in tracking objectives, forces, energies, etc. In shape optimization problems, we are interested in minimizing Q_{z}(\widetilde{u},\widetilde{m}) with respect to z\in\mathcal{Z}_{ad} subject to the constraint that (\widetilde{u},\widetilde{m}) solves the PDE ( 2 ). As in the case of the PDE residual, we can reformulate the QoI by writing it in terms of reference-domain quantities, such that Q(u,m,z)=Q_{z}(\widetilde{u},\widetilde{m}), (9) with u=T_{\chi}\widetilde{u} and m=T_{\chi}\widetilde{m} . One then aims to minimize Q(u,m,z) where u=u(m,z) solves ( 3 ). Often, the model parameters m are uncertain, which implies that for each fixed z , the resulting value of the QoI is also uncertain. In this work, we model the uncertainty in m through its probability distribution \mu_{m} , defined as a Borel probability measure over \mathcal{M}=\mathcal{M}(\Omega_{0}) . Subsequently, for every z\in\mathcal{Z}_{ad} , the quantity Q(u(\cdot,z),\cdot,z) is a random variable whose value depends on the realization of m . Thus, under appropriate moment assumptions on Q(u(\cdot,z),\cdot) (e.g., it belongs to L^{p}_{\mu_{m}}(\mathcal{M};\mathbb{R}) ) the shape optimization problem can be formulated using a risk measure \rho:L^{p}_{\mu_{m}}\rightarrow\mathbb{R} ; a functional that provides a statistical summary of the distribution and chosen to express a particular risk preference. The shape OUU problem is then given by \min_{z\in\mathcal{Z}_{ad}}\mathcal{J}(z)=\rho_{m\sim\mu_{m}}(Q(u(m,z),m,z))+\mathcal{P}(z) (10) where \mathcal{P}:\mathcal{Z}\rightarrow\mathbb{R} is a penalization/regularization term that accounts for any additional cost of the shape associated with z . In this work, we consider the following risk measures in our numerical examples, which we introduce below in terms of a generic random variable \xi\sim\mu_{\xi} . Mean The canonical example of a risk measure is the mean (or expectation) of the random variable, \rho_{\xi\sim\mu_{\xi}}^{\mathrm{mean}}(\xi)=\mathbb{E}_{\xi\sim\mu_{\xi}}[\xi]. (11) The mean is risk neutral and does not explicitly account for events in the upper tails of the distributions, which often represent catastrophic failures in engineering systems. For this reason, we also consider two risk-averse functionals as examples. Conditional value-at-risk The conditional value-at-risk (CVaR), which is defined for a quantile \beta\in[0,1] \rho_{\xi\sim\mu_{\xi}}^{\mathrm{CVaR},\beta}(\xi)=\min_{t\in\mathbb{R}}{t+\frac{1}{1-\beta}\mathbb{E}[(\xi-t)^{+}]}, (12) where (x)^{+}:=\max(x,0) . When the underlying random variable \xi is continuously distributed, the CVaR can be interpreted as the conditional expectation of \xi given that it exceeds its \beta quantile. As a result, the CVaR can be used to explicitly control the upper tail of the distributions and has been explored for risk-averse design in engineering [ 3 , 62 ] Entropic risk measure The entropic risk measure is given by \rho_{\xi\sim\mu_{\xi}}^{\mathrm{entropic},\beta}(\xi)=\frac{1}{\beta}\log\left(\mathbb{E}[\exp(\beta\xi)]\right), (13) where the parameter \beta>0 specifies the degree of risk aversion. The entropic risk measure has also been considered for risk-averse optimization of physical systems, such as in [ 63 ] . Remark 2.2 (On the distribution of the model parameters) . In this work, we will focus on the case where the distribution of the model parameter \mu_{m} is defined directly on the reference domain. In this case, the uncertain parameter field in the spatial domain \Omega_{z} for any z is the pushforward (in terms of the spatial variables) by \chi_{z} from a random field defined on the reference domain \Omega_{0} , i.e., \widetilde{m}=T_{\chi_{z}}^{-1}m and m\sim\mu_{m} . This choice is made to simplify the notation and the required variable transformations. Nevertheless, our formulations and procedures can be extended to cases where the uncertain parameter field is prescribed on the spatial domain via more complicated transformations of some underlying random element. 2.5 Optimization via Sample Average Approximation One conventional approach to solving the OUU problem ( 10 ) is by replacing expectations with sample average approximations (SAA) taken from i.i.d. samples m^{(i)}\sim\mu_{m},i=1,\dots,n_{\mathrm{SAA}} . This defines a new objective function, in which the risk measure component of ( 10 ) is replaced by its SAA. For example, when using \rho=\rho^{\mathrm{mean}} , the SAA of the objective function becomes \widehat{\mathcal{J}}^{\mathrm{mean}}(z):=\frac{1}{n_{\mathrm{SAA}}}\sum_{i=1}^{n_{\mathrm{SAA}}}Q(u(m^{(i)},z),m^{(i)},z). (14) Similarly, for the entropic risk measure, we take \widehat{\mathcal{J}}^{\mathrm{entropic}}(z):=\frac{1}{\beta}\log\left(\frac{1}{n_{\mathrm{SAA}}}\sum_{i=1}^{n_{\mathrm{SAA}}}\exp(\beta Q(u(m^{(i)},z),m^{(i)},z))\right). (15) In the case of the CVaR, in addition to the SAA, we will also take a smooth approximation to the maximum function, (x)_{\varepsilon}^{+}\approx(x)^{+} , (x)^{+}_{\epsilon}=\begin{cases}0,&\text{if $x<0$}\\ \frac{x^{3}}{\epsilon^{2}}-\frac{x^{4}}{2\epsilon^{3}},&\text{if $0\leq x\leq\epsilon$}\\ x-\frac{\epsilon}{2},&\text{$x\geq\epsilon$},\end{cases} (16) with a small smoothing parameter \epsilon\ll 1 [ 3 ] . This smoothing preserves convexity and ensures uniform convergence (x)^{+}_{\epsilon}\rightarrow(x)^{+} as \epsilon\rightarrow 0 . The resulting approximation to the CVaR objective function is then given by \widehat{\mathcal{J}}^{\mathrm{CVaR},\beta,\varepsilon}(z,t):=t+\frac{1}{n_{\mathrm{SAA}}(1-\beta)}\sum_{i=1}^{n_{\mathrm{SAA}}}(Q(u(m^{(i)},z),m^{(i)},z)-t)_{\varepsilon}^{+}, (17) which preserves differentiability with respect to (z,t) . Finally, the SAA for the objective function is a combination of the risk measure and the penalization, which we minimize with respect to z\in\mathcal{Z}_{ad} \min_{z\in\mathcal{Z}_{ad}}\widehat{\mathcal{J}}(z):=\widehat{\mathcal{J}}^{\mathrm{risk}}(z)+\mathcal{P}(z) (18) or in the case of CVaR, additionally over t\in\mathbb{R} . The resulting SAA objective function can then be minimized by conventional derivative-based optimization algorithms, e.g., quasi Newton methods (or Newton if the problem has sufficient smoothness), where the derivatives can be efficiently computed by the adjoint method. That is, in order to compute the derivative of the mapping z\mapsto Q(u(m^{(i)},z),m^{(i)},z) with respect to z , we can proceed by the chain rule, D_{z}(Q(u(m^{(i)},z),m^{(i)},z))=D_{u}Q(u(m^{(i)},z),m^{(i)},z))D_{z}u(m^{(i)},z)+D_{z}Q(u(m^{(i)},z),m^{(i)},z). The first term is simply a VJP of the solution operator (v^{(i)})^{T}D_{z}u(m^{(i)},z) in the direction v^{(i)}=\mathsf{R}_{\mathcal{V}}D_{u}Q(u(m^{(i)},z),m^{(i)},z) and can be evaluated by solving the adjoint PDE ( 7 ) once for each m^{(i)} , while the latter term typically has an analytically available form and does not require solving additional PDEs. Evidently, the per-iteration computational cost of shape optimization under uncertainty tends to be dominated by (1) evaluating the objective function via n_{\mathrm{SAA}} solutions of the state PDE (i.e., evaluating u(m^{(i)},z) ) and (2) subsequently evaluating its gradient through n_{\mathrm{SAA}} solutions of the adjoint equation. For this reason, accurately solving PDE-constrained OUU problems can often lead to prohibitive computational costs. This is especially true when the risk measure requires a large number of samples to accurately estimate and when the underlying PDE is expensive to solve. 2.6 Optimization using Operator Surrogates In order to alleviate the computational cost associated with PDE-constrained OUU, one can replace the high-fidelity PDE model with a surrogate model that is of lower fidelity but is fast to evaluate. In this work, we are interested in operator surrogates, i.e., approximations to the solution operator u_{\theta}(m,z)\approx u(m,z) . This defines an approximation to the optimization problem ( 10 ), i.e., \min_{z\in\mathcal{Z}_{ad}}\mathcal{J}_{\theta}(z):=\rho_{m\sim\mu_{m}}(Q(u_{\theta}(m,z),m,z))+\mathcal{P}(z) (19) which uses the surrogate objective function \mathcal{J}_{\theta}(z) as an approximation to the true objective function \mathcal{J}(z) . Since the surrogate model is fast to evaluate, ( 19 ) can be rapidly solved using an SAA with large number of samples, essentially eliminating the sampling error. Instead, the approximation error of the surrogate model becomes the dominant source of error in solving the OUU problem. Thus, the tradeoff in surrogate-based optimization becomes one of balancing the approximation accuracy of the surrogate with its construction cost measured in the size of the training dataset. Conventionally, the training dataset consists of input-output pairs, (m^{(i)},z^{(i)})\mapsto u^{(i)}=u(m^{(i)},z^{(i)}) over the input space, where each data tuple is generated by solving the underlying PDE. Moreover, as noted in [ 9 ] , when \mathcal{Z} is high dimensional, derivative-based algorithms are still required to effectively solve ( 19 ) (or its SAA). Thus, the errors introduced by the surrogate in approximating \mathcal{J}(z) and its derivatives D_{z}\mathcal{J}(z) (or equivalently, its gradients \mathsf{R}_{\mathcal{Z}}D_{z}\mathcal{J}(z) ) are both important. In particular, mismatch of the derivatives ( D_{z}\mathcal{J}_{\theta}(z) compared to D_{z}\mathcal{J}(z) ) can introduce spurious local minima in \mathcal{J}_{\theta}(z) even when the original PDE-constrained OUU problem is well-posed. For example, when the underlying objective function is strongly convex and differentiable, the error in the approximate stationary points are controlled explicitly by their gradient errors. We summarize this in the following theorem, the proof of which is based on standard variational analysis and is presented in Appendix B . Theorem 2.1 . Suppose \mathcal{B}\subset\mathcal{Z} is an open set and \mathcal{J}\in C^{1}(\mathcal{B};\mathbb{R}) is a \lambda -strongly convex objective function, i.e., given \lambda>0 , \mathcal{J}(z_{2})\geq\mathcal{J}(z_{1})+\langle D_{z}\mathcal{J}(z_{1}),z_{2}-z_{1}\rangle_{\mathcal{Z}^{\prime}\times\mathcal{Z}}+\frac{\lambda}{2}\|z_{2}-z_{1}\|_{\mathcal{Z}}^{2} (20) for any z_{1},z_{2}\in\mathcal{B} . Additionally, suppose \mathcal{Z}_{ad}\subset\mathcal{B} is a closed, convex, and nonempty set, and let z^{\star} be the unique minimizer of \mathcal{J} over \mathcal{Z}_{ad} . Furthermore, let \mathcal{J}_{\theta}\in C^{1}(\mathcal{B};\mathbb{R}) be an approximation of \mathcal{J} and let z^{\dagger}\in\mathcal{Z}_{ad} be any point satisfying the first order optimality conditions, i.e., \langle D_{z}\mathcal{J}_{\theta}(z^{\dagger}),z-z^{\dagger}\rangle_{\mathcal{Z}^{\prime}\times\mathcal{Z}}\geq 0\qquad\forall z\in\mathcal{Z}_{ad}. (21) Then, the optimization error is bounded by \|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}\leq\frac{1}{\lambda}\|D_{z}\mathcal{J}(z^{\dagger})-D_{z}\mathcal{J}_{\theta}(z^{\dagger})\|_{\mathcal{Z}^{\prime}} (22) and the optimality gap is bounded by \mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star})\leq\frac{1}{2\lambda}\|D_{z}\mathcal{J}(z^{\dagger})-D_{z}{\mathcal{J}}_{\theta}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}^{2}. (23) 2.7 Example: Derivative Error for the Expectation Theorem 2.1 suggests that it is important to control the derivative error D_{z}\mathcal{J}-D_{z}\mathcal{J}_{\theta} . Formally, by virtue of the chain rule, this error depends on both the surrogate’s output error u(m,z)-u_{\theta}(m,z) and derivative error D_{z}u(m,z)-D_{z}u_{\theta}(m,z) , as shown in [ 9 ] . As an example, we will consider the case for the expectation \rho_{\mathrm{mean}} and show the specific form of this dependence. To this end, we will focus on solution operators that satisfy additional continuity and moment assumptions over a compact admissible set. First, recall that we are using the shorthand notation \mathcal{M}:=\mathcal{M}(\Omega_{0}) and \mathcal{U}:=\mathcal{U}(\Omega_{0}) to denote the reference domain function spaces. We then make the following assumptions on the solution operator (in the reference domain) and the distribution of m . Assumption 2.1 . Given a Borel probability measure \mu_{m} on \mathcal{M} with finite p^{th} moments, a compact admissible set \mathcal{Z}_{ad}\subset\mathcal{Z}=\mathbb{R}^{d_{z}} , and an open set \mathcal{B}\supset\mathcal{Z}_{ad} , assume that the following hold: 1. The solution operator u:\mathcal{M}\times\mathcal{B}\rightarrow\mathcal{U} is continuously differentiable. 2. There exist constants \kappa_{u}>0 and \kappa_{u_{z}}>0 such that for every z_{1},z_{2}\in\mathcal{B} and for every m_{1},m_{2}\in\mathcal{M} , \displaystyle\|u(m_{2},z_{2})-u(m_{1},z_{1})\|_{\mathcal{U}} \displaystyle\leq\kappa_{u}\left(\|m_{2}-m_{1}\|_{\mathcal{M}}+\|z_{2}-z_{1}\|_{\mathcal{Z}}\right), (24a) \displaystyle\|D_{z}u(m_{2},z_{2})-D_{z}u(m_{1},z_{1})\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})} \displaystyle\leq\kappa_{u_{z}}\left(\|m_{2}-m_{1}\|_{\mathcal{M}}+\|z_{2}-z_{1}\|_{\mathcal{Z}}\right). (24b) We will also work with assumptions on the quantity of interest Q:\mathcal{U}\times\mathcal{M}\times\mathcal{Z}\rightarrow\mathbb{R} that accommodate quadratic forms in u , since these often arise in optimal design problems (e.g., tracking objective, drag reduction). Assumption 2.2 . Given a compact admissible set \mathcal{Z}_{ad}\subset\mathcal{Z}=\mathbb{R}^{d_{z}} , and an open set \mathcal{B}\supset\mathcal{Z}_{ad} , assume that the following hold: 1. The quantity of interest Q:\mathcal{U}\times\mathcal{M}\times\mathcal{B}\rightarrow\mathbb{R} is twice continuously differentiable. 2. There exist constants \kappa_{Q_{u}}>0 and \kappa_{Q_{uz}}>0 such that for every u_{1},u_{2}\in\mathcal{U} , z\in\mathcal{B} , and every m\in\mathcal{M} , \displaystyle\|D_{u}Q(u_{2},m,z)-D_{u}Q(u_{1},m,w)\|_{\mathcal{U}^{\prime}} \displaystyle\leq\kappa_{Q_{u}}\|u_{2}-u_{1}\|_{\mathcal{U}}, (25a) \displaystyle\|D_{uz}Q(u_{2},m,z)-D_{uz}Q(u_{1},m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})} \displaystyle\leq\kappa_{Q_{uz}}\|u_{2}-u_{1}\|_{\mathcal{U}}. (25b) 3. There exist constants M_{Q},M_{Q_{u}},M_{Q_{z}},M_{Q_{uz}}\geq 0 such that for every z\in\mathcal{B} and every m\in\mathcal{M} , \displaystyle|Q(0,m,z)| \displaystyle\leq M_{Q}, (26a) \displaystyle\|D_{u}Q(0,m,z)\|_{\mathcal{U}^{\prime}} \displaystyle\leq M_{Q_{u}}, (26b) \displaystyle\|D_{z}Q(0,m,z)\|_{\mathcal{Z}^{\prime}} \displaystyle\leq M_{Q_{z}}, (26c) \displaystyle\|D_{uz}Q(0,m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})} \displaystyle\leq M_{Q_{uz}}. (26d) Under 2.1 and 2.2 , we can show that the gradient approximation error of the expectation depends on both the output error and the derivative error as measured in the L^{2}_{\mu_{m}} sense. This is summarized in the following proposition, the proof of which is presented in Section B.2 . Proposition 2.2 . Suppose u,u_{\theta} satisfy 2.1 and Q satisfies 2.2 with the Borel probability measure \mu_{m} , the compact admissible set \mathcal{Z}_{ad} , and the open set \mathcal{B} for some p\geq 2 . Let \mathcal{J}^{\mathrm{mean}}(z):=\mathbb{E}_{m\sim\mu_{m}}[Q(u(m,z),m,z)] and \mathcal{J}_{\theta}^{\mathrm{mean}}(z):=\mathbb{E}_{m\sim\mu_{m}}[Q(u_{\theta}(m,z),m,z)] . Then, for any z\in\mathcal{Z}_{ad} , the error in the derivatives of the cost functions is given by \displaystyle\|D_{z}\mathcal{J}^{\mathrm{mean}}(z)-D_{z}\mathcal{J}_{\theta}^{\mathrm{mean}}(z)\|_{\mathcal{Z}^{\prime}} \displaystyle\qquad\leq C_{1}\left(\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathcal{U})}+\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U}))}\right) \displaystyle\qquad+C_{2}\left(\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathcal{U})}^{2}+\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U}))}^{2}\right), (27) where C_{1} and C_{2} are constants independent of u_{\theta} . Remark 2.3 (On 2.1 and 2.2 ) . By inspecting the proof of Proposition 2.2 , alternative results are available in which the Lipschitz and bounding constants in 2.1 and 2.2 are allowed to depend on m with appropriate moment assumptions. As a result, the gradient errors will depend on higher moments of the output and derivative errors. One can also consider gradient errors for generic risk measures of the form f_{2}(\mathbb{E}[f_{1}(\xi)]) with appropriate growth conditions on f_{1} and f_{2} . This can similarly lead to gradient errors depending on higher moments of the output and derivative errors. We do not explore these extensions for conciseness. 3 Shape Derivative-Informed Operator Learning Motivated by the previous discussion, we seek formulations of operator learning for shape varying systems that provide theoretical and practical guarantees for controlling the derivative errors discussed in the previous section. In this section we proceed by deriving various universal approximation theorems for the simultaneous control of the operator error and the derivatives with respect to the shape parameters when using reduced basis architectures. This universal approximation theory is specifically targeted to the OUU problem, which does not specifically require control of the derivatives with respect to m . After this we discuss a practical formulation for training shape derivative-informed neural operators. We also describe an effective strategy for computing reduced bases for the parameter and state spaces, with a discussion on the required adaptations in the context of shape optimization under uncertainty. 3.1 Reduced Basis Architectures In this section we narrow our focus to reduced basis architectures which have been widely deployed in operator learning [ 64 , 56 ] , and specifically in the context of derivative-informed operator learning [ 51 , 60 ] with applications to inverse problems and optimization [ 52 , 53 , 9 ] . As a reminder, we formulate the operator learning task on the reference domain \Omega_{0} as in ( 3 ); the solutions and the Fréchet derivatives can be mapped to the physical coordinates via the pushforward/pullback operators T_{\chi} and T_{\chi}^{-1} . Since \mathcal{M}=\mathcal{M}(\Omega_{0}) and \mathcal{U}=\mathcal{U}(\Omega_{0}) are assumed to be separable Hilbert spaces, we can represent the various functions in orthonormal bases \{\phi_{i}\}_{i=1}^{\infty} of \mathcal{U}(\Omega_{0}) and \{\psi_{i}\}_{i=1}^{\infty} of \mathcal{M}(\Omega_{0}) , such that for any u\in\mathcal{U}(\Omega_{0}) and m\in\mathcal{M}(\Omega_{0}) , \displaystyle u \displaystyle=\sum_{i=1}^{\infty}\langle u,\phi_{i}\rangle_{\mathcal{U}}\phi_{i}\qquad \displaystyle\langle\phi_{i},\phi_{j}\rangle_{\mathcal{U}}=\delta_{ij}, (28a) \displaystyle m \displaystyle=\sum_{i=1}^{\infty}\langle m,\psi_{i}\rangle_{\mathcal{M}}\psi_{i}\qquad \displaystyle\langle\psi_{i},\psi_{j}\rangle_{\mathcal{M}}=\delta_{ij}, (28b) where \delta_{ij} denotes the Kronecker delta. Reduced basis architectures represent each of the formally infinite-dimensional fields via a truncated basis expansion. This corresponds to linear encoding and decoding operations, which we define in Table 1 . A neural network is then used to represent mapping between the reduced basis coefficients of the inputs and outputs. Encoding Decoding \mathcal{U} with basis \{\phi_{i}\}_{i} \mathcal{U}\ni u\mapsto\mathbf{\Phi}_{r_{u}}^{*}u=\left(\langle u,\phi_{i}\rangle_{\mathcal{U}}\right)_{i=1}^{r_{u}}\in\mathbb{R}^{r_{u}} \mathbb{R}^{r_{u}}\ni c\mapsto\mathbf{\Phi}_{r_{u}}c=\sum_{i=1}^{r_{u}}c_{i}\phi_{i}\in\mathcal{U} \mathcal{M} with basis \{\psi_{i}\}_{i} \mathcal{M}\ni m\mapsto\mathbf{\Psi}_{r_{m}}^{*}m=\left(\langle m,\psi_{i}\rangle_{\mathcal{M}}\right)_{i=1}^{r_{m}}\in\mathbb{R}^{r_{m}} \mathbb{R}^{r_{m}}\ni c\mapsto\mathbf{\Psi}_{r_{m}}c=\sum_{i=1}^{r_{m}}c_{i}\psi_{i}\in\mathcal{M} \mathcal{Z}=\mathbb{R}^{d_{z}} Identity Identity Table 1 : Encoding and decoding operations For the output basis \{\phi_{i}\}_{i=1}^{\infty} , a natural choice is the proper orthogonal decomposition (POD) [ 65 , 64 , 56 ] , which is also known as the principal component analysis (PCA). For the input basis \{\psi_{i}\}_{i=1}^{\infty} , common choices used in operator learning include the POD (PCA), as well as active subspace (AS) bases that are constructed using the derivatives of the underlying mapping [ 66 , 67 , 60 ] . We elaborate on these approaches in Section 3.4 . For the shape, we assume that z is a finite parametrization of the diffeomorphism \chi_{z} , and we do not perform further dimension reduction. Nevertheless, one can also consider analogous dimension reduction strategies when the hypothesized space of admissible designs is infinite or high dimensional. In a reduced basis neural operator (RBNO), the mapping from the input coefficient space to the output coefficient space is typically approximated by a dense neural network, g_{\theta}:\mathbb{R}^{r_{m}}\times\mathbb{R}^{d_{z}}\rightarrow\mathbb{R}^{r_{u}} . The network takes inputs a_{0}=(m_{r},z)\in\mathbb{R}^{r_{m}+d_{z}} and maps to the output a_{d_{L}+1}\in\mathbb{R}^{r_{u}} , i.e., a_{d_{L}+1}=g_{\theta}(a_{0}) , through d_{L} hidden layers with widths d_{W,1},d_{W,2},\dots,d_{W,d_{L}} , where each a_{i} is \displaystyle a_{i} \displaystyle=\sigma(W_{i-1}a_{i-1}+b_{i-1}),\quad i=1,2,\dots,d_{L}, \displaystyle a_{d_{L}+1} \displaystyle=W_{d_{L}}a_{d_{L}}+b_{d_{L}}. The collection of network parameters is \theta=\{(W_{i},b_{i})\}^{d_{L}}_{i=0}, where the weights are of dimensions W_{0}\in\mathbb{R}^{d_{W,1}\times(r_{m}+d_{z})},\quad W_{i}\in\mathbb{R}^{d_{W,i+1}\times d_{W,i}},i=1,2,\dots,d_{L-1},\quad W_{d_{L}}\in\mathbb{R}^{r_{u}\times d_{W,d_{L}}}, and the biases are of dimensions b_{i}\in\mathbb{R}^{d_{W,i+1}},\qquad i=0,\dots,d_{L-1},\quad b_{d_{L}}\in\mathbb{R}^{r_{u}}. Here, we focus on the case where g_{\theta} uses the Gaussian Error Linear Unit (GELU) as the activation function, \sigma_{\mathrm{GELU}}(x)=x\Phi_{\text{Gauss}}(x), (29) where \Phi_{\text{Gauss}}(x) is the cumulative distribution function for the standard Gaussian distribution. The full neural operator architecture then takes the form u_{\theta}(m,z)=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)+b_{u}, (30) where b_{u}\in\mathcal{U}(\Omega_{0}) and b_{m}\in\mathcal{M}(\Omega_{0}) are bias terms that can be selected based on the particular choices of reduced bases. 3.2 Universal Approximation Results for Reduced Basis Neural Operators Under 2.1 , we can show that the reduced basis architectures ( 30 ) can approximate the solution operator u(m,z) and its z -derivative to arbitrary accuracy in the following sense: Theorem 3.1 (Universal approximation via multi-input neural operators) . Suppose u satisfies 2.1 with the Borel probability measure \mu_{m} , compact admissible set \mathcal{Z}_{ad} , and open set \mathcal{B}\supset\mathcal{Z}_{ad} for some p\geq 2 . Let \{\phi_{i}\}_{i=1}^{\infty} and \{\psi_{i}\}_{i=1}^{\infty} be orthonormal bases of \mathcal{U} and \mathcal{M} , respectively. Additionally, let b_{u}\in\mathcal{U} and b_{m}\in\mathcal{M} be any two vectors. Then, for any \epsilon>0 there exist ranks r_{m} and r_{u} along with a GELU neural network g_{\theta}:\mathbb{R}^{r_{m}}\times\mathbb{R}^{d_{z}}\rightarrow\mathbb{R}^{r_{u}} such that the RBNO u_{\theta}(m,z)=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)+b_{u} satisfies \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{\theta}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\epsilon^{p}. (31) The proof of Theorem 3.1 is presented in Appendix C . Supporting lemmas are first developed in Sections C.1 and C.2 . These are then combined to complete the proof in Section C.3 . Note that the approximation error of the neural operator is measured in a mixed norm, being taken as an L^{p}_{\mu_{m}} norm in the m direction and as a supremum in the z direction over the compact admissible set. This matches the form of the approximation error required to accurately represent the first-order optimality conditions of the OUU problem (e.g., Proposition 2.2 ). In particular, Theorem 3.1 implies that the RBNO architecture is capable of approximating the solution operator such that when used as a surrogate for expectation minimization (assuming the true cost functional is strongly convex), its stationary points can be arbitrarily close to the true minimizer. Theorem 3.2 . Suppose that u satisfies 2.1 and Q satisfies 2.2 with the Borel probability measure \mu_{m} , a convex and compact admissible set \mathcal{Z}_{ad} , and an open set \mathcal{B}\supset\mathcal{Z}_{ad} for some p\geq 2 . Consider now the optimization problem with the mean objective, \min_{z\in\mathcal{Z}_{ad}}\mathcal{J}(z):=\mathbb{E}_{m\sim\mu_{m}}[Q(u(m,z),m,z)]+\mathcal{P}(z), where Q , u , and \mathcal{P} are such that \mathcal{J}\in C^{1}(\mathcal{B};\mathbb{R}) is strongly convex. Let \{\phi_{i}\}_{i=1}^{\infty} and \{\psi_{i}\}_{i=1}^{\infty} be orthonormal bases of \mathcal{U} and \mathcal{M} , respectively, and let b_{u}\in\mathcal{U} and b_{m}\in\mathcal{M} be any two vectors. Then, for any \epsilon>0 there exist ranks r_{m} and r_{u} along with a GELU neural network g_{\theta}:\mathbb{R}^{r_{m}}\times\mathbb{R}^{d_{z}}\rightarrow\mathbb{R}^{r_{u}} such that any point z^{\dagger} satisfying the first-order optimality conditions of the surrogate minimization problem \min_{z\in\mathcal{Z}_{ad}}\mathcal{J}_{\theta}(z):=\mathbb{E}_{m\sim\mu_{m}}[Q(u_{\theta}(m,z),m,z)]+\mathcal{P}(z) with the RBNO u_{\theta}(m,z)=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)+b_{u} has its optimization error bounded by \|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}\leq\epsilon (32) and its optimality gap bounded by \mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star})\leq\epsilon^{2}. (33) Theorem 3.2 combines the optimization error bounds in Theorem 2.1 , the error expressions in Proposition 2.2 , with the universal approximation result Theorem 3.1 . We present its proof in Section C.4 . While the strong convexity assumption is strict, we note that it can often be achieved in practice when using strongly convex penalization functionals \mathcal{P} . Alternatively, one can reinterpret this result in terms of a bounded neighborhood around the true minimizer z^{\star} over which the objective is strongly convex. Then, derivative accuracy of the surrogate within such a neighborhood yields bounded optimization errors for any surrogate stationary points that fall within the neighborhood (see, for example, [ 55 ] ). 3.3 Shape Derivative-Informed Operator Learning Although Theorem 3.2 suggests that the approximation error can be controlled uniformly over z\in\mathcal{Z}_{ad} when \mathcal{Z}_{ad} is compact, in practice, it is typically not possible to ascertain supremum errors bounds via supervised learning. Instead, as a practically actionable operator learning formulation, we adopt mean-squared-error (MSE) losses for the output values and the Fréchet derivatives of the operator in order to improve accuracy in the derivatives, following [ 51 , 9 ] . To this end, we consider a joint distribution \mu:=\mu_{m}\otimes\mu_{z} , where \mu_{z} is a postulated sampling distribution over \mathcal{Z} whose support contains \mathcal{Z}_{ad} . We then solve the following problem in constructing our operator surrogate: \displaystyle\min_{\theta}\mathbb{E}_{(m,z)\sim\mu}\bigg[\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{2} \displaystyle+\|D_{m}u(m,z)-D_{m}u_{\theta}(m,z)\|^{2}_{\mathrm{HS}(\mathcal{M},\mathcal{U})} \displaystyle+\|D_{z}u(m,z)-D_{z}u_{\theta}(m,z)\|^{2}_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}\bigg], (34) We refer to this Sobolev training formulation as the H^{1}_{\mu} formulation, since the loss function resembles H^{1} Sobolev norm in the finite dimensional context. This is in contrast to the conventional L^{2}_{\mu} training formulation, \displaystyle\min_{\theta}\mathbb{E}_{(m,z)\sim\mu}[\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{2}], (35) which does not involve the derivative error. Note that in ( 3.3 ) we have additionally included the derivative with respect to the uncertain parameter, D_{m}u , in the training loss. This differs from the approach presented in [ 9 ] . Although this is not required for approximation theory presented in Theorems 2.1 and 3.2 , it does serve as additional training data that can be used to improve the generalization accuracy. Moreover, as we will discuss in Section 4.2.1 , the computational cost of generating this additional Jacobian data is negligible. The formulation of ( 3.3 ) is general and applies to any neural operator architecture. However, training on the full \mathrm{HS}(\mathcal{M},\mathcal{U}) and \mathrm{HS}(\mathcal{Z},\mathcal{U}) norms for the derivatives can lead to prohibitive computational costs, both in generating the derivative (Jacobian) data and in evaluating the loss during training. Instead, to make H^{1}_{\mu} learning tractable, we leverage the nature of reduced basis architectures ( 30 ) and project both the state and Jacobian directly in the span reduced bases. This leads to the latent space form of the training problem: \displaystyle\min_{\theta}\mathbb{E}_{(m,z)\sim\mu}\bigg[ \displaystyle\|\mathbf{\Phi}_{r_{u}}^{*}(u(m,z)-b_{u})-g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)\|_{2}^{2} \displaystyle+\|\mathbf{\Phi}_{r_{u}}^{*}D_{m}u(m,z)\mathbf{\Psi}_{r_{m}}-D_{1}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)\|^{2}_{F} \displaystyle+\|\mathbf{\Phi}_{r_{u}}^{*}D_{z}u(m,z)-D_{2}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)\|^{2}_{F}\bigg], (36) where D_{i} denotes the derivative with respect to the i^{th} argument. Since the output and derivatives of the RBNO lie only in the reduced subspaces, ( 3.3 ) is equivalent to ( 3.3 ). Moreover, as the losses are computed only in the latent spaces of dimensions r_{m} , d_{z} , and r_{u} , training can be performed efficiently. This approach was developed in [ 51 ] and has been utilized in various other works [ 52 , 53 , 9 ] . We note that the L^{2}_{\mu} loss ( 35 ) can analogously be projected into the latent space, amounting to just the first term in ( 3.3 ). 3.4 Practical Dimension Reduction Although any choice of orthonormal bases suffices for the purpose of the universal approximation results of Theorems 3.1 and 3.2 , an effective dimension reduction strategy allows smaller input and output ranks to be chosen thereby requiring a smaller latent space neural network. To this end, we adopt the strategy considered for the DIPNet architecture [ 67 ] . Namely, we use POD for the output u and AS for the uncertain parameter m , which balances computational practicality with effectiveness of dimension reduction. Both are constructed using the data-generating distribution \mu:=\mu_{m}\otimes\mu_{z} . Here, we present the dimension reduction procedures and highlight small modifications to the standard theoretical results that arise due to (1) the need to account for the changing domains in the state variable and (2) only performing dimension reduction on one of the two input variables (namely, the uncertain parameter). 3.4.1 Proper Orthogonal Decomposition for the State Variable We compute the POD directly on the reference domain. That is, we use the covariance operator for the state variable, \mathcal{C}_{u}=\mathbb{E}_{(m,z)\sim\mu}[(u(m,z)-\bar{u})(u(m,z)-\bar{u})^{T}], (37) where \bar{u}=\mathbb{E}_{(m,z)\sim\mu}[u(m,z)] is the mean over the training distribution, and the integrand consists of the outer product (u(m,z)-\bar{u})(u(m,z)-\bar{u})^{T}v=(u(m,z)-\bar{u})\langle u(m,z)-\bar{u},v\rangle_{\mathcal{U}} . The POD basis is then given by the first r_{u} eigenvectors of \mathcal{C}_{u} , i.e., \{\phi_{i}\}_{i=1}^{r_{u}}=\{\phi_{i}^{\mathrm{POD}}\}_{i=1}^{r_{u}} satisfying \mathcal{C}_{u}\phi_{i}^{\mathrm{POD}}=\lambda_{i}^{\mathrm{POD}}\phi_{i}^{\mathrm{POD}},\qquad i\in\mathbb{N}, (38) where \lambda_{i}^{\mathrm{POD}} are given in descending order. When using the mean-shifted POD, we adopt b_{u}=\bar{u} as the bias term. This essentially corresponds to the affine decoder u_{r}\mapsto\mathbf{\Phi}_{r_{u}}^{*}u_{r}+\bar{u} . While not required, mean-shifting of the covariance ensures that the affine subspace \bar{u}+\mathrm{span}(\phi_{1}^{\mathrm{POD}},\dots,\phi_{r_{u}}^{\mathrm{POD}}) corresponding to the above decoding operation satisfies any linear, nonparametric constraints (e.g., homogeneous boundary conditions, divergence free conditions) [ 60 ] . Standard results for POD suggest that the truncation error associated with the POD basis is bounded by the sum of the trailing eigenvalues in the truncated eigendirections. This is summarized below (see [ 57 , 60 ] for a proof). Proposition 3.1 (POD reconstruction error bound) . Suppose \mu is a probability measure on \mathcal{M}\times\mathcal{Z} and u\in L^{2}_{\mu}(\mathcal{M}\times\mathcal{Z};\mathcal{U}) . Let \{\phi_{i}\}_{i=1}^{r_{u}}=\{\phi_{i}^{\mathrm{POD}}\}_{i=1}^{r_{u}} be the first r_{u} POD basis vectors. Then, the reconstruction error for the projection P_{\mathcal{U},r_{u}}:=\sum_{i=1}^{r_{u}}\phi_{i}\phi_{i}^{T} is bounded by \mathbb{E}_{(m,z)\sim\mu}[\|(I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u})\|_{\mathcal{U}}^{2}]\leq\sum_{i>r_{u}}\lambda_{i}^{\mathrm{POD}}. (39) Since we compute the POD in the reference domain, this truncation error bound uses the reference domain function space \mathcal{U} . For \mathcal{U}(\Omega_{0})=L^{2}(\Omega_{0}) or H^{1}(\Omega_{0}) , we can additionally consider the error bound for the truncated state variable pushed forward to the spatial domain \Omega_{z} . Proposition 3.2 (POD reconstruction error bound in spatial domain norms) . Consider the setting of Proposition 3.1 . Additionally, assume that there exist constants \gamma_{0} and \gamma_{1} such that \displaystyle\|\chi_{z}\|_{W^{1,\infty}(\Omega_{0})} \displaystyle\leq\gamma_{0}\qquad\forall z\in\mathcal{Z}_{ad}, (40a) \displaystyle\|\chi_{z}^{-1}\|_{W^{1,\infty}(\Omega_{z})} \displaystyle\leq\gamma_{1}\qquad\forall z\in\mathcal{Z}_{ad}. (40b) We have the following: 1. If \mathcal{U}(\Omega_{0})=L^{2}(\Omega_{0}) and \mathcal{U}(\Omega_{z})=L^{2}(\Omega_{z}) , then \mathbb{E}_{(m,z)\sim\mu}[\|T_{\chi_{z}}^{-1}((I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u}))\|_{\mathcal{U}(\Omega_{z})}^{2}]\leq\gamma_{0}^{d}\sum_{i>r_{u}}\lambda_{i}^{\mathrm{POD}}. (41) 2. If \mathcal{U}(\Omega_{0})=H^{1}(\Omega_{0}) and \mathcal{U}(\Omega_{z})=H^{1}(\Omega_{z}) , then \mathbb{E}_{(m,z)\sim\mu}[\|T_{\chi_{z}}^{-1}((I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u}))\|_{\mathcal{U}(\Omega_{z})}^{2}]\leq(1+\gamma_{1}^{2})\gamma_{0}^{d}\sum_{i>r_{u}}\lambda_{i}^{\mathrm{POD}}. (42) Proof. Consider first the case of \mathcal{U}(\Omega_{0})=H^{1}(\Omega_{0}) and \mathcal{U}(\Omega_{z})=H^{1}(\Omega_{z}) . Then, by Proposition 2.1 , we have that \displaystyle\|T_{\chi_{z}}^{-1}((I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u}))\|_{\mathcal{U}(\Omega_{z})}^{2} \displaystyle\leq\left(1+\|\chi_{z}^{-1}\|_{W^{1,\infty}(\Omega_{z})}^{2}\right)\|\chi_{z}\|_{W^{1,\infty}(\Omega_{0})}^{d}\|(I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u})\|_{\mathcal{U}(\Omega_{0})}^{2} \displaystyle\leq(1+\gamma_{1}^{2})\gamma_{0}^{d}\|(I-P_{\mathcal{U},r_{u}})(u(m,z)-\bar{u})\|_{\mathcal{U}(\Omega_{0})}^{2} for any z\in\mathcal{Z}_{ad} . Thus, taking expectations with respect to (m,z)\sim\mu and applying the standard POD bound yields the desired result. The proof is analogous for \mathcal{U}(\Omega_{0})=L^{2}(\Omega_{0}) . ∎ 3.4.2 Active Subspaces for the Uncertain Parameter We then construct our dimension reduction for m based on the truncated representation of the solution operator in the reduced POD coordinates. That is, we compute the AS for the mapping P_{\mathcal{U},r_{u}}u(m,z)=\mathbf{\Phi}_{r_{u}}\mathbf{\Phi}_{r_{u}}^{*}u(m,z) , for which the derivative covariance is given by \mathcal{H}_{m}=\mathbb{E}_{(m,z)\sim\mu}[D_{m}u(m,z)^{*}\mathbf{\Phi}_{r_{u}}\mathbf{\Phi}_{r_{u}}^{*}D_{m}u(m,z)]. (43) The subspace basis is then given by the first r_{m} eigenvectors of \mathcal{H}_{m} , i.e., \mathcal{H}_{m}\psi_{i}^{\mathrm{AS}}=\lambda_{i}^{\mathrm{AS}}\psi_{i}^{\mathrm{AS}},\qquad i\in\mathbb{N}, (44) where \lambda_{i}^{\mathrm{AS}} are again given in descending order. When then take \{\psi_{i}\}_{i=1}^{r_{m}}=\{\psi_{i}^{\mathrm{AS}}\}_{i=1}^{r_{m}} and b_{m}=\bar{m} . AS captures dominant directions in the parameter space that have the greatest impact on the output as measured by the size of the derivatives [ 66 ] . Since the dimension reduction explicitly takes into account sensitivity information, it is typically more effective than POD for input dimension reduction, which considers only the input variance and is agnostic to the mapping itself. Here we note that our AS based on ( 43 ) differs from the standard AS in that only the m -derivatives are considered. Theoretical properties of AS can be analyzed when the underlying distribution \mu_{m} satisfies the subspace Poincaré inequality. That is, let \mathcal{G}(P_{\mathcal{M},r_{m}}) be the sub sigma algebra generated by an orthogonal projection P_{\mathcal{M},r_{m}} of rank r . Then, for any f\in L^{2}_{\mu_{m}} , its conditional expectation \mathbb{E}_{\mu_{m}}[f|\mathcal{G}(P_{\mathcal{M},r_{m}})] is the best L^{2}_{\mu} approximation of f within the subspace of \mathcal{G}_{P_{\mathcal{M},r_{m}}} -measurable functions. Such functions can be characterized by the fact that f(m)=g(P_{\mathcal{M},r_{m}}m) for some measurable function g , i.e., these are ridge functions that do not depend on the null space of P_{\mathcal{M},r_{m}} . We can quantify the effectiveness of the input dimension reduction strategy by inspecting this L^{2}_{\mu_{m}} error between f and \mathbb{E}_{\mu_{m}}[f|\mathcal{G}(P_{\mathcal{M},r_{m}})] . To this end, let \mathcal{W}:=\mathbb{R}^{r_{u}} denote the latent space for the output. We then have the following definition. Definition 3.1 (Subspace Poincaré inequality) . We say a Borel probability measure \mu_{m} satisfies the Subspace Poincaré inequality if for any f\in C^{1}(\mathcal{M};\mathcal{W}) with \mathbb{E}_{\mu_{m}}[\|D_{m}f\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}]<\infty , \mathbb{E}_{\mu_{m}}[\|f-\mathbb{E}_{\mu}[f|\mathcal{G}(P_{\mathcal{M},r_{m}})]\|_{\mathcal{W}}^{2}]\leq c_{\mu_{m}}\mathbb{E}_{\mu_{m}}[\|D_{m}f(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}], (45) where c_{\mu_{m}}>0 is a Poincaré constant that is independent of f and P_{\mathcal{M},r_{m}} . The canonical example of a distribution satisfying a Subspace Poincaré inequality is the Gaussian distribution; we remark on this case below. Other examples and characterizations are available, though these are typically given for finite-dimensional input spaces. Now consider any differentiable f:\mathcal{M}\times\mathcal{Z}\rightarrow\mathcal{W} . Since we are only interested in dimension reduction of m , we study the conditional expectation of u with respect to m taken pointwise in z , \mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[f\right](m,z):=\mathbb{E}_{\mu_{m}}[f(\cdot,z)|\mathcal{G}(P_{\mathcal{M},r_{m}})](m). (46) and study the approximation error of \mathbb{E}_{P_{\mathcal{M},r}}\left[f\right](m,z) . Then, the product measure \mu=\mu_{m}\otimes\mu_{z} satisfies a partial subspace Poincaré inequality whenever \mu_{m} satisfies the subspace Poincaré inequality. In particular, since z is not truncated, the result does not rely on \mu_{z} satisfying the subspace Poincaré inequality, and the resulting Poincaré constant depends only on the subspace Poincaré constant for \mu_{m} . Proposition 3.3 (Subspace Poincaré inequality for partial dimension reduction) . Suppose \mu_{m} satisfies a subspace Poincaré inequality, \mu_{z} is a Borel probability measure on \mathcal{Z} , and f\in C^{1}(\mathcal{M}\times\mathcal{Z};\mathcal{W}) satisfies the moment bounds for \mu=\mu_{m}\otimes\mu_{z} , \mathbb{E}_{\mu}[\|f\|_{\mathcal{W}}^{2}]+\mathbb{E}_{\mu}[\|D_{m}f\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}]<\infty. (47) Then, \mathbb{E}_{\mu}[\|f-\mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[f\right]\|_{\mathcal{W}}^{2}]\leq c_{\mu}\mathbb{E}_{\mu}[\|D_{m}f(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}]. (48) Proof. This follows directly from the subspace Poincaré inequality. Recall that for any z , we have \mathbb{E}_{m\sim\mu_{m}}[\|f(m,z)-\mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[f\right](m,z)\|_{\mathcal{W}}^{2}]\leq c_{\mu}\mathbb{E}_{m\sim\mu_{m}}[\|D_{m}f(m,z)(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}] (49) Taking expectations now with respect to z\sim\mu_{z} yields the desired result. ∎ This allows us to quantify the effectiveness of the partial AS given in ( 43 )–( 44 ). Proposition 3.4 . Suppose \mu_{m} satisfies a subspace Poincaré inequality and \mu_{z} is a Borel probability measure over \mathcal{Z} , and u\in C^{1}(\mathcal{M}\times\mathcal{Z};\mathcal{U}) and satisfies the moment bounds for \mu=\mu_{m}\otimes\mu_{z} \mathbb{E}_{\mu}[\|u\|_{\mathcal{U}}^{2}]+\mathbb{E}_{\mu}[\|D_{m}u\|_{\mathrm{HS}(\mathcal{M},\mathcal{U})}^{2}]<\infty. (50) Let \{\psi_{i}\}_{i=1}^{r_{m}} = \{\psi_{i}^{\mathrm{AS}}\}_{i=1}^{r_{m}} be the AS basis and P_{\mathcal{M},r_{m}}:=\sum_{i=1}^{r_{m}}\psi_{i}\psi_{i}^{T} . Then, the conditional expectation given the projection P_{\mathcal{M},r_{m}} satisfies \mathbb{E}_{(m,z)\sim\mu}[\|\mathbf{\Phi}_{r_{u}}^{*}(u(m,z)-\mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[u\right](m,z))\|_{\mathcal{W}}^{2}]\leq c_{\mu}\sum_{i>r_{m}}\lambda_{i}^{\mathrm{AS}}. (51) Proof. We make use of the subspace Poincaré inequality from above applied to the mapping f(m,z)=\mathbf{\Phi}_{r_{u}}^{*}u(m,z) . That is, for any P_{\mathcal{M},r_{m}} , we have \mathbb{E}_{(m,z)\sim\mu}[\|f(m,z)-\mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[f\right](m,z)\|_{\mathcal{W}}^{2}]\leq c_{\mu_{m}}\mathbb{E}_{(m,z)\sim\mu}[\|D_{m}f(m,z)(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}]. In particular, the upper bound can also be written as \displaystyle\mathbb{E}_{\mu}[\|D_{m}f(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{M},\mathcal{W})}^{2}] \displaystyle=\mathrm{Tr}((I-P_{\mathcal{M},r_{m}})\mathbb{E}_{\mu}[D_{m}f^{*}D_{m}f](I-P_{\mathcal{M},r_{m}})) \displaystyle=\mathrm{Tr}((I-P_{\mathcal{M},r_{m}})\mathcal{H}_{m}(I-P_{\mathcal{M},r_{m}})). For P_{\mathcal{M},r_{m}}=\sum_{i=1}^{r_{m}}\psi_{i}\psi_{i}^{T} , the trace term simplifies to \mathrm{Tr}((I-P_{\mathcal{M},r_{m}})\mathcal{H}_{m}(I-P_{\mathcal{M},r_{m}}))=\sum_{i>r_{m}}\lambda_{i}^{\mathrm{AS}}, which yields the desired result. ∎ This result shows that there exists a ridge function, namely \mathbb{E}_{P_{\mathcal{M},r_{m}}}\left[u\right] , whose average errors are bounded by the sum over trailing eigenvalues of \mathcal{H}_{m} . While this is not immediately connected with the approximation theory developed in the previous section (which makes use of the ridge function u_{r}(m,z)=P_{\mathcal{U},r_{u}}u(P_{\mathcal{M},r_{m}}m,z) instead of the conditional expectation), it does provide intuitive justification that the subspace represented by P_{\mathcal{M},r_{m}} captures the important directions of the input space. We do note that under further regularity assumptions on u and \mu_{m} , such as Lipschitz continuity of u and Du and Gaussian \mu_{m} we can show that \bar{u}_{r} is also continuously differentiable with Lipschitz continuous derivatives, and hence develop approximation errors of the RBNO based on a neural network approximation of \bar{u}_{r} , analogous to the approach used in Section 2. A similar approach is taken in [ 9 ] . Finite- and infinite-dimensional Gaussian inputs In our numerical examples, we will mostly consider discretizations of the Gaussian random fields for the uncertain parameter \mathcal{M} , i.e., \mathcal{M}=\mathbb{R}^{d_{m}} is finite dimensional and \mu_{m}=\mathcal{N}(0,\mathcal{C}_{m}) is a Gaussian with a non-degenerate covariance \mathcal{C}_{m} . In such cases, it is customary to equip \mathcal{M} with the precision-weighted inner product. To avoid confusion, we will write \mathcal{E} to denote \mathcal{M} equipped with this inner product, such that \langle m_{1},m_{2}\rangle_{\mathcal{E}}=\langle\mathcal{C}_{m}^{-1/2}m_{1},\mathcal{C}_{m}^{-1/2}m_{2}\rangle_{\mathcal{M}} . For Gaussian \mu_{m} , conditional expectations with respect to \mathcal{G}(P_{\mathcal{M},r_{m}}) have an explicit expression, \mathbb{E}_{\mu_{m}}[f|\mathcal{G}(P_{\mathcal{M},r_{m}})]=\int f(P_{\mathcal{M},r_{m}}m+(I-P_{\mathcal{M},r_{m}})\eta)d\mu_{m}(\eta). (52) Moreover, \mu_{m} satisfies the subspace Poincaré inequality \mathbb{E}_{\mu_{m}}[\|f-\mathbb{E}_{\mu_{m}}[f|\mathcal{G}(P_{\mathcal{M},r_{m}})]\|_{\mathcal{U}}^{2}]\leq\mathbb{E}_{\mu_{m}}[\|D_{m}f(I-P_{\mathcal{M},r_{m}})\|_{\mathrm{HS}(\mathcal{E},\mathcal{U})}^{2}], (53) with c_{\mu_{m}}=1 . In this case, the adjoint in ( 43 ) is given by D_{m}u(m,z)^{*}=(D_{m}u(m,z))^{*}_{\mathcal{E}}=\mathcal{C}_{m}(D_{m}u(m,z))^{*}_{\mathcal{M}} , where (\cdot)^{*}_{\mathcal{E}} refers to the adjoint with respect to the Cameron–Martin space inner product and (\cdot)^{*}_{\mathcal{M}} denotes the adjoint with respect to the original inner product \langle\cdot,\cdot\rangle_{\mathcal{M}} . The corresponding eigenvalue problem ( 44 ) can then be written as a generalized eigenvalue problem, \widetilde{\mathcal{H}}_{m}\psi_{i}^{\mathrm{AS}}=\lambda_{i}^{\mathrm{AS}}\mathcal{C}_{m}^{-1}\psi_{i}^{\mathrm{AS}},\qquad i\in\mathbb{N}, (54) where \widetilde{\mathcal{H}}_{m}=\mathbb{E}_{(m,z)\sim\mu}[(D_{m}u(m,z))_{\mathcal{M}}^{*}\mathbf{\Phi}_{r_{u}}\mathbf{\Phi}_{r_{u}}^{*}D_{m}u(m,z))], (55) Importantly, the subspace Poincaré constant c_{\mu_{m}}=1 , and therefore the error bound in Proposition 3.4 , does not explicitly depend on the discretization dimension d_{m} . Although \mathcal{M} and \mathcal{E} are equivalent in finite dimensions, this is no longer the case in infinite dimensions. Specifically, \mathcal{C}_{m}^{-1/2} can be an unbounded operator on \mathcal{M} , and hence the \mathcal{E} norm is only well-defined on the Cameron–Martin space \mathrm{Range}(\mathcal{C}_{m}^{1/2}) , which does not necessarily coincide with \mathcal{M} . Nevertheless, the reduced bases constructed from ( 44 ) can still be a well-defined form of input dimension reduction for infinite-dimensional Gaussians (see [ 60 , 52 , 53 ] ). This can be viewed as the limiting case of d_{m}\rightarrow\infty provided ( 54 ) and ( 55 ) have meaningful limits. 3.4.3 Sample-Based Approximations for Reduced Basis Computation In practice, both the POD and AS need to be computed from a finite sample-based approximation of the expectations. For the POD, we take the mean estimator \widehat{u}:=\frac{1}{n_{\mathrm{POD}}}\sum_{i=1}^{n_{\mathrm{POD}}}u(m^{(i)},z^{(i)}) (56) and the unbiased covariance estimator \widehat{\mathcal{C}}_{u}:=\frac{1}{n_{\mathrm{POD}}-1}\sum_{i=1}^{n_{\mathrm{POD}}}(u(m^{(i)},z^{(i)})-\widehat{u})(u(m^{(i)},z^{(i)})-\widehat{u})^{*} (57) where (m^{(i)},z^{(i)})\sim\mu , i=1,\dots,n_{\mathrm{POD}} are i.i.d. samples from the input distribution. Then, the empirical POD is given by the dominant eigenvectors \widehat{\mathcal{C}}_{u} , \widehat{\mathcal{C}}_{u}\widehat{\phi}_{j}^{\mathrm{POD}}=\widehat{\lambda}_{j}^{\mathrm{POD}}\widehat{\phi}_{j}^{\mathrm{POD}},\qquad j\in\mathbb{N} (58) where we take \{\phi_{j}\}_{i=1}^{r_{u}}=\{\widehat{\phi}_{j}^{\mathrm{POD}}\}_{j=1}^{r_{u}} and use b_{u}=\hat{u} for the bias in the RBNO. For the AS, we take the derivative-covariance estimator \widehat{\mathcal{H}}_{m}:=\frac{1}{n_{\mathrm{AS}}}\sum_{i=1}^{n_{\mathrm{AS}}}D_{m}u(m^{(i)},z^{(i)})^{*}{\mathbf{\Phi}}_{r_{u}}{\mathbf{\Phi}}_{r_{u}}^{*}D_{m}u(m^{(i)},z^{(i)}), (59) where (m^{(i)},z^{(i)})\sim\mu , i=1,\dots,n_{\mathrm{AS}} are again i.i.d. samples from the input distribution. The empirical AS is given by the dominant eigenvectors of \widehat{\mathcal{H}}_{m} , \widehat{\mathcal{H}}_{m}\widehat{\psi}_{j}^{\mathrm{AS}}=\widehat{\lambda}_{j}^{\mathrm{AS}}\widehat{\psi}_{j}^{\mathrm{AS}},\qquad j\in\mathbb{N} (60) where we take \{\psi_{j}\}_{j=1}^{r_{m}}=\{\widehat{\psi}_{j}^{\mathrm{AS}}\}_{j=1}^{r_{m}} . Since we assume that the mean \bar{m} of \mu_{m} is known, we simply take b_{m}=\bar{m} to be the bias. 4 Implementation Details 4.1 Diffeomorphic Deformations via Basis Expansions and Elastic Extensions In this section, we discuss choices for \chi_{z} and the associated distribution z\sim\mu_{z} such that \chi_{z} remains a diffeomorphism for all choice of z . Specifically, we will consider representations of z\mapsto\chi_{z} that itself utilizes a basis expansion, \chi_{z}(X)=X+\sum_{i=1}^{d_{z}}z_{i}\mathfrak{d}_{i}(X), (61) where \{\mathfrak{d}_{i}\}_{i=1}^{d_{z}} are a set of smooth displacement basis functions \mathfrak{d}_{i}:\Omega_{0}\rightarrow\mathbb{R}^{d} . We have that if \left\|\sum_{i=1}^{d_{Z}}z_{i}\nabla_{X}\mathfrak{d}_{i}-I\right\|_{L^{\infty}(\Omega_{0})}<1, (62) then \chi_{z} given by ( 61 ) is a diffeomorphism. However, as noted in [ 68 ] , the condition ( 62 ) is often overly conservative and in practice, a larger admissible set \mathcal{Z}_{ad} can be permitted. In our numerical examples, we typically select \mathcal{Z}_{ad} to be constrained by box bounds z_{l}\leq z_{i}\leq z_{u} that ensures the resulting deformations \chi_{z} are diffeomorphic, and subsequently choose \mu_{z} to be a uniform distribution over \mathcal{Z}_{ad} . The formulation of ( 61 ) accommodates several parametric shape representations commonly used in shape optimization. This includes domain deformations given by a Fourier basis expansion, which enables the design of boundaries as the graphs of arbitrary functions [ 69 , 70 ] . It also includes shape representations via free-form deformations [ 71 ] , in which \mathfrak{d}_{i} are typically chosen from an expressive class of locally-supported basis functions such as Bernstein polynomials or B-splines. In our numerical experiments, we consider shape optimizations using the Fourier representation in a Poisson PDE in Section 5.3 and the free-form deformation approach in steady-state Navier–Stokes flow in Sections 5.4 and 5.5 . Details of the shape parameterizations are presented in Sections 5.3.2 and 5.4.2 for the two approaches, respectively. In many other design problems, the shape boundaries are prescribed as graphs of basis expansions without an explicit extension to the interior of the domain. This is the case when using domain-specific bases on non-trivial domains, such as the Hicks–Henne bases [ 72 , 73 , 74 ] for airfoil design and Lewis forms [ 75 ] for ship hull design. In such cases, the displacement basis \mathfrak{d}_{D}^{(i)} is prescribed only on the designed boundaries \Gamma_{D}\subset\partial\Omega_{0} . Nevertheless, we can still pose the problem using ( 61 ) by extending the displacement basis into the entire domain \Omega_{0} via elastic extensions, a commonly-used method for mesh updating in shape optimization [ 76 , 77 ] and fluid structure interaction [ 78 , 79 , 80 ] . To do so, we obtain \mathfrak{d}_{i} as the solution of the linear elasticity PDE with Dirichlet boundary condition \mathfrak{d}_{i}|_{\Gamma_{D}}=\mathfrak{d}_{D}^{(i)} and \mathfrak{d}_{i}|_{\partial\Omega_{0}\setminus\Gamma_{D}}=0 , \displaystyle-\nabla\cdot\left(a_{\mu}(\nabla u+\nabla u^{T})+a_{\lambda}(\nabla\cdot u)I\right) \displaystyle=0 \displaystyle\quad\text{in }\Omega_{0} (63a) \displaystyle\mathfrak{d}_{i} \displaystyle=\mathfrak{d}_{D}^{(i)} \displaystyle\quad\text{on }\Gamma_{D} (63b) \displaystyle\mathfrak{d}_{i} \displaystyle=0 \displaystyle\quad\text{on }\partial\Omega_{0}\setminus\Gamma_{D}, (63c) where (\nabla u^{T})_{ij}=(\nabla u)_{ji} corresponds to the matrix transpose of the displacement gradient. The Lamé parameters a_{\lambda} and a_{\mu} can be defined in a spatially-varying manner (e.g., based on distance to boundaries) to improve the conditioning of the deformation gradient F_{\chi_{z}}(X)=\nabla_{X}\chi_{z}(X) . The displacement bases are then numerically computed by solving ( 63 ) using, say, the finite element method. In fact, even when using free-form deformations where \mathfrak{d}_{i} are prescribed on the entire \Omega_{0} , we will still use \mathfrak{d}_{i} to generate a new set of displacement basis functions \tilde{\mathfrak{d}}_{i} by using \mathfrak{d}_{i}|_{\partial\Omega_{0}} as the boundary conditions. This does not change the motion of the shape boundaries when used in ( 61 ), but can improve the conditioning of the deformation gradient and hence the quality of the deformed mesh in the resulting displacement basis functions. Remark 4.1 (Regularity of elastic extensions) . Theoretically, for a deformation map \chi_{z} to be a diffeomorphism, it is required to be of class C^{1} . However, when such maps are generated by solving the equations of linear elasticity with the finite element method, the resulting weak solutions belong to Sobolev spaces such as W^{1,\infty} as opposed to C^{1} . This level of smoothness is often sufficient to define pushforward/pullback operations and ensure differentiability in shape optimization (e.g., [ 61 , Section 11] ). Moreover, invertibility of the numerical deformations can be verified by ensuring the deformation gradient has a positive determinant at the element level. Nevertheless, we remark that elastic extensions are not strictly required for free-form deformations approaches, and can be omitted if smoothness of the deformation maps is of concern. 4.2 Computational Workflow for Operator Learning We now summarize the overall workflow for constructing shape-DINO surrogates for PDE-constrained OUU, which largely follows that described in [ 9 ] . We then elaborate on the details of the training data generation and neural operator training. 1. State data generation: Sample parameter–control pairs \{(m^{(i)},z^{(i)})\}_{i=1}^{n_{s}} from the prescribed training distribution. For each sample, solve the high-fidelity PDE to obtain the corresponding state solutions \{u^{(i)}\}_{i=1}^{n_{s}} . 2. State-space reduction via POD: Compute the sample mean \widehat{u} over a subset of n_{\mathrm{POD}} training samples and perform POD on the centered snapshots \{u^{(i)}-\widehat{u}\}_{i=1}^{n_{\mathrm{POD}}} following ( 56 )–( 58 ). Then, select a reduced basis \{\phi_{j}\}_{j=1}^{r_{u}} of rank r_{u} to represent the state space. 3. Sensitivity data generation: For each training sample, compute reduced-output parameter sensitivities \{\mathbf{\Phi}_{r_{u}}^{*}D_{m}u^{(i)}\}_{i=1}^{n_{s}} and shape sensitivities \{\mathbf{\Phi}_{r_{u}}^{*}D_{z}u^{(i)}\}_{i=1}^{n_{s}} using the adjoint method. 4. Parameter-space reduction via active subspaces: Compute an active subspace for the random parameters from n_{\mathrm{AS}} reduced-output parameter sensitivities \{\mathbf{\Phi}_{r_{u}}^{*}D_{m}u^{(i)}\}_{i=1}^{n_{\mathrm{AS}}} following ( 59 )–( 60 ) and select a reduced basis \{\psi_{i}\}_{i=1}^{r_{m}} of rank r_{m} . 5. Latent-space encoding: Project parameters, states, and Jacobians onto their respective reduced bases, m_{r}^{(i)}=\mathbf{\Psi}_{r_{m}}^{*}\,m^{(i)},\qquad u_{r}^{(i)}=\mathbf{\Phi}_{r_{u}}^{*}\,(u^{(i)}-\widehat{u}),\qquad J_{m,r}^{(i)}=\mathbf{\Phi}_{r_{u}}^{*}D_{m}u^{(i)}\mathbf{\Psi}_{r_{m}},\qquad J_{z,r}^{(i)}=\mathbf{\Phi}_{r_{u}}^{*}D_{z}u^{(i)}. 6. Neural operator training. Train the neural network g_{\theta} via empirical risk minimization using the reduced training dataset \{(m_{r}^{(i)},z^{(i)},u_{r}^{(i)},J_{m,r}^{(i)},J_{z,r}^{(i)})\}_{i=1}^{n_{s}}, thereby learning a surrogate model that maps parameters and shapes to reduced states and sensitivities in latent space. 4.2.1 Details and Computational Costs State data generation State training data are generated by solving the underlying PDE \mathcal{R}(u^{(i)},m^{(i)},z^{(i)})=0 for u^{(i)} given the sampled inputs (m^{(i)},z^{(i)}) . This is typically the dominant cost in training data generation. When \mathcal{R} corresponds to a linear PDE (i.e., \mathcal{R} is linear in u ), the resulting computational cost is solving a linear system of equations that scales with the discretization dimension d_{u} . On the other hand, when \mathcal{R} corresponds to a nonlinear PDE, the solution u^{(i)} may require successively solving several linear PDEs, as in Newton or Picard iteration. POD computation Once the state data \{u^{(i)}\}_{i=1}^{n_{s}} is generated, the POD can be computed by solving the eigenvalue problem using a sample-based estimate of the covariance using n_{\mathrm{POD}} of the n_{s} training samples, as in ( 56 )–( 58 ). In particular, the eigenvalue problem ( 58 ) can be solved efficiently in a matrix-free manner via iterative methods such as Lanczos [ 81 ] or randomized methods [ 82 ] , and requires no additional PDE solves. Derivative data computation Recall that VJPs can be computed by the adjoint sensitivity equations ( 7 ). Thus, for a given input sample (m^{(i)},z^{(i)}) , once the state u^{(i)} has been computed, the cost of generating the VJPs along each of the \{\phi_{j}\}_{j=1}^{n_{\mathrm{POD}}} POD basis directions involves solving r_{u} linear systems of equations. Notably, the r_{u} linear systems share the same operator (left-hand side), and only differ in their right-hand sides. This allows amortization of the solution costs, either by re-using the matrix factorizations when using direct methods (e.g., LU/Cholesky factors), or by re-using expensive preconditioners when using iterative methods. In our numerical examples, we consider problems for which direct methods are tractable. In this case, the cost of generating the r_{u} VJPs (including both m and z Jacobians) is asymptotically equivalent to that of solving just the first linear system, since cost of applying the matrix factors to the remaining r_{u}-1 right-hand sides is negligible compared to the cost of performing the matrix factorization. Active subspace computation In our workflow, the AS can be directly computed from the sampled VJPs \mathbf{\Phi}_{r_{u}}^{*}D_{m}u(m^{(i)},z^{(i)}) . Again, the eigenvalue problem in ( 44 ) can be solved through randomized methods without explicitly forming \widehat{\mathcal{H}}_{m} , and requires no additional PDE solves once the sensitivity data has been generated. Here, we note when using the conventional L^{2}_{\mu} loss ( 35 ), Jacobian data only needs to be generated for the first n_{\mathrm{AS}} input samples to compute the active subspace since it is not used elsewhere in training. However, in this setting, it may be preferable in practice to use an input PCA for dimension reduction of \mathcal{M} to avoid computing derivatives altogether. This approach is investigated in [ 9 ] , but we do not adopt it in order to retain consistency in our comparisons between Shape-DINO and Shape-NO. 4.2.2 Neural Network Training For neural network training, with given reduced bases, we can approximate ( 3.3 ) via Monte Carlo using a finite training data corpus \left\{(m_{r}^{(i)},z^{(i)},u_{r}^{(i)},J_{m,r}^{(i)},J_{z,r}^{(i)}\right\}_{i=1}^{n_{s}}. In particular, we will adopt the loss function using a normalized form of ( 3.3 ) \min_{\theta}\sum_{i=1}^{n_{s}}\frac{\|u_{r}^{(i)}-g_{\theta}(m_{r}^{(i)},z^{(i)})\|^{2}_{2}}{\|u_{r}^{(i)}\|_{2}^{2}}+\alpha_{D}\sum_{i=1}^{n_{s}}\left(+\frac{\|J_{m,r}^{(i)}-D_{1}g_{\theta}(m_{r}^{(i)},z^{(i)})\|^{2}_{2}}{\|J_{m,r}^{(i)}\|^{2}_{F}}+\frac{\|J_{z,r}^{(i)}-D_{2}g_{\theta}(m_{r}^{(i)},z^{(i)})\|^{2}_{2}}{\|J_{z,r}^{(i)}\|^{2}_{F}}\right). (64) Here, we take \alpha_{D}=1 for derivative-informed training (Shape-DINO) and \alpha_{D}=0 for conventional training (Shape-NO). 5 Numerical Results In this section, we evaluate the accuracy and sample efficiency of shape-DINO across three distinct PDE-constrained shape OUU problems: (i) a flux-tracking problem for a Poisson equation with a shape-parametrized top boundary and an uncertain log-permeability field, (ii) dissipation reduction for 2D steady-state Navier–Stokes flow around an object under uncertain inflow conditions, and (iii) bending-moment and force reduction for 3D steady-state Navier–Stokes flow around a tower under uncertain inflow conditions. In each example, our goal is to assess the effectiveness of Shape-DINOs (and Shape-NOs) through (1) their generalization accuracies for output and derivative predictions and (2) their accuracies in producing solutions to the OUU problems compared to PDE-based solutions using similar computational budgets. Note that for the 2D problems, we can afford to compare the approximate OUU solutions to an accurate PDE-based reference solution computed using a large sample size. On the other hand, for the 3D case, producing an accurate reference solution is computationally prohibitive, and instead the purpose of the experiment is to demonstrate scalability of our surrogate-based approach. For the numerical results, we use FEniCS [ 83 ] to implement finite element discretizations for the PDEs and PyTorch [ 84 ] to construct the neural network approximations. Additionally, data generation is implemented using hIPPYlib [ 85 ] and hIPPYflow [ 86 ] , and the OUU problems are formulated and solved using SOUPy [ 87 ] . CPU-based timings are carried out on a single compute node of the TACC VISTA system using an NVIDIA Grace CPU Superchip, while neural network training and deployment are performed with an NVIDIA H200 GPU. 5.1 Latent-space Neural Network Architecture Across all experiments, we utilize fully connected feedforward architectures to represent the latent-space neural network g_{\theta} . We use the Adam optimizer [ 88 ] to train the neural networks on either the conventional L^{2}_{\mu} loss (Shape-NO) or the derivative-informed H^{1}_{\mu} loss (Shape-DINO). In each case, we use a learning-rate scheduler that halves the learning rate at specified epoch milestones. The architectural and training hyperparameters, including d_{L} , d_{W,i} , the initial learning rate, the scheduler stages, and the number training epochs are all problem-dependent. These are summarized in Table 2 and are also discussed within each numerical example. We note that the same hyperparameters are used for Shape-DINO and Shape-NO for consistency. Example d_{W,i} Initial LR LR Scheduler, \gamma=0.5 Epochs r_{u} r_{m} d_{z} Poisson [512,512,512,512] 0.0005 \{800,1200,1800\} 2000 400 256 11 2D NS [512,1024,512] 0.0001 \{500,750\} 1000 256 50 162 3D NS [512,512] 0.0001 \{1000,1500\} 2000 200 128 160 Table 2 : Neural network architectures and training hyperparameters for all experiments. For each experiment, Shape-DINO and Shape-NO use identical settings, except for the loss function. Initial LR denotes the initial learning rate used by the Adam optimizer. LR Scheduler specifies the learning-rate stages, where the set of integers denotes the epoch milestones at which the learning rate is updated by a factor 0.5 . 5.2 Cost accuracy comparison of the neural operator We train Shape-DINOs and Shape-NOs for a range of sample sizes. The trained neural operators are then used to solve the OUU problems via SAA of the objective function using a large sample size. We denote the resulting optimal solutions by the neural operators by z^{\dagger}_{\text{NN}} . For comparison, we also solve the OUU problems directly using the governing PDE and SAA with varying sample sizes, chosen to reflect computational budgets comparable to those required for training the neural operators. The corresponding PDE-based optimal solutions are denoted by z^{\dagger}_{\text{PDE}} . All optimization problems are solved using gradient-based methods. For the linear elliptic Poisson example with box constraints, we employ the L-BFGS-B algorithm. For the 2D and 3D Navier–Stokes shape OUU problems, we use a trust-region constrained method with box constraints. The accuracies of the approximations are assessed relative to the reference solutions obtained by solving the PDE-based OUU problem using a large sample size. The resulting reference optimal solution is denoted by z^{\star}_{\text{ref}} . Approximate optimal solutions are compared against z^{\star}_{\text{ref}} using the relative optimal cost error defined as \frac{|\mathcal{J}(z^{\dagger}_{\text{approx}})-\mathcal{J}(z^{\star}_{\text{ref}})|}{|\mathcal{J}(z^{\star}_{\text{ref}})|}, (65) where \mathcal{J}(z^{\dagger}_{\text{approx}}) and \mathcal{J}(z^{\star}_{\text{ref}}) are evaluated using the true objective function, estimated via an accurate Monte Carlo estimator with a large number of samples. Here, z^{\dagger}_{\text{approx}} denotes either the neural-operator-based solution z^{\dagger}_{\text{NN}} or the PDE-based solution z^{\dagger}_{\text{PDE}} , depending on the method under consideration. Computational efficiency is measured in terms of the total number of state PDE solves, that is, the evaluation of u(m,z) required to obtain the optimal solution. This quantity represents the dominant computational cost of the optimization process. For neural-operator-based optimization, this cost corresponds to the total number of training samples used. For PDE-based optimization, it is given by the product of the total number of objective function evaluations and the SAA sample size. In Section 5.6 , we compare the computational cost of solving for the forward state and its sensitivity with respect to the shape parameter using PDE-based solvers and neural operators. Because these two operations dominate the overall optimization cost, we focus exclusively on them. Across our numerical experiments, we show that neural operators can provide orders-of-magnitude speedups over high-fidelity PDE solves, making large-scale OUU problems computationally feasible. 5.3 Flux-tracking design in a Poisson Problem under Uncertain Permeability Fields 5.3.1 Poisson Problem with Varying Top Boundary For our first numerical example, we consider a Poisson PDE on a domain \Omega_{z} in the form of a rectangle with a top boundary that we are free to design. We assume that \Omega_{z} is related to the reference domain \Omega_{0}=(0,4)\times(0,1)\subset\mathbb{R}^{2} through the family of diffeomorphisms \chi_{z} , the form of which is described below. This example is analogous to the setup considered in [ 69 ] . Here, the PDE is given in spatial coordinates as \displaystyle-\nabla_{x}\cdot(\exp(\widetilde{m})\nabla_{x}\widetilde{u}) \displaystyle=f\qquad x\in\Omega_{z} (66) \displaystyle\nabla_{x}\widetilde{u}\cdot n \displaystyle=0\qquad x\in\Gamma_{L,z}\cup\Gamma_{R,z} \displaystyle\widetilde{u} \displaystyle=0\qquad x\in\Gamma_{B,z} \displaystyle\widetilde{u} \displaystyle=1\qquad x\in\Gamma_{T,z} where x=(x_{1},x_{2})^{T}\in\mathbb{R}^{2} , and \Gamma_{L,z},\Gamma_{R,z},\Gamma_{B,z},\Gamma_{T,z} are the left, right, bottom, and top boundaries of \partial\Omega_{z} , respectively. Here, f(x)=0.1\sin(x_{1})\cos(x_{2}) is a source term that is prescribed in spatial coordinates. The model is parametrized by the log permeability field \widetilde{m} , whose uncertainty is characterized by a Gaussian random field on the reference domain, m\sim\mu_{m}=\mathcal{N}(0,\mathcal{C}_{m}) , such that \widetilde{m}=T_{\chi_{z}}^{-1}m . The covariance of the Gaussian is given by a Bi-Laplacian operator on the reference domain \mathcal{C}_{m}=(\delta-\gamma\nabla_{X}\cdot(\Theta\nabla_{X}))^{-2}, (67) which corresponds to a Matérn covariance kernel [ 89 , 90 ] . Here we take \gamma=1,\delta=25 , and \Theta to be a symmetric positive definite matrix with eigenvalues \theta_{1}=2 along the eigendirection [\sin(\pi/4),\cos(\pi/4)] and \theta_{2}=0.5 along the eigendirection [\cos(\pi/4),\sin(\pi/4)] . 5.3.2 Shape Parametrization using Fourier Basis We represent the shape of the top boundary using a Fourier expansion with respect to the horizontal coordinates, x_{2}(x_{1})=a_{0}+\sum_{k=1}^{n_{z}}a_{k}\cos(k\pi x_{1})+b_{k}\sin(k\pi x_{1}), (68) with a maximum wavenumber n_{z}\pi . This can be formulated through deformations of the form ( 61 ) with the displacement basis functions \displaystyle\mathfrak{d}_{2k}(X) \displaystyle=(0,X_{2}\cos(k\pi X_{1}))^{T},\qquad k=0,\dots,n_{z}, \displaystyle\mathfrak{d}_{2k+1}(X) \displaystyle=(0,X_{2}\sin(k\pi X_{1}))^{T},\qquad k=1,\dots,n_{z}. and z=[a_{0},a_{1},b_{1},a_{2},b_{2},\dots,a_{n_{z}},b_{n_{z}}]^{T}\in\mathbb{R}^{2{n_{z}}+1} . In particular, we will take n_{z}=5 such that we have 11 displacement basis functions and take the admissible set to be \mathcal{Z}_{ad}=[-0.2,0.2]^{d_{z}} . 5.3.3 Reference Domain Formulation The PDE can be formulated on the reference domain through a change of coordinates in its weak form. On the spatial domain, we have the trial space \mathcal{U}(\Omega_{z}):=\{\widetilde{u}\in H^{1}(\Omega_{z}):\widetilde{u}=0\text{ on }\Gamma_{B,z}\text{ and }\widetilde{u}=1\text{ on }\Gamma_{T,z}\} and the test space \mathcal{V}(\Omega_{z}):=\{\widetilde{v}\in H^{1}(\Omega_{z}):\widetilde{v}=0\text{ on }\Gamma_{B,z}\text{ and }\widetilde{v}=0\text{ on }\Gamma_{T,z}\}. The weak form is then given for any \widetilde{v}\in\mathcal{V}(\Omega_{z}) as \langle R_{z}(\widetilde{u},\widetilde{m}),\widetilde{v}\rangle_{\mathcal{V}(\Omega_{z})^{\prime}\times\mathcal{V}(\Omega_{z})}=\int_{\Omega_{z}}\exp(\widetilde{m})\nabla_{x}\widetilde{u}\cdot\nabla_{x}\widetilde{v}\;dx-\int_{\Omega_{z}}f\widetilde{v}\;dx. (69) We then apply the coordinate transformations from A.1 to the integrals, which yields the weak form of the PDE residual expressed in terms of the reference domain quantities. To this end, we consider reference domain state and test spaces, \displaystyle\mathcal{U}(\Omega_{0}) \displaystyle:=\{u\in H^{1}(\Omega_{0}):u=0\text{ on }\Gamma_{B}\text{ and }u=1\text{ on }\Gamma_{T}\}, \displaystyle\mathcal{V}(\Omega_{0}) \displaystyle:=\{v\in H^{1}(\Omega_{0}):v=0\text{ on }\Gamma_{B}\text{ and }v=0\text{ on }\Gamma_{T}\}. where \Gamma_{T} and \Gamma_{B} are the top and bottom boundaries of \Omega_{0} , respectively. We then have \displaystyle\langle\mathcal{R}(u,m,z),v\rangle_{\mathcal{V}(\Omega_{0})^{\prime}\times\mathcal{V}(\Omega_{0})}=\int_{\Omega_{0}}\exp(m)(F_{\chi_{z}}^{-T}\nabla_{X}u)\cdot(F_{\chi_{z}}^{-T}\nabla_{X}v)\det F_{\chi_{z}}dX-\int_{\Omega_{0}}(T_{\chi_{z}}f)v\det F_{\chi_{z}}dX. (70) We observe that the shape variable z appears explicitly in the residual ( 70 ) through the deformation gradient and F_{\chi_{z}}=\nabla_{X}\chi_{z} and the pullback T_{\chi_{z}} . As previously discussed, we treat ( 70 ) as the more fundamental definition of the PDE problem for shape optimization. This is discretized using a Galerkin finite element method with continuous piecewise-linear elements for bot the state and random parameter space, leading to d_{m}=d_{u}=4,257 . 5.3.4 Flux-tracking Shape Optimization under Uncertainty For the OUU problem, we consider a tracking-type objective for the flux across the bottom boundary. That is, given a target flux profile \tau_{\mathrm{target}}\in L^{2}(\Gamma_{B,z}) , we seek to minimize the L^{2}(\Gamma_{B,z}) misfit between the normal flux -e^{m}\nabla_{x}u\cdot n and the target, Q_{z}(u,m)=\frac{1}{2}\int_{\Gamma_{B,z}}(-e^{m}\nabla_{x}u\cdot n-\tau_{\mathrm{target}})^{2}ds. (71) This transforms to the following integral in reference coordinates Q(u,m,z)=\frac{1}{2}\int_{\Gamma_{B}}\left(-\exp(m)F_{\chi_{z}}^{-T}\nabla_{X}u\cdot N-\tau_{\mathrm{target}}\right)^{2}dS, (72) where we have made the simplification using the fact that \chi_{z}(X)=X on \Gamma_{B} and therefore the unit normal vector remains unchanged, i.e., n(X)=\frac{\det F_{\chi_{z}}(X)F_{\chi_{z}}^{-T}(X)N(X)}{|\det F_{\chi_{z}}(X)F_{\chi_{z}}^{-T}(X)N(X)|}=N(X). For the penalization, we consider an \ell_{2} norm on z , i.e., \mathcal{P}_{\ell_{2}}(z;\alpha):=\alpha|\Omega_{0}|\|z\|_{2}^{2}, (73) where \alpha>0 is a penalization weight and the factor |\Omega_{0}| , which denotes the Lebesgue measure of \Omega_{0} , is used for ease of implementation in FEniCS. We consider two example risk measures for our objectives. In the first example, we consider the risk neutral case using the expectation as the optimization objective, \min_{z\in\mathcal{Z}_{ad}}\rho^{\mathrm{mean}}_{m\sim\mu_{m}}(Q(u(m,z),m,z)+\mathcal{P}_{\ell_{2}}(z;\alpha). (74) Our second example considers the risk averse case using CVaR as the optimization objective, \min_{z\in\mathcal{Z}_{ad}}\rho^{\mathrm{CVaR},\beta}_{m\sim\mu_{m}}Q(u(m,z),m,z)+\mathcal{P}_{\ell_{2}}(z;\alpha), (75) with \beta=0.95 , which we solve using the smoothed CVaR formulation ( 17 ). In both cases, the objective functions include the \ell_{2} penalization on the shape variables, where we take \alpha=0.001 for the mean objective and examine both \alpha=0.001 and \alpha=0.1 for the CVaR objective. 5.3.5 Neural Operator Construction The training data for the neural operator is generated by sampling from the input distributions of m and z , where we use the uncertain parameter distribution \mu_{m}=\mathcal{N}(0,\mathcal{C}_{m}) and uniform distribution for the shape variables \mu_{z}=\mathrm{Unif}([-0.2,0.2]^{d_{z}}) . We train the neural networks using different training datasets of sizes 512, 1,024, 2,048, and 4,096, both with and without Jacobian information. In each case, to generate the reduced basis, we use a subset of n_{\mathrm{POD}}=n_{\mathrm{AS}}=512 samples from the training set to compute both the POD and the AS, from which we take r_{u}=400 POD basis vectors and r_{m}=256 AS basis vectors to define the dimension reduction. The latent-space mappings are represented by multi-input dense neural networks with 4 hidden layers of width 512 and the GELU activation function. These are then trained using Adam for 2,000 epochs with an initial learning rate of 5\times 10^{-4} that is halved after 800 epochs, 1,200 epochs, and 1,600 epochs. In Figure 1 , we plot the mean relative errors in \mathcal{U}=L^{2}(\Omega_{0}) of the neural operator output and the mean relative errors of its reduced Jacobians J_{m,r}(m,z)=\mathbf{\Phi}_{r_{u}}^{*}D_{m}u(m,z)\mathbf{\Psi}_{r_{m}} and J_{z,r}(m,z)=\mathbf{\Phi}_{r_{u}}^{*}D_{z}u(m,z) . The errors are computed on a test set of 1,024 samples from the input distribution, and are averaged 10 different runs of the training process with different initializations and training/validation splits. We observe that training with Jacobian information yields consistently lower errors in both the solution approximation and its associated sensitivities. Figure 2 illustrates a representative test example. We visualize the state u on the deformed domain, showing (top-left) the reference high-fidelity PDE solution u_{\text{true}} , (top-right) the Shape-DINO prediction u_{\text{DINO}} trained with 512 samples, (bottom-left) the pointwise difference u_{\text{DINO}}-u_{\text{true}} , and (bottom-right) the parameter m used in the computation. Visually, we see that the prediction errors for the state remain small despite the limited training dataset. Figure 1 : Mean relative testing errors for full order state ( L^{2}(\Omega_{0}) ) (left) and reduced order Jacobians (middle and right) of Poisson PDE neural operators trained with (Shape-DINO) and without derivative information (Shape-NO). Training with Jacobian information consistently yields lower errors in both the solution and its sensitivities, demonstrating improved accuracy and robustness of shape-DINO. Figure 2 : Example of state u plotted on deformed domain. Top-left: true PDE state u_{\text{true}} . Top-right: predicted state u_{\text{DINO}} using Shape-DINO, with 512 training samples. Bottom-left: difference: u_{\text{DINO}}-u_{\text{true}} . Bottom-right: parameter m used for the calculation. Visually, the prediction error is near-zero, confirming the accuracy of Shape-DINO. 5.3.6 Shape Optimization and Cost-Accuracy Comparison To evaluate the predictive and optimization accuracy of Shape-DINO and Shape-NO, we compare their optimized objective values against those obtained from PDE-based optimization solutions. For the PDE-based approach, the objective is evaluated via SAA with increasing samples sizes per iteration: 16, 32, 64, 128, 256, and 512, and a reference solution is obtained by a high-fidelity PDE SAA with 16,384 samples. For the surrogate-based methods (Shape-DINO and Shape-NO), the optimization is performed using a fixed batch size of 2,048 samples per iteration. Since these samples are computed and evaluated using the trained neural surrogates, their computational cost is negligible compared to the PDE solves used for training data generation. Consequently, when comparing computational efficiency across methods, we report surrogates’ results based on the training sample size, which directly reflects the number of PDE solves required to construct each surrogate and provides a fair measure of offline computational cost relative to the function-evaluation cost of PDE-based optimization. The comparison is summarized in three sets of plots Figures 3 , 4 and 5 , each showing the optimized objective function value with respect to the number of state PDE solves (for PDE-based SAA) or, equivalently, the neural network training size (for surrogate-based methods). Along with the mean relative error lines, we also display the associated 25\%\textendash 75\% quantile bands. Each set corresponds to a different objective configuration: (i) mean objective with penalty weight \alpha=0.001 , (ii) CVaR objective with \alpha=0.001 , and (iii) CVaR objective with \alpha=0.1 . We make several key observations. Across all risk settings, Shape-DINO consistently achieves significantly smaller optimization errors than the PDE-based SAA for the same or even orders-of-magnitude fewer PDE solves. In particular, Shape-DINO attains near-reference accuracy with as few as 512 training samples, demonstrating significant improvements in sample efficiency. This advantage is most evident for the CVaR objective with a small penalty weight, where accurate risk estimation is highly sample-intensive. On the other hand, for the risk-neutral objective or CVaR with much larger penalty weights, the performance gap between Shape-DINO and PDE is noticeable but less substantial. In such cases, the objective functions are either relatively easy to estimate (as in the mean objective) or are dominated by the penalization term (as in the CVaR objective with \alpha=0.1 ). In comparison, Shape-NO struggles to produce competitive solutions even with 4{,}096 training samples in all cases, indicating that Jacobian information can be essential for training accurate and practically useful surrogates that amortize the offline training cost and deliver reliable performance across a wide range of use cases. Figure 3 : Optimal cost values at optimal solutions (left) and relative error of the objective function (right) versus the number of state PDE solves required for the optimization, both with mean SAA and penalty weight \alpha=0.001 . Results are shown for shape-DINO, shape-NO, and the PDE-based SAA. Solid lines denote the mean relative error, and shaded regions indicate the 25\%\textendash 75\% quantile bands across multiple runs. Even when the objective function is easy to estimate (as in the mean objective), Shape-DINO converges rapidly to the reference solution with substantially fewer PDE solves than the PDE-based method, while Shape-NO exhibits larger errors and slower convergence. Figure 4 : Optimal cost values at optimal solutions (left) and relative error of the objective function (right) versus the number of state PDE solves required for the optimization, both with quantile \beta=0.95 and penalty weight \alpha=0.001 . Solid lines show the mean relative error and shaded regions represent the 25\%\textendash 75\% quantile bands. In this highly risk-sensitive setting, Shape-DINO achieves near-reference accuracy with orders of magnitude fewer PDE solves than the PDE-based SAA, whereas Shape-NO performs poorly for small and moderate training sizes, highlighting the importance of derivative information for accurate risk estimation. Figure 5 : Optimal cost values at optimal solutions (left) and relative error of the objective function (right) versus the number of state PDE solves required for the optimization, both with quantile \beta=0.95 and penalty weight \alpha=0.1 . Solid lines denote the mean relative error and shaded regions show the 25\%\textendash 75\% quantile bands. As the penalization term becomes dominant, the performance gap between Shape-DINO and the PDE-based method narrows, though Shape-DINO still provides the best trade-off between accuracy and offline computational cost, while Shape-NO remains significantly less reliable. Figure 6 illustrates representative optimal designs and their corresponding state solutions obtained from CVaR–SAA optimization with quantile \beta=0.95 and penalty weight \alpha=0.001 . The top row shows the optimal upper-boundary designs obtained by Shape-DINO ( z^{\dagger}_{\text{DINO}} ) and Shape-NO ( z_{\text{NO}}^{\dagger}) compared to the PDE reference ( z^{\star}_{\text{ref}} ), together with an associated sample of the PDE state plotted on the deformed domains. The reference solution z^{\star}_{\text{ref}} is computed using a high-fidelity PDE-based SAA with 16,284 samples. The bottom row reports sample flux profiles evaluated at each optimal design. The black curve denotes the target flux \tau_{\text{target}} , and the colored curves correspond to flux profiles computed using u(m^{(i)},z^{\dagger}_{\text{DINO}}) , u(m^{(i)},z^{\dagger}_{\text{NO}}) and u(m^{(i)},z^{\star}_{\text{ref}}) for 256 independent parameter samples m^{(i)}\sim\mu_{m} . We note that z^{\dagger}_{\text{DINO}} yields a comparable top-boundary shape to the reference solution z^{\star}_{\text{ref}} and the resulting flux profiles align much more closely with the target flux than those produced by Shape-NO, achieving performance very close to that of the reference. To demonstrate the generalization capabilities of the operator surrogate, we solve two additional OUU problems using the trained Shape-DINOs and Shape-NOs each for a different target flux, focusing on the neural operators trained with 512 samples. We then compare the flux profile samples corresponding to the optimal shape designs in Figures 7 – 8 . Here, the first case corresponds to a smooth target flux that is consistent the training shape distribution, while the second introduces a discontinuous target flux that is not achievable by the shapes in the admissible set. Together with Figure 6 , Shape-DINO consistently yields flux responses that more closely match the prescribed target and display reduced variability across parameter realizations across all cases. Notably, even in the out-of-distribution setting, Shape-DINO yields flux profiles that are comparable to those obtained from a large-sample PDE-based SAA, with an offline cost that is orders of magnitude smaller. The improved robustness observed in both in-distribution and out-of-distribution settings highlights the importance of incorporating derivative information when training neural surrogates for such OUU problem. (a) Optimal designs (b) Flux profiles at optimal designs Figure 6 : Top: optimal upper boundary designs from CVaR-SAA optimization with quantile \beta=0.95 and penalty weight \alpha=0.001 . The three subplots show the optimal designs by Shape-DINO, Shape-NO, and PDE reference, respectively, together with their corresponding PDE state solutions u(m,z) on the deformed domain. Here, z^{\star}_{\text{ref}} is obtained from a large-sampled PDE-based SAA with 16,284 samples. Bottom: sample flux profile at optimal designs. The black line denotes the target flux \tau_{\text{target}} . Colored lines correspond to flux profiles computed with u(m^{(i)},z^{\dagger}_{\text{DINO}}) , u(m^{(i)},z^{\dagger}_{\text{NO}}) and u(m^{(i)},z^{\star}_{\text{ref}}) for 256 independent parameter samples m^{(i)}\sim\mu_{m} . Shape-DINO optimal design produces flux profiles that aligns more closely with the target flux \sigma_{\text{target}} compared to shape-NO and achieve performance very close to the PDE reference. Figure 7 : Sample flux profile at the optimal designs obtained from CVaR optimization with \beta=0.95 and \alpha=0.001 , using a smooth target flux profile different from Figure 6 . Both DINO and NO are trained with 512 samples, while z^{\star}_{\text{ref}} is obtained from a large-sampled PDE-based SAA with 16,284 samples. Despite using orders of magnitude fewer PDE solves in the offline stage, shape-DINO produces flux profiles that are nearly indistinguishable from those of the large-sample PDE reference, closely tracking the target flux across parameter realizations and exhibiting reduced variability, whereas shape-NO shows much larger deviations. Figure 8 : Sample flux profile at the optimal designs obtained from CVaR optimization, with \beta=0.95 and \alpha=0.001 , using a discontinuous target flux profile defined by x_{2}=1 for x_{1}\in[0,2] and x_{2}=2 for x_{1}\in[2,4] . Both DINO and NO are trained with 512 samples, while the PDE reference is obtained from a large-sample PDE-based SAA. Despite the target flux lying outside of the distribution used during training, shape-DINO produces flux profiles that better match the target and remain stable across uncertainty, whereas shape-NO produces flux profiles that significantly deviate from the target. 5.4 Design for Dissipation Reduction in 2D Flow under Multiple Uncertain Inflow Conditions 5.4.1 Navier–Stokes Equations with a Variable-Shape Object Next we consider a steady incompressible Navier–Stokes problem on the channel domain \Omega_{\text{channel}}=(0,2)\times(0,1)\subset\mathbb{R}^{2} in which there is an initially circular object \Omega_{\text{object}}=\{x\in\mathbb{R}^{2}:(x_{1}-0.5)^{2}+(x_{2}-0.5)^{2}<0.1^{2}\} with radius r=0.1 centered at (0.5,0.5)^{T} . The goal is to design the shape of the object to minimize the viscous dissipation through free-form deformations, where the shape of the object is transformed through a family of diffeomorphic deformations \chi_{z} to obtain the design \Omega_{\mathrm{object},z}=\chi_{z}(\Omega_{\mathrm{object}}) . This setting is often used as a benchmark configuration to assess shape-induced drag reduction and dissipation control in confined flows [ 91 ] . Here, we introduce an additional difficulty by considering two independent inflow scenarios, in which the object faces either a horizontally-directed inflow (eastward flow) or a vertically-directed inflow (northward flow), serving as a prototype for shape design problems under different wind loading directions. We formulate this problem by considering two sets of PDEs whose domains differ by a reflection of the object along the line x_{1}=x_{2} . For the eastward flow case, we take the object in its default orientation, \Omega^{\mathrm{East}}_{\mathrm{object}}=\Omega_{\mathrm{object},z} , for which the flow domain becomes \Omega_{z}^{\mathrm{East}}=\Omega_{\mathrm{channel}}\setminus\mathrm{cl}\left(\Omega_{\mathrm{object}}^{\mathrm{East}}\right), where \mathrm{cl}\left(\cdot\right) denotes the closure. For the northward flow, we reflect the orientation of the object, \Omega_{\mathrm{object}}^{\mathrm{North}}=\mathrm{Reflect}(\Omega_{\mathrm{object},z}) such that the flow domain is \Omega_{z}^{\mathrm{North}}=\Omega_{\mathrm{channel}}\setminus\mathrm{cl}\left(\Omega_{\mathrm{object}}^{\mathrm{North}}\right), where \mathrm{Reflect}(\cdot) denotes a reflection about the line x_{1}=x_{2} . Note that this operation amounts to a 90-degree clockwise rotation about the center (0.5,0.5)^{T} followed by a reflection along the line (x_{1},0.5) . This additional reflection will not affect our problem definition, since we will subsequently consider inflow distributions that are invariant to this reflection. We now formulate the PDEs for the two scenarios on the domains \Omega_{z}^{s},s\in\{\mathrm{East},\mathrm{North}\} , for which their states in spatial coordinates are given by the velocity-pressure pairs \widetilde{u}^{s}=(\widetilde{v}^{s},\widetilde{p}^{s}) . Using the Cauchy stress tensor, \widetilde{\mathbf{T}}(\widetilde{u}^{s}):=2\nu\widetilde{\varepsilon}(\widetilde{v}^{s})-\widetilde{p}^{s}I, (76) where \widetilde{\varepsilon}(\widetilde{v}^{s}):=\mathrm{sym}(\nabla_{x}\widetilde{v}^{s})=\frac{\nabla_{x}\widetilde{v}^{s}+(\nabla_{x}\widetilde{v}^{s})^{T}}{2} (77) is the strain rate tensor, we can write the governing equations as \displaystyle(\widetilde{v}^{s}\cdot\nabla_{x})\widetilde{v}^{s}-\nabla_{x}\cdot\widetilde{\mathbf{T}}(\widetilde{u}^{s}) \displaystyle=0 \displaystyle\quad\text{in }\Omega_{z}^{s}, (78a) \displaystyle\nabla_{x}\cdot\widetilde{v}^{s} \displaystyle=0 \displaystyle\quad\text{in }\Omega_{z}^{s}, (78b) \displaystyle\widetilde{v}^{s}-(\widetilde{v})_{\text{in}}^{s} \displaystyle=0 \displaystyle\quad\text{on }\Gamma_{\text{in}}, (78c) \displaystyle\widetilde{\mathbf{T}}(\widetilde{u}^{s})n \displaystyle=0 \displaystyle\quad\text{on }\Gamma_{\text{out}}, (78d) \displaystyle\widetilde{v}^{s} \displaystyle=0 \displaystyle\quad\text{on }\Gamma_{\text{no-slip}}, (78e) \displaystyle\widetilde{\mathbf{T}}(\widetilde{u}^{s})n\cdot e_{t} \displaystyle=0 \displaystyle\quad\text{on }\Gamma_{\text{free-slip}}, (78f) \displaystyle\widetilde{v}^{s}\cdot n \displaystyle=0 \displaystyle\quad\text{on }\Gamma_{\text{free-slip}}, (78g) where e_{t} is the unit tangent vector on the boundary and \displaystyle\Gamma_{\text{in}} \displaystyle=\{x\in\partial\Omega_{z}^{s}:x_{1}=0\},\qquad \displaystyle\Gamma_{\text{no-slip}} \displaystyle=\partial\Omega_{\mathrm{object}}^{s}, \displaystyle\Gamma_{\text{out}} \displaystyle=\{x\in\partial\Omega_{z}^{s}:x_{1}=2\},\qquad \displaystyle\Gamma_{\text{free-slip}} \displaystyle=\{x\in\partial\Omega_{z}^{s}:x_{2}=0\text{ or }x_{2}=1\}. The inflow profile is determined by the uncertain model parameter through (\widetilde{v})_{\text{in}}^{s}(x)=\exp(\widetilde{m}^{s}(x))e_{1},\qquad e_{1}=(1,0)^{T}. We define the distributions of \widetilde{m}^{s} Gaussian random fields on the reference domain \Omega_{0}:=\Omega_{\mathrm{channel}}\setminus\mathrm{cl}\left(\Omega_{\mathrm{object}}\right) , such that m^{s}\sim\mu_{m}^{s}=\mathcal{N}(0,\mathcal{C}_{m}^{s}) with a different Bi-Laplacian covariance operator \mathcal{C}_{m}^{s} for each scenario s\in\{\mathrm{East},\mathrm{North}\} . In particular, \mathcal{C}_{m}^{s} is given by ( 67 ), where we take \Theta=I to be the identity matrix, and \delta^{s},\gamma^{s} such that the correlation length is 0.25 for both flow scenarios, while the pointwise variance is 0.2 for s=\mathrm{East} and 0.1 for s=\mathrm{North} . 5.4.2 Shape Parametrization using Free-Form Deformations The admissible shapes variations are represented using a free-form deformation approach where \chi_{z} are given by Bernstein polynomials. This free-form deformation strategy has been widely applied in PDE-constrained optimization due to its flexibility, smoothness, and relatively low-dimensional parametrization of boundary motion [ 71 , 10 , 11 , 14 ] . We first present the approach based on [ 92 ] and then show how this parametrization can be interpreted in the form of ( 61 ). To this end, we consider the unit square \Omega_{\mathrm{control}}:=(0,1)^{2} containing the object \Omega_{\mathrm{object}} along with a lattice of control points \xi_{k,l}=(k/K,l/L)^{T} , for k=0,\dots,K and l=0,\dots L , where K,L are integers. We then define the Bernstein polynomials, which for a maximum degree n_{p} are given by b_{j}^{n_{p}}(t):=\binom{n_{p}}{j}t^{j}\left(1-t\right)^{n_{p}-j},\quad j=0,\ldots,n_{p}. (79) In 2D, we can construct the tensor-product Bernstein polynomials from the 1D Bernstein polynomials b_{k,l}^{K,L}(t_{1},t_{2})=b_{k}^{K}(t_{1})b_{l}^{L}(t_{2}),\qquad k=0,\dots,K,\qquad l=0,\dots,L. (80) Next, we let \delta_{k,l}=((\delta_{k,l})_{1},(\delta_{k,l})_{2})^{T}\in\mathbb{R}^{2} be the displacement of the control point \xi_{k,l} , such that its displaced location is given by \widetilde{\xi}_{k,l}=\xi_{k,l}+\delta_{k,l} . We let the motion of the control points define the deformation map, such that \chi(X):=\sum_{k=0}^{K}\sum_{l=0}^{L}b_{k,l}^{K,L}(X_{1},X_{2})\widetilde{\xi}_{k,l}. (81) Evidently, the control point displacements \delta_{k,l} parametrize the deformations. To connect this with deformations of the form ( 61 ), we recognize that by the property \sum_{k=0}^{K}kb_{k}^{K}(t)=Kt of Bernstein polynomials, we have that \chi(X)=\sum_{k=0}^{K}\sum_{l=0}^{L}b_{k,l}^{K,L}(X_{1},X_{2})(\xi_{k,l}+\delta_{k,l})=X+\sum_{k=0}^{K}\sum_{l=0}^{L}b_{k,l}^{K,L}\delta_{k,l}. (82) Thus, we can equivalently define \chi_{z} in the form of ( 61 ) using the displacement basis functions \mathfrak{d}^{1}_{k,l}(X)=b_{k,l}^{K,L}(X_{1},X_{2})e_{1},\quad\mathfrak{d}^{2}_{k,l}(X)=b_{k,l}^{K,L}(X_{1},X_{2})e_{2}, where e_{1}=(1,0)^{T} and e_{2}=(0,1)^{T} , along with the shape variables z_{k,l}^{j}=(\delta_{k,l})_{j} for k=0,\dots K , l=0,\dots L , and j=1,2 . In our problem, we will adopt a K=10 by L=10 lattice of control points over the region \Omega_{\mathrm{control}} . However, we exclude the first and last control point from our optimization variables to ensure that the outer boundaries do not move, which also allows us to extend all remaining displacement basis functions by zero beyond X_{1}\geq 1 . Thus, our resulting admissible deformations consists of the displacement bases \mathfrak{d}^{j}_{k,l}(X) and shape variables z_{k,l}^{j} for k=1,\dots K-1 , l=1,\dots L-1 , and j=1,2 , giving a total of d_{z}=162 degrees of freedom. These displacements are also preprocessed using the linear elasticity equations ( 63 ) to better condition the deformations within the fluid domain. To generate the geometry variation for the northward configuration, we maintain the same reference domain \Omega_{0} and construct a mirrored displacement basis by swapping the parametric coordinates in the displacement basis functions, such that \mathfrak{d}^{1}_{k,l}(X)=b_{k,l}^{K,L}(X_{2},X_{1})e_{2},\quad\mathfrak{d}^{2}_{k,l}(X)=b_{k,l}^{K,L}(X_{2},X_{1})e_{1}, which effectively reflects the displacement field about the diagonal line X_{1}=X_{2} , changing the object orientation relative to the fixed inflow boundary. We present example deformations for both inflow cases along with the reference channel domain in Figure 9 . Figure 9 : Panel (left) shows the reference channel domain \Omega_{\text{channel}}=(0,2)\times(0,1) with the labeled boundaries. The obstacle is a circle with radius 0.1 centered at (0.5,0.5) . Grey dots are the Bernstein control points \xi_{k,l} . Panels (middle) and (right) show the corresponding deformed domains under eastward and northward displacement bases, respectively, with only domain boundaries displayed for clarity. 5.4.3 Reference Domain Formulation We formulate the Navier–Stokes equations ( 78a ) in weak form, where we use Nitsche’s method to weakly impose the inflow boundary conditions involving the model parameters. In the spatial domain, we define the function spaces for the velocity and pressure as \displaystyle\mathcal{U}_{v}(\Omega_{z}^{s}):=\{v\in H^{1}(\Omega_{z}^{s}):v=0\text{ on }\Gamma_{\text{no-slip}},\,v\cdot n=0\text{ on }\Gamma_{\text{free-slip}}\},\qquad\mathcal{U}_{p}(\Omega_{z}^{s}):=L^{2}(\Omega_{z}^{s}), such that the trial space is given by \mathcal{U}(\Omega_{z}^{s}):=\mathcal{U}_{v}(\Omega_{z}^{s})\times\mathcal{U}_{p}(\Omega_{z}^{s}) and the test space is given by \mathcal{V}(\Omega_{z}^{s}):=\mathcal{U}(\Omega_{z}^{s}) . For any \widetilde{y}^{s}=(\widetilde{w}^{s},\widetilde{q}^{s})\in\mathcal{V}(\Omega_{z}^{s}) , we have r_{z}^{s}(\widetilde{u}^{s},\widetilde{m}^{s},\widetilde{y}^{s}):=\langle\mathcal{R}_{z}(\widetilde{u}^{s},\widetilde{m}^{s}),\widetilde{y}^{s}\rangle_{\mathcal{V}(\Omega_{z}^{s})^{\prime}\times\mathcal{V}(\Omega_{z}^{s})}=r_{\mathrm{flow}}^{s}(\widetilde{u}^{s},\widetilde{m}^{s},\widetilde{y})+r_{\mathrm{Nitsche}}^{s}(\widetilde{u}^{s},\widetilde{m}^{s},\widetilde{y}) (83) where \displaystyle r_{\mathrm{flow}}^{s}(\widetilde{u}^{s},\widetilde{m}^{s},\widetilde{y}^{s}) \displaystyle=\int_{\Omega_{z}^{s}}\left((\widetilde{v}^{s}\cdot\nabla_{x})\widetilde{v}^{s}\right)\cdot\widetilde{w}^{s}dx+\int_{\Omega_{z}^{s}}2\nu\;\widetilde{\varepsilon}(\widetilde{v}^{s}):\widetilde{\varepsilon}(\widetilde{w}^{s})dx \displaystyle\qquad-\int_{\Omega_{z}^{s}}\widetilde{p}^{s}\left(\nabla_{x}\cdot\widetilde{w}^{s}\right)dx+\int_{\Omega_{z}^{s}}\left(\nabla_{x}\cdot\widetilde{v}^{s}\right)\widetilde{q}^{s}dx and \displaystyle r_{\mathrm{Nitsche}}^{s}(\widetilde{u}^{s},\widetilde{m}^{s},\widetilde{y}^{s}) \displaystyle=-\int_{\Gamma_{\text{in}}}\widetilde{w}^{s}\cdot(\widetilde{\mathbf{T}}(\widetilde{u}^{s})n)ds-\int_{\Gamma_{\text{in}}}(\widetilde{v}^{s}-(\widetilde{v})^{s}_{\text{in}})\cdot(2\nu\widetilde{\varepsilon}(\widetilde{w}^{s})n+\widetilde{q}^{s}n)ds \displaystyle\qquad-\int_{\Gamma_{\text{in}}}\widetilde{w}^{s}\cdot(\widetilde{v}^{s}-(\widetilde{v})_{\text{in}}^{s})(\widetilde{v}^{s}\cdot n)ds+\int_{\Gamma_{\text{in}}}c_{d}\nu(\widetilde{v}^{s}-(\widetilde{v})_{\text{in}}^{s})\cdot\widetilde{w}^{s}ds. Here, c_{d} is the constant that is chosen to ensure the correct convergence rate of the Dirichlet boundary condition. We discuss its choice below. We then transform the weak forms above into the reference domain forms. Since the reference domain is the same for the two flow scenarios, we can use the same trial and test spaces for both, i.e., \mathcal{U}(\Omega_{0})=\mathcal{V}(\Omega_{0})=\mathcal{U}_{v}(\Omega_{0})\times\mathcal{U}_{p}(\Omega_{0}) , where \displaystyle\mathcal{U}_{v}(\Omega_{0}):=\{v\in H^{1}(\Omega_{0}):v=0\text{ on }\partial\Omega_{\mathrm{object}},\,v\cdot n=0\text{ on }\Gamma_{\text{free-slip}}\},\qquad\mathcal{U}_{p}(\Omega_{0}):=L^{2}(\Omega_{0}) Using the variable transformations for the strain rate and stress tensors, \displaystyle\varepsilon(v^{s}) \displaystyle:=\mathrm{sym}(\nabla_{X}v^{s}F^{-1}), (84) \displaystyle\mathbf{T}(u^{s}) \displaystyle:=2\nu\varepsilon(v^{s})-p^{s}I. (85) we have that for any y\in\mathcal{V}(\Omega_{0}) , r(u^{s},m^{s},z,y):=\langle\mathcal{R}(u^{s},m^{s},z),y\rangle_{\mathcal{V}^{\prime}\times\mathcal{V}}=r_{\mathrm{flow}}(u^{s},m^{s},z,y)+r_{\mathrm{Nitsche}}(u^{s},m^{s},z,y), (86) where \displaystyle r_{\mathrm{flow}}(u^{s},m^{s},z,y) \displaystyle=\int_{\Omega_{0}}\left(\nabla_{X}v^{s}F^{-1}v^{s}\right)\cdot w^{s}\det FdX+\int_{\Omega_{0}}2\nu\varepsilon(v^{s}):\varepsilon(w^{s})\det FdX \displaystyle\qquad-\int_{\Omega_{0}}p^{s}\mathrm{Tr}(\nabla_{X}w^{s}F^{-1})\det FdX+\int_{\Omega_{0}}(\mathrm{Tr}(\nabla_{X}v^{s}F^{-1})q^{s}\det FdX, (87) and \displaystyle r_{\mathrm{Nitsche}}(u^{s},m^{s},z,y)=-\int_{\Gamma_{\text{in}}}w^{s}\cdot\mathbf{T}(u^{s})NdS-\int_{\Gamma_{\text{in}}}(v^{s}-v^{s}_{\text{in}})\cdot(2\nu\varepsilon(w^{s})+q^{s}I)NdS \displaystyle\qquad-\int_{\Gamma_{\text{in}}}w^{s}\cdot(v^{s}-v^{s}_{\text{in}})(v^{s}\cdot N)dS+\int_{\Gamma_{\text{in}}}c_{d}\nu(v^{s}-v^{s}_{\text{in}})\cdot w^{s}dS (88) Note that we have again made simplifications based on the fact that the left boundary remains fixed under the free-form deformations such that the unit normal does not change. Moreover, under this representation, the inflow profile is simply given by v^{s}_{\text{in}}(X)=\exp(m^{s}(X))e_{1} . The PDEs are discretized in the reference domain using a mixed Galerkin formulation on a triangular mesh. We employ Taylor–Hood elements for the state u=(v,p) , consisting of continuous piecewise-quadratic elements for the velocity v and continuous piecewise-linear for the pressure p , leading to a state dimension d_{u}=86{,}205 . Continuous piecewise-quadratic elements are also used for the random parameter field, yielding d_{m}=201 . For the penalty term in the Nitsche method, we choose c_{d}=10^{5}/h_{e} , where h_{e} is the element size corresponding to each triangular element of the reference domain. The control variable is represented in a finite-dimensional Euclidean space with dimension d_{\mathcal{Z}}=162 . 5.4.4 Dissipation-reducing 2D Shape Design under Uncertain Inflows Our optimization problem seeks to simultaneously minimize the viscous dissipation rate induced by each of the two distinct inflow configurations s\in\{\mathrm{East},\mathrm{North}\} , a measure that is physically related to the drag forces acting on the object. We write the dissipation QoI in spatial coordinates as Q_{z}^{s}(\widetilde{u}^{s}):=\int_{\Omega_{z}^{s}}2\nu\widetilde{\varepsilon}(\widetilde{v}^{s}):\widetilde{\varepsilon}(\widetilde{v}^{s})\,dx. (89) We can pose this in the reference domain by the change of variables for the strain tensor, Q(u^{s},m^{s},z)=\int_{\Omega_{0}}2\nu\varepsilon(v^{s}):\varepsilon(v^{s})\det FdX. (90) To quantify performance under uncertainty, we define a weighted entropic risk objective that combines the two flow scenarios in a weighted sum, \mathcal{J}^{\mathrm{weighted}}(z):=\mathcal{J}^{\mathrm{East}}(z)+0.3\mathcal{J}^{\mathrm{North}}(z)+\mathcal{P}_{\ell_{2}}(z;\alpha), (91) where we take \mathcal{J}^{s}(z):=\rho^{\mathrm{entropic},\beta}_{m^{s}\sim\mu_{m}^{s}}(Q(u^{s}(m^{s},z),m^{s},z)), (92) to be the entropic risk measure for each inflow scenario s\in\{\mathrm{East},\mathrm{North}\} and \mathcal{P}_{\ell_{2}} to be the \ell_{2} penalization functional ( 73 ). Here, we use \alpha=0.001 for the penalty weight and \beta=1 for a moderate level of risk aversion. We then consider the shape optimization problem subject to the governing PDE constraints and box constraints on the shape variables z ( 73 ). In addition, we impose a volume constraint to prevent unrealistic shrinkage or growth of the object by requiring the volume to remain between 30\% and 120\% of its initial value V_{0}:=|\Omega_{\mathrm{object}}|=\pi\cdot 0.1^{2} . That is, we solve the minimization problem \min_{z\in\mathcal{Z}_{ad}}\mathcal{J}^{\mathrm{weighted}}(z),\qquad\mathcal{Z}_{ad}=\{z\in[-1,1]^{d_{z}}:\mathrm{Vol}(z)\in[0.3V_{0},1.2V_{0}]\}, (93) where the volume functional is implemented as \mathrm{Vol}(z)=|\Omega_{\mathrm{channel}}|-\int_{\Omega_{0}}\det FdX. 5.4.5 Neural Operator Construction For this problem, we construct two separate neural operators u_{\theta}^{s}(m^{s},z) to approximate the solution operators u^{s}(m^{s},z) for each of the two flow scenarios s\in\{\mathrm{East},\mathrm{North}\} . Training data for each neural operator is generated by sampling the input distributions m^{s}\sim\mu_{m}^{s} and z\sim\mu_{z}=\mathrm{Unif}([-1,1]^{d_{z}}) . We treat the training problem for each flow scenario completely separate from the other. For each flow scenario, we train neural networks using different training dataset of sizes 512, 1,024, 2,048, 4,096, both with and without Jacobian information. In each case, we use a subset of n_{\mathrm{POD}}=n_{\mathrm{AS}}=512 samples to compute the state POD basis of rank r_{u}=256 and the parameter AS basis of rank r_{m}=50 . We represent latent space mapping by multi-input dense neural networks with 3 hidden layers of widths 512, 1,024, 512, each using the GELU activation function. The neural networks are then trained using Adam for 1,000 epochs with an initial learning rate of 1\times 10^{-4} that is halved after 500 epochs and 750 epochs. We present the generalization errors obtained by the neural networks for the eastward flow scenario in Figure 10 and for the northward flow scenario in Figure 11 , as a function of the number of training samples. The reported test errors represent the average performance across these 10 runs. Similar to the Poisson problem, we again observe that the neural operators trained with the derivative information yield significantly lower generalization errors in both the outputs and the derivatives. This is true for both flow scenarios. Figure 10 : State (left) and Jacobians (middle and right) testing errors for eastward inflow case 2D Navier-Stokes neural operators with (Shape-DINO) and without (Shape-NO) Jacobian training. Training sample sizes are 512, 1,024, 2,048, 4,096 and test sample size is 1,024. Shape-DINO yields significantly lower generalization errors in both the outputs and the derivatives compared to Shape-NO. Figure 11 : State (left) and Jacobians (middle and right) testing errors for northward inflow case 2D Navier-Stokes neural operators with (Shape-DINO) and without (Shape-NO) Jacobian training. Training sample sizes are 512, 1024, 2048, 4096 and test sample size is 1024. Similar to the eastward inflow case, Shape-DINO again yields markedly lower errors in both the predicted state and its derivatives compared to Shape-NO. 5.4.6 Shape Optimization and Cost-Accuracy Comparison We subsequent deploy the trained neural operators to solve the dissipation minimization problem. Figure 12 compares representative flow fields before and after optimization for the two inflow configurations. Figures 12(a) and 12(c) display the velocity fields around the initial object geometry for the left and top inflow scenarios, respectively, obtained from high-fidelity PDE solves. In contrast, Figures 12(b) and 12(d) show the corresponding optimized flow fields evaluated at the shape DINO-derived optimal shape z^{\dagger}_{\text{DINO}} , using the shape DINO model trained with 1024 samples. The optimized geometry yields a markedly reduced recirculation behind the object, which in turn lowers the overall viscous dissipation rate compared to the initial shape. Moreover object is predominantly streamlined in the eastward direction, yet is not perfectly symmetric since it additionally needs to account for flow in the northward direction at a smaller weighting. (a) (b) (c) (d) Figure 12 : Comparison of representative flow fields for the initial object geometry and the optimized geometry obtained using DINO trained with 1024 samples. Each row corresponds to one of the two inflow scenarios (eastward and northward flow), and each column shows the velocity fields before (left column) and after (right column) optimization. All flow fields are evaluated using high-fidelity PDE solves. The optimized geometry z^{\dagger}_{\text{DINO}} , though not symmetric, significantly reduces recirculation behind the object and lowers the overall viscous dissipation rate compared to the initial shape. These geometry-induced flow improvements motivate a quantitative assessment of the risk-averse design performance. To this end, we present the evolution of the optimal objective function value as a function of the number of state PDE solves, together with the associated (25\% – 75\%) quantile bands in Figure 13 . For the neural-operator surrogates, both DINO and NO were trained with 512, 1,024, 2,048, and 4,096 samples, while all surrogate-based OUU runs used 8{,}192 samples per iteration. In comparison, the PDE-based OUU problems were solved with 16, 32, 64, 128, 256, and 512 samples per iteration, and the PDE reference OUU problem was carried out with 8{,}192 samples per iteration. All optimal designs z^{\star} were subsequently assessed using the identical set of 16{,}384 samples employed in the reference evaluation. As in the Poisson PDE examples, the errors are averaged across 10 runs with different random inflow samples corresponds to the same random seeds used in neural network training. We make several key observations from these results. First, even with relative small sample sizes in the SAA formulation, the PDE-based approach yields reasonably accurate OUU solutions for the viscous dissipation objective. Nevertheless, the DINO surrogate achieves comparable or lower optimal dissipation values using nearly an order of magnitude fewer state PDE solves, demonstrating a substantial gain in sample efficiency. By contrast, the NO surrogate without Jacobian learning does not attain the same cost-effectiveness as its performance does not exceed that of the PDE-based approach under identical computational budgets. With the same budget of state PDE solves, the DINO-based OUU achieves lower optimal dissipation values than both the NO-based OUU and the direct PDE-based OUU, indicating superior sample efficiency of DINO in the risk-averse design setting. Figure 13 : Optimal cost values at optimal solutions (left) and relative error of the objective function (right) versus the number of state PDE solves required for the optimization, both with risk-aversion parameter \beta=1 for entropic risk measure and penalty weight \alpha=0.001 . NN train sizes are 512, 1,024, 2,048, and 4,096, and all used 8,192 samples per iteration for ouu. PDE ouu per iteration with 16, 32, 64, 128, 512 samples. PDE reference ouu is done with 8,192 samples for iteration. The results are evaluated with the same 16,384 samples. Note that the counts reported above refer to the number of samples per flow scenario . The actual number of PDE solves is twice the reported number since we evaluate the QoI for both the eastward flow and northward flow scenarios. 5.5 Design for Drag Reduction in 3D under Multiple Uncertain Inflow Conditions We now extend the 2D problem considered in Section to a 3D example. That is, we consider the flow in a channel \Omega_{\mathrm{channel}}=(0,2)\times(0,1)\times(0,1)\subset\mathbb{R}^{3} past a tower-shaped object \Omega_{\mathrm{object}} , whose geometry will be designed using free-form deformations. In this case, the boundary of the channel, \partial\Omega_{\mathrm{channel}} can be decomposed into its six planar faces, \displaystyle\Gamma_{\text{left}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{1}=0\}, \displaystyle\quad\Gamma_{\text{right}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{1}=2\}, \displaystyle\Gamma_{\text{front}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{3}=0\}, \displaystyle\quad\Gamma_{\text{back}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{3}=1\}, \displaystyle\Gamma_{\text{base}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{2}=0\}, \displaystyle\quad\Gamma_{\text{top}} \displaystyle=\{(x_{1},x_{2},x_{3})\in\partial\Omega_{\mathrm{channel}}:x_{2}=1\}. We again consider two flow scenarios corresponding to inflow along the eastward and northward directions respectively. We formulate this in the same manner as Section 5.4 using two separate orientations of the object geometry, i.e., \Omega_{\mathrm{object}}^{\mathrm{East}}=\chi_{z}(\Omega_{\mathrm{object}}) in the eastward flow and \Omega_{\mathrm{object}}^{\mathrm{North}}=\mathrm{Reflect}(\Omega_{\mathrm{object}}^{\mathrm{East}}) in the northward flow, where \mathrm{Reflect}(\cdot) now denotes a reflection about the X_{1}=X_{3} plane. The spatial domains are then given by \Omega_{z}^{s}:=\Omega_{\mathrm{channel}}\setminus\mathrm{cl}\left(\Omega_{\mathrm{object}}^{s}\right) . The solution for each flow scenario u^{s}=(v^{s},p^{s}),s\in\{\mathrm{East},\mathrm{North}\} is then obtained by solving ( 78a ) with the boundaries \displaystyle\Gamma_{\text{in}} \displaystyle=\Gamma_{\text{left}}, \displaystyle\quad\Gamma_{\text{no-slip}} \displaystyle=\Gamma_{\text{base}}\cup\Gamma_{\mathrm{object}}^{s}, \displaystyle\Gamma_{\text{out}} \displaystyle=\Gamma_{\text{right}}, \displaystyle\quad\Gamma_{\text{free-slip}} \displaystyle=\Gamma_{\text{front}}\cup\Gamma_{\text{top}}\cup\Gamma_{\text{back}}. That is, inflow conditions are imposed at the left surface, free-flow conditions are imposed at the right surface, no-slip conditions are imposed at the base (ground) x_{2}=0 and the surface of the object, and free-slip conditions are imposed on the remaining surfaces. In particular, the inflow flow profile is defined by the model parameter, which scales a power law profile with exponent equal to 1/5 , (v_{z}^{s})_{\text{in}}=\exp(\widetilde{m}^{s}(x))x_{2}^{1/5}e_{1},\qquad e_{1}=(1,0,0)^{T}. (94) This specific power law is common in modeling boundary layer phenomena in an atmospheric setting [ 93 ] . We again take \widetilde{m}^{s} to be Gaussian random fields defined on the reference domain, i.e., \widetilde{m}^{s}=T_{\chi_{z}}^{-1}m^{s} , m^{s}\sim\mathcal{N}(0,\mathcal{C}_{m}^{s}) , where the covariance operators \mathcal{C}_{m}^{s} are again the Bi-Laplacian operator with correlation lengths and pointwise variances chosen to match that of the 2D case. Figure 14 shows the computational domain and the initial object geometry, which is a frustum-shaped tower, with streamlines of resulting velocity field obtained from the PDE solution. This configuration serves as the reference geometry for the following numerical experiments. Random inflow velocity Figure 14 : Geometry of the domain and initial frustum-shaped tower together with streamlines of the velocity field obtained from the PDE Navier–Stokes solution. The case shown corresponds to the left inflow condition with inflow on \Gamma_{\text{left}} and outflow on \Gamma_{\text{right}} . The remaining faces \Gamma_{\text{free-slip}}=\Gamma_{\text{front}}\cup\Gamma_{\text{top}}\cup\Gamma_{\text{back}} act as impermeable walls, while no-slip conditions are imposed on \Gamma_{\text{object}}\cup\Gamma_{\text{base}} . The shape parametrization is adapted from the 2D free-form deformation framework described above ( 79 ) to include Bernstein polynomial bases along all three axes. Specifically, the Bernstein control points lie on a 6\times 6\times 6 uniform lattice inside the unit cube [0,1]^{3} , where the points are located at \{0,0.2,0.4,0.6,0.8,1\} along each axis. Similar to the 2D problem, we exclude the first and last control points on the X_{1} and X_{3} axes, as well as the first point on the X_{2} axis, such that the left, base, front, and back boundaries are not moved. Moreover, we only allow the control points to move in the horizontal plane X_{1}-X_{3} , such that the height of object does not change. As a result, we have d_{z}=160 shape degrees of freedom, coming from a total of 80 control points, each contributing 2 degrees of freedom. To generate the geometry variation for the northward flow scenario, we construct a mirrored displacement basis by swapping the parametric coordinates (X_{1},X_{2},X_{3})\mapsto(X_{3},X_{2},X_{1}),\qquad(e_{1},e_{2},e_{3})\mapsto(e_{3},e_{2},e_{1}) which reflects the displacement fields about the plane X_{1}=X_{3} . The PDE is then formulated in the reference domain following ( 86 ). We discretize the domain using a tetrahedral mesh with Taylor-Hood elements for the state and quadratic elements for the parameter, resulting d_{u}=393{,}331 and d_{\mathcal{M}}=3{,}593 . 5.5.1 Problem Formulation In this problem, we consider two different optimization QoIs that both capture notion of the drag forces on the object. These are (i) the total horizontal force on the object and (ii) the total bending moment on the object with respect to the center of its base. These QoIs are defined separately for each inflow scenario indexed by s\in\{\mathrm{East},\mathrm{North}\} . For each case, let u^{s}=(v^{s},p^{s}) denote the velocity–pressure solution of the steady incompressible Navier–Stokes equations in spatial coordinates The force and bending moments acting on the tower boundary \Gamma_{\mathrm{object}} with outward unit normal n are defined as \displaystyle\mathbf{F}_{z}^{s}(\widetilde{u}^{s},\widetilde{u}^{s}) \displaystyle=\int_{\Gamma_{\mathrm{object}}^{s}}\widetilde{\mathbf{T}}(\widetilde{u}^{s})\,n\,ds, (95) \displaystyle\mathbf{M}_{z}^{s}(\widetilde{u}^{s},\widetilde{m}^{s}) \displaystyle=\int_{\Gamma_{\mathrm{object}}^{s}}(x-O)\times\left(\widetilde{\mathbf{T}}(\widetilde{u}^{s})n\right)\,ds, (96) where x=(x_{1},x_{2},x_{3})^{T} are the spatial coordinates, O=(0.5,0,0.5)^{T} is the center of the base of the structure, and \times denotes the cross product. We let \mathbf{F}^{s}(u^{s},m^{s},z) and \mathbf{M}^{s}(u^{s},m^{s},z) denote their respective forms when the input coordinates are in the reference domain (i.e., the force and moment vector are still expressed in spatial coordinates). Writing \mathbf{F}^{s}=(F_{1}^{s},F_{2}^{s},F_{3}^{s}) and \mathbf{M}^{s}=(M_{1}^{s},M_{2}^{s},M_{3}^{s})^{T} , the two scalar QoIs that we will consider are the total horizontal force Q_{\mathrm{force}}^{s}(u^{s},m^{s},z):=(F_{1}^{s})^{2}+(F_{2}^{s})^{2}, (97) where the vertical component, F_{2}^{s} , is omitted, and the total bending moment Q_{\mathrm{bend}}^{s}(u^{s},m^{s},z):=\|\mathbf{M}^{s}(u^{s},m^{s},z)\|_{2}^{2}=(M_{1}^{s})^{2}+(M_{2}^{s})^{2}+(M_{3}^{s})^{2}. (98) In addition to the optimization QoIs, we incorporate penalization terms to regularize the design and enforce physical consistency. Again, two types of penalization are considered: (i) an \ell_{2} penalty on the shape control coefficients ( 73 ), and (ii) a gravity moments penalization. For the gravity moment, we assume the structure itself has a uniform solid density of \rho_{\mathrm{object}}=2{,}000 . The moment about the center of its base is then given by \mathbf{M}^{g}(z)=\int_{\Omega_{\mathrm{object}}}(x-O)\times\rho_{\mathrm{object}}g\;e_{2}\;dx, (99) where g=9.81 is the gravitational acceleration constant and e_{2}=(0,-1,0)^{T} is the unit vector in the vertical direction. Similar to the integrals above, we can formulate this gravitational moment integral in the reference domain. We then take \mathcal{P}_{\mathrm{grav}}(z;\alpha):=\frac{\alpha}{2}\|\mathbf{M}^{g}(z)\|^{2}_{2}. (100) The objective functions for design under uncertainty are then given by the weighted sum of entropic risk measures across the two flow scenarios supplemented by an appropriate penalization term. For the horizontal force reduction, we adopt the objective function \mathcal{J}_{\mathrm{force}}(z)=0.75\mathcal{J}_{\mathrm{force}}^{\mathrm{East}}(z)+0.25\mathcal{J}_{\mathrm{force}}^{\mathrm{North}}(z)+\mathcal{P}_{\ell_{2}}(z;\alpha) (101) where for each flow scenario s\in\{\mathrm{East},\mathrm{North}\} , we have \mathcal{J}_{\mathrm{force}}^{s}(z)=\rho^{\mathrm{entropic},\beta}_{m^{s}\sim\mu_{m}^{s}}(Q^{s}(u^{s},m^{s},z)). (102) Here, the penalization \mathcal{P}_{\ell_{2}} is the \ell_{2} penalization used in ( 73 ), for which we take \alpha=2\times 10^{-5} . For bending-moment reduction, we adopt the objective function \mathcal{J}_{\mathrm{bend}}(z)=0.75\mathcal{J}_{\mathrm{bend}}^{\mathrm{East}}(z)+0.25\mathcal{J}_{\mathrm{bend}}^{\mathrm{North}}(z)+\mathcal{P}_{\mathrm{grav}}(z;\alpha) (103) with \alpha=1 , where for each flow scenario s\in\{\mathrm{East},\mathrm{North}\} , we have \mathcal{J}_{\mathrm{bend}}^{s}(z):=\rho^{\mathrm{entropic},\beta}_{m^{s}\sim\mu_{m}^{s}}(Q_{\mathrm{bend}}^{s}(u^{s},m^{s},z)). (104) This formulation can be thought of as minimizing the sum of the flow-induced moments and gravity induced moments. 5.5.2 Neural Operator Construction The training data for the neural operator are generated by sampling from the input distributions of m^{s} and z , where we use the uniform distribution \mu_{z}=\mathrm{Unif}([-0.5,0.5]^{d_{z}}) for the shape variables. Since the PDE is much more expensive to solve in the 3D setting, we train the neural networks on a small training dataset consisting of size 384 both with and without Jacobian information. In each case, to generate the reduced basis, we use a subset of n_{\mathrm{POD}}=n_{\mathrm{AS}}=256 samples from the training set to compute both the POD and the AS, from which we take r_{u}=200 POD basis vectors and r_{m}=128 AS basis vectors. Unlike the previous two examples, we only perform a single training run for each case rather than multiple independent runs due to the limited dataset. Multi-input dense neural networks with 2 hidden layers of width 512 are used to represent the latent space mapping. The neural networks are then trained using Adam for 2,000 epochs with an initial learning rate of 1\times 10^{-4} that is halved after 1,000 epochs and 1,500 epochs. For the eastward flow scenario, the resulting test accuracies on full order u over a testing dataset of size 128 are 7.22\% for Shape-DINO and 18.91\% for Shape-NO. In the northward flow scenario, the corresponding test accuracies are 4.13\% for Shape-DINO and 12.55\% for Shape-NO. 5.5.3 Shape Optimization using Neural Operators We then deploy the trained neural operators to solve both the force and bending-moment minimization problems (without retraining). Since the computational cost associated with the 3D Navier–Stokes PDE largely precludes PDE-based risk-averse optimization without extensive high-performance computing resources, we instead compare our surrogate-based solutions to the optimal design computed from a deterministic PDE-based optimization z^{\dagger}_{\mathrm{PDE}} using a nominal value of m^{s}=\bar{m}^{s} . This corresponds to a single-point approximation of the OUU objective, which can be obtained at more modest computational costs. Moreover, we then assess the quality of the PDE-based and surrogate-based solutions by inspecting the resulting QoI distributions at the optimal designs computed on 200 samples of the inputs m^{s} . The resulting distributions are shown in Figures 15 and 16 for the force and bending-moment objectives. From the resulting distribution plots, we observe that for both QoIs, the distributions induced by the shape-DINO optimal design are more tightly concentrated and shifted closer to zero compared to those obtained from the deterministic PDE solution, and significantly closer than those produced by shape-NO. This observation indicates that shape-DINO yields designs that are simultaneously robust with respect to multiple performance metrics, reducing both the magnitude and variability of the responses under uncertainty. In contrast, the shape-NO solutions exhibit broader distributions with heavier tails for both QoIs, emphasizing the importance of incorporating derivative information during surrogate training. We further note that the deterministic PDE-based optimization is performed using single realizations of the uncertain parameter m^{s} at its mean values and therefore does not account for variability induced by uncertainty. As a result, while the deterministic solution may perform well at \bar{m}^{s} , it provides no guarantees of robustness with respect to the inflow distributions. On the other hand, surrogate-based models enable efficient large-batch evaluation of the SAA objectives and specifically shape-DINO provides accurate objective gradients, which would be prohibitively expensive using high-fidelity PDE solves. Figure 15 : Distribution of horizontal-force QoIs for the optimal designs z^{\dagger}_{\mathrm{DINO}} , z^{\dagger}_{\mathrm{NO}} , and z^{\dagger}_{\mathrm{PDE}} . All designs are evaluated with 200 Monte Carlo samples. The DINO and NO solutions are obtained with 1,024 samples per iteration, while the PDE solution is computed deterministically at \bar{m}^{s} . The Shape-DINO design yields a distribution that is both more concentrated and closer to zero, while shape-NO exhibits broader distributions with heavier tails, highlighting the benefit of incorporating derivative information for achieving robust designs under uncertainty. Figure 16 : Distribution of bending-moment QoIs for the optimal designs z^{\dagger}_{\mathrm{DINO}} , z^{\dagger}_{\mathrm{NO}} , and z^{\dagger}_{\mathrm{PDE}} . All designs are evaluated with 200 Monte Carlo samples. The DINO and NO solutions are obtained with 1,024 samples per iteration, while the PDE solution is computed deterministically at \bar{m}^{s} . The Shape-DINO distribution is much more tightly concentrated and shifted closer to zero, indicating reduced magnitude and variability of the bending-moment QoI compared to both the deterministic PDE and shape-NO designs. We present the corresponding optimal tower designs z^{\dagger} obtained for both quantities of interest in Figure 17 . To illustrate the resulting flow behavior, streamlines are visualized under the mean parameter configuration \bar{m}^{s} . Consistent with the QoI distribution results discussed above, the optimal designs obtained using shape-DINO are thinner compared to deterministic PDE, which allows the flow to pass smoothly around the tower with limited obstruction. In contrast, the shape-NO designs give bulkier and even twisting geometries that increase flow deflection, manifested by denser streamlines along the sides of the tower and a larger wake region downstream. These differences indicate the superiority of shape-DINO in producing optimal designs that effectively reduce horizontal forces and bending moments and provide a physical explanation for the broader and heavier-tailed QoI distribution for shape-NO as we discussed before. (a) Horizontal Force z^{\dagger}_{\text{PDE}} (b) Bending Moment z^{\dagger}_{\text{PDE}} (c) Horizontal Force z^{\dagger}_{\text{DINO}} (d) Bending Moment z^{\dagger}_{\text{DINO}} (e) Horizontal Force z^{\dagger}_{\text{NO}} (f) Bending Moment z^{\dagger}_{\text{NO}} Figure 17 : Optimal tower shapes z^{\dagger} with streamlines evaluated under eastward flow at the mean parameter values m^{\mathrm{East}}=\bar{m}^{\mathrm{East}} . Panels 17(a) , 17(c) , and 17(e) correspond to the horizontal force QoI, while panels 17(b) , 17(d) , and 17(f) show results for the bending moment QoI. The Shape-DINO designs are thinner and allow smoother flow passage compared to deterministic PDE, whereas shape-NO yields bulkier and sometimes twisted geometries that induce stronger flow deflection and larger downstream recirculation regions. This comparison provides a physical explanation for the reduced forces and bending moment achieved by Shape-DINO. 5.6 Comparison of timings In this section, we report the computational cost of evaluating the state and subsequent VJPs using either the PDE solver or the neural operator approximation. Execution times are measured using device-appropriate timers: CPU timings are measured as wall-clock elapsed time using Python’s time.perf_counter , while GPU timings are measured as device execution times using CUDA events. Since the state and VJP evaluations account for the majority of the computational cost in both training-data generation, neural operator training, and the evaluation of the objective function and its gradients in OUU, we use these timing results to contextualize the sample-efficiency comparisons from the previous sections and to highlight the online speedups achieved by the Shape-DINO approach. Recall that for the PDE-based approach, state evaluation corresponds to solving the state PDE, which itself may consist of solving a sequence of linear systems when the state PDE is nonlinear, while the VJP requires solving a single linear system corresponding to the adjoint PDE. We therefore report the single-core timings of the solving the state and adjoint PDEs, where we use the direct solver MUMPS [ 94 ] as the underlying linear solver. For surrogate-based methods, we simply report the timing for the forward (state) and backward (VJP) passes of the neural operator; we present per-sample timings for both single sample and batched (1000 sample) evaluations. Because Shape-NO and Shape-DINO share the same network architecture, these results are reported as one single time. The results for the Poisson, 2D and 3D Navier-Stokes examples are shown in Table 3 . We first focus on the PDE-based timings. In the Poisson example, where the state PDE is linear, the costs of the state and adjoint solves are indeed comparable. In fact, when direct solvers are used, this additional adjoint solve can actually be computed at negligible cost by reusing the transpose of the matrix factorization for the state PDE. On the other hand, in the Navier–Stokes examples, the cost of the adjoint solves are on average 0.2 – 0.25\times that of the state PDE solves due to the Newton iterations required in the state PDE solves. Moreover, since direct solvers allow multiple VJPs to be computed at the cost of a single VJP, the cost of generating the additional Jacobian data for DINO training using direct solvers is indeed a fraction of the cost of the state data (negligible amount in the linear Poisson case and 0.2 – 0.25\times in the Navier–Stokes case). Thus, compared to the orders-of-magnitude gain in sample efficiency seen in the previous sections, the benefits of derivative-based training far outweigh this small additional cost per sample. In terms of strictly online costs in optimization, neural operators provide substantial speedups over PDE solvers when used to evaluate the QoI (m,z)\mapsto Q(u(m,z)m,z) and its gradients with respect to the shape variable z . For state solves, single sample neural operator evaluations are more than two orders of magnitude faster for the Poisson problem and more than four orders of magnitude faster for the 2D Navier–Stokes problem. For batched evaluations the speedups exceed five and six orders of magnitude for the Poisson and 2D Navier–Stokes problems, respectively. This speedup is particularly noteworthy because batched execution is native to single-GPU systems. In contrast, achieving comparable throughput for CPU-based PDE solves in a bulk-synchronous setting typically requires additional hardware, whereas neural operator evaluation typically does not. Similar advantages are observed for VJP/adjoint solve used to evaluate the z gradient of the QoI. In the single sample case, the neural operator yields nearly four orders of magnitude speedup in the Poisson problem and three orders of magnitude speedup for the 2D Navier–Stokes problem. In the batched case the speedups exceed four orders of magnitude for both problems. The advantage becomes even more pronounced in the 3D Navier–Stokes setting, where the computational cost of high-fidelity PDE solves increases dramatically due to both the higher discretization dimension and the increased complexity of sparse factorizations in 3D relative to 2D. For this problem the neural operators state solve speedups exceed six and eight orders of magnitude for the single sample and batched evaluation respectively. The VJP speedups likewise exceed five and seven orders of magnitude for the single sample and batched evaluations, respectively. These results demonstrate that replacing repeated PDE solves with neural operator surrogates yields significant computational savings, making large-scale optimization problem feasible at a cost that can be prohibitive using only PDE solvers. Execution time per sample (seconds) State Solve VJP / Adjoint Problem PDE NN (1) NN (1000) PDE NN (1) NN (1000) Poisson 1.06e - 1 4.12e - 4 5.50e - 7 8.84e - 2 1.25e - 5 1.35e - 6 2D Navier–Stokes 5.08e + 0 3.86e - 4 1.70e - 6 1.07e + 1 1.15e - 4 3.16e - 6 3D Navier–Stokes 7.18e + 2 3.85e - 4 5.46e - 6 1.62e + 2 9.68e - 4 1.07e - 5 Table 3 : Time (in seconds) for solving the state PDE and computing vector–Jacobian products (VJPs) using neural operators and PDE-based solvers. PDE-based solver timings are averages over 100 independent random samples of (m,z) . For neural operators, NN (1) denotes inference performed on a single sample, while NN (1000) corresponds to batched inference over 1000 samples evaluated simultaneously, with the time normalized per sample. The reported times for NN (1) and NN (1000) are both averages over 100 independent trials. For neural operators, we report the time to compute the VJP by a backward pass, while for PDE-based method, we report the time taken to solve the adjoint PDE, which is the dominant cost of the VJP. Neural operators achieve orders-of-magnitude reductions in computational time compared to PDE-based solvers for both state and VJP evaluations, with particularly pronounced gains in the 2D and 3D Navier–Stokes cases. These gains are further amplified under batched inference (NN (1000)), where native GPU parallel evaluation leads to additional per-sample reductions in execution time. 6 Conclusions In this work, we have presented a novel surrogate-based framework, Shape-DINO, for accelerating PDE-constrained shape OUU problems. By representing geometric variability through diffeomorphic mappings to a fixed reference domain and utilizing reduced-basis neural operator architectures with derivative-informed training, the proposed framework jointly learns the solution map and its derivatives with respect to both the random parameters and the design variables. This framework directly addresses the coupled challenges of geometric variability, sampling complexity, fast online evaluation, and gradient accuracy that arise in risk-based shape optimization. Beyond the methodological contributions, to the best of our knowledge, this work provides the first end-to-end theoretical analysis of RBNO surrogates for optimization under uncertainty. We proved the universal approximation properties (Theorem 3.1 ) of the multi-input RBNO and established bounds on the induced optimization error in the risk neutral setting ( Theorem 3.2 ), providing a rigorous justification for surrogate-based optimization. Through a collection of numerical experiments, we have demonstrated that derivative-informed neural operators can efficiently solve a range of shape OUU problems. In all cases, incorporating Jacobian information during training led to substantial improvements in state prediction accuracy, gradient fidelity, and most importantly, reliable optimal designs. These observations are consistent with the a priori error bounds derived in Section 2 , which show that optimization errors are directly controlled by errors in both the solution and its shape derivatives. As a result, Shape-DINO consistently produced more robust solutions and more reliable optimization behavior than non-derivative neural operators. Moreover, the reduced-basis architecture enabled fast inference, while surrogate-based SAA allowed large-batch sampling that would be computationally infeasible using PDE solves alone. Our experiments further showed that Shape-DINO achieves significantly better cost–accuracy trade-offs than PDE-based approaches. For comparable levels of accuracy, Shape-DINO required several orders of magnitude fewer PDE solves than direct SAA-based PDE optimization, while enabling fast online evaluation once trained. This performance aligns with the approximation results established in Section 3 , which provides theoretical guarantee that reduced-basis multi-parameter neural operators can approximate both the solution and its derivatives arbitrarily well in appropriate C^{1} norms. In practice, this allows the offline training cost to be amortized across multiple optimization runs involving different objectives, risk measures, or regularization choices, enabling repeated design queries, interactive design-space exploration, and near-real-time shape optimization under uncertainty. In addition, we demonstrated that the proposed framework scales to complex 3D problems, where fully PDE-based optimization is computationally prohibitive. These results highlight the potential of Shape-DINO for novel applications involving high-dimensional geometry, uncertainty, and complex physical models. We also acknowledge the limitations of our framework. When the optimization objective is relatively simple, i.e. accurately approximated with few PDE solves, our framework may be unnecessarily complex. In such settings, classical PDE-based optimization may be more appropriate. Shape-DINO is more advantageous in regimes where geometric variability, uncertainty, and sampling complexity make traditional approaches computationally infeasible. Also, our framework relies on diffeomorphic mesh deformation and elastic extensions, which are effective for moderate geometric variations. However, the chosen shape parametrization and training distribution may not adequately cover large or extreme deformations. If the optimization explores shapes far outside this regime, mesh distortion can occur and can affect both PDE accuracy and surrogate training. Finally, the results of this work suggest several directions for future research, including extensions to incorporation of higher-order derivative information, adaptive sampling strategies guided by optimization progress, and applications to more complex geometric parameterizations. Moreover, rather than serve as proxies for the PDE solves in evaluating the cost functional, surrogates can act as control variates to be employed along with small numbers of PDE-based evaluations to accelerate estimation of risk measures within a variance reduction framework [ 95 , 96 ] . This opens the door to methods that are intermediate between neural operator-based and PDE-based cost functional evaluation, and to studying optimal tradeoffs between PDE solves during Shape-DINO training versus PDE solves during control variate-based optimization. More broadly, this work demonstrates that incorporating shape and parametric sensitives into neural operator training is essential for reliable and scalable OUU, positioning Shape-DINO as a powerful tool for complex PDE-constrained design optimization workflows. Beyond risk-based shape optimization, we envision that the proposed shape derivative informed operator learning framework can be employed in a broad range of settings, including PDE-based inverse problems for geometric and shape reconstruction, Bayesian inversion under geometric uncertainty, and near real time parametric deterministic shape optimization. This highlights the potential of Shape-DINO as a general computational framework for design, inference, and decision making for complex engineered systems. 7 Acknowledgments This research was partially supported by the U.S. Department of Energy under award DE-SC0023171, the U.S. Air Force Office of Scientific Research under award FA9550-24-1-0327, by the U.S. National Science Foundation under awards DMS-2324643 and OAC-2313033, and by the Royal Society of New Zealand Te Apārangi (Marsden Fund Council) grant MFP-24-UOA-279. The authors acknowledge the Texas Advanced Computing Center (TACC) at The University of Texas at Austin for providing computational resources that have contributed to the research results reported within this paper. Appendix A Spatial and Reference Domain Transformations A.1 Common Coordinate Transformations Recall that under the diffeomorphism \chi , we can convert between spatial and reference domain coordinates by a change of variables x=\chi(X),\qquad X=\chi^{-1}(x) for X\in\Omega_{0} and x\in\chi(\Omega_{0}) . Differential and integral quantities transform accordingly. In Table 4 , we present the coordinate transformations for common quantities that are used in our numerical examples. Further details can be found in standard continuum mechanics texts such as Gonzalez and Stuart 2001 . Table 4 : Common coordinate transformations. Here F_{\chi}:=\nabla_{X}\chi is the deformation gradient tensor, |\cdot| is the Euclidean norm of the vector, and (\cdot)^{T} corresponds to the matrix transpose. Spatial coordinates x Reference coordinates X Coordinate x \chi(X) Function u(x) u(\chi(X))=(T_{\chi}^{-1}u)(X) Gradient (scalar function) \nabla_{x}u(x) F_{\chi}^{-T}(X)\nabla_{X}u(\chi(X)) Gradient (vector function) \nabla_{x}v(x) \nabla_{X}v(\chi(X))F_{\chi}^{-1}(X) Divergence \nabla_{x}\cdot v(x) \mathrm{tr}(\nabla_{X}v(\chi(X))F_{\chi}^{-1}(X)) Volume element dx \det F_{\chi}(X)dX Vector surface element n(x)ds(x) \det F_{\chi}(X)F_{\chi}^{-T}(X)N(X)dS(X) Scalar surface element ds(x) |\det F_{\chi}(X)F_{\chi}^{-T}(X)N(X)|dS(X) A.2 Proof of Proposition 2.1 Proof. We start by deriving the norm bounds for the pushforward operator. First, recall that for F_{\chi}(X)=\nabla_{X}\chi(X) , we have |\det F_{\chi}(X)|\leq\|F_{\chi}(X)\|_{\mathcal{L}(\mathbb{R}^{d},\mathbb{R}^{d})}^{d}\leq\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{d}. Consider now any u\in L^{2}(\Omega_{0}) and its pushforward T_{\chi}^{-1}u=u(\chi^{-1}(x)) . By a change of variables, the L^{2}(\Omega_{1}) norm of T_{\chi^{-1}}u can be written as \displaystyle\|T_{\chi}^{-1}u\|_{L^{2}(\Omega_{1})}^{2} \displaystyle=\int_{\Omega_{1}}|(T_{\chi}^{-1}u)(x)|^{2}dx \displaystyle=\int_{\Omega_{1}}|u(\chi^{-1}(x))|^{2}dx \displaystyle=\int_{\Omega_{0}}|u(X)|^{2}\det F_{\chi}(X)dX \displaystyle\leq\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{d}\|u\|_{L^{2}(\Omega_{0})}^{2}, which is the desired result for the L^{2} case. For the H^{1} case, we consider any u\in H^{1}(\Omega_{0}) . The H^{1}(\Omega_{1}) seminorm of the pushforward can be written as \displaystyle\int_{\Omega_{1}}|\nabla_{x}(T_{\chi}^{-1}u)(x)|^{2}dx \displaystyle=\int_{\Omega_{1}}|\nabla_{x}u(\chi^{-1}(x))|^{2}dx \displaystyle=\int_{\Omega_{0}}|F_{\chi}(X)^{-T}\nabla_{X}u(X)|^{2}\det F_{\chi}(X)dX \displaystyle\leq\|\chi\|_{W^{1,\infty}(\Omega_{0})}^{d}\|\chi^{-1}\|_{W^{1,\infty}(\Omega_{1})}^{2}|u|_{H^{1}(\Omega_{0})}^{2}, Combining this with the L^{2} result, we have \|T_{\chi}^{-1}u\|_{H^{1}(\Omega_{1})}^{2}\leq\left(1+\|\chi^{-1}\|_{W^{1,\infty}(\Omega_{1})}^{2}\right)\|\chi\|^{d}_{W^{1,\infty}(\Omega_{0})}\|u\|_{H^{1}(\Omega_{0})}^{2}. (105) This yields the desired result for the H^{1} case. Repeating the argument with \chi instead of \chi^{-1} yields the results for the pullback operator T_{\chi} . ∎ Appendix B Optimization Error B.1 Derivative Domination Bound Proof. (of Theorem 2.1 ) The proof is based on standard variational analysis. In the following, we will use the shorthand notation \langle\cdot,\cdot\rangle to denote the duality pairing \langle\cdot,\cdot\rangle_{\mathcal{Z}^{\prime}\times\mathcal{Z}} . We first note that by \lambda -strong convexity of \mathcal{J} , for any z_{1},z_{2}\in\mathcal{Z}_{ad} , we have \mathcal{J}(z_{2})\geq\mathcal{J}(z_{1})+\langle D_{z}\mathcal{J}(z_{1}),z_{2}-z_{1}\rangle+\frac{\lambda}{2}\|z_{2}-z_{1}\|_{\mathcal{Z}}^{2}, which additionally implies that \langle D_{z}\mathcal{J}(z_{2})-D_{z}\mathcal{J}(z_{1}),z_{2}-z_{1}\rangle\geq\lambda\|z_{2}-z_{1}\|_{\mathcal{Z}}^{2}. Optimality gap This is simply a constrained optimization form of the Polyak-Łojasiewicz inequality and can be shown similarly. Using the strong convexity of \mathcal{J} , we have \mathcal{J}(z^{\star})\geq\mathcal{J}(z^{\dagger})+\langle D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle+\frac{\lambda}{2}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2}. We can rearrange this to obtain \mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star})\leq-\langle D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle-\frac{\lambda}{2}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2}. (106) Since z^{\dagger} satisfies the first-order optimality conditions of \mathcal{J}_{\theta} , we have additionally that \langle D_{z}\mathcal{J}_{\theta}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle\geq 0. (107) Adding ( 107 ) to ( 106 ), we have \displaystyle\mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star}) \displaystyle\leq\langle D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle-\frac{\lambda}{2}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2} \displaystyle\leq\|D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}-\frac{\lambda}{2}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2}. (108) The right hand side of ( 108 ) is of the form a quadratic function at-\lambda t^{2}/2 , where a=\|D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}\geq 0 and t plays the role of \|z^{\star}-z^{\dagger}\|_{\mathcal{Z}} . This quadratic is maximized at t^{\star}=a/\lambda . Substituting this maximizer into ( 108 ) as an upper bound yields \mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star})\leq\frac{1}{2\lambda}\|D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}^{2}, (109) which is the desired result. Optimization error We begin with ( 107 ), to which we add and subtract the derivative terms D_{z}\mathcal{J}(z^{\star}) and D_{z}\mathcal{J}(z^{\dagger}) . This gives \langle D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})+D_{z}\mathcal{J}(z^{\dagger})-D_{z}\mathcal{J}(z^{\star})+D_{z}\mathcal{J}(z^{\star}),z^{\star}-z^{\dagger}\rangle\geq 0. Rearranging this yields \langle D_{z}\mathcal{J}(z^{\star})-D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle\leq\langle D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle+\langle D_{z}\mathcal{J}(z^{\star}),z^{\star}-z^{\dagger}\rangle. (110) On the left hand side of ( 110 ), strong convexity implies that \langle D_{z}\mathcal{J}(z^{\star})-D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle\geq\lambda\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2}. (111) On the right hand side of ( 110 ), we have that \langle D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger}),z^{\star}-z^{\dagger}\rangle\leq\|D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}, (112) and \langle D_{z}\mathcal{J}(z^{\star}),z^{\star}-z^{\dagger}\rangle\leq 0, (113) where this latter inequality follows from the first-order optimality conditions for \mathcal{J} . Substituting ( 111 )–( 113 ) into ( 110 ), we have \lambda\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}^{2}\leq\|D_{z}\mathcal{J}_{\theta}(z^{\dagger})-D_{z}\mathcal{J}(z^{\dagger})\|_{\mathcal{Z}^{\prime}}\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}}, from which the desired result follows. ∎ B.2 Derivative Error of the Expectation In this section, we present the proof of Proposition 2.2 . To this end, we first show that the expectation leads to a continuously differentiable functional z\mapsto\mathbb{E}_{\mu_{m}}[Q(u(\cdot,z),\cdot,z)] when \mu_{m},u,Q satisfy 2.1 and 2.2 . This allows us to compare the difference in the derivatives when u is replaced by a surrogate u_{\theta} as in Proposition 2.2 . To begin, we note that 2.1 implies that the mappings z\mapsto u(\cdot,z) and z\mapsto D_{z}u(\cdot,z) are Lipschitz continuous. Proposition B.1 . Suppose that u , satisfies 2.1 with the Borel probability measure \mu_{m} , compact admissible set \mathcal{Z}_{ad} , and open set \mathcal{B} for some p\geq 2 . Then, the mappings \mathcal{B}\ni z\mapsto u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U}) and \mathcal{B}\ni z\mapsto D_{z}u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U})) are Lipschitz continuous. That is, for every z_{1},z_{2}\in\mathcal{B} \displaystyle\|u(\cdot,z_{2})-u(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U})} \displaystyle\leq\kappa_{u}\|z_{2}-z_{1}\|_{\mathcal{Z}}, (114) \displaystyle\|D_{z}u(\cdot,z_{2})-D_{z}u(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U}))} \displaystyle\leq\kappa_{u_{z}}\|z_{2}-z_{1}\|_{\mathcal{Z}}. (115) Moreover, there exist constant M_{u} and M_{u_{z}} such that \displaystyle\|u(\cdot,z)\|_{L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U})} \displaystyle\leq M_{u}, (116) \displaystyle\|D_{z}u(\cdot,z)\|_{L^{p}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U}))} \displaystyle\leq M_{u_{z}}, (117) for every z\in\mathcal{Z}_{ad} . Proof. First, for any z\in\mathcal{B} , ( 24a ) of 2.1 yields \|u(m,z)\|_{\mathcal{U}}^{p}\leq(\|u(0,z)\|_{\mathcal{U}}+\kappa_{u}\|m\|_{\mathcal{M}})^{p}, such that \mathbb{E}_{m\sim\mu}[\|u(m,z)\|_{\mathcal{U}}^{p}<\infty since \mu_{m} has finite p^{th} moments. Moreover, for any z_{1},z_{2}\in\mathcal{B} , \|u(\cdot,z_{2})-u(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}}^{p}=\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z_{2})-u(m,z_{1})\|_{\mathcal{U}}^{p}]\leq\kappa_{u}^{p}\|z_{2}-z_{1}\|_{\mathcal{Z}}^{p}, which shows that z\mapsto u(\cdot,z) is Lipschitz continuous with constant \kappa_{u} . An analogous application of ( 24b ) yields Lipschitz continuity of z\mapsto D_{z}u(\cdot,z) with constant \kappa_{u_{z}} . This continuity combined with compactness of the admissible set \mathcal{Z}_{ad}\subset\mathcal{B} then implies the existence of the upper bounds in ( 116 ) and ( 117 ). ∎ On the other hand, the Lipschitz continuity of D_{u}Q and D_{uz}Q from 2.2 implies the following bounds. Lemma B.1 (Quadratic bounds) . Suppose Q satisfies 2.2 with the compact admissible set \mathcal{Z}_{ad} and open set \mathcal{B} . Then, for every u_{1},u_{2}\in\mathcal{U} , m\in\mathcal{M} , and z\in\mathcal{B} , we have |Q(u_{2},m,z)-Q(u_{1},m,z)|\leq\|D_{u}Q(u_{1},m,z)\|_{\mathcal{U}^{\prime}}\|u_{2}-u_{1}\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u_{2}-u_{1}\|_{\mathcal{U}}^{2} (118) and \|D_{z}Q(u_{2},m,z)-D_{z}Q(u_{1},m,z)\|_{\mathcal{Z}^{\prime}}\leq\|D_{uz}Q(u_{1},m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})}\|u_{2}-u_{1}\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u_{2}-u_{1}\|_{\mathcal{U}}^{2}. (119) Proof. Consider first ( 118 ). Taking a Taylor expansion for Q yields Q(u_{2},m,z)-Q(u_{1},m,z)=\int_{0}^{1}D_{u}Q(u_{1}+th,m,z)hdt, where h=u_{2}-u_{1} . Taking absolute values and making use of the Lipschitz continuity of D_{u}Q , we have \displaystyle|Q(u_{2},m,z)-Q(u_{1},m,z)| \displaystyle\leq\int_{0}^{1}\|D_{u}Q(u_{1}+th,m,z)\|_{\mathcal{U}^{\prime}}\|h\|_{\mathcal{U}}dt \displaystyle\leq\int_{0}^{1}\left(\|D_{u}Q(u_{1},m,z)\|_{\mathcal{U}^{\prime}}+\kappa_{Q_{u}}t\|h\|_{\mathcal{U}}\right)\|h\|_{\mathcal{U}}dt \displaystyle\leq\|D_{u}Q(u_{1},m,z)\|_{\mathcal{U}^{\prime}}\|h\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|h\|_{\mathcal{U}}^{2}. For D_{z}Q , we can use a similar Taylor expansion D_{z}Q(u_{2},m,z)-D_{z}Q(u_{1},m,z)=\int_{0}^{1}D_{u}D_{z}Q(u_{1}+th,m,z)hdt=\int_{0}^{1}D_{uz}Q(u_{1}+th,m,z)hdt, which follows from the fact that Q is twice continuously differentiable. Taking \|\cdot\|_{\mathcal{Z}^{\prime}} and making use of the Lipschitz continuity of D_{uz}Q yields ( 119 ). ∎ Moreover, the bounds in Lemma B.1 can be written as follows. Corollary B.1 . Consider the setting of Lemma B.1 . We have |Q(u_{2},m,z)-Q(u_{1},m,z)|\leq(M_{Q_{u}}+\kappa_{Q_{u}}\|u_{1}\|_{\mathcal{U}})\|u_{2}-u_{1}\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u_{2}-u_{1}\|_{\mathcal{U}}^{2} (120) and \|D_{z}Q(u_{2},m,z)-D_{z}Q(u_{1},m,z)\|_{\mathcal{Z}^{\prime}}\leq(M_{Q_{uz}}+\kappa_{Q_{uz}}\|u_{1}\|_{\mathcal{U}})\|u_{2}-u_{1}\|_{\mathcal{U}}+\frac{\kappa_{Q_{u_{z}}}}{2}\|u_{2}-u_{1}\|_{\mathcal{U}}^{2}. (121) Proof. Using both the Lipschitz continuity of D_{u}Q and its boundedness at u=0 , we can write \|D_{u}Q(u_{1},m,z)\|_{\mathcal{U}^{\prime}}\leq\|D_{u}Q(0,m,z)\|_{\mathcal{U}^{\prime}}+\kappa_{Q_{u}}\|u_{1}\|_{\mathcal{U}}\leq M_{Q_{u}}+\kappa_{Q_{u}}\|u_{1}\|_{\mathcal{U}}. Similarly, \|D_{uz}Q(u_{1},m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})}\leq\|D_{uz}Q(0,m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})}+\kappa_{Q_{uz}}\|u_{1}\|_{\mathcal{U}}\leq M_{Q_{uz}}+\kappa_{Q_{uz}}\|u_{1}\|_{\mathcal{U}}. Substituting the above expressions into ( 118 ) and ( 119 ) yield the alternative bound given in this corollary. ∎ Alternatively, we can directly derive upper bounds on Q and D_{z}Q by applying the Taylor expansion at the point u_{1}=0 . Corollary B.2 . Consider the setting of Lemma B.1 . For every u\in\mathcal{U} , m\in\mathcal{M} , and z\in\mathcal{B} , we have |Q(u,m,z)|\leq M_{Q}+M_{Q_{u}}\|u\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u\|_{\mathcal{U}}^{2} (122) and \|D_{z}Q(u,m,z)\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{z}}+M_{Q_{uz}}\|u\|_{\mathcal{U}}+\frac{\kappa_{Q_{u_{z}}}}{2}\|u\|_{\mathcal{U}}^{2}. (123) Proof. The proof is almost identical to that of Lemma B.1 , where instead we take u_{2}=u and u_{1}=0 such that h=u_{2}-u_{1}=u . We therefore have |Q(u,m,z)|\leq|Q(0,m,z)|+\|D_{u}Q(0,m,z)\|_{\mathcal{U}^{\prime}}\|u\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u\|_{\mathcal{U}}^{2} (124) and \|D_{z}Q(u,m,z)\|_{\mathcal{Z}^{\prime}}\leq\|D_{z}Q(0,m,z)\|_{\mathcal{Z}^{\prime}}+\|D_{uz}Q(0,m,z)\|_{\mathcal{L}(\mathcal{U},\mathcal{Z}^{\prime})}\|u\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u\|_{\mathcal{U}}^{2}. (125) Substituting the upper bounds from 2.2 then yields the desired result. ∎ B.2.1 Differentiability of the Quantity of Interest As discussed, for any fixed z , the quantity Q(u(m,z),m,z) is a random variable depending on the realization of m\in\mathcal{M} . Thus, we can treat the mapping z\mapsto Q(u(\cdot,z),\cdot,z) as a mapping from the variable z to the space of random variables. Under 2.1 and 2.2 , we can show that this is a continuously differentiable mapping from \mathcal{B} to L^{1}_{\mu_{m}} . Proposition B.2 . Suppose u satisfies 2.1 and Q satisfies 2.2 with the Borel probability measure \mu_{m} , admissible set \mathcal{Z}_{ad} , and open set \mathcal{B} for some p\geq 2 . Then, the map f_{Q}:z\mapsto Q(u(\cdot,z),\cdot,z) is a continuously differentiable function from \mathcal{B} to L^{1}_{\mu_{m}}(\mathcal{M};\mathbb{R}) . Proof. Well-defined: We begin by verifying f_{Q}(z) is in L^{1}_{\mu_{m}} for any z\in\mathcal{B} . By ( 122 ) of Corollary B.2 , we have \|f_{Q}(z)\|_{L^{1}_{\mu_{m}}}=\mathbb{E}_{m\sim\mu}[|Q(u(m,z),m,z)|]\leq\mathbb{E}_{m\sim\mu_{m}}\left[M_{Q}+M_{Q_{u}}\|u(m,z)\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u(m,z)\|_{\mathcal{U}}^{2}\right]. Since u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M},\mathcal{U}) with p\geq 2 , the resulting expectation is finite such that f_{Q}(z)\in L^{1}_{\mu_{m}} Differentiability: Since Q and u are both continuously differentiable, the derivative is formally given by D_{z}f_{Q}(z)=D_{u}Q(u(\cdot,z),\cdot,z)D_{z}u(\cdot,z)+D_{z}Q(u(\cdot,z),\cdot,z). We verify this is indeed the derivative. In particular, we consider the residual r(z,h):=\|Q(u(\cdot,z+h),\cdot,z+h)-Q(u(\cdot,z),\cdot,z)-D_{z}f_{Q}(z)h\|_{L^{1}_{\mu_{m}}} is o(\|h\|_{\mathcal{Z}}) . We begin by letting A(m,z):=D_{u}Q(u(m,z),m,z)D_{z}u(m,z)+D_{z}Q(u(m,z),m,z) , such that \displaystyle\frac{r(z,h)}{\|h\|_{\mathcal{Z}}}=\mathbb{E}_{m\sim\mu_{m}}\left[\frac{|Q(u(m,z+h),m,z+h)-Q(u(m,z),m,z)-A(m,z)h|}{\|h\|_{\mathcal{Z}}}\right]. In particular, by the differentiability of Q and u , the integrand converges to zero pointwise in m as h\rightarrow 0 . We now seek a dominating function on the integrand. To this end, define \mathsf{A}_{1}:=D_{u}Q(u(m,z),m,z)D_{z}u(m,z),\qquad\mathsf{A}_{2}:=D_{z}Q(u(m,z),m,z) such that A=\mathsf{A}_{1}+\mathsf{A}_{2} , and \mathsf{D}_{1}:=Q(u(m,z+h),m,z+h)-Q(u(m,z),m,z+h),\quad\mathsf{D}_{2}:=Q(u(m,z),m,z+h)-Q(u(m,z),m,z), such that Q(u(m,z+h),m,z+h)-Q(u(m,z),m,z)=\mathsf{D}_{1}+\mathsf{D}_{2} . We can bound each term separately. 1. For \mathsf{A}_{1} , we make use of the Lipschitz continuity of D_{u}Q , such that \frac{|\mathsf{A}_{1}(m,z)h|}{\|h\|_{\mathcal{Z}}}\leq\|\mathsf{A}_{1}(m,z)\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{u}}\|D_{z}u(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}+\kappa_{Q_{u}}\|u(m,z)\|_{\mathcal{U}}\|D_{z}u(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}. (126) 2. For \mathsf{A}_{2} , we make use of ( 123 ) from Corollary B.2 , such that \frac{|\mathsf{A}_{2}(m,z)h|}{\|h\|_{\mathcal{Z}}}\leq\|\mathsf{A}_{2}(m,z)\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{z}}+M_{Q_{uz}}\|u(m,z)\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u(m,z)\|_{\mathcal{U}}^{2}. (127) 3. For \mathsf{D}_{1} , we make use of ( 120 ) from Corollary B.1 , such that \displaystyle|\mathsf{D}_{1}(m,z)| \displaystyle\leq(M_{Q_{u}}+\|u(m,z)\|_{\mathcal{U}})\|u(m,z+h)-u(m,z)\|_{\mathcal{U}}+\frac{\kappa_{Q_{u}}}{2}\|u(m,z+h)-u(m,z)\|_{\mathcal{Z}}^{2} \displaystyle\leq(M_{Q_{u}}+\|u(m,z)\|_{\mathcal{U}})\kappa_{u}\|h\|_{\mathcal{Z}}+\frac{\kappa_{Q_{u}}\kappa_{u}^{2}}{2}\|h\|_{\mathcal{Z}}^{2}, where this latter inequality follows from the Lipschitz continuity of u from 2.1 . Therefore, \frac{|\mathsf{D}_{1}(m,z)|}{\|h\|_{\mathcal{Z}}}\leq(M_{Q_{u}}+\|u(m,z)\|_{\mathcal{U}})\kappa_{u}+\frac{\kappa_{Q_{u}}\kappa_{u}^{2}}{2}\|h\|_{\mathcal{Z}}. (128) 4. For \mathsf{D}_{2} , we first make use of the mean value theorem, such that |\mathsf{D}_{2}(m,z)|\leq\|D_{z}Q(u(m,z),m,\zeta)\|_{\mathcal{Z}^{\prime}}\|h\|_{\mathcal{Z}}, where \zeta=z+th for some t\in[0,1] . For sufficiently small h , we have that \zeta\in\mathcal{B} . This allows us to apply ( 123 ) from Corollary B.2 to obtain \frac{|\mathsf{D}_{2}(m,z)|}{\|h\|_{\mathcal{Z}}}\leq\|D_{z}Q(u(m,z),m,\zeta)\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{z}}+M_{Q_{uz}}\|u(m,z)\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u(m,z)\|_{\mathcal{U}}^{2}. (129) In each case, the upper bounds are quadratic forms of \|u(m,z)\|_{\mathcal{U}} and \|D_{z}u(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})} (or equivalently \|D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})} ), both of which are L^{2}_{\mu_{m}} functions. Thus, the integrand is dominated by an L^{1}_{\mu_{m}} function. The dominated convergence theorem then allows passing to the limit such that \frac{r(z,h)}{\|h\|_{\mathcal{Z}}}\rightarrow 0\qquad\text{as }h\rightarrow 0. Continuity of the derivative: To see continuity, consider any z_{1},z_{2}\in\mathcal{B} . We have that \|D_{z}f_{Q}(z_{2})-D_{z}f_{Q}(z_{1})\|_{\mathcal{Z}^{\prime}}\leq\mathbb{E}_{m\sim\mu_{m}}[\|\mathsf{A}_{1}(m,z_{2})-\mathsf{A}_{1}(m,z_{1})\|_{\mathcal{Z}^{\prime}}+\|\mathsf{A}_{2}(m,z_{2})-\mathsf{A}_{2}(m,z_{1})\|_{\mathcal{Z}^{\prime}}]. Continuity of D_{u}Q , D_{z}Q , u , and D_{z}u implies that the integrand converges to zero for every m . Again, it remains to find a dominating function that allows the limit z_{2}\rightarrow z_{1} to be taken outside of the expectation. In particular, ( 126 ) yields \|\mathsf{A}_{1}(m,z_{1})\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{u}}\|D_{z}u(m,z_{1})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}+\kappa_{Q_{u}}\|u(m,z_{1})\|_{\mathcal{U}}\|D_{z}u(m,z_{1})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}. Making use of the Lipschitz continuity of u and D_{z}u , we also have for h=z_{2}-z_{1} \displaystyle\|\mathsf{A}_{1}(m,z_{2})\|_{\mathcal{Z}^{\prime}} \displaystyle\leq M_{Q_{u}}\|D_{z}u(m,z_{2})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}+\kappa_{Q_{u}}\|u(m,z_{2})\|_{\mathcal{U}}\|D_{z}u(m,z_{2})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})} \displaystyle\leq M_{Q_{u}}\left(\|D_{z}u(m,z_{1})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}+\kappa_{u_{z}}\|h\|_{\mathcal{Z}}\right) \displaystyle\qquad+\kappa_{Q_{u}}(\|u(m,z_{1})\|_{\mathcal{U}}+\kappa_{u}\|h\|_{\mathcal{Z}})(\|D_{z}u(m,z_{1})\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}+\kappa_{u_{z}}\|h\|_{\mathcal{Z}}), For sufficiently small h , both \|\mathsf{A}_{1}(m,z_{1})\|_{\mathcal{Z}^{\prime}} and \|\mathsf{A}_{1}(m,z_{2})\|_{\mathcal{Z}^{\prime}} are dominated by a common L^{1}_{\mu_{m}} function. Similarly, for \mathsf{A}_{2} , ( 127 ) yields \|\mathsf{A}_{2}(m,z_{1})\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{z}}+M_{Q_{uz}}\|u(m,z_{1})\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u(m,z_{1})\|_{\mathcal{U}}^{2}, while Lipschitz continuity of u and D_{z}u imply \|\mathsf{A}_{2}(m,z_{2})\|_{\mathcal{Z}^{\prime}}\leq M_{Q_{z}}+M_{Q_{uz}}(\|u(m,z_{1})\|_{\mathcal{U}}+\kappa_{u}\|h\|_{\mathcal{Z}})+\frac{\kappa_{Q_{uz}}}{2}(\|u(m,z_{1})\|_{\mathcal{U}}+\kappa_{u}\|h\|_{\mathcal{Z}})^{2}. such that \|\mathsf{A}_{2}(m,z_{1})\|_{\mathcal{Z}^{\prime}} and \|\mathsf{A}_{2}(m,z_{2})\|_{\mathcal{Z}^{\prime}} are also dominated by a L^{1}_{\mu_{m}} function. The dominated convergence theorem then allows passing to the limit, such that \|D_{z}f_{Q}(z_{2})-D_{z}f_{Q}(z_{1})\|_{\mathcal{Z}^{\prime}}\rightarrow 0\qquad\text{as }z_{2}\rightarrow z_{1}, which shows the continuity of D_{z}f_{Q} . ∎ A corollary of this result is that the cost function defined by the expectation of Q is continuously differentiable. Corollary B.3 . Consider the setting of Proposition B.2 . Then, the function \mathcal{J}:\mathcal{B}\rightarrow\mathbb{R} given by \mathcal{J}(z):=\mathbb{E}_{m\sim\mu_{m}}[Q(u(m,z),m,z)] (130) is continuously differentiable, and its derivative is given by D_{z}\mathcal{J}(z)=\mathbb{E}_{m\sim\mu_{m}}[D_{u}Q(u(m,z),m,z)D_{z}u(m,z)+D_{z}Q(u(m,z),m,z)]. (131) Proof. This follows from the chain rule, and the fact that the expectation \mathbb{E}_{\mu_{m}}[\cdot] is a continuous linear functional on L^{1}_{\mu_{m}} , and therefore is continuously differentiable. ∎ B.2.2 Proof of Proposition 2.2 We now present the proof for Proposition 2.2 . Proof. Recall that by Corollary B.3 , we have the following expressions for the derivatives of \mathcal{J}^{\mathrm{mean}}(z)=\mathbb{E}_{m\sim\mu_{m}}[Q(u(m,z),m,z)] and \mathcal{J}_{\theta}^{\mathrm{mean}}(z)=\mathbb{E}_{m\sim\mu_{m}}[Q(u_{\theta}(m,z),m,z)] , \displaystyle D_{z}\mathcal{J}^{\mathrm{mean}}(z) \displaystyle=\mathbb{E}_{m\sim\mu_{m}}[D_{u}Q(u(m,z),m,z)D_{z}u(m,z)+D_{z}Q(u(m,z),m,z)], \displaystyle D_{z}\mathcal{J}_{\theta}^{\mathrm{mean}}(z) \displaystyle=\mathbb{E}_{m\sim\mu_{m}}[D_{u}Q(u_{\theta}(m,z),m,z)D_{z}u_{\theta}(m,z)+D_{z}Q(u_{\theta}(m,z),m,z)]. We can write their difference using the following three terms \displaystyle\mathsf{D}_{1}(m,z) \displaystyle:=\left(D_{u}Q(u(m,z),m,z)-D_{u}Q(u_{\theta}(m,z),m,z)\right)D_{z}u(m,z), \displaystyle\mathsf{D}_{2}(m,z) \displaystyle:=D_{u}Q(u_{\theta}(m,z),m,z)\left(D_{z}u(m,z)-D_{z}u_{\theta}(m,z)\right), \displaystyle\mathsf{D}_{3}(m,z) \displaystyle:=D_{z}Q(u(m,z),m,z)-D_{z}Q(u_{\theta}(m,z),m,z), such that D_{z}\mathcal{J}^{\mathrm{mean}}(z)-D_{z}\mathcal{J}_{\theta}^{\mathrm{mean}}(z)=\mathbb{E}_{m\sim\mu_{m}}[\mathsf{D}_{1}(m,z)+\mathsf{D}_{2}(m,z)+\mathsf{D}_{3}(m,z)]. Consider now any z\in\mathcal{Z}_{ad} . We can bound the norms of each \mathsf{D}_{i} separately. To simplify the notation, we will use \|u(\cdot,z)\|_{L^{2}_{\mu_{m}}} to denote the state Bochner norm \|u(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathcal{U})} and \|D_{z}u(\cdot,z)\|_{L^{2}_{\mu_{m}}} to denote the derivative Bochner norm \|D_{z}u(\cdot,z)\|_{L^{2}_{\mu_{m}}(\mathcal{M};\mathrm{HS}(\mathcal{Z},\mathcal{U}))} (likewise for the errors). Moreover, we will make use of the fact that \|\cdot\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}\leq\|\cdot\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})} throughout, and will not explicitly note this in the derivations below. We then have the following: 1. For \mathsf{D}_{1} , we have \|\mathsf{D}_{1}(m,z)\|_{\mathcal{Z}^{\prime}}\leq\|D_{u}Q(u(m,z),m,z)-D_{u}Q(u_{\theta}(m,z),m,z)\|_{\mathcal{U}^{\prime}}\|D_{z}u(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}. The Lipschitz continuity of D_{u}Q then yields \|\mathsf{D}_{1}(m,z)\|_{\mathcal{Z}^{\prime}}\leq\kappa_{Q_{u}}\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}\|D_{z}u(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})} Then, taking expectations and using the Cauchy–Schwarz inequality, we have \displaystyle\mathbb{E}_{m\sim\mu_{m}}[\|\mathsf{D}_{1}(m,z)\|_{\mathcal{Z}^{\prime}}]\leq\kappa_{Q_{u}}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}\|D_{z}u(\cdot,z)\|_{L^{2}_{\mu_{m}}}\leq\kappa_{Q_{u}}M_{u_{z}}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}, where we have made use of the upper bound from Proposition B.1 . 2. For \mathsf{D}_{2} , we have \|\mathsf{D}_{2}(m,z)\|_{\mathcal{Z}^{\prime}}\leq\|D_{u}Q(u_{\theta}(m,z),m,z)\|_{\mathcal{U}^{\prime}}\|D_{z}u(m,z)-D_{z}u_{\theta}(m,z)\|_{\mathcal{L}(\mathcal{Z},\mathcal{U})}. We can further make use of the Lipschitz continuity of D_{u}Q to write \displaystyle\|D_{u}Q(u_{\theta}(m,z),m,z)\|_{\mathcal{U}^{\prime}} \displaystyle\leq\|D_{u}Q(0,m,z)\|_{\mathcal{U}^{\prime}}+\kappa_{Q_{u}}\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}+\kappa_{Q_{u}}\|u(m,z)\|_{\mathcal{U}} \displaystyle\leq M_{Q_{u}}+\kappa_{Q_{u}}\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}+\kappa_{Q_{u}}\|u(m,z)\|_{\mathcal{U}}. Taking expectations, and using Cauchy–Schwarz inequality along with the upper bound \|u(\cdot,z)\|_{L^{2}_{\mu_{m}}}\leq M_{u} from Proposition B.1 , we also have \displaystyle\mathbb{E}_{m\sim\mu_{m}}[\|\mathsf{D}_{2}(m,z)\|_{\mathcal{Z}^{\prime}}] \displaystyle\leq(M_{Q_{u}}+\kappa_{Q_{u}}M_{u})\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}} \displaystyle\qquad+\kappa_{Q_{u}}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}. Note that by Young’s inequality, ab\leq\tfrac{a^{2}}{2}+\tfrac{b^{2}}{2} , we can write this without cross terms as \displaystyle\mathbb{E}_{m\sim\mu_{m}}[\|\mathsf{D}_{2}(m,z)\|_{\mathcal{Z}^{\prime}}] \displaystyle\leq(M_{Q_{u}}+\kappa_{Q_{u}}M_{u})\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}} \displaystyle\qquad+\frac{\kappa_{Q_{u}}}{2}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}^{2}+\frac{\kappa_{Q_{u}}}{2}\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}^{2}. 3. Finally, for \mathsf{D}_{3} , we directly use ( 121 ) from Corollary B.1 , \|\mathsf{D}_{3}(m,z)\|_{\mathcal{Z}^{\prime}}\leq(M_{Q_{uz}}+\kappa_{Q_{uz}}\|u(m,z)\|_{\mathcal{U}})\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}+\frac{\kappa_{Q_{uz}}}{2}\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{2}. Again, taking expectations and using the Cauchy–Schwarz along with the upper bound from Proposition B.1 , we have \mathbb{E}_{m\sim\mu_{m}}[\|\mathsf{D}_{3}(m,z)\|_{\mathcal{Z}^{\prime}}]\leq\left(M_{Q_{uz}}+\kappa_{Q_{uz}}M_{u}\right)\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}+\frac{\kappa_{Q_{uz}}}{2}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}^{2}. Combining the above, we have \displaystyle\|D_{z}\mathcal{J}^{\mathrm{mean}}(z)-D_{z}\mathcal{J}_{\theta}^{\mathrm{mean}}(z)\|_{\mathcal{Z}^{\prime}} \displaystyle\leq C_{1}\left(\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}+\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}\right) \displaystyle\qquad+C_{2}\left(\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}^{2}+\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}^{2}\right), where C_{1},C_{2}>0 are constants depending on M_{Q_{u}},M_{Q_{uz}},\kappa_{Q_{u}},\kappa_{Q_{uz}},M_{u} but not u_{\theta} . ∎ Appendix C Universal Approximation Results In this section, we develop the proofs for the universal approximation property of RBNOs in terms of both the outputs and the derivatives ( Theorem 3.1 ), and its subsequent application to risk neutral optimization problems ( Theorem 3.2 ). In order to prove Theorem 3.1 , we decompose the approximation errors of an RBNO into the dimension reduction errors associated with projecting the inputs and outputs and the neural network approximation error in the resulting latent space. We bound each source of the approximation errors separately, beginning with the latent space neural network in Section C.1 followed by the dimension reduction in Section C.2 , before combining them into a proof of Theorem 3.1 in Section C.3 . The proof of Theorem 3.2 then follows from Theorem 3.1 along with Theorem 2.1 and Proposition 2.2 . Within this section, we will deviate from the notational conventions introduced in Remark 2.1 relating to the change of coordinates between spatial and reference domains. Namely, x will be used to denote generic vectors in \mathbb{R}^{d_{x}} , and \widetilde{\cdot} will not carry any implications about whether it is a spatial or reference domain quantities. C.1 Finite-Dimensional Neural Network Approximation We first prove a variant of the universal approximation theorem for neural networks in finite dimensions, which we state as follows. Theorem C.1 (Universal approximation on semibounded sets) . Let g\in C^{1}(\mathbb{R}^{d_{x}}\times\mathcal{B};\mathbb{R}^{d_{g}}) , where \mathcal{B}\subset\mathbb{R}^{d_{y}} is open and let \mu_{x} be a Borel probability measure on \mathbb{R}^{d_{x}} . Suppose that for some p\geq 1 , 1. the mapping \mathcal{B}\ni y\mapsto g(\cdot,y)\in L^{p}_{\mu_{x}}(\mathbb{R}^{d_{x}};\mathbb{R}^{d_{g}}) is continuous, and 2. the mapping \mathcal{B}\ni y\mapsto D_{y}g(\cdot,y)\in L^{p}_{\mu_{x}}(\mathbb{R}^{d_{x}};\mathbb{R}^{d_{g}\times d_{y}}) is continuous, where \mathbb{R}^{d_{g}\times d_{y}} is equipped with the Frobenius norm \|\cdot\|_{F} . Then for any \epsilon>0 and any compact set K_{y}\subset\mathcal{B} , there exists a GELU neural network g_{\theta} such that \sup_{y\in K_{y}}\mathbb{E}_{x\sim\mu_{x}}\left[\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}\right]+\mathbb{E}_{x\sim\mu_{x}}\left[\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}\right]<\epsilon^{p}. The result differs from conventional universal approximation results in two ways. First, the approximation accuracy considers both the output and the derivative error. Second, instead of considering approximation errors as either uniform over compact sets or integral quantities over distributions (with potentially unbounded support), we decompose the inputs into two sets of variables, here denoted x and y , where integration is performed over the former while the supremum is taken over the latter. This anticipates the differing roles of the two inputs for the solution operator (m,z)\mapsto u(m,z) , where integration is with respect to m while optimization is with respect to z . In this work, we prove Theorem C.1 following a cutoff argument used in Yao et al. 2025 . That is, we use conventional universal approximation results of feedforward neural networks over compact sets to construct a neural network \tilde{g} with high accuracy over a compact subset K_{x}\times K_{y}\subset\mathbb{R}^{d_{x}}\times\mathcal{B} . We then construct a cutoff function in the form of a second neural network such that when applied to \tilde{g} , controls the approximation error outside of the compact set K_{x}\times K_{y} . Finally, we show that this construction can be taken to the limit as K_{x} approaches the entire \mathbb{R}^{d_{x}} , allowing the L^{p}_{\mu_{x}} error over \mathbb{R}^{d_{x}} to be made arbitrarily small uniformly over y\in K_{y} . We present proof of Theorem C.1 follows. First, we show how an appropriate cutoff function can be constructed as a neural network ( Lemmas C.2 , C.3 and C.4 ). We then show how the cutoff function can be used in combination with standard universal approximation results to construct approximations of g that are accurate within a compact set while having controlled growth rates outside of the compact set ( Lemmas C.5 and C.6 ). Finally, in Section C.1.3 , we complete the proof for Theorem C.1 by combining the aforementioned results through the limiting argument taking K_{x} to \mathbb{R}^{d_{x}} . C.1.1 Neural Network Constructions In order to construct the cutoff function, we first require an approximation of the norm function \|\cdot\| as a neural network. As shown in [ Yao et al. 2025 , Lemma D.4] , we can use GELU activation functions to construct an approximation of the absolute value function |\cdot| . We summarize this result as follows. Lemma C.1 (Absolute value function) . Given \theta>0 , define for x\in\mathbb{R} f_{\mathrm{abs}}(x;\theta):=\frac{\sigma_{\mathrm{GELU}}(\theta x)+\sigma_{\mathrm{GELU}}(-\theta x)}{\theta}, (132) Then, for any \epsilon>0 , there exists \theta>0 such that \left|f_{\mathrm{abs}}(x;\theta)-|x|\right|\leq\epsilon (133) and f_{\mathrm{abs}}(x;\theta)\geq 0 for all x\in\mathbb{R} . We can then use this to construct an approximation to the \ell_{1} norm as follows. Lemma C.2 ( \ell_{1} norm) . Given \theta>0 , define for x\in\mathbb{R}^{d_{x}} f_{\ell_{1}}(x;\theta):=\mathbf{1}^{T}\frac{\sigma_{\mathrm{GELU}}(\theta x)+\sigma_{\mathrm{GELU}}(-\theta x)}{\theta}, (134) where \mathbf{1}:=(1,\dots,1)\in\mathbb{R}^{d_{x}} . Then, for any \epsilon>0 , there exists \theta>0 such that \left|f_{\ell_{1}}(x;\theta)-\|x\|_{1}\right|\leq\epsilon (135) and f_{\ell_{1}}(x;\theta)\geq 0 for all x\in\mathbb{R}^{d_{x}} . Proof. As shown in Lemma C.1 , the GELU activation function can be used to construct an approximation of the absolute value function on \mathbb{R} . Then, for any \epsilon , there exists \theta>0 such that f_{\mathrm{abs}}(t;\theta):=\frac{\sigma_{\mathrm{GELU}}(\theta t)+\sigma_{\mathrm{GELU}}(-\theta t)}{\theta}, (136) satisfies f_{\mathrm{abs}}(t;\theta)\geq 0 and |f_{\mathrm{abs}}(t;\theta)-|t||\leq\epsilon/d_{x} for all t\in\mathbb{R} . This implies that for x\in\mathbb{R}^{d_{x}} , we have f_{\ell_{1}}(x;\theta)\geq 0 and |f_{\ell_{1}}(x;\theta)-\|x\|_{1}|\leq\sum_{j=1}^{d_{x}}\left|f_{\mathrm{abs}}(x_{j};\theta)-|x_{j}|\right|\leq\epsilon. ∎ The GELU activation function can also be used to construct a cutoff function \tilde{f}_{\mathrm{cut}} on \mathbb{R} , i.e., \tilde{f}_{\mathrm{cut}}(t)\approx 1 for t\leq R while \tilde{f}_{\mathrm{cut}}(t)\approx 0 for t\gg R . The following is a simplified statement of [ Yao et al. 2025 , Lemma D.5] . Lemma C.3 (Cutoff function) . Given \theta,b>0 , define for x\in\mathbb{R} \tilde{f}_{\mathrm{cut}}(x;\theta,b):=\frac{\sigma_{\mathrm{GELU}}(\theta(x-b-1))-\sigma_{\mathrm{GELU}}(\theta(x-b))}{\theta}+1. (137) Then, for any \epsilon>0 and R>1 , there exist \theta,b>0 such that the following hold: \begin{cases}|\tilde{f}_{\mathrm{cut}}(x;\theta,b)-1|\leq\epsilon&0\leq x\leq R,\\ |\tilde{f}_{\mathrm{cut}}(x;\theta,b)|\leq\epsilon&x\geq 4R,\\ \end{cases} (138) Additionally, there exists M>0 independent of \theta,b such that |\tilde{f}_{\mathrm{cut}}(x;\theta,b)|\leq M for all x\in\mathbb{R} . Lemmas C.2 and C.3 can then be used to construct a cutoff function based on the \ell_{2} norm of the input. Lemma C.4 (Cutoff function using \ell_{2} norm) . There exists M>0 such that for any \epsilon>0 and R>1 , there exists a two-layer GELU neural network f_{\mathrm{cut}}:\mathbb{R}^{d_{x}}\rightarrow\mathbb{R} satisfying \begin{cases}|f_{\mathrm{cut}}(x)-1|\leq\epsilon&0\leq\|x\|_{2}\leq R,\\ |f_{\mathrm{cut}}(x)|\leq\epsilon&\|x\|_{2}\geq 5(\sqrt{d_{x}}+1)R,\\ |f_{\mathrm{cut}}(x)|\leq M&x\in\mathbb{R}^{d_{x}}.\end{cases} (139) Proof. We define f_{\mathrm{cut}}(x)=f_{\mathrm{cut}}(x;\theta_{\ell_{1}},\theta_{\mathrm{cut}},b_{\mathrm{cut}}) as the composition of f_{\ell_{1}} and \tilde{f}_{\mathrm{cut}} , i.e., f_{\mathrm{cut}}(x;\theta_{\ell_{1}},\theta_{\mathrm{cut}},b_{\mathrm{cut}})=\tilde{f}_{\mathrm{cut}}(f_{\ell_{1}}(x;\theta_{\ell_{1}});\theta_{\mathrm{cut}},b_{\mathrm{cut}}). (140) We will choose the cutoff radius for \tilde{f}_{\mathrm{cut}} to account for the conversion for \ell_{1} to \ell_{2} , i.e., \|x\|_{2}\leq\|x\|_{1}\leq\sqrt{d_{x}}\|x\|_{2} . To this end, let \epsilon,R be given. We construct f_{\ell_{1}} to satisfy |f_{\ell_{1}}(x)-\|x\|_{1}|\leq R,\qquad\forall x\in\mathbb{R}^{d_{x}}, and \tilde{f}_{\mathrm{cut}} to satisfy \begin{cases}|\tilde{f}_{\mathrm{cut}}(x;\theta,b)-1|\leq\epsilon&0\leq x\leq\tilde{R},\\ |\tilde{f}_{\mathrm{cut}}(x;\theta,b)|\leq\epsilon&x\geq 4\tilde{R},\\ |\tilde{f}_{\mathrm{cut}}(x;\theta,b)|\leq M&x\in\mathbb{R}^{d_{x}},\\ \end{cases} where \tilde{R}:=(\sqrt{d_{x}}+1)R . We then consider the following cases. 1. \|x\|_{2}\leq R . We have f_{\ell_{1}}(x)\leq\|x\|_{1}+R\leq(\sqrt{d_{x}}+1)R=\tilde{R}, implying that |\tilde{f}_{\mathrm{cut}}(f_{\ell_{1}}(x))-1|\leq\epsilon . 2. \|x\|_{2}\geq 5(\sqrt{d_{x}}+1)R . We have f_{\ell_{1}}(x)\geq\|x\|_{1}-R\geq 5(\sqrt{d_{x}}+1)R-R\geq 4\tilde{R}, implying that |\tilde{f}_{\mathrm{cut}}(f_{\ell_{1}}(x))|\leq\epsilon . Finally, |f_{\mathrm{cut}}(x)|\leq M holds for any x\in\mathbb{R}^{d_{x}} with the same M from Lemma C.3 . Since, both \tilde{f}_{\mathrm{cut}} and f_{\ell_{1}} can be interpreted as single-layered neural networks, their resulting composition f_{\mathrm{cut}}(x) is a two-layered neural network. ∎ C.1.2 Neural Network Approximations with Controlled Growth Universal approximation theorems, such as [ Pinkus 1999 , Theorem 4.1] show that single-layer neural networks are able to approximate continuously differentiable functions arbitrarily-well in terms of both their output value and their derivatives over compact input domains. As a corollary, we can show that for GELU activation functions, the resulting approximant can be constructed to have globally bounded outputs and derivatives despite the fact that GELU itself is unbounded. Lemma C.5 (Bounded approximation on compact sets) . Suppose g\in C^{1}(\mathbb{R}^{d_{x}}\times\mathcal{B};\mathbb{R}^{d_{g}}) where \mathcal{B}\subset\mathbb{R}^{d_{y}} is open. Then, for any \epsilon>0 and compact sets K_{x}\subset\mathbb{R}^{d_{x}} and K_{y}\subset\mathcal{B} , there exists a single-layer GELU neural network g_{\theta} such that simultaneously \sup_{(x,y)\in K_{x}\times K_{y}}\|g(x,y)-g_{\theta}(x,y)\|_{2}\leq\epsilon, (141) and \sup_{(x,y)\in K_{x}\times K_{y}}\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}\leq\epsilon. (142) Moreover, g_{\theta} and its derivatives are bounded, i.e., there exists M=M(\epsilon)>0 such that simultaneously \sup_{(x,y)\in\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}}}\|g_{\theta}(x,y)\|_{2}\leq M (143) and \sup_{(x,y)\in\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}}}\|D_{y}g_{\theta}(x,y)\|_{F}\leq M. (144) Proof. First, consider the function \sigma(x)=\sigma_{\mathrm{GELU}}(x+1)-\sigma_{\mathrm{GELU}}(x-1) . It can be shown that \sigma\in C^{\infty}(\mathbb{R}) and \sup_{x\in\mathbb{R}}|\sigma^{(k)}(x)|<\infty for all k\in\{0\}\cup\mathbb{N} . That is, \sigma is a smooth, non-constant function with bounded output and derivatives. Now, let \xi:=(x,y) and K:=K_{x}\times K_{y} . By standard universal approximation theorems, such as [ Pinkus 1999 , Theorem 4.1] , there exists a single-layered neural network of the form g_{\theta}(\xi)={W}_{2}\sigma({W}_{1}\xi+{b}_{1})+{b}_{2} (145) such that simultaneously \sup_{\xi\in K}\|g(\xi)-g_{\theta}(\xi)\|_{2}\leq\epsilon (146) and \sup_{\xi\in K}\|D_{\xi}g(\xi)-D_{\xi}g_{\theta}(\xi)\|_{F}\leq\epsilon. (147) We recognize that g_{\theta}(\xi) can instead be written as g_{\theta}={W}_{2}(\sigma_{\mathrm{GELU}}({W}_{1}\xi+{b}_{1}+1)-\sigma_{\mathrm{GELU}}({W}_{1}\xi+{b}_{1}-1))+{b}_{2}, (148) which can be thought of as a single-layer GELU neural network. Moreover, since \sigma has bounded values and derivatives, we have that D_{\xi}g_{\theta}(\xi) is bounded for all \xi\in\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}}. Finally, it suffices to recognize that \|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}\leq\|D_{\xi}g(\xi)-D_{\xi}g_{\theta}(\xi)\|_{F}. ∎ Remark C.1 . Within the proof above, we have referenced universal approximation theorems that consider the approximation of functions defined on the entire input space, e.g., g\in C^{1}(\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}};\mathbb{R}^{d_{g}}) , while we have only assumed that g is defined on the open subset \mathbb{R}^{d_{x}}\times\mathcal{B} . This is largely inconsequential for the following reason. Since K\Subset\mathbb{R}^{d_{x}}\times\mathcal{B} , where \Subset denotes a compact embedding, there exist open sets \mathcal{B}_{1},\mathcal{B}_{2} such that K\Subset\mathcal{B}_{1}\Subset\mathcal{B}_{2}\Subset\mathcal{B} . Moreover, for the closure \mathrm{cl}(\mathcal{B}_{1}) , we consider a smooth external approximation to the indicator function, \mathbbm{1}_{\mathrm{cl}(\mathcal{B}_{1})}\in C^{\infty}(\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}};\mathbb{R}) , such that \mathbbm{1}_{\mathrm{cl}(\mathcal{B}_{1})}|_{\mathcal{B}_{1}}=1 and \mathbbm{1}_{\mathrm{cl}(\mathcal{B}_{1})}|_{\mathcal{B}_{2}^{c}}=0 . This can be used to define \tilde{g}(x,y)=\mathbbm{1}_{\mathrm{cl}(\mathcal{B}_{1})}(x,y)g(x,y) , which we extend by 0 to y\notin\mathcal{B} . The extension \tilde{g} is therefore in C^{1}(\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}};\mathbb{R}^{d_{g}}) and its outputs and derivatives coincide with g over the set K . It suffices then to consider a neural network approximation g_{\theta} of \tilde{g} instead of g when using the conventional universal approximation theorems. Lemma C.6 (Bounded approximation on semi-bounded sets) . Suppose g\in C^{1}(\mathbb{R}^{d_{x}}\times\mathcal{B};\mathbb{R}^{d_{g}}) where \mathcal{B}\subset\mathbb{R}^{d_{y}} is open. Then, for any compact subset K_{y}\subset\mathcal{B} , \epsilon>0,R>1 , and p\geq 1 , there exists a three-layer GELU neural network g_{\theta} such that simultaneously \sup_{\|x\|_{2}\leq R,y\in K_{y}}\|g(x,y)-g_{\theta}(x,y)\|_{2}\leq\epsilon, (149) and \sup_{\|x\|_{2}\leq R,y\in K_{y}}\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}\leq\epsilon. (150) Moreover, g_{\theta} can be chosen such that \|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}\leq C_{p}(\|g(x,y)\|_{2}^{p}+1) (151) and \|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}\leq C_{p}(\|D_{y}g(x,y)\|_{F}^{p}+1) (152) for all x\in\mathbb{R}^{d_{x}} and y\in K_{y} , where C_{p}>0 is a fixed constant that does not depend on \epsilon or R . Proof. Our strategy is as follows. We first use Lemma C.5 to construct a bounded approximation \tilde{g}_{\theta} to g on a compact set. We then control the growth of the approximation \tilde{g}_{\theta} in the x direction by (approximately) multiplying it by a cutoff function \tilde{f}_{\mathrm{cut}} . To this end, let g,\epsilon,R be given. For any \epsilon_{g}>0 , Lemma C.5 allows us to construct \tilde{g}_{\theta} , a bounded approximation of g over the compact sets K_{x}:=\{\|x\|_{2}\leq 4(\sqrt{d_{x}}+1)R\} and K_{y} , such that \sup_{(x,y)\in K_{x}\times K_{y}}\|g(x,y)-\tilde{g}_{\theta}(x,y)\|_{2}\leq\epsilon_{g},\qquad\sup_{(x,y)\in K_{x}\times K_{y}}\|D_{y}g(x,y)-D_{y}\tilde{g}_{\theta}(x,y)\|_{F}\leq\epsilon_{g}, and \sup_{(x,y)\in\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}}}\|\tilde{g}_{\theta}(x,y)\|_{2}\leq M_{g},\qquad\sup_{(x,y)\in\mathbb{R}^{d_{x}}\times\mathbb{R}^{d_{y}}}\|D_{y}\tilde{g}_{\theta}(x,y)\|_{F}\leq M_{g}, noting that M_{g}=M_{g}(\epsilon_{g}) . For an arbitrary \epsilon_{\mathrm{cut}}>0 , we also consider the cutoff function f_{\mathrm{cut}}(x) from Lemma C.4 satisfying \begin{cases}|f_{\mathrm{cut}}(x)-1|\leq\epsilon_{\mathrm{cut}}&\|x\|_{2}\leq R\\ |f_{\mathrm{cut}}(x)|\leq\epsilon_{\mathrm{cut}}&\|x\|_{2}\geq 5(\sqrt{d_{x}}+1)R\\ |f_{\mathrm{cut}}(x)|\leq M_{\mathrm{cut}}&x\in\mathbb{R}^{d_{x}},\end{cases} where M_{\mathrm{cut}} does not depend on \epsilon_{\mathrm{cut}} or R . Finally, we consider a single-layered neural network approximation f_{\times} of the multiplication function \times(t_{1},t_{2})=t_{1}t_{2} , such that \|f_{\times}-\times(\cdot,\cdot)\|_{C^{1}(B)}\leq\epsilon_{\times}, for an arbitrary \epsilon_{\times}>0 , where B=[-M_{\mathrm{cut}},M_{\mathrm{cut}}]\times[-M_{g},M_{g}] . This is again possible by standard universal approximation results Pinkus 1999 . We then take g_{\theta}(x,y):=f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))\approx f_{\mathrm{cut}}(x)\tilde{g}_{\theta}(x,y), which is a three-layer neural network since \tilde{f}_{\mathrm{cut}} is a two-layer neural network. This has the derivative D_{y}g_{\theta}(x,y)=D_{2}f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))D_{y}\tilde{g}_{\theta}(x,y), where D_{2} refers to partial differentiation with respect to the second variable. Note that this construction where f_{\times} is chosen based on the output range of f_{\mathrm{cut}}(x) and \tilde{g} ensures that \|f_{\mathrm{cut}}(x)\tilde{g}(x,y)-f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}(x,y))\|_{2}\leq\epsilon_{\times} and \|f_{\mathrm{cut}}(x)I-D_{2}f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}(x,y))\|_{F}\leq\epsilon_{\times} for all x\in\mathbb{R}^{d_{x}} and y\in\mathbb{R}^{d_{y}} . We now consider the following cases for x\in\mathbb{R}^{d_{x}} given that y\in K_{y} 1. \|x\|_{2}\leq R . By the triangle inequality, we have \displaystyle\|g(x,y)-g_{\theta}(x,y)\|_{2} \displaystyle\qquad\leq\|g(x,y)-\tilde{g}_{\theta}(x,y)\|_{2}+\|(1-f_{\mathrm{cut}}(x))\tilde{g}_{\theta}(x,y)\|_{2}+\|f_{\mathrm{cut}}(x)\tilde{g}_{\theta}(x,y)-f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))\|_{2}. Since \|x\|_{2}\leq R , we have \|g(x,y)-g_{\theta}(x,y)\|_{2}\leq\epsilon_{g} and |1-f_{\mathrm{cut}}(x)|\leq\epsilon_{\mathrm{cut}} . Thus, \|g(x,y)-g_{\theta}(x,y)\|_{2}\leq\epsilon_{g}+\epsilon_{\mathrm{cut}}M_{g}+\epsilon_{\times}. By analogous reasoning, we have \displaystyle\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F} \displaystyle\leq\|D_{y}g(x,y)-D_{y}\tilde{g}_{\theta}(x,y)\|_{F} \displaystyle\qquad+\|(1-f_{\mathrm{cut}}(x))D_{y}\tilde{g}_{\theta}(x,y)\|_{F} \displaystyle\qquad+\|f_{\mathrm{cut}}(x)D_{y}\tilde{g}_{\theta}(x,y)-D_{2}f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))D_{y}\tilde{g}_{\theta}(x,y)\|_{F} \displaystyle\leq\epsilon_{g}+\epsilon_{\mathrm{cut}}M_{g}+\epsilon_{\times}M_{g}. 2. \|x\|_{2}\geq 5(\sqrt{d_{x}}+1)R . We have \displaystyle\|g(x,y)-g_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+\|g_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+|f_{\mathrm{cut}}(x)|\|\tilde{g}_{\theta}(x,y)\|_{2}+\|f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))-f_{\mathrm{cut}}(x)\tilde{g}_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+\epsilon_{\mathrm{cut}}M_{g}+\epsilon_{\times} and \displaystyle\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}\leq\|D_{y}g(x,y)\|_{F}+\|D_{y}g_{\theta}(x,y)\|_{F} \displaystyle\leq\|D_{y}g(x,y)\|_{F}+\|f_{\mathrm{cut}}(x)D_{y}\tilde{g}_{\theta}(x,y)\|_{F}+\|f_{\mathrm{cut}}(x)D_{y}\tilde{g}_{\theta}(x,y)-D_{2}f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))D_{y}\tilde{g}_{\theta}(x,y)\|_{F} \displaystyle\leq\|D_{y}g(x,y)\|_{F}+\epsilon_{\mathrm{cut}}M_{g}+\epsilon_{\times}M_{g}. 3. \|x\|_{2}<5(\sqrt{d_{x}}+1)R . We have \displaystyle\|g(x,y)-g_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+\|g_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+|f_{\mathrm{cut}}(x)|\|\tilde{g}_{\theta}(x,y)\|_{2}+\|f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))-f_{\mathrm{cut}}(x)\tilde{g}_{\theta}(x,y)\|_{2} \displaystyle\leq\|g(x,y)\|_{2}+M_{\mathrm{cut}}(\|g(x,y)\|_{2}+\epsilon_{g})+\epsilon_{\times}, and \displaystyle\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}\leq\|D_{y}g(x,y)\|_{F}+\|D_{y}g_{\theta}(x,y)\|_{F} \displaystyle\leq\|D_{y}g(x,y)\|_{F}+\|f_{\mathrm{cut}}(x)D_{y}\tilde{g}_{\theta}(x,y)\|_{F}+\|f_{\mathrm{cut}}(x)D_{y}\tilde{g}_{\theta}(x,y)-D_{2}f_{\times}(f_{\mathrm{cut}}(x),\tilde{g}_{\theta}(x,y))D_{y}\tilde{g}_{\theta}(x,y)\|_{F} \displaystyle\leq\|D_{y}g(x,y)\|_{F}+M_{\mathrm{cut}}(\|D_{y}g(x,y)\|_{F}+\epsilon_{g})+\epsilon_{\times}M_{g}. Thus, it suffices to choose the approximations with the error tolerances \epsilon_{g}\leq\min\left\{\frac{\epsilon}{3},\frac{1}{2M_{\mathrm{cut}}}\right\},\qquad\epsilon_{\mathrm{cut}}\leq\min\left\{\frac{\epsilon}{3M_{g}},\frac{1}{2{M_{g}}}\right\},\qquad\epsilon_{\times}\leq\min\left\{\frac{\epsilon}{3},\frac{\epsilon}{3M_{g}},\frac{1}{2},\frac{1}{2M_{g}}\right\}. Under these choices, the errors satisfy ( 149 )–( 152 ) with p=1 using the constant C_{1}:=1+M_{\mathrm{cut}} . Now, for arbitrary p\geq 1 , we have \|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}\leq C_{1}^{p}\left(\|g(x,y)\|_{2}+1\right)^{p}\leq 2^{p-1}C_{1}^{p}\left(\|g(x,y)\|_{2}^{p}+1\right), where we have made use of the inequality (a+b)^{p}\leq 2^{p-1}(a^{p}+b^{p}) . Thus, for any p\geq 1 , ( 151 ) and ( 152 ) hold with C_{p}=2^{p-1}C_{1}^{p} . ∎ C.1.3 Proof of Theorem C.1 We can now complete the proof of Theorem C.1 . Proof. We consider neural network approximations g_{\theta} that belong to the family of approximations satisfying Lemma C.6 . Given such a g_{\theta} , consider the error for a particular y\in K_{y} , i.e., \displaystyle\mathbb{E}_{x\sim\mu_{x}}[\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}] \displaystyle=\int\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x), \displaystyle\mathbb{E}_{x\sim\mu_{x}}[\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}] \displaystyle=\int\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x). For any R>1 , let B_{R}:=\{\|x\|_{2}\leq R\} and B_{R}^{c}:=\{\|x\|_{2}>R\} . We can decompose the integrals into \displaystyle\int\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x)=\int_{B_{R}}\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x)+\int_{B_{R}^{c}}\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x) and \displaystyle\int\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x), \displaystyle=\int_{B_{R}}\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x) \displaystyle\quad+\int_{B_{R}^{c}}\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x). In particular, for g_{\theta} coming from Lemma C.6 , we can use the global bound of the error to write this as \displaystyle\int\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x)\leq\int_{B_{R}}\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}d\mu_{x}(x)+C_{p}\int_{B_{R}^{c}}\left(\|g(x,y)\|_{2}^{p}+1\right)d\mu_{x}(x) (153) and \displaystyle\int\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x) \displaystyle\leq\int_{B_{R}}\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x) \displaystyle\qquad+C_{p}\int_{B_{R}^{c}}\left(\|D_{y}g(x,y)\|_{F}^{p}+1\right)d\mu_{x}(x), (154) where C_{p} is independent of the particular choice of g_{\theta} . The approximation strategy is as follows. We first choose R>1 to be sufficiently large such that the errors \displaystyle e_{R}^{0}(y) \displaystyle:=C_{p}\int_{B_{R}^{c}}\left(\|g(x,y)\|_{2}^{p}+1\right)d\mu_{x}(x) \displaystyle e_{R}^{1}(y) \displaystyle:=C_{p}\int_{B_{R}^{c}}\left(\|D_{y}g(x,y)\|_{F}^{p}+1\right)d\mu_{x}(x) are uniformly small for y\in K_{y} . Subsequently, for the selected R , we choose g_{\theta} to accurately approximate g on the compact set B_{R}\times K_{y} such that the overall error is bounded by \epsilon^{p} . We begin by showing that e_{R}^{0}(y) and e_{R}^{1}(y) converge uniformly to zero over K_{y} as R\rightarrow\infty . Consider first the output error, e_{R}^{0}(y) . By the dominated convergence theorem, we have that e_{R}^{0}(y)\downarrow 0 as R\rightarrow\infty for all y\in\mathcal{B} , where \downarrow indicates that the convergence is monotonic, i.e., e_{R}^{0}\rightarrow 0 and e_{R_{1}}^{0}(y)\geq e_{R_{2}}^{(0)}(y) whenever R_{1}\leq R_{2} . Moreover, e_{R}^{0}(y) is continuous. To see this, we begin by noting that e_{R}^{0}(y) can be decomposed into two integrals, e_{R}^{0}(y)=C_{p}\int_{B_{R}^{c}}\|g(x,y)\|_{2}^{p}d\mu_{x}(x)+C_{p}\int_{B_{R}^{c}}1d\mu_{x}(x). The term C_{p}\int_{B_{R}^{c}}1d\mu_{x}(x)=C_{p}\mu_{x}(B_{R}^{c}) is clearly continuous with respect to y . We therefore focus on the continuity of y\mapsto C_{p}\int_{B_{R}^{c}}\|g(x,y)\|_{2}^{p}d\mu_{x}(x)=C_{p}\|\mathbbm{1}_{B_{R}^{c}}g(\cdot,y)\|_{L^{p}_{\mu_{x}}}^{p}, (155) where \mathbbm{1}_{B_{R}^{c}} denotes the indicator function for the set B_{R}^{c} . To this end, we consider y_{1},y_{2}\in\mathcal{B} . The reverse triangle inequality yields \left|\|\mathbbm{1}_{B_{R}^{c}}(\cdot)g(\cdot,y_{2})\|_{L^{p}_{\mu_{x}}}-\|\mathbbm{1}_{B_{R}^{c}}(\cdot)g(\cdot,y_{1})\|_{L^{p}_{\mu_{x}}}\right|\leq\|\mathbbm{1}_{B_{R}^{c}}(\cdot)\left(g(\cdot,y_{2})-g(\cdot,y_{1})\right)\|_{L^{p}_{\mu_{x}}}.\leq\|g(\cdot,y_{2})-g(\cdot,y_{1})\|_{L^{p}_{\mu_{x}}}. From the assumed continuity of the mapping \mathcal{B}\ni y\mapsto g(\cdot,y_{2})\in L^{p}_{\mu_{x}} , we have that \|g(\cdot,y_{2})-g(\cdot,y_{1})\|_{L^{p}_{\mu_{x}}}\rightarrow 0\qquad\text{as }y_{2}\rightarrow y_{1}. Hence, the mapping \mathcal{B}\ni y\mapsto\mathbbm{1}_{B_{R}^{c}}g(\cdot,y)\in L^{p}_{\mu_{x}} is continuous, and by extension, so is the mapping ( 155 ). Dini’s theorem then implies that the convergence of e_{R}^{0}(y)\downarrow 0 is uniform over y\in K_{y}\Subset\mathcal{B} . Using analogous reasoning, we can also show that the same is true of e_{R}^{1}(y) . Now, let \epsilon>0 be arbitrary. By the above results, there exists an R>1 such that \sup_{y\in K_{y}}e_{R}^{0}(y)+e_{R}^{1}(y)\leq\frac{\epsilon^{p}}{2}. (156) For this choice of R>1 , Lemma C.6 yields the existence of a g_{\theta} such that \sup_{x\in B_{R},y\in K_{y}}\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}+\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}\leq\frac{\epsilon^{p}}{2}. (157) Substituting ( 157 ) and ( 156 ) into ( 153 ) and ( C.1.3 ) yields \int\|g(x,y)-g_{\theta}(x,y)\|_{2}^{p}+\|D_{y}g(x,y)-D_{y}g_{\theta}(x,y)\|_{F}^{p}d\mu_{x}(x)\leq\epsilon^{p} for every y\in K_{y} , which is the desired result. ∎ C.2 Dimension Reduction Errors for Lipschitz Smooth Operators Recall that we are interested in the approximation capabilities of the reduced basis architecture u_{\theta}(m,z)=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)+b_{u}, where \mathbf{\Phi}_{r_{u}} and \mathbf{\Psi}_{r_{m}} refer to the decoding onto the reduced orthonormal bases \{\phi_{i}\}_{i=1}^{r_{u}} and \{\psi_{i}\}_{i=1}^{r_{m}} of \mathcal{U} and \mathcal{M} , respectively. We first show that for any orthonormal bases \{\phi_{i}\}_{i=1}^{\infty} and \{\psi_{i}\}_{i=1}^{\infty} dimension reduction errors can be made arbitrarily small by choosing sufficiently large r_{u} and r_{m} . We begin with the output case. Lemma C.7 (Output dimensionality reduction error) . Suppose that u satisfies 2.1 with the Borel probability measure \mu_{m} , compact admissible set \mathcal{Z}_{ad} , and open set \mathcal{B}\supset\mathcal{Z}_{ad} for some p\geq 2 . Let \{\phi_{i}\}_{i=1}^{\infty} be an orthonormal basis of \mathcal{U} and P_{\mathcal{U},r}=\sum_{i=1}^{r}\phi_{i}\phi_{i}^{T} be the orthogonal projection onto the reduced basis \{\phi_{i}\}_{i=1}^{r} . Then, for any \epsilon>0 , there exists r_{\epsilon}\in\mathbb{N} such that simultaneously \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r})u(m,z)\|_{\mathcal{U}}^{p}]\leq\epsilon^{p} and \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\epsilon^{p}, whenever r\geq r_{\epsilon} . Proof. Consider first the output projection error. We define e_{r}^{0}(z):=\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r})u(m,z)\|_{\mathcal{U}}^{p}]. We claim that e_{r}^{0}(z) is continuous over the compact set \mathcal{Z}_{ad} for every r\in\mathbb{N} and converges monotonically to zero for every z\in\mathcal{Z}_{ad} , By Dini’s theorem, this then implies that the convergence to zero is uniform over \mathcal{Z}_{ad} . To see continuity, we consider the mapping \mathcal{B}\ni z\mapsto(I-P_{\mathcal{U},r})u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U}) . Since (I-P_{\mathcal{U},r}) is a projection, for every z_{1},z_{2}\in\mathcal{B} we have that \|(I-P_{\mathcal{U},r})u(\cdot,z_{2})-(I-P_{\mathcal{U},r})u(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}}^{p}\leq\|u(\cdot,z_{2})-u(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}}^{p}. (158) By Proposition B.1 , \mathcal{B}\ni z\mapsto u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U}) is continuous, and thus when combined with ( 158 ) implies that \mathcal{B}\ni z\mapsto(I-P_{\mathcal{U},r})u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U}) is also continuous. To see pointwise monotonic convergence, we note that for every m\in\mathcal{M} and z\in\mathcal{Z}_{ad} , we have that \|(I-P_{\mathcal{U},r})u(m,z)\|_{\mathcal{U}}^{p}\downarrow 0 as r\rightarrow\infty , where \downarrow again denotes monotonic convergence. This implies that the sequence of errors are monotonically decreasing, since e_{r_{1}}^{0}(z)=\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{1}})u(m,z)\|_{\mathcal{U}}^{p}]\leq\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{2}})u(m,z)\|_{\mathcal{U}}^{p}]=e_{r_{2}}^{0}(z) whenever r_{1}\geq r_{2} . Moreover, since the integrand is bounded by \|(I-P_{\mathcal{U},r})u(m,z)\|_{\mathcal{U}}^{p}\leq\|u(m,z)\|_{\mathcal{U}}^{p}, we have the dominating function \|u(\cdot,z)\|_{\mathcal{U}}^{p} , which is integrable given that u(\cdot,z)\in L^{p}_{\mu_{m}}(\mathcal{M};\mathcal{U}) . Thus, the dominated convergence theorem implies that e_{r}^{0}(z)\downarrow 0 for every z\in\mathcal{Z}_{ad} , A similar procedure can be performed for the derivative error. That is, we can define e_{r}^{1}(z):=\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}], which is again continuous due to Proposition B.1 . Moreover, we can rewrite the Hilbert–Schmidt norm as \|(I-P_{\mathcal{U},r})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}=\|D_{z}u(m,z)^{*}(I-P_{\mathcal{U},r})\|_{\mathrm{HS}(\mathcal{U},\mathcal{Z})}^{p}=\left(\sum_{i>r}^{\infty}\|D_{z}u(m,z)^{*}\phi_{i}\|_{\mathcal{Z}}^{2}\right)^{p/2}, which converges monotonically to zero for every z\in\mathcal{Z}_{ad} as r\rightarrow\infty and is dominated by the integrable function \|D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p} . Once again, the dominated convergence theorem and Dini’s theorem together implies that e_{r}^{1}(z)\downarrow 0 uniformly for z\in\mathcal{B} . Since the convergence of both e_{r}^{0} and e_{r}^{1} is monotonic and uniform, it remains to select r_{\epsilon} such that both errors are small, i.e., \sup_{z\in\mathcal{Z}_{ad}}e_{r_{\epsilon}}^{0}(z)\leq\epsilon^{p},\quad\sup_{z\in\mathcal{Z}_{ad}}e_{r_{\epsilon}}^{1}\leq\epsilon^{p}. The error bounds then hold for any r\geq r_{\epsilon} . ∎ Lemma C.8 (Partial input dimensionality reduction) . Suppose u satisfies 2.1 with the Borel probability measure \mu_{m} , compact admissible set \mathcal{Z}_{ad} , and open set \mathcal{B}\supset\mathcal{Z}_{ad} for some p\geq 2 . Let \{\psi_{i}\}_{i=1}^{\infty} be an orthonormal basis of \mathcal{M} and let P_{\mathcal{M},r}=\sum_{i=1}^{r}\psi_{i}\psi_{i}^{T} be the orthogonal projection onto the reduced basis \{\psi_{i}\}_{i=1}^{r} . Then for any \epsilon>0 , there exists r_{\epsilon}\in\mathbb{N} such that simultaneously \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u(P_{\mathcal{M},r}m,z)\|_{\mathcal{U}}^{p}]\leq\epsilon^{p} and \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u(P_{\mathcal{M},r}m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\epsilon^{p} whenever r\geq r_{\epsilon} Proof. By the Lipschitz continuity from 2.1 , we have \mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u(P_{\mathcal{M},r}m,z)\|_{\mathcal{U}}^{p}\|\leq\kappa_{u}^{p}\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}]. and \mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u(P_{\mathcal{M},r}m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\kappa_{u_{z}}^{p}\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}]. For the upper bounds, the integrand \|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}\downarrow 0 as r\rightarrow\infty for every m\in\mathcal{M} . Moreover, \|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}\leq\|m\|_{\mathcal{M}}^{p} , where \|m\|_{\mathcal{M}}^{p} is assumed to be integrable by our moment assumption on \mu_{m} . Thus, the upper bound \mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}]\downarrow 0 as r\rightarrow\infty . It suffices to choose a sufficiently large r_{\epsilon} such that \mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{M},r})m\|_{\mathcal{M}}^{p}]\leq\epsilon^{p}\min\left\{\frac{1}{\kappa_{u}^{p}},\frac{1}{\kappa_{u_{z}}^{p}}\right\}, for which the desired error bounds hold. ∎ Lemma C.9 (Joint truncation errors) . Suppose u satisfies 2.1 with the Borel probability measure \mu_{m} , compact admissible set \mathcal{Z}_{ad} , and open set \mathcal{B}\supset\mathcal{Z}_{ad} for some p\geq 2 . Let \{\phi_{i}\}_{i=1}^{\infty} and \{\psi_{i}\}_{i=1}^{\infty} be orthonormal bases of \mathcal{M} and \mathcal{U} , respectively. Then, for any \epsilon>0 , there exist ranks r_{m} and r_{u} such that the truncated operator u_{r}(m,z):=P_{\mathcal{U},r_{u}}u(P_{\mathcal{M},r_{m}}m,z) satisfies \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\epsilon^{p}. (159) Proof. This is a consequence of Lemmas C.7 and C.8 . By the triangle inequality, we have \|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}\leq\|u(m,z)-P_{\mathcal{U},r_{u}}u(m,z)\|_{\mathcal{U}}+\|P_{\mathcal{U},r_{u}}u(m,z)-P_{\mathcal{U},r_{u}}u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathcal{U}}. Since P_{\mathcal{U},r_{u}} is an orthogonal projection, this bound simplifies to \|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}\leq\|u(m,z)-P_{\mathcal{U},r_{u}}u(m,z)\|_{\mathcal{U}}+\|u(m,z)-u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathcal{U}}. Similarly, for the derivatives, we have \displaystyle\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})} \displaystyle\qquad\leq\|(I-P_{\mathcal{U},r_{u}})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}+\|D_{z}u(m,z)-D_{z}u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}. Using the inequality (a+b)^{p}\leq 2^{p-1}(a^{p}+b^{p}) , we have that for and z\in\mathcal{Z}_{ad} , \displaystyle\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}] \displaystyle\qquad\leq 2^{p-1}\left(\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{u}})u(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{u}})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\right) \displaystyle\qquad+2^{p-1}\left(\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\right). (160) By Lemma C.7 , we can choose r_{u} such that \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{u}})u(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|(I-P_{\mathcal{U},r_{u}})D_{z}u(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\frac{\epsilon^{p}}{2^{p}}, (161) while by Lemma C.8 , we can choose r_{m} such that \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u(P_{\mathcal{M},r_{m}}m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\frac{\epsilon^{p}}{2^{p}}. (162) Taking the supremum in ( C.2 ) and substituting in ( 161 ) and ( 162 ) yields \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\epsilon^{p}. ∎ C.3 Proof of Theorem 3.1 We can now combine the bounds for the dimension reduction errors Lemma C.9 with the neural network approximation result Theorem C.1 to prove Theorem 3.1 . Proof. (Of Theorem 3.1 ) We begin by assuming b_{m}=b_{u}=0 . The case for b_{m}\neq 0 and b_{u}\neq 0 follow as corollaries. Under this assumption, let u_{r}(m,z):=P_{\mathcal{U},r_{u}}u(P_{\mathcal{M},r_{m}}m,z)=\mathbf{\Phi}_{r_{u}}\mathbf{\Phi}_{r_{u}}^{*}u(\mathbf{\Psi}_{r_{m}}\mathbf{\Psi}_{r_{m}}^{*}m,z) , We decompose the approximation error into the truncation error u(m,z)-u_{r}(m,z) and the latent approximation error u_{r}(m,z)-u_{\theta}(m,z) . That is, \displaystyle\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{\theta}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}] \displaystyle\quad\leq 2^{p-1}\left(\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\right) \displaystyle\quad+2^{p-1}\left(\mathbb{E}_{m\sim\mu_{m}}[\|u_{r}(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u_{r}(m,z)-D_{z}u_{\theta}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\right). (163) By Lemma C.9 , there exist r_{u} and r_{m} such that \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{m\sim\mu_{m}}[\|u(m,z)-u_{r}(m,z)\|_{\mathcal{U}}^{p}]+\mathbb{E}_{m\sim\mu_{m}}[\|D_{z}u(m,z)-D_{z}u_{r}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}]\leq\frac{\epsilon^{p}}{2^{p}}. (164) We now seek an approximation of u_{r} for the chosen r_{u} and r_{m} . To this end,we define the mapping g:\mathbb{R}^{r_{m}}\times\mathcal{B}\rightarrow\mathbb{R}^{r_{u}} , g(x,z)=\mathbf{\Phi}_{r_{u}}^{*}u(\mathbf{\Psi}_{r_{m}}x,z), (165) such that u_{r}(m,z)=\mathbf{\Phi}_{r_{u}}g(\mathbf{\Psi}_{r_{m}}^{*}m,z). (166) We can verify that g satisfies the assumptions in Theorem C.1 . First, g is continuously differentiable since u is continuously differentiable. Moreover, the mappings \mathcal{B}\ni z\mapsto g(\cdot,z)\in L^{2}_{\mu_{r}}(\mathbb{R}^{r_{m}};\mathbb{R}^{r_{u}}) and \mathcal{B}\ni z\mapsto D_{z}g(\cdot,z)\in L^{2}_{\mu_{r}}(\mathbb{R}^{r_{m}};\mathbb{R}^{r_{u}\times d_{z}}) are Lipschitz continuous with respect to z , where \mu_{r}=\left(\mathbf{\Psi}_{r_{m}}^{*}\right)^{\sharp}\mu_{m} denotes the pushforward measure of \mu_{m} under the projection \mathbf{\Psi}_{r_{m}}^{*} . To see this, consider the z_{1},z_{2}\in\mathcal{B} , and the difference \|g(\cdot,z_{2})-g(\cdot,z_{1})\|_{L^{p}_{\mu_{m}}}^{p}=\int\|g(x,z_{2})-g(x,z_{1})\|_{2}^{p}d\mu_{r}(x). Using the definition of g and the change of variables x=\mathbf{\Psi}_{r_{m}}^{*}m with the pushforward measure \mu_{r} , we have \int\|g(x,z_{2})-g(x,z_{1})\|_{2}^{p}d\mu_{r}(x)=\int\|\mathbf{\Phi}_{r_{u}}^{*}u(\mathbf{\Psi}_{r_{m}}\mathbf{\Psi}_{r_{m}}^{*}m,z_{2})-\mathbf{\Phi}_{r_{u}}^{*}u(\mathbf{\Psi}_{r_{m}}\mathbf{\Psi}_{r_{m}}^{*}m,z_{2})\|_{2}^{p}d\mu_{m}(m). Since \mathbf{\Phi}_{r_{u}} is an orthonormal basis, we have \|\mathbf{\Phi}_{r_{u}}^{*}\|_{\mathcal{L}(\mathcal{U},\mathbb{R}^{r_{u}})}=1 , such that \int\|g(x,z_{2})-g(x,z_{1})\|_{2}^{p}d\mu_{r}(x)\leq\int\|u(\mathbf{\Psi}_{r_{m}}\mathbf{\Psi}_{r_{m}}^{*}m,z_{2})-u(\mathbf{\Psi}_{r_{m}}\mathbf{\Psi}_{r_{m}}^{*}m,z_{2})\|_{\mathcal{U}}^{p}d\mu_{m}(m)\leq\kappa_{u}^{p}\|z_{2}-z_{1}\|_{\mathcal{Z}}^{p}. This implies that z\mapsto g(\cdot,z) is Lipschitz continuous with respect to z . An analogous procedure can be used to show that z\mapsto D_{z}g(\cdot,z) is also Lipschitz continuous with respect to z . This allows us to apply the result of Theorem C.1 . That is, given \epsilon>0 , there exists a neural network approximation g_{\theta} of g satisfying \sup_{z\in\mathcal{Z}_{ad}}\mathbb{E}_{x\sim\mu_{r}}[\|g(x,z)-g_{\theta}(x,z)\|^{p}]+\mathbb{E}_{x\sim\mu_{r}}[\|D_{z}g(x,z)-D_{z}g_{\theta}(x,z)\|_{F}^{p}]\leq\frac{\epsilon^{p}}{2^{p}}. (167) Then the error between u_{r}(m,z) and the RBNO u_{\theta}(m,z)=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*},z) can be written directly in terms of g and g_{\theta} . That is, \displaystyle\mathbb{E}_{m\sim\mu_{m}}\left[\|u_{r}(m,z)-u_{\theta}(m,z)\|_{\mathcal{U}}^{p}\right] \displaystyle\qquad=\mathbb{E}_{m\sim\mu_{m}}\left[\|\mathbf{\Phi}_{r_{u}}\left(g(\Psi_{r_{m}}^{*}m,z)-g_{\theta}(\Psi_{r_{m}}^{*}m,z)\right)\|_{\mathcal{U}}^{p}\right] \displaystyle\qquad=\mathbb{E}_{x\sim\mu_{r}}\left[\|g(x,z)-g_{\theta}(x,z)\|_{2}^{p}\right], (168) and \displaystyle\mathbb{E}_{m\sim\mu_{m}}\left[\|D_{z}u_{r}(m,z)-D_{z}u_{\theta}(m,z)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}\right] \displaystyle\qquad=\mathbb{E}_{m\sim\mu_{m}}\left[\|\mathbf{\Phi}_{r_{u}}\left(D_{z}g(\mathbf{\Psi}_{r_{m}}^{*}m,z)-D_{z}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}m,z)\right)\|_{\mathrm{HS}(\mathcal{Z},\mathcal{U})}^{p}\right] \displaystyle\qquad=\mathbb{E}_{x\sim\mu_{r}}\left[\|D_{z}g(x,z)-D_{z}g(x,z)\|_{F}^{p}\right]. (169) Combining the bounds ( 164 ) and ( 167 ), along with ( 168 ) and ( 169 ) yields the desired approximation error when substituted into ( 163 ). When b_{m}\neq 0 , we have \mathbf{\Psi}^{*}_{r_{m}}m=\mathbf{\Psi}^{*}_{r_{m}}(m-b_{m})+\mathbf{\Psi}^{*}_{r_{m}}b_{m}. Thus, for the neural network g_{\theta} constructed using the procedure above, we have g_{\theta}(\mathbf{\Psi}^{*}_{r_{m}}m,z)=g_{\theta}(\mathbf{\Psi}^{*}_{r_{m}}(m-b_{m})+\mathbf{\Psi}^{*}_{r_{m}}b_{m},z)=\tilde{g}_{\theta}(\mathbf{\Psi}^{*}_{r_{m}}(m-b_{m}),z), where \tilde{g}_{\theta} is also a GELU neural network whose input layer bias is shifted by \mathbf{\Psi}^{*}_{r_{m}}b_{m}\in\mathbb{R}^{r_{m}} . Thus, the RBNO has the desired representation u_{\theta}(m,z)=\mathbf{\Phi}_{r_{m}}\tilde{g}_{\theta}(\mathbf{\Psi}^{*}_{r_{m}}(m-b_{m}),z). Finally, when b_{u}\neq 0 , we can construct the approximation \tilde{u}_{\theta}(m,z) for the shifted operator u(m,z)-b_{u} using the same procedures above, noting that u(m,z)-b_{u} also satisfies 2.1 . The resulting approximation of u(m,z) is then given by the affine shift, u_{\theta}(m,z)=\tilde{u}_{\theta}(m,z)+b_{u}=\mathbf{\Phi}_{r_{u}}g_{\theta}(\mathbf{\Psi}_{r_{m}}^{*}(m-b_{m}),z)+\bar{u}. ∎ C.4 Universal Approximation for Optimization under Uncertainty We can now combine Theorem 3.1 with Theorem 2.1 to prove Theorem 3.2 , which guarantees the existence of an RBNO with sufficiently accurate output and derivatives such that when used as a surrogate in expectation minimization (assuming the objective is convex), its stationary points are accurate. Proof. (Of Theorem 3.2 ) First, we note that any GELU neural network g_{\theta} is smooth and its derivatives of all orders are globally bounded by the nature of the GELU activation functions. Thus, given any reduced bases \mathbf{\Phi}_{r_{u}} and \mathbf{\Psi}_{r_{m}} , the resulting RBNO is also u_{\theta} constructed from g_{\theta} is also smooth with bounded derivatives. This implies that u_{\theta} satisfies 2.1 with the same open set \mathcal{B} . Consider now any 0<\epsilon_{u}<1 . By the universal approximation result of Theorem 3.1 , there exists an RBNO such that \sup_{z\in\mathcal{Z}_{ad}}\|u(\cdot,z)-u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}\leq\epsilon_{u}, (170) and \sup_{z\in\mathcal{Z}_{ad}}\|D_{z}u(\cdot,z)-D_{z}u_{\theta}(\cdot,z)\|_{L^{2}_{\mu_{m}}}\leq\epsilon_{u}. (171) Since both u and u_{\theta} satisfy 2.1 while Q satisfies 2.2 , Proposition 2.2 implies that there exists a constant C>0 independent of u_{\theta} such that \sup_{z\in\mathcal{Z}_{ad}}\|D_{z}\mathcal{J}(z)-D_{z}\mathcal{J}_{\theta}(z)\|_{\mathcal{Z}^{\prime}}\leq C\epsilon_{u}, (172) where the linear error term dominates for \epsilon_{u}<1 . By Theorem 2.1 , we have bounds for both the optimization error and the optimality gap, given by \displaystyle\|z^{\star}-z^{\dagger}\|_{\mathcal{Z}} \displaystyle\leq\frac{C}{\lambda}\epsilon_{u}, (173) \displaystyle\mathcal{J}(z^{\dagger})-\mathcal{J}(z^{\star}) \displaystyle\leq\frac{C^{2}}{2\lambda}\epsilon_{u}^{2}. (174) From this, we see that it suffices to construct u_{\theta} using \epsilon_{u} satisfying \epsilon_{u}\leq\min\left\{\frac{\lambda\epsilon}{C},\frac{\sqrt{2\lambda\epsilon}}{C},1\right\}. ∎