Manuscript Offprint
arXiv:2610.29009Local and Sparse Kernel Operator Learning for Incompressible Flows: An Operator Lagrange Formulation
Ramansh Sharma , Matthew Lowery , Houman Owhadi and Varun Shankar
Kahlert School of Computing, University of Utah, UT, USA
Department of Computing and Mathematical Sciences, California Institute of Technology, CA, USA
ARTICLE INFO
Keywords:
operator learning
incompressible flow
divergence-free kernels
compactly supported kernels
RBF-FD
sparse Cholesky
GPU computing
2020 MSC: 65D12
65D15
46E22
65F50
76D05
ABSTRACT
We present a local and sparse kernel method for learning the solution operators of incompressible flows. It builds on our earlier property-preserving kernel method, whose global output reconstruction and dense operator regression scale poorly. Our method replaces the global output reconstruction by local divergence-free interpolants with divergence-free polynomials of any degree, solved in parallel on the GPU. These interpolants are divergence free, periodic on periodic domains, and, with a multiscale kernel, approach Kolmogorov statistics under refinement. A compactly supported kernel, positive semidefinite in any input dimension, makes the operator regression sparse. Its support radius, and hence the sparsity, is fitted to data, and optional affine polynomials in the input capture global trends. Operator Lagrange weights join the two. They cost one sparse solve per new input and act on the training fields before the output reconstruction, so their local coefficients are never formed. We show that, unlike direct evaluation, Lagrange evaluation does not amplify solve errors by the cancellation among spatial coefficients. On ten fluid benchmarks, validation selects sparse matrices nearly everywhere, with densities that mostly decrease as the training set grows, and affine augmentation lowers the error by more than an order of magnitude for forced isotropic turbulence. These sparse models are at least as accurate as our earlier dense method and more accurate than neural operators. Lagrange evaluation is as accurate as direct evaluation with local output reconstructions, and up to nearly three orders of magnitude more accurate with global ones. We also present GPU timings and storage.
1. Introduction
Uncertainty quantification, design, and inverse problems for incompressible flows require the velocity field for many initial conditions, boundary conditions, or forcing functions, and the repeated solution of the Navier–Stokes equations then dominates the cost [43, 59–61]. One remedy is to learn the solution operator, the map from the problem data to the velocity, from a collection of simulations [7]. Reduced-order models have long served this purpose [5, 42], and neural operators such as DeepONets, Fourier and graph neural operators, transformer-based models, and kernel neural operators now learn such maps from large data sets [32–34, 36, 37, 70]. We seek an operator learner for incompressible flows that satisfies four criteria. First, every prediction should be divergence free, and periodic on periodic domains, however accurately the operator itself is learned. Second, the cost of the output representation should grow linearly with the number of output points, so that fine three-dimensional outputs remain affordable. Third, the regression should handle ten thousand or more training functions without factoring a dense matrix. Fourth, every stage should run in parallel on a graphics processing unit (GPU).
Kernel methods offer an attractive alternative to neural operators [2, 29, 38]. Batlle et al. [2] learn an operator from point samples in two steps. An operator regression, a kernel regression on the space of sampled inputs, maps the samples of the input function to the samples of the output function. An output reconstruction, a kernel interpolant of these samples in space (or spacetime), then recovers the output function. Since both steps are kernel interpolation or regression problems, the learned operator has a closed form, few parameters, and an error analysis. For flows, the output representation is the natural place to impose physics [30, 45]. In our previous work [53], we therefore regressed the coefficients of a divergence-free kernel interpolant of the output instead of its point samples, so that every prediction is exactly divergence free regardless of the accuracy of the operator regression. We called this the property-preserving
Corresponding author
ramansh@cs.utah.edu (R. Sharma); mlowery@cs.utah.edu (M. Lowery); owhadi@caltech.edu (H. Owhadi); shankar@cs.utah.edu (V. Shankar)
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 1 of 53 kernel method (PPKM). PPKM satisfies the first criterion, but both of its kernel problems are global. Its operator regression factors one dense kernel matrix on all N training inputs, at a cost of operations and storage, and its output reconstruction solves one dense system on all output points. Both limits bind for three-dimensional turbulence, where a training set has ten thousand or more functions and an output has thousands of points. Meeting the other criteria poses three tasks. The output reconstruction must become local without losing the properties of the global one, the operator regression must become sparse, and the two must be joined without forming the local coefficients of every training field.
The first task draws on radial basis function-generated finite differences (RBF-FD). RBF-FD methods replace a global radial basis function (RBF) interpolant, whose dense system couples all nodes, by small interpolants on the stencil of each node, so that every linear system has a fixed size and is independent of the others [20, 21, 55, 62, 69]. Over the last two decades, RBF-FD methods have been stabilized for convection-dominated problems [22, 49], applied to the Navier–Stokes equations [18, 55], extended to overlapped stencils, surfaces, and moving domains [48, 51, 52], and formulated in the least-squares sense [63]. They also have error bounds [10], node generators for irregular domains [50], and GPU implementations [6]. In particular, polyharmonic splines (PHS) augmented with polynomials converge at the order of the polynomial degree and have no shape parameter [3, 19]. For flows, the local interpolants must also be divergence free. Divergence-free kernels, obtained by applying to a scalar kernel [11, 24, 39, 40, 66], have this property by construction and have been used both globally and in partition-of-unity form [12, 25], and Yelnyk [71] combined divergence-free PHS with polynomials in local Hermite interpolation for Stokes problems. However, the high order of PHS-based RBF-FD comes from the polynomials, so a local divergence-free interpolant of high order needs divergence-free polynomials of any degree, in two and three dimensions, that can be evaluated anywhere on the stencil.
Our approach is to build these polynomials by differentiating products of Legendre polynomials, select an independent subset on each stencil by a column-pivoted QR factorization, and combine them with a divergence-free PHS on the stencils of RBF-FD, used for interpolation instead of differentiation. Every local interpolant is then exactly divergence free, and building the stencils from periodic images of the nodes makes the output reconstruction periodic. For turbulence, we replace the scale-free PHS by the multiscale Matérn kernel of Sharma et al. [53], whose weights encode the Kolmogorov scaling of the velocity increments, so that the output reconstruction approaches prescribed Kolmogorov statistics as the nodes are refined. Matérn kernels and PHS are Green's functions of closely related operators, and a Matérn kernel tends to a PHS as its length grows, so this change adds length scales without changing the construction. Since the local systems are independent and of fixed size, we assemble, factor, and evaluate them in batches on the GPU, and our output reconstruction is embarrassingly parallel.
For the second task, the dense kernel matrix of the operator regression can be approximated by low-rank, Nyström, and random-feature methods, inducing points, structured kernel interpolation, or sparse approximate factors of its inverse [1, 13, 17, 26, 44, 47, 56, 57, 68, 72]. In contrast, a compactly supported kernel gives a sparse matrix that can be factored exactly by sparse Cholesky. Its obstacle is the dimension of the input. A sampled input function has thousands of coordinates, but no compactly supported radial kernel is positive definite in every dimension [65]. Our kernel therefore determines its support from a few principal coordinates of the input, in which a compactly supported function is positive definite, and treats the remaining coordinates with a Matérn factor, which is positive definite in every dimension. The product is positive semidefinite in any input dimension. Its support radius sets the sparsity of the kernel matrix, and we choose it from the data instead of fixing it in advance. A restricted likelihood criterion, with a smooth count of the interacting training pairs as an optional penalty, fits the shape of the kernel and the regularization, and the error on validation fields then selects the radius, so that nearly dense matrices remain among the candidates when accuracy requires them.
However, a compactly supported kernel returns to zero away from the training inputs, so it represents trends in the input poorly, although many operators depend nearly linearly on part of their input. We therefore augment the operator regression with affine polynomials in the leading principal coordinates of the input, which it reproduces exactly, as in polynomially augmented kernel interpolation. The resulting saddle-point system is solved by a sparse Cholesky factorization of the kernel matrix followed by a QR factorization of the whitened polynomial columns, which avoids forming the Schur complement [4]. JAX has no sparse direct solver that keeps a factorization between calls, so we factor the kernel matrix on the GPU with cuDSS, through a primitive of our KernelPack-JAX framework that exposes cuDSS to compiled JAX programs [8].
The third task leads to operator Lagrange weights. Since the same kernel regresses every output coefficient, a prediction is a linear combination of the training outputs, with weights that depend only on the new input. These
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 2 of 53 weights cost one sparse solve per new input, regardless of the size of the output, and they give the coefficients on every stencil at once (Figure 1). Because the output reconstruction is linear, the weights can also be applied to the sampled training fields before the output reconstruction, so the local coefficients of the training fields, which would take tens of times the storage of the fields themselves, are never formed. Weights and coefficients give the same prediction in exact arithmetic but round differently. We show that direct evaluation through coefficients amplifies solve errors by a factor that measures the cancellation among the spatial coefficients, while Lagrange evaluation does not.
We test our method in two steps. On scattered nodes, our local output reconstruction converges at close to orders 2, 4, and 6, keeps the divergence and the periodic mismatch at rounding level, and approaches prescribed Kolmogorov statistics under refinement at the separations that the nodes resolve. Beyond a few thousand output points, it is also cheaper to set up than a global output reconstruction, and its memory grows only linearly with their number. We then compare kernels with a fixed and a fitted shape, each with and without affine augmentation, on ten fluid benchmarks with up to ten thousand training functions. Validation selects sparse kernel matrices on all benchmarks except forced isotropic turbulence and the unaugmented Taylor–Green models, and on most of them the selected density decreases as the training set grows. With these sparse matrices, the test errors decrease steadily with the number of training functions. At the training sizes of our earlier study [53], our models are at least as accurate as dense PPKM and the kernel method of Batlle et al. [2] on every data set, and more accurate than the neural operators reported there. Affine augmentation reduces the test error for forced isotropic turbulence by more than an order of magnitude, and together with the fitted shape it does the same for turbulent species transport. In contrast, the five flows whose training inputs vary along a single direction are insensitive to both choices. Finally, Lagrange evaluation is as accurate as direct evaluation with our local output reconstruction, whose amplification factors are at most about , and up to nearly three orders of magnitude more accurate with global output reconstructions, whose amplification factors reach .
The remainder of this paper is organized as follows. Section 2 constructs the local property-preserving output reconstruction, Section 3 the sparse operator regression and its affine augmentation, and Section 4 the operator Lagrange weights, their rounding errors, and the GPU implementation. Section 5 presents the numerical experiments, and Section 6 our conclusions.
where is the velocity, the pressure, the kinematic viscosity, the density, the body force, and the boundary operator. Our operators map initial data (a velocity , a vorticity, or, for a buoyancy-driven flow, a temperature), the boundary data , or the forcing to the velocity. The training data are simulations of (1) from Sharma et al. [53] (Appendix D.1).
Let and be separable Banach spaces of input and output functions, and let be the operator we wish to learn. An input and its output are defined on domains and , which may be spatial, spacetime, or parametric, with
Here and are the numbers of input and output components, and and are the dimensions of the domains. We sample inputs at , which gives vectors . For spatial outputs, , and we sample at , which gives vectors stacked in component blocks, each holding one velocity component at all points of , as in Sharma et al. [53]. For spacetime outputs, , and sampling the spatial sites at times gives vectors in (Section 2.4).
Given training pairs with sampled vectors , we write the learned operator, as in Sharma et al. [53], as
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 3 of 53
Sampled inputs,
Sparse operator regression,
Local output reconstruction,

Figure 1: Overview of our method for a new input . The compactly supported kernel of Section 3 gives a sparse matrix on the sampled training inputs (left and center). One sparse solve with the kernel values gives the operator Lagrange weights of Section 4, shown here without their affine correction. The same weights give the coefficients of the local divergence-free interpolant of Section 2 on every stencil of the output (right), where the rows of are the coefficients of the training fields on . In practice, we apply the weights to the sampled training fields before the output reconstruction, which gives the same prediction (Section 4.2).
where samples the input, the operator regression maps the samples to the coefficients of the output, and the output reconstruction maps these coefficients to a function in space (or spacetime). This structure follows the formulation of Battle et al. [2], in which maps input samples to output samples, with the difference that predicts the coefficients of a divergence-free interpolant. In PPKM [53], is a global divergence-free interpolant and a dense operator regression. Here, is a collection of local divergence-free interpolants (Section 2), and is a sparse operator regression (Section 3). Figure 1 shows how operator Lagrange weights join the two (Section 4).
We use the index for training functions, for stencils, for components and coordinates, for new (query) inputs and query points, and for time. Each stencil has nodes. A subscript * marks a quantity of a new input, a superscript a quantity at query points, and a hat a computed quantity in the error analysis. The superscript denotes the transpose, an identity matrix, and the Frobenius norm.
2. Local property-preserving output reconstruction
We now construct the output reconstruction map of (6). In PPKM [53], is a single divergence-free kernel interpolant on all m output points, so its linear system grows with the output resolution. We replace it by local interpolants, one on the stencil of each output point. Each local interpolant combines a divergence-free kernel with divergence-free polynomials, so that it is divergence free for any coefficient vector and reproduces low-degree divergence-free fields. Its system has a fixed size as m grows. We first describe the kernel, the polynomials, and the local system, and then the extensions to turbulent fields, periodic domains, and spacetime outputs. Nothing in this section depends on the operator regression of Section 3.
2.1. Divergence-free interpolation on stencils
2.1.1. The divergence-free kernel
The output points Y serve as the nodes of the output reconstruction. For each node , let the stencil consist of its nearest nodes. In the tests of Section 5.1 on bounded domains, we instead use the boundary-aware stencils of KernelPack-JAX [8], which keep only nodes visible from the center inside the domain. In periodic domains, some of these are translated images of nodes (Section 2.3). For smooth outputs, we use
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 4 of 53 the cubic PHS , with radial function
which has no shape parameter to choose (Section 2.2 relates it to the Matérn kernels that we use when a length scale is wanted). For the sixth-order tests of Section 5.1, we use in the same way. Applying the operator to a scalar kernel gives a matrix-valued kernel whose columns are divergence free [25, 39],
For the cubic PHS, with and ,
Each column of has zero divergence in the distributional sense, and zero classical divergence away from its center [25]. At the center the kernel is continuous but not differentiable. For example, along , with the th coordinate vector, its th diagonal entry is .
2.1.2. Divergence-free polynomials of any degree
A PHS interpolant converges at the order set by the degree of its polynomial augmentation [3, 19]. A divergence-free local interpolant of high order therefore needs divergence-free vector polynomials of any degree , in 2D and 3D, that can be evaluated at any point and not only at the stencil nodes. Our approach is to differentiate scalar potentials. On , let be centered and scaled coordinates, where is the centroid of the stencil and its radius. From the products of normalized Legendre polynomials , of total degree , we form the rotated gradients in 2D and the curls of the potentials times the coordinate vectors in 3D,
where is a multi-index, . These candidates have degree at most and are divergence free in , and hence in , since the scaling is uniform. Together, they span the space of divergence-free vector polynomials of degree at most , which has dimension (Appendix C.1).
The candidates are not independent. Constant potentials give zero fields, different potentials can give the same field, and a particular stencil can add further dependencies. Let be the candidates, let hold their values at , and let hold their values at the stencil nodes in component block order. We select an independent subset by column-pivoted QR,
and retain the first pivoted columns, where counts the diagonal entries of larger than times the first. Let hold the indices of the retained candidates, the corresponding columns of , the first columns of , and the leading block of . Then
The orthonormal columns of are only values at the nodes. To obtain functions, we apply the same triangular transformation to the retained candidate functions ,
By (13), at the stencil nodes, so the polynomial block of the local system is well conditioned. Every column of is a fixed combination of divergence-free fields, and is thus divergence free everywhere. At a new point, we
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 5 of 53 evaluate the retained candidates and apply by a triangular solve. If the stencil geometry forces the rank below the full dimension, the interpolant reproduces only the retained subspace.
We batch this construction over the stencils. On stencils that are certainly of full rank, pivoting is unnecessary, and we use an unpivoted QR factorization instead (Appendix A.2).
2.1.3. The local system
On , we determine the kernel and polynomial coefficients together, from the interpolation conditions and the polynomial moment conditions. The saddle-point matrix
has size , where is the Gram matrix of the divergence-free kernel on . For training field , the coefficient vector
holds kernel coefficients and polynomial coefficients , and defines the local interpolant
where holds the kernel coefficients of node . Interpolation of the training field at the stencil nodes (with the value of the original node at a periodic image) and orthogonality of the kernel coefficients to the polynomials give
where holds the sampled velocities on the stencil. Since has full column rank, is nonsingular whenever is positive definite on the null space of . Conditional positive definiteness of the scalar PHS does not guarantee this for the matrix kernel on a particular stencil, so we check the solves numerically (Appendix A.2). We factor all local systems by batched LU on the GPU.
Evaluation To reconstruct a prediction at query points , , we assign each query point to a stencil and evaluate that stencil's basis there. Let hold the kernel values in the component block order of the coefficients (Appendix A.1) and the polynomial values, and let
For coefficients predicted by the operator regression (Section 4.1), the reconstructed velocity is then
and stacks the in component blocks. In the operator benchmarks, the query points are the nodes themselves, each with its own stencil. Appendix A.3 gives the assignment of other points.
The output reconstruction is divergence free on each stencil, for any coefficients. However, the local interpolants are not coupled, so the reconstructed field can jump where the assigned stencil changes, and its divergence is controlled only within each stencil.
On the other hand, every system has the fixed size , independent of the number of output points m and of the number of training functions N. Refining the output adds systems but does not enlarge them. The systems are also independent of each other, so their assembly, factorization, and evaluation are embarrassingly parallel, and we process
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 6 of 53 them in batches on the GPU with no communication between stencils. In contrast, a global output reconstruction couples all output points in one dense system with dm unknowns, whose factorization costs operations and does not decompose into independent parts. Section 5.1.5 measures both costs. Section 4.2 shows how the same systems serve every prediction.
2.2. Multiscale Matérn output reconstruction for turbulence
Turbulent velocity fields vary over many length scales, which a kernel can represent only if it has length scales of its own. Polyharmonic splines have none, since they are homogeneous (dilating the argument of or multiplies it by a constant, and so does the derived matrix kernel), and sums of dilated copies add nothing. Matérn kernels have one length each, and they are close relatives of the PHS. The Matérn kernels and of length , with and given in (22) below, have Fourier transforms proportional to and in the wave vector . They are therefore, up to constants, the Green's functions of and in [16, 35, 58, 67]. Letting removes the length and leaves and , whose fundamental solutions are multiples of and [14, 65]. The two Matérn kernels are thus the counterparts, with a length, of the PHS and . For example,
The even terms are polynomials in , and after the operator their contribution to an interpolant is a divergence-free polynomial of degree at most two, which the polynomial part of the local interpolant absorbs when . Since rescaling the kernel does not change the interpolant, the local interpolant with thus tends to the one with as . We use the PHS when no length scale is wanted, for smooth outputs whose accuracy is set by the polynomial degree, and Matérn kernels when lengths are wanted. A mixture of Matérn kernels can have many lengths. This motivates localizing the multiscale Matérn construction of our earlier work [53], which follows Owhadi [41]. On , we sum five Matérn kernels with dyadic lengths and weights
where is the stencil radius and a fixed factor. Each scale uses the scalar Matérn function
at the argument . The weights are applied to the scalar kernels, before the divergence-free operator, whose two derivatives account for the 2 in the exponent . The remaining 2/3 is the Kolmogorov exponent of the velocity increments in three dimensions. The local multiscale kernel is
normalized so that . The normalization rescales the coefficients and does not change the interpolant. We replace by in (15) and (18) and keep the polynomials, so each stencil still solves one system with unknowns for the whole mixture. Unlike the cubic kernel, the mixture is smooth at its centers, so the reconstructed fields are classically divergence free everywhere on the stencil.
The weights build the prescribed increment statistics into the kernel [41]. Whether an interpolant on finite stencils reproduces those statistics also depends on the stencil extent and the node spacing, and we test this under refinement in Section 5.1 and for the turbulent benchmarks in Appendix A.5.
2.3. Periodic stencils
In a periodic domain, the nearest neighbors of a node near one face of the box can lie near the opposite face. Our stencils are therefore built from translated images of the nodes. If coordinate has period , a node has images
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 7 of 53

Figure 2: Periodic stencils in a box with periods and . Gray dots are nodes (dark) and their translated images (light). A stencil near a face (blue) and a stencil near a corner (red) are built from the nearest images given by (25). Dashed arrows link each image in a stencil to its node (circled), whose sampled velocity it carries.
, with integers over the periodic coordinates, which carry its index and its sampled velocity,
For a stencil center , we take the displacements and shift every periodic component to its nearest representative,
Since all periodic coordinates are shifted together, this also finds the right images near the edges and corners of the box, where a node's neighbors are shifted in two or three coordinates (Figure 2). The stencil consists of the nearest of the points , with one representative of each node, and the kernel and polynomials are evaluated in these translated coordinates. Translation does not change the divergence. Appendix A.4 gives the periods used for each benchmark.
2.4. Spacetime outputs
For outputs on , with a time interval, PPKM [53] used a global product kernel
with a divergence-free Matérn kernel in space and a scalar Matérn kernel in time, and coefficients in one system. We instead keep each stencil and its spatial basis fixed over the sampled times and interpolate in time. Let be the coefficients of training field on at time . Every snapshot solves (17) with the same matrix , and the target of the operator regression is the stacked vector
Between the sampled times, we interpolate with the Lagrange polynomials
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 8 of 53 which need no temporal kernel parameter and no further linear system. With the evaluation of the spatial basis on as in (18), the spacetime output reconstruction of a prediction is
Its polynomial part is the tensor product of the retained spatial polynomials with polynomials of degree at most in time. Since the weights do not depend on , the spacetime output reconstruction is divergence free wherever the spatial one is. The local representation has coefficients, but each system keeps the size . Another sampled time adds only a right-hand side.
3. Sparse operator regression
Having fixed the output representation, we now learn its coefficients as functions of the input. Each output coefficient is a function on the space of sampled inputs, and we approximate all of them by kernel regression with the same kernel. PPKM [53] used a kernel with global support, whose kernel matrix is dense, so that its Cholesky factorization costs operations and storage for training functions. We now construct a compactly supported kernel that is positive semidefinite on inputs of any dimension, so that the kernel matrix is sparse. The rest of the section defines the operator interpolant built from this kernel and its affine augmentation, derives their linear systems, factors them, and chooses the kernel parameters.
3.1. A compactly supported kernel in any input dimension
To make the kernel matrix sparse, the kernel must vanish for inputs that are far apart, and it must remain positive definite on the space of sampled inputs, whose dimension can be in the thousands. These two requirements conflict for radial kernels. By Schoenberg's theorem, a radial function that is positive definite in every dimension is a scale mixture of Gaussians and therefore never compactly supported [65]. Every compactly supported radial kernel [27, 64] is thus positive definite only up to some dimension . For the Wendland functions, the polynomial degree grows linearly with at fixed smoothness [64], so a function valid in thousands of dimensions would have a degree in the thousands. Tapering [23], which multiplies a globally supported kernel by a compactly supported one, inherits the same restriction from its taper. Low numerical rank of the training inputs does not remove the restriction either, since a new input need not lie in their span.
Our approach is to separate the two requirements. We let a low-dimensional projection of the input determine the support, and use a compactly supported radial function only there, in a dimension in which it is positive definite. The remaining coordinates enter through a Matérn factor, which is positive definite in every dimension but not compactly supported. The product is positive semidefinite in any input dimension and has the support of its first factor. In this paper, we use the Wendland function
which is positive definite in up to three dimensions [64], so we project onto at most three coordinates. Another member of the Wendland family would allow a projection of higher dimension.
Let be the sampled input after centering and scaling each coordinate by its training mean and standard deviation (coordinates with zero training variance are set to zero). Let the columns of be the first principal directions of the standardized training inputs, where is the smaller of three and their numerical rank (Appendix B.1), and split
For a support radius , a residual scale , and a positive diagonal matrix , our kernel is
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 9 of 53
Here is the Matérn function (22), is a residual length, and is a gate. The Wendland factor sets the support, since two inputs interact only if their principal coordinates are closer than in the metric . The Matérn factor separates inputs with the same principal coordinates. Note that the kernel is not radial in the full input.
The gate switches the kernel off for inputs whose residual is much larger than those of the training inputs. With , we set
and, with the polynomial , which increases from to since ,
The gate is and positive for . Since , it equals one on every training input. A new input need not lie in the span of the principal directions , and its gate decreases to zero as its residual grows.
Proposition 1 (Positive definiteness in any input dimension). For any finite sampled-input dimension, the kernel (32) is positive semidefinite. Its Gram matrix is strictly positive definite on distinct standardized inputs with positive gates. Consequently, adding a positive multiple of the identity gives a positive-definite kernel matrix, including when sampled inputs coincide or gates vanish.
Proof sketch. Both factors are positive definite functions composed with linear maps, and products and gate multiplications preserve positive semidefiniteness. Distinct inputs differ in their principal or their residual coordinates. Appendix C.2 gives the proof.
The proposition holds for any orthogonal projection, so it needs no estimate of an intrinsic dimension. The principal components only choose the directions along which the support is cut off.
Fixed and fitted shapes We compare two choices of the shape parameters. The fixed-shape kernel uses and . The fitted-shape kernel also fits and , with so that alone sets the overall support and the only redistribute it among the principal directions. Note that when the constraint forces , and when the residual coordinates are negligible we also keep . The fitted-shape kernel then has the shape of the fixed-shape one and differs from it only through its radius and regularization (Section 5.2.1 lists these cases).
3.2. The operator interpolant
We now use the kernel to approximate the map from a sampled input to the local coefficients of its output. Let stack the local coefficients of training field on all stencils (and at all sampled times), where (times for spacetime outputs). Every one of these coefficients is a function of the same input, so we approximate all of them with the same scalar kernel, i.e., with the matrix-valued kernel . The operator regression of (6) is the operator interpolant
with coefficients determined by the regularized interpolation conditions
where is a regularization parameter. In the limit , interpolates the training coefficients, and for it is their kernel ridge regression. Since is linear, the learned operator (6) is
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 10 of 53 a combination of fixed fields with weights that depend on the input. Every one of these fields is a local divergence-free output reconstruction, so is divergence free on each stencil for every input, regardless of the accuracy of the operator regression.
3.3. Affine augmentation
Operators often depend nearly linearly on part of their input. A compactly supported kernel regression represents such a trend poorly, since it returns to zero away from the training inputs. As in polynomially augmented interpolation [4], we augment the operator regression with affine functions of up to 15 principal coordinates of the input (more than the at most three that set the support), which it reproduces exactly, and let the kernel represent the remainder. These polynomials in the input are unrelated to the divergence-free polynomials in space of Section 2, which are part of the output representation in every model.
Let the columns of be up to 15 principal directions of the training inputs, let be the training standard deviation along direction , and set
with limited by the rank of the training inputs. The augmented operator interpolant is
with kernel coefficients and affine coefficients . Its coefficients are determined by the regularized interpolation conditions of (36), now for the augmented , together with moment conditions on the kernel coefficients,
The moment conditions make (39) reproduce every affine function of the principal coordinates exactly, for any . If for some matrix , then and satisfy (40). As in (37), the augmented learned operator is
a combination of fixed divergence-free fields. Without augmentation, , the affine terms and the moment conditions disappear, and (39)–(41) reduce to (35)–(37).
Both interpolants have a variational characterization. The function minimizes
over the affine coefficients and the functions in the reproducing kernel Hilbert space of , since by the representer theorem the minimizing has the form , and (40) makes the gradient of the convex objective vanish (Appendix C.3). Without augmentation, is absent and (42) is the objective of kernel ridge regression.
3.4. Linear systems
We now write the conditions (36) and (40) as linear systems. For training inputs and query inputs U_* = \{\mathbf{a}_*\}^{(q)}\}_{q=1}^N_*, we define the kernel matrices
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 11 of 53 with the regularization of (36), and the affine matrices and with rows and . We keep every nonzero entry of , with no neighbors discarded by an approximate search. Its density , where counts the nonzero entries, is thus set by and the data, and the storage of its Cholesky factor also depends on the fill.
Since the kernel does not couple different output coefficients, the conditions decouple into one system per stencil. On stencil , let hold the as rows, and let and hold the corresponding entries of the and the columns of . Evaluating (39) at the training inputs turns (40) into the first equation of
and evaluating it at the query inputs gives the second, where row of holds the coefficients that predicts on stencil for query input . The block is the moment condition. Without augmentation, the same steps applied to (35) and (36) give
3.5. Sparse Cholesky and whitened QR
The system (44) is an indefinite saddle-point system. Forming the Schur complement squares the condition number of the whitened polynomial columns, as in the normal equations of least squares. We instead use the Cholesky–QR elimination of our unified kernel and polynomial interpolation [4]. Since is sparse and positive definite, we factor it by sparse Cholesky, whiten the polynomial columns, and factor them by thin QR. Suppressing the fill-reducing permutation, we obtain
Here has orthonormal columns and is a nonsingular triangular matrix, and we apply by triangular solves without forming . Block elimination of (44) then gives
Without augmentation, , , and are empty and the correction disappears. The same factors serve the parameter selection below and the prediction of Section 4.1, which never forms the .
The size of the Cholesky factor, and the speed of its triangular solves, depend on the ordering of the training inputs. Since two inputs interact only if their principal coordinates are close, the sparsity pattern of resembles that of a discretization on a mesh in at most three dimensions, and we order it by nested dissection. For inputs of numerical rank one ( ), sorting the inputs by z even makes a band matrix (the matrix of an interval graph), whose Cholesky factor has no entries outside the band. However, the elimination of a band matrix is a single chain, which leaves the triangular solves of a prediction little parallelism on the GPU, while nested dissection gives a balanced elimination tree. Thus, nested dissection is our default, and the band ordering is preferable when memory is more limited than prediction time (Section 5.2.5). The ordering changes neither the operator regression nor its predictions beyond rounding.
3.6. Choosing the kernel parameters
The support radius , the regularization , and, for the fitted-shape kernel, the shape parameters remain to be chosen. The support radius is the most important of these, since it trades accuracy against sparsity. We use two criteria in turn. For the fitted-shape kernel, a restricted likelihood criterion fits the shape and the regularization from the training data alone. The error on validation fields then selects the radius and refines the regularization.
Let hold all sampled training outputs, with values per field, or for spacetime outputs, after the amplitude normalization (72) where it applies, let be an orthonormal basis of the range of , , and , and let
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 12 of 53 which we apply by sparse solves and never store. With , we minimize
The bracket can be interpreted in two ways. In kernel terms, is the squared norm, in the native space of the regularized kernel, of the augmented interpolants of the training outputs after their affine part is removed, and the log-determinants penalize kernels whose matrices have a large determinant, which are the more flexible ones. The bracket thus favors kernels that represent the outputs with a small norm, while penalizing overly flexible kernels. In probabilistic terms, if the outputs are modeled as samples of a Gaussian process with covariance , independent noise of variance , and an affine mean with unknown coefficients, the bracket is, up to constants, the negative log restricted likelihood with the variance profiled out (with without augmentation). We borrow the criterion from this setting, but use it only to select kernel parameters, not for uncertainty quantification.
The term , with and the logistic function , is a smooth count of the interacting pairs, and its weight trades accuracy against sparsity. We fit one candidate with each weight. All terms of come from the sparse factors (Appendix B.3).
The criterion measures how well the kernel represents the training outputs, but our goal is the error of the predicted velocity for new inputs. Thus, we discard the radius that minimizes the likelihood criterion and choose the radius by validation alone. We first evaluate the five radii that give the densities 0.10, 0.25, 0.50, 0.75, and 0.90, with the regularization from the likelihood. We then take gradient steps in the radius and the regularization on the mean relative velocity error on validation fields, from four starts (half and a quarter of the largest of these radii, each with and ), while the fitted shape stays unchanged. Among all candidates with density at most 0.90, we keep the one with the smallest validation error. The fixed-shape kernel goes through the same search without the likelihood step, with at the five radii. All choices are made before the test fields are used (Appendix B.2).
We thus compare four models, the fixed-shape and the fitted-shape kernel, each with and without affine augmentation. A comparison at the same augmentation isolates the effect of fitting the shape. Since all parameters are refit when the augmentation changes, a comparison with and without it measures the whole procedure.
4. Operator Lagrange prediction
We now combine the operator regression of Section 3 with the output reconstruction of Section 2. The direct way to predict is to solve (44) for the coefficients and of every stencil. This needs one operator right-hand side for every spatial coefficient, and the local coefficients of every training field. However, an operator regression with the same kernel for all outputs is a weighted combination of the training outputs, and the weights depend only on the new input. It suffices to solve once per new input for these weights and apply them to the whole output at once. Since the output reconstruction is linear, we can apply them even before the output reconstruction, to the sampled training fields.
4.1. Operator Lagrange weights
We first define the weights as functions on the input space. For an input , let . We define its operator Lagrange weights by
where the multiplier enforces the reproduction of affine functions. Block elimination with the factors (46) gives
so every weight is a combination of the kernel functions and the affine functions, of the same form as (39). Since the matrix of (51) is the symmetric matrix of (44), the operator interpolant (39) and the learned operator (41)
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 13 of 53 take the Lagrange form
a combination of the reconstructed training fields with weights that depend only on the input (Appendix C.4). Without augmentation, , and (53) is the Lagrange form of (35) and (37). The weights are regularized Lagrange (cardinal) functions of the training inputs [15, 46, 65]. For , they are cardinal at the training inputs. For , they are not, but they still reproduce the affine functions exactly.
Proposition 2 (Reproduction and preservation under shared weights). Assume is positive definite and has full column rank. Then (52) is the unique weight vector in (51), and . In particular, the augmented model reproduces constants and the scaled principal coordinates in . Let be any common linear output reconstruction of the training coefficient vectors, and let be a linear constraint with for every training field. Then
Proof sketch. The factors (46) give , from which reproduction follows by substitution, and uniqueness follows from the block structure. The identities (54) are linearity. Appendix C.4 gives the details.
With D the divergence on a stencil, the proposition shows that every prediction is divergence free on each stencil, for both kernels and with or without augmentation. Since the temporal weights (28) do not depend on the input, the operator weights also commute with interpolation in time.
We now turn to the discrete form. For a new input , restricting the first identity of (53) to stencil j gives the predicted coefficients
and, with the weights of new inputs as the rows of , the second equation of (44) becomes
Figure 1 illustrates (55). One sparse solve gives the weights of a new input, and these weights produce the coefficients on every stencil. The number of operator solves now equals the number of new inputs and no longer depends on the size of the output representation. To compute (52), we first solve and then correct for the affine augmentation,
Without augmentation, , so that
4.2. Applying the weights before the output reconstruction
With as in Section 3.2, let be the linear map from a sampled output to its local output reconstruction . Since the same stencils, polynomial bases, and temporal weights serve every training field, linearity gives
(59)
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 14 of 53
Our GPU implementation uses the last form. It combines the sampled training fields with the weights and then applies R once per new input. At setup, adjoint solves with the local matrices turn R into compact evaluation weights on each stencil. Prediction then stores the sampled training fields, the evaluation weights, and the stencil indices, but none of the N sets of local coefficients. For the Taylor–Green benchmarks, whose responses we divide by the input amplitude before fitting (Section 5.2.1), the same identity holds for the normalized responses.
4.3. Rounding errors of direct and Lagrange evaluation
The forms in (59) agree in exact arithmetic, but they round differently. The difference is important when a moderate velocity is the result of cancellation among large spatial coefficients, which can happen for a global interpolant. A solve error then enters the velocity amplified by the output reconstruction. We now quantify this for the model without augmentation and for evaluation through the coefficients, which is the setting of our comparison in Section 5.3. The analysis does not cover the affine correction (57) or the order of operations of Section 4.2.
Assume is symmetric and nonsingular. We fix one stencil and drop its index, writing , , and , so that each row of holds the spatial coefficients of one training field. Let stack the evaluation matrices (18) of the velocity values reconstructed from this stencil, so that holds the reconstructed training velocities. The direct coefficients and the Lagrange weights satisfy
and both give the prediction . The same notation describes a global output reconstruction, with a single stencil.
Theorem 3 (Solve errors and multiplication rounding). For computed approximations and , define the solve residuals by evaluating their defining equations in exact arithmetic,
Before subsequent multiplication rounding, the prediction errors satisfy
Define, with denoting evaluation in floating point, and .
Suppose the coefficient products and the output reconstruction use standard floating-point dot products, possibly split into d component blocks followed by summation.
Assume no overflow or underflow, and set , where is unit roundoff and . With , we have
Here absolute values are taken entrywise. The residual identities require symmetry and nonsingularity, but not positive definiteness.
Proof sketch. Substituting the residuals into the two predictions gives (62)–(63). The standard bound for floating-point dot products then bounds the multiplications. Appendix C.5 gives the proof.
The bounds become clearer with the amplification factor
which measures how much the coefficients cancel in the output reconstruction of the training velocities. If and , the solve errors satisfy
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 15 of 53
In direct evaluation, the relative solve error is amplified by . In Lagrange evaluation, the coefficients have already been combined into velocities, and does not appear. A global interpolant with a smooth kernel can have very large , since its coefficients are large and cancel, while a local interpolant on a small stencil has moderate coefficients. The rounding of the multiplications, however, contains the entrywise product with in both bounds (of in direct and of in Lagrange evaluation), so cancellation in the output reconstruction also enters the rounding, and the theorem does not make Lagrange evaluation more accurate in general. We test these predictions in Section 5.3.
4.4. GPU implementation
Algorithm 1 summarizes our implementation. Every floating-point computation runs on the GPU in double precision, from the normalization of the inputs and the stencil selection to the factorizations and the output reconstruction, using the routines of KernelPack-JAX [8]. Only the integer bookkeeping of the cell-based stencil search for large non-periodic node sets (Section 5.1.5) runs on the host. The kernel is assembled pair by pair over its support, in passes of bounded size, so that no dense kernel or distance matrix is ever formed.
However, JAX has no sparse direct solver that keeps a factorization between calls. Our implementation therefore factors with NVIDIA's cuDSS through the primitive kernelpack.sparse.cudss of KernelPack-JAX, which exposes cuDSS to XLA, the compiler behind JAX. We use cuDSS in its symmetric positive-definite mode, with its nested-dissection ordering (Section 3.5). The factors stay on the GPU, and the right-hand sides of a batch of new inputs are solved as the columns of one call. A change of the support (i.e., of ) requires a new ordering and symbolic analysis, while a change of the values only requires a numerical refactorization. Appendix B.4 describes the batching and the checks of the timed runs.
Algorithm 1 Local and sparse kernel operator learning on the GPU.
Require: training and validation pairs, new inputs, output points, spatial kernel and polynomial degree Output reconstruction: 1: select the stencils, with periodic images where needed (Section 2.3) 2: build the divergence-free polynomials and the local systems, and prepare R (Section 2.1) 3: for spacetime outputs, add the temporal weights (28)
Operator regression: 4: standardize the training inputs and compute their principal directions 5: for each choice of augmentation, keep the fixed shape or fit it by (49) 6: select the radius and regularization on the validation fields 7: assemble in sparse form and factor it with cuDSS 8: with augmentation, form the whitened QR correction (46)
Prediction: 9: solve for the Lagrange weights (57) of a batch of new inputs 10: combine the sampled training fields and apply R by (59) 11: check the solve residuals and the reproduction of affine functions
4.5. Work and storage
Table 1 lists the work and storage of each step. Let and , where is the Cholesky factor of in (46). With the set of rows in which column of is nonzero, so that , the sparse factorization takes, up to a constant factor,
floating-point operations [9], where the lower bound follows from the Cauchy–Schwarz inequality and the upper bound from . For a dense factor, and . Let be the number of new inputs in a batch, let be the number of spatial coefficients, and let be the number of sampled output values per field ( ,
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 16 of 53
Table 1
Work and storage. Here and are the numbers of nonzeros of the kernel matrix and of its Cholesky factor, the work (68) of the factorization, the number of new inputs in a batch, the number of affine columns, the number of sampled output values per field, the number of query points, the size of the local system on stencil , and . The last two rows belong to direct evaluation through coefficients, which our predictions avoid. For spacetime outputs, the counts of these two rows are multiplied by .
| Step | Work | Storage |
|---|---|---|
| Kernel factorization | ||
| Affine correction ( columns) | solves with right-hand sides, | |
| QR | ||
| Lagrange weights, queries | ||
| Combining training fields | ||
| Local systems (setup) | per stencil | |
| Local evaluation, points | per snapshot | weights, indices |
| Training coefficients | ||
| Applying weights to coefficients |
or for spacetime outputs). We count the work of a triangular solve as proportional to the number of nonzeros of the factor.
Two observations follow from the table. First, the local output reconstruction costs per stencil, with fixed by the stencil size and the polynomial degree, so its cost grows linearly with the number of output points instead of cubically. Second, the cost of the operator regression is governed by the factor of , whose size depends on the fill as well as on the density of [9]. At a fixed density, the kernel matrix and its factor still grow as . For this reason, we report density, factor storage, and prediction time separately in Section 5.
Note that the Lagrange weights are dense even when is sparse. Direct evaluation instead solves right-hand sides once and can reuse its coefficients for any number of new inputs, so the cheaper route depends on how many predictions are needed. Appendix B.3 gives the storage accounting of our experiments.
5. Numerical experiments
We now test our method in three steps. We first test the local output reconstruction alone, with exact fields in place of predictions, for convergence and for the three properties it preserves (Section 5.1). We then compare four operator models on ten fluid benchmarks as the training set grows, in accuracy, sparsity, and storage (Section 5.2). Finally, we compare direct and Lagrange evaluation in floating point and measure the cost of prediction (Section 5.3).
5.1. Local output reconstruction
Exact velocity fields in place of predictions separate the error of the output reconstruction from that of the operator regression. We use these tests to answer three questions. Does it converge at the order set by its polynomial degree on scattered nodes? Are its divergence and its periodic mismatch at rounding level? And does the multiscale Matérn kernel reproduce prescribed turbulence statistics as the nodes are refined?
5.1.1. Convergence on scattered nodes
We interpolate manufactured divergence-free fields in the smooth domains , , bounded by a quartic curve and a quartic surface. Each field is the curl of a trigonometric stream function () or vector potential () multiplied by , so it vanishes on the boundary (Appendix D.2 gives and the potentials). We use divergence-free polynomials of degree , and 5 for target orders 2, 4, and 6. Each stencil has nodes, where is the dimension of the polynomial space, and both the PHS ( for degrees 1 and 3, and for degree 5) and the multiscale Matérn kernel (, which sets the Matérn lengths relative to the stencil radius in (21)) use the same stencils and polynomials. The node sets are four refinements generated by the node generator of KernelPack-JAX [8], with 172 to 1907 nodes in 2D and 197 to 2570 in 3D, and the stencils are boundary aware (Section 2.1).
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 17 of 53

Figure 3: Convergence of the local output reconstruction on scattered nodes in the domains (left) and (right), with PHS and multiscale Matérn kernels and divergence-free polynomials. Relative error at random evaluation points that are not nodes, against the sampled fill distance of (69). Dotted lines: , , .
Let be the output reconstruction of the exact field from the nodes of a node set with spacing . We measure its relative error on a fixed set of uniformly random interior evaluation points (4096 in 2D and 32768 in 3D), against the fill distance sampled on the same set,
where each evaluation point uses the stencil of its nearest node.
Figure 3 shows the results. In 2D, both kernels converge at close to the target orders, with least-squares rates of 2.1, 3.9, and 5.8. In 3D, the rates over all four node sets are lower, 1.7–1.9, 3.4–3.7, and 5.0, but the sixth-order rate rises to 5.5 over the three finest node sets. The 3D deficit is likely due to the coarsest node sets, which are not yet in the asymptotic range. The two kernels give nearly the same errors on smooth fields, so the multiscale kernel does not reduce the accuracy on smooth fields.
5.1.2. Divergence and periodicity
Since every basis function is divergence free, the divergence of the output reconstruction should vanish up to rounding, however large its approximation error. Differentiating each local expansion on its own stencil, we find a normalized root-mean-square (RMS) divergence at rounding level for both kernels, all degrees, and all node sets (Appendix D.2). We test periodic stencils on scattered nodes in , comparing the reconstructed velocities and their Jacobians at periodically equivalent points on faces, edges, and corners. The differences are again at rounding level for both kernels and all degrees, while the approximation error varies with degree and resolution as expected.
5.1.3. Kolmogorov statistics
The multiscale kernel builds a Kolmogorov law into its weights. We now test whether interpolation on finite stencils preserves this law. We reconstruct a three-dimensional solenoidal Fourier ensemble whose velocity increments follow the Kolmogorov law over the separations . The ensemble is a sum of 1514 Fourier modes with Gaussian coefficients perpendicular to their wave vectors and a energy spectrum, restricted to (Appendix D.2.3). Below , its finite bandwidth makes the increments smooth. For pairs of points and at distance along eight fixed directions , we compute the second-order structure function exactly from the covariance of the ensemble,
(70)
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 18 of 53

Figure 4: Kolmogorov statistics of the local multiscale Matérn output reconstruction. Left: structure functions for degree five on three of the six node sets, and the exact reference. Right: worst relative error of (71) of the reconstructed structure function against the node spacing , with an guide.
both for the ensemble and, with in place of v, for its output reconstruction ( ). We measure the worst relative error over the directions,
We use the multiscale Matérn kernel with polynomial degrees 1, 3, and 5 on six node sets, with node spacings h from 0.26 to 0.05 (128 to 13567 nodes).
Figure 4 shows the structure functions approaching the reference under refinement. At the largest separation, , the error decays like , , and for the three degrees. These are fits over a finite range of , not asymptotic rates. For degree five, the fitted slope of over the upper part of the range moves toward the reference slope. However, the error at small separations stays large even on the finest node set, since these separations are below the node spacing. To see whether locality is to blame, we compare local and global interpolation on one node set, with the same kernel and polynomials (Appendix D.2.3). Both have nearly the same error, at and over the whole range, so the small-separation error is likely due to the resolution of the nodes and not to the stencils.
5.1.4. Output reconstruction in the fluid benchmarks
We now test the output reconstruction on the predictions of the operator benchmarks (Section 5.2.1). The data sets hold the velocity at more mesh points than the m output points that we use as nodes, and the remaining points lie between the nodes. We reconstruct the predicted nodal velocities of the model with the smallest validation error at N = 10000 with the global divergence-free Matérn interpolant of our earlier work and with our local output reconstruction, and measure the error at these points (Table 2, Appendix A.5). Neither output reconstruction is uniformly more accurate. The global one is more accurate for both cylinder flows, the backward-facing step, and Taylor–Green vortices (space), by factors between 1.06 and 2.7. The local one is more accurate for the other six, by factors between 1.04 (turbulent species transport) and 10 (buoyancy-driven cavity), although each local system has at most 62 unknowns in 2D and 262 in 3D, against up to 21000 in the global system. For several flows, the errors between the nodes are much larger than those at the nodes, so they are set by the resolution of the m nodes and not by the operator regression. For both turbulent flows, the multiscale Matérn kernel has a lower error than the PHS, and validation selects for both. Almost all stencils keep the full polynomial space, except in the species-transport mixer, whose geometry truncates the rank on more than half the stencils (Table 7 in Appendix A.2).
5.1.5. Cost of the local output reconstruction
We now compare the setup cost of our local output reconstruction with that of a global divergence-free output reconstruction, as in PPKM, on scattered nodes in the unit square and the unit cube. The global setup assembles the dense Gram matrix of a divergence-free Matérn kernel and factors it by Cholesky. The local setup selects the stencils, builds the polynomial bases and the local systems, factors them, and forms the evaluation weights of
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 19 of 53
Table 2
Test error between the nodes. We reconstruct the predicted nodal velocities of the 100 test inputs (model with the smallest validation error at ) and measure the mean relative velocity error at the evaluation points, the mesh points of each data set that are not among its nodes. Global: the divergence-free Matérn interpolant of Sharma et al. [53] on all nodes. Local: our output reconstruction with the cubic PHS, or with the multiscale Matérn kernel () where marked (Appendix A.5 compares it with the PHS). Bold: smaller error in each row.
| Data set | Nodes | Evaluation points | Global | Local |
|---|---|---|---|---|
| Forced isotropic turbulence | (multiscale) | |||
| Turbulent species transport | (multiscale) | |||
| Merging vortices | ||||
| Lid-driven cavity | ||||
| Cylinder flow (no shedding) | ||||
| Cylinder flow (vortex shedding) | ||||
| Backward-facing step | ||||
| Buoyancy-driven cavity | ||||
| Taylor-Green vortices (space) | ||||
| Taylor-Green vortices (spacetime) |

Figure 5: Setup time and memory of our local output reconstruction (degree four, cubic PHS) and of a global divergence-free Matérn output reconstruction (dense Gram matrix and Cholesky factor) against the number of output points, on scattered nodes in the unit square (2D) and cube (3D). Dotted: the global cost extrapolated as in time and in memory beyond the largest size that a single dense factorization fits on our GPU. All times are measured after compilation.
Section 4.2, with the degree-four output reconstruction of the operator benchmarks. Both run on the GPU in double precision, and we time them after compilation. Figure 5 shows the results.
The local setup grows at most linearly in , in both time and memory, as Table 1 predicts. The global setup grows like in time and in memory, and a single dense factorization no longer fits on our GPU beyond . It could be factored in blocks, at the same cubic cost. On small node sets, the dense global factorization is faster, since its work is done by a few large and efficient GPU kernels. The local setup becomes the faster one near in 2D and in 3D, and its memory is smaller at every size we tested, by a factor that grows linearly with .
Two choices keep the local setup linear in , and neither changes the output reconstruction beyond rounding. The polynomial bases are built by QR factorizations instead of singular value decompositions (Appendix A.2), and non-periodic node sets of more than 4096 nodes find their stencils by an exact search on a grid of cells, whose work grows linearly with . Together, they make the setup of the output reconstruction a small part of the offline cost of every operator benchmark (Appendix D.6.1).
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 20 of 53
Table 3
The ten benchmarks: input and output of the operator, number of sampled input coordinates, number of principal input coordinates (the numerical rank of the training inputs, capped at three), spatial dimension , number of output points, and spatial kernel. Taylor–Green vortices (spacetime) has spacetime outputs, at the same 500 points at four times.
| Data set | Input output | Input coord. | d | m | Spatial kernel | |
|---|---|---|---|---|---|---|
| Forced isotropic turbulence | 21000 | 3 | 3 | 7000 | Five-scale Matérn | |
| Turbulent species transport | inflow | 1388 | 2 | 3 | 7000 | Five-scale Matérn |
| Merging vortices | 500 | 3 | 2 | 500 | Cubic PHS | |
| Lid-driven cavity | 2000 | 1 | 2 | 1000 | Cubic PHS | |
| Cylinder flow (no shedding) | 2000 | 1 | 2 | 1000 | Cubic PHS | |
| Cylinder flow (vortex shedding) | 2000 | 1 | 2 | 1000 | Cubic PHS | |
| Backward-facing step | inflow | 11 | 1 | 2 | 1000 | Cubic PHS |
| Buoyancy-driven cavity | 5000 | 1 | 2 | 5000 | Cubic PHS | |
| Taylor–Green vortices (space) | 1000 | 1 | 2 | 500 | Cubic PHS | |
| Taylor–Green vortices (spacetime) | 1000 | 1 | 2 | 500 | Cubic PHS |
5.2. Sparse operator regression
5.2.1. Benchmarks and models
We use the ten data sets of our previous work [53], listed in Table 3. Eight are two-dimensional laminar flows, two of them the analytical Taylor–Green vortices, and two are three-dimensional turbulent flows, a Reynolds-averaged simulation of a static mixer and a large-eddy simulation of forced isotropic turbulence. In each, the input is an initial velocity, temperature, or vorticity, an inflow, or a body force, sampled at points of the domain or of its inflow boundary, and the output is the velocity at a fixed later time (or, for Taylor–Green vortices (spacetime), at four times), sampled at m output points. The output points are approximate Fekete points, i.e., well-spaced points selected from the mesh [53]. Appendix D.1 gives the geometries, parameter distributions, and simulations.
Each data set has 10000 training pairs, 100 validation pairs, and 100 test pairs. We fit every model on the first training pairs, so the training sets are nested, and the validation and test pairs are the same for every . The validation and test pairs were also used in our previous study and during the development of the method, so our comparisons are retrospective. Freezing all choices before the final test runs prevents test-based selection in this study but does not make the test set new. Our error measure, the test error, is the relative velocity error of the prediction of a test field at the output points, averaged over the 100 test fields (and, for Taylor–Green vortices (spacetime), over the four times). It measures the prediction for inputs that are used neither for fitting nor for validation.
The benchmarks differ less in their flows than in their inputs, and this affects how we interpret the results. In three of them, forced isotropic turbulence, turbulent species transport, and merging vortices, the inputs vary in at least two independent directions, and the operator is a multivariate map. In the other seven, the training inputs have numerical rank one. These inputs are multiples of one input function (e.g., the speed of the lid or the amplitude of the inflow), so the operator restricted to the data is a curve in the output space, and the operator regression is one-dimensional. Two of these, the Taylor–Green vortices, are degenerate in a further sense. Their outputs are proportional to the input amplitude, so we divide the responses by the amplitude before fitting and multiply by it after prediction. With the amplitude of training input i relative to the median training amplitude and that of a new input, we fit the normalized responses and predict
The normalized operator is then constant, which affine augmentation reproduces, and Proposition 2 applies to the normalized responses. All four models use this normalization for both Taylor–Green data sets, and the other eight data sets use unnormalized responses. Taylor–Green vortices (spacetime) thus tests our spacetime output reconstruction but not the operator regression.
We compare four models (Section 3.6). The fixed-shape kernel uses and in (32), an isotropic metric on the principal coordinates and a unit scale for the residual coordinates. The fitted-shape kernel has its shape
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 21 of 53 fitted by the restricted likelihood. Each is used with and without affine augmentation, and each chooses its support radius and regularization by validation. For inputs of rank one, the shape has no free parameters, so the fitted-shape kernel differs from the fixed-shape one only through the regularization that the likelihood proposes, which enters the validation search.
All four models share one local output reconstruction, with divergence-free polynomials of degree (dimension 20 in 2D and 85 in 3D) on stencils of and 59 nodes, the cubic PHS for the smooth flows, and the multiscale Matérn kernel with (which sets its lengths relative to the stencil radius in (21)) for the two turbulent flows. Section 5.1.4 compares these choices with alternatives. All computations run in double precision on one NVIDIA RTX 5090.
5.2.2. Sparsity and convergence in N
We first ask whether a sparse kernel matrix is compatible with accurate prediction. Validation chooses the support radius, and with it the density of the kernel matrix, among candidates with densities up to 90%. If accuracy required a dense matrix, validation would select the largest candidates. Figure 6 (right) shows the densities selected at for all ten benchmarks and all four models of Section 5.2.1. Validation selects 10% for the lid-driven cavity, both cylinder flows, and the buoyancy-driven cavity, about 33% for the backward-facing step, and between 9% and 25% for turbulent species transport and merging vortices. Nearly dense matrices are selected only for forced isotropic turbulence and for Taylor–Green without augmentation. The value 10% is the sparsest of the five prescribed densities that validation evaluates, although its gradient refinement can also reach sparser matrices.
Figure 7 shows how the selected density changes with N. For most benchmarks, it decreases as N grows, from between 20% and 90% at N = 500 to 10% at N = 10000 for the lid-driven cavity and both cylinder flows, so the sparsity of the operator regression increases with the size of the training set. Forced isotropic turbulence stays at 90% for every N, and the backward-facing step at about 33%.
With these sparse matrices, the test errors decrease steadily as the training set grows. Figure 8 shows the errors for the three multivariate flows and for the lid-driven cavity, a representative flow with rank-one inputs. Least-squares fits give errors proportional to with between 0.4 and 1.3 for every benchmark and model (Table 9 in Appendix D.6), with two exceptions. With augmentation, the backward-facing step decays only like . For Taylor–Green, the augmented models reproduce the constant normalized operator to rounding error, while the error of the unaugmented models grows slowly with N.
● Fixed shape ■ Fitted shape △ Fixed shape + affine ◇ Fitted shape + affine

test-error reduction over fixed shape selected density
Figure 6: All benchmarks at N = 10000. Left: test error of the fixed-shape kernel ( , ) without augmentation, divided by the test error of each other model (values above one are improvements). Right: density of the selected kernel matrix.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 22 of 53

Figure 7: Selected density of the kernel matrix against the number N of training functions for the three multivariate flows and the lid-driven cavity. The affine columns are not counted. Figure 21 shows the other benchmarks.
5.2.3. Kernel shape and affine augmentation
We next compare the four models. Figure 6 (left) shows, for each benchmark at N = 10000, the error of the fixed-shape kernel without augmentation divided by the error of each other model. On the five rank-one flows other than Taylor–Green, these ratios lie between 0.98 and 1.36, so neither the fitted shape nor the augmentation changes the error by more than about a quarter. This is consistent with the operator regression being one-dimensional on these data.
On the multivariate flows, however, the ratios are larger and depend on the flow. For forced isotropic turbulence, augmentation reduces the error by a factor of 29, and by 39 together with the fitted shape, at the same density. For turbulent species transport, the fitted shape reduces it by a factor of 6, and by 12 together with augmentation, while doubling the selected density. For merging vortices, all four errors lie within 12% of each other. Augmentation also lowers the selected density for merging vortices and for both Taylor–Green benchmarks. Neither choice is uniformly better, so we select both by validation.
5.2.4. Comparison with earlier results
We now compare our models with the results that Sharma et al. [53] report on the same data sets for dense PPKM, for the kernel method of Batlle et al. [2] (VKM), which maps the samples of the input to the samples of the output, and for two neural operators, Geo-FNO [32] and Transolver [70], each trained with and without a divergence penalty. Table 4 lists these errors at the training sizes used there, together with the error of our model that has the smallest validation error among the four. The comparison has two caveats. The earlier errors are averages over all 200 held-out pairs, which include our 100 validation pairs, and the neural operators were trained in single precision.
Our models are at least as accurate as dense PPKM on all ten data sets, by factors between 1.06 (cylinder flow with vortex shedding) and about 56 (merging vortices), and the same holds against VKM. Against the better of the two neural operators, the factor ranges from 2 for forced isotropic turbulence to more than for Taylor–Green. The gains over dense PPKM are likely due to the affine augmentation, the fitted kernel shape, and the validation of the radius
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 23 of 53
Fixed shape
Fixed shape + affine
Fitted shape
Fitted shape + affine
Forced isotropic turbulence

Merging vortices
Turbulent species transport


Lid-driven cavity
training functions

training functions
Figure 8: Test error (mean relative velocity error of the predictions for the 100 test inputs) against the number of training functions for the three multivariate flows and the lid-driven cavity. Dashed: with affine augmentation. Figure 20 shows the other benchmarks.
Table 4
Test error (mean relative velocity error of the predictions for held-out inputs) of our sparse local model (the one of the four with the smallest validation error) and of the methods reported by Sharma et al. [53] at the same training size : dense PPKM, the kernel method of Batlle et al. [2] on output samples (VKM), and Geo-FNO and Transolver, each with the better of its errors with and without a divergence penalty. The earlier errors are averages over all 200 held-out pairs and ours over the 100 test pairs. Our models of the cylinder flow without shedding at were fitted for this comparison, with the settings of the other training sizes. Bold: smallest test error in each row.
| Data set | Ours | PPKM | VKM | Geo-FNO | Transolver | |
|---|---|---|---|---|---|---|
| Forced isotropic turbulence | 10000 | |||||
| Turbulent species transport | 10000 | |||||
| Merging vortices | 500 | |||||
| Lid-driven cavity | 10000 | |||||
| Cylinder flow (no shedding) | 100 | |||||
| Cylinder flow (vortex shedding) | 10000 | |||||
| Backward-facing step | 500 | |||||
| Buoyancy-driven cavity | 10000 | |||||
| Taylor-Green vortices (space) | 5000 | |||||
| Taylor-Green vortices (spacetime) | 5000 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 24 of 53


Merging vortices
Turbulent species transport

Lid-driven cavity
training functions N

training functions N
Figure 9: Accounted storage of the fitted models (stored arrays and factors, not measured peak memory) against N for the three multivariate flows and the lid-driven cavity. Figure 22 shows the other benchmarks.
and regularization, and for Taylor–Green also to the amplitude normalization. Thus, at these training sizes, the sparse operator regression is no less accurate than the dense one.
In addition, the neural-operator predictions in Sharma et al. [53] have maximum pointwise divergences between about 0.1 and 20, while ours are divergence free on each stencil. The training times reported there, from seconds to about a minute and a half for the kernel methods with fixed shape parameters and from minutes to almost a day for the neural operators, are not comparable to our selection times, which include the search over radii and regularizations (Appendix D.6.1).
5.2.5. Storage
The storage of a model consists mainly of the Cholesky factor of its kernel matrix and the sampled training fields, which the prediction (59) uses in place of their local coefficients. Figure 9 shows the storage against N. Over our range of N, the training fields dominate, and the storage of most models grows roughly linearly in N, with least-squares exponents between 0.9 and 1.1. The exceptions are merging vortices, the backward-facing step, and the unaugmented Taylor–Green models, with exponents between 1.2 and 1.7, likely because the factor is a larger share of their storage (small outputs, or densities that do not decrease). The Cholesky factor itself grows like to , since even a decreasing density leaves a number of nonzeros that grows faster than N, and it would eventually dominate for larger training sets.
The size of the factor depends on the ordering as well as on the density. With the nested-dissection ordering of Section 3.5, the factors at N = 10000 have between 1 and 4.3 times fewer entries (a median of 2.8) than with the approximate-minimum-degree ordering, with identical predictions. Forced isotropic turbulence gains nothing, since its nearly dense kernel matrix has a dense factor in any ordering. The fill also makes storage not proportional to the density. For example, the fitted-shape augmented species model has 2.4 times the density of the fixed-shape augmented one, but only 1.4 times as many factor entries. For this reason, we report storage separately from density (Table 11).
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 25 of 53

Figure 10: Median time to predict all 100 test fields after setup, including the kernel evaluation, the sparse solves, and the local output reconstruction. Fitting and setup are excluded (Appendix D.6.1).
5.3. Operator Lagrange weights
We now turn to the operator Lagrange weights of Section 4. Their main purpose is computational. They make a prediction cost one sparse solve per new input, regardless of the size of the output representation, and they let us combine the training fields before the output reconstruction. We first measure these savings. We then test the prediction of Theorem 3 that the weights are also more accurate than direct evaluation, but only when the output reconstruction amplifies solve errors.
5.3.1. Storage of the training data
Since the weights are applied to the sampled training fields, a prediction needs the sampled values, with , and not the local coefficients of the training fields. With one stencil per output point, the ratio of the two is when every stencil keeps the full polynomial space, of dimension . For our degree-four output reconstructions, the local coefficients would thus take 31 times the storage of the training fields in 2D and 87 times in 3D. For forced isotropic turbulence at , for example, this is the difference between 1.7 and 147 GB in double precision.
5.3.2. Prediction cost
Figure 10 shows the time to predict all 100 test fields once the model is set up, including the evaluation of the kernel, the sparse solves for the weights, and the local output reconstruction. For the lid-driven cavity, a twentyfold increase in N raises this time seven- to eightfold, so prediction grows sublinearly in N over this range. The turbulent flows cost more at N = 10000, about three times the time of the lid-driven cavity for forced isotropic turbulence and 1.7–2.0 times for turbulent species transport, since they select denser kernels with more fill.
The ordering also affects the prediction time. Nested dissection makes the median prediction 1.3 times faster at N = 10000 than approximate minimum degree, since its smaller factors also give more parallel triangular solves. Fitting the kernel shape has no consistent effect on prediction time, but it adds offline cost, since a fitted-shape model takes several times longer to select than a fixed-shape one (Appendix D.6.1).
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 26 of 53
Table 5
Amplification factor of (66), which measures the cancellation among the spatial coefficients, for training fields, for the global and for our local output reconstruction (stencils combined as in Section 5.3), and the largest ratio of the direct to the Lagrange error with global output reconstruction from Table 6. Bold: smaller amplification factor in each row.
| Data set | Global | Local | Largest gain (global) |
|---|---|---|---|
| Forced isotropic turbulence | |||
| Turbulent species transport | |||
| Merging vortices | |||
| Lid-driven cavity | |||
| Cylinder flow (no shedding) | |||
| Cylinder flow (vortex shedding) | |||
| Backward-facing step | |||
| Buoyancy-driven cavity | |||
| Taylor–Green vortices (space) | |||
| Taylor–Green vortices (spacetime) |
5.3.3. Accuracy of direct and Lagrange evaluation
Recall the amplification factor of (66), which compares the size of the spatial coefficients of the training fields and of the evaluation matrix with the size of the reconstructed velocities. It is large when large coefficients cancel in the output reconstruction. By (67), a solve error enters direct evaluation multiplied by , and Lagrange evaluation without this factor. The theorem therefore predicts a gain from Lagrange evaluation where is large, and none where it is small. We test this prediction in two steps.
First, we compute for all ten benchmarks, from 1000 training fields, for the global divergence-free Matérn output reconstruction of our earlier work and for our local output reconstruction. For the local output reconstruction, which has one and one per stencil, we combine the stencils as , which bounds the amplification of the solve errors summed over all stencils and reduces to for a single global stencil. Table 5 shows that the coefficients of the global output reconstructions are large and cancel, with above , up to , on all benchmarks except Taylor–Green vortices (spacetime), whose kernel is less flat. Our local output reconstructions have between 6 and 150 in 2D, 396 for forced isotropic turbulence, and about for turbulent species transport, where more than half the stencils have a truncated polynomial rank (Table 7).
Second, we evaluate the same operator models both ways, with everything else held fixed. These are the unaugmented models of Section 5.2, which the theorem covers: the fixed-shape kernel at the radii of the five prescribed densities and at its validated radius, and the fitted-shape kernel at its validated parameters, for from 500 to 10000 (Appendix D.4). Table 6 lists the ratio of the direct error to the Lagrange error on all ten benchmarks.
The results agree with this prediction. With global output reconstruction, Lagrange evaluation is more accurate by up to a factor of 868 (merging vortices), with median gains above 5 for merging vortices, the lid-driven cavity, and the backward-facing step. With our local output reconstruction, the two evaluations agree to within a relative difference of for every model, as the small implies. A large allows a gain but does not guarantee one, since the gain also requires a solve residual that is not negligible. Forced isotropic turbulence, for example, has with its global output reconstruction but a gain of at most 1.2.
Over all 560 pairs, Lagrange evaluation is never less accurate than direct evaluation by more than 0.02%. Appendix D.4 follows one global model of the lid-driven cavity as grows (Table 8). There, the gain grows from 1.3 to 5.1 together with the norm of the spatial coefficients, and solving the direct system for the sampled velocities instead of the coefficients removes it, which indicates that the large coefficients are the cause.
Lagrange evaluation thus serves our local output reconstruction through its cost and storage, and it would also protect a global or otherwise ill-conditioned output reconstruction, such as that of our earlier method, from the amplification of solve errors.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 27 of 53
Table 6
Ratio of the test error of direct evaluation to that of Lagrange evaluation, for the same unaugmented operator models (the fixed-shape kernel of Section 3.1 at the radii of the five prescribed densities and at its validated radius, and the fitted-shape kernel at its validated radius, for , and 10000) with global and local output reconstruction. Values above one favor Lagrange evaluation. Over all 560 pairs, the smallest ratio is 0.99987.
| Data set | Global output reconstruction | Local output reconstruction | |||
|---|---|---|---|---|---|
| Models | Median | Max | Models | Max |ratio-1| | |
| Forced isotropic turbulence | 28 | 1.00 | 1.2 | 28 | |
| Turbulent species transport | 28 | 1.00 | 7.1 | 28 | |
| Merging vortices | 28 | 48.96 | 868.1 | 28 | |
| Lid-driven cavity | 28 | 5.07 | 34.5 | 28 | |
| Cylinder flow (no shedding) | 28 | 1.05 | 4.8 | 28 | |
| Cylinder flow (vortex shedding) | 28 | 1.01 | 2.0 | 28 | |
| Backward-facing step | 28 | 16.51 | 215.3 | 28 | |
| Buoyancy-driven cavity | 28 | 1.47 | 14.8 | 28 | |
| Taylor-Green vortices (space) | 28 | 1.05 | 6.1 | 28 | |
| Taylor-Green vortices (spacetime) | 28 | 1.00 | 1.0 | 28 | |
6. Conclusions
In this article, we presented a local and sparse kernel method for learning the solution operators of incompressible flows. It keeps the guarantee of our earlier property-preserving method [53], that every prediction is divergence free, and removes the two costs of that method that grow with the problem size. Local divergence-free interpolants replace the global output reconstruction, so the output can be refined without enlarging any linear system, and the local systems are independent and solved in parallel on the GPU. The output reconstruction is divergence free, periodic on periodic domains, and, with the multiscale Matérn kernel, approaches Kolmogorov statistics under refinement at the separations that the nodes resolve. A compactly supported kernel that is positive semidefinite in any input dimension replaces the dense operator regression, so the kernel matrix is sparse. Its support radius, and with it the sparsity, is fitted to the data, and optional affine polynomials in the input, which the operator regression reproduces exactly, represent trends that a compactly supported kernel cannot. Operator Lagrange weights join the two, so each new input costs one sparse solve and the local coefficients of the training fields are never formed.
The local output reconstruction converges at close to the order of its polynomial degree on scattered nodes, is about as accurate between the nodes as the global output reconstruction (more accurate on six of ten benchmarks and less accurate on the other four) with systems that are smaller by about two orders of magnitude, is cheaper to set up than a global output reconstruction beyond a few thousand output points, with memory that grows linearly with their number, keeps the divergence and the periodic mismatch at rounding level, and, with the multiscale Matérn kernel, approaches prescribed Kolmogorov statistics at the separations that the nodes resolve.
In the operator benchmarks, the test errors decrease roughly like with between 0.4 and 1.3 in all but two degenerate cases, and the most accurate kernels are sparse on all benchmarks but one, with densities that mostly decrease as the training set grows. At the training sizes of our earlier study, these sparse models are at least as accurate as dense PPKM on every data set, and more accurate than the neural operators reported there by factors from 2 to more than . Over our range of training sizes, the storage of most models grows roughly linearly in N. The benchmarks with rank-one inputs, apart from Taylor–Green, are insensitive to the choice of kernel and augmentation. The benchmarks with multivariate inputs are not, and the best choice differs between them. Affine augmentation gives the largest gain for forced isotropic turbulence, a fitted kernel shape for turbulent species transport, and neither helps for merging vortices. Our recommendation is therefore to select these choices by validation and to report error, density, and storage together.
Lagrange evaluation removes the need to store the local coefficients of the training fields, which would take times (the stencil size plus the number of polynomials per velocity component) the storage of the training fields themselves. Its accuracy agrees with our rounding analysis. With our local output reconstruction, whose amplification factors are at most about , it is as accurate as direct evaluation. With global output reconstructions, whose amplification factors reach , it is up to nearly three orders of magnitude more accurate.
Several extensions are natural. First, benchmarks with richer input families, and a comparison with dense operator regression and with neural operators on identical test sets and hardware, would test these conclusions beyond our ten
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 28 of 53 benchmarks. Second, our local interpolants are divergence free on each stencil but are not coupled across stencils. Blending them with a partition of unity would give a continuous field, but the blending weights introduce divergence. The divergence-free partition-of-unity method of Drake et al. [12] avoids this by blending potentials instead of velocities. Third, at a fixed density, the storage of the kernel matrix still grows quadratically with the number of training functions, which hierarchical or multilevel sparse factorizations could reduce. Finally, our rounding analysis covers the model without augmentation and evaluation through coefficients. Extending it to the affine correction and to evaluation before the output reconstruction would complete the analysis.
Credit authorship contribution statement
Ramansh Sharma: conceptualization, methodology, software, investigation, validation, visualization, writing – original draft, review, editing.
Matthew Lowery: methodology, software
Houman Owhadi: conceptualization, methodology, supervision.
Varun Shankar: conceptualization, funding acquisition, methodology, project administration, resources, software, supervision, validation, visualization, writing.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Data availability
Our implementation, including the scripts that build the tables and figures of this paper, is available in KernelPack-JAX at https://github.com/VarShankar/kernelpack-jax. The ten benchmark data sets are those of Sharma et al. [53] and are publicly available on Zenodo [54].
Acknowledgements
RS, ML, and VS were supported by the National Science Foundation under DMS 2505986, Cooperative Agreement 2421782, and the Simons Foundation grant MPS-AI-00010515 awarded to the NSF-Simons AI Institute for Cosmic Origins — CosmicAI, https://www.cosmicai.org. VS was additionally supported by the Air Force Office of Scientific Research (AFOSR) under LRIR award FA9550-25-1-0042. HO acknowledges support from the Air Force Office of Scientific Research under MURI award number FOA-AFRL-AFOSR-2023-0004 (Mathematics of Digital Twins), the Department of Energy under award number DE-SC0023163 (SEA-CROGS: Scalable, Efficient, and Accelerated Causal Reasoning Operators, Graphs and Spikes for Earth and Embedded Systems) and the DoD Vannevar Bush Faculty Fellowship Program under ONR award number N00014-18-1-2363.
Declaration of generative AI and AI-assisted technologies in the writing process
During the preparation of this work, the authors used both Codex (OpenAI) and Claude (Anthropic) to help clean up the manuscript and implement parts of the software. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
A. Details of the local output reconstruction
A.1. Ordering of vector coefficients
The coefficient vectors of (17) are ordered by component, with all values of one component before those of the next, but the kernel evaluation at a query point is naturally ordered by stencil node,
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 29 of 53
Table 7
Retained divergence-free polynomial ranks of the local systems on the nodes of each benchmark, at degree four and with periodic images, from the construction above. The full ranks are 20 in 2D and 85 in 3D. Taylor–Green vortices (spacetime) has the stencils of Taylor–Green vortices (space).
| Data set | Stencils | Retained rank | Truncated stencils |
|---|---|---|---|
| Turbulent species transport | 7000 | 45–85 | 4338 |
| Forced isotropic turbulence | 7000 | 85 | 0 |
| Buoyancy-driven cavity | 5000 | 20 | 0 |
| Lid-driven cavity | 1000 | 20 | 0 |
| Cylinder flow (no shedding) | 1000 | 20 | 0 |
| Cylinder flow (vortex shedding) | 1000 | 20 | 0 |
| Backward-facing step | 1000 | 20 | 0 |
| Taylor–Green vortices (space) | 500 | 19–20 | 1 |
| Merging vortices | 500 | 19–20 | 1 |
Let be the permutation with , where groups the components of each node. The evaluation matrix in (18) is then
A.2. Polynomial basis and local solves on the GPU
We first remove the dependencies among the candidates that do not depend on the stencil, once, before sampling. A singular value decomposition of the fixed map from candidates to polynomial coefficients gives an orthonormal basis of its row space, shared by all stencils of one dimension and degree, with
in exact arithmetic. Thus has the nonzero singular values of , and we factor it by thin QR, . On most stencils, is far from singular, and the polynomial basis is
whose values at the stencil nodes are the orthonormal columns of , as in (14). We use (76) when the eigenvalues of certify that its smallest singular value is at least times its largest, far above the rank threshold of , since these eigenvalues carry absolute errors of the order of the unit roundoff times the largest one. On the remaining stencils, the column-pivoted QR factorization determines the rank as in (12), and the basis is (14) with replaced by the retained columns of . Both factorizations are batched over the stencils, and the columns of different stencils may differ, since every system is padded to the same width (below). A singular value decomposition on every stencil would decide the rank as well, but its batched form is slow on the GPU for these matrices ( in 3D at degree four, about 10 ms each). On the species-transport node set, where most stencils are rank deficient, both rank decisions agree on every stencil, and the output reconstructions between the nodes agree to .
To keep the batches of fixed size, every system carries all 20 (2D) or 85 (3D) polynomial columns at degree four. The columns of discarded modes are set to zero and given a unit diagonal, which decouples their coefficients without changing the interpolant. Every system therefore has the padded width 62 (2D) or 262 (3D), and our costs and storage include the padding.
If the LU solution of a local system is not finite, we use the pseudoinverse of that system, also for its evaluation weights. The resulting field is still divergence free, but it need not interpolate or reproduce the full polynomial space. The pseudoinverse was never needed. The LU solutions are finite on every node stencil of all ten operator benchmarks, including the rank-deficient stencils of Table 7, and in the manufactured tests of Section 5.1 every stencil kept the full polynomial space.
A.3. Evaluation away from the nodes
The operator benchmarks evaluate predictions at the nodes. To evaluate at another point, our GPU implementation selects a stencil centered at that point and builds its basis there. The comparisons of Table 2 use this rule. The
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 30 of 53 manufactured tests of Section 5.1 instead use the stencil of the nearest node, and their results between the nodes refer to that rule.
A.4. Periodic stencils
The Taylor–Green flows and the merging vortices have period in each direction. Forced isotropic turbulence has period on the box , which we supply explicitly, since the cell centers of its grid do not reach the faces of the box.
A.5. Output reconstruction between the nodes
Table 2 reconstructs the test predictions at the nodes of the model with the smallest validation error among the four of Section 5.2.1, at , so that the operator regression is that of Section 5.2 and only the output reconstruction changes. The evaluation points of Table 2 are all mesh or grid points of the data set that are not among the output points. The local output reconstruction selects a stencil centered at each of them (Appendix A.3). The global output reconstruction is the divergence-free interpolant of Sharma et al. [53] with the scalar kernel on all nodes, with the shape parameters of that work ( for the lid-driven cavity, 0.0636 for both cylinder flows, 0.06 for the backward-facing step, 0.8 for the buoyancy-driven cavity, 0.02 for merging vortices and Taylor–Green vortices (space), and 1.5 for Taylor–Green vortices (spacetime)), applied at each sampled time for Taylor–Green vortices (spacetime). For the periodic data sets, it uses one representative of each set of periodically equivalent nodes.
We select the scale factor of the multiscale kernel on the 100 validation fields, by reconstructing their exact nodal values and measuring the error between the nodes. For turbulent species transport, , and 16 give errors of 0.166, 0.158, 0.150, and 0.147, and the PHS gives 0.169. For forced isotropic turbulence, they give 0.0228, 0.0206, 0.0178, and 0.0165, and the PHS gives 0.0227. Both select , which the operator benchmarks use. For turbulent species transport, the error between the nodes remains much larger than at the nodes, so an accurate prediction at the nodes does not guarantee one everywhere.
We also compare the second-order structure functions
of the output reconstructions and of the reference fields on the same pairs of points between the nodes (256 anchors with up to four partners in each of 12 logarithmic distance bins, with periodic distances for forced isotropic turbulence), averaged over the 100 test fields (Figure 11). The relative discrepancy of the binned structure function is 1.7% for the PHS and 2.6% for the multiscale kernel for turbulent species transport, and 0.40% and 0.20% for forced isotropic turbulence. The multiscale kernel thus lowers the pointwise error between the nodes for both flows, but improves the binned increments only for forced isotropic turbulence. Since the reference fields come from Reynolds-averaged (RANS) and coarse large-eddy (LES) simulations, this comparison measures agreement with the reference, not with physical turbulence.
B. Details of the operator regression
B.1. Normalization and principal directions
At every , we compute the normalization and the principal directions from the first training inputs alone. Each coordinate is divided by its standard deviation, or set to zero if that vanishes, and the numerical rank uses the threshold relative to the largest singular value, with the unit roundoff. The four models at one share the normalization, the principal directions, and the gate (34), and the two models with augmentation share the affine matrix.
B.2. Fitting and validation
The fitted-shape kernel starts from the radius that gives 25% density and from the regularization , and takes 60 steps of the Adam optimizer [31] with learning rate 0.03 for each of and . Its log-radius is confined to and its regularization to with . The anisotropy uses free parameters , completed by a zero, through and . The residual scale lies in . It is inactive for the seven benchmarks with and stays at one for turbulent species transport.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 31 of 53
Turbulent species transport

Forced isotropic turbulence

Figure 11: Second-order structure functions between the nodes of the reference fields and of the local PHS and multiscale Matérn output reconstructions of the test predictions at N = 10000.
Validation evaluates the radii of the five density budgets of Section 3.6. With the largest of these, it also searches radii in from four starts (radii and , regularizations and ), each with 35 Adam steps on all 100 validation fields. A fitted-shape model repeats this for both of its fitted shapes, so its search is twice as long. We keep the model with the smallest validation error among those with density at most 0.90, and break ties by density.
B.3. Work, storage, and timing
We assemble the kernel matrix by visiting all pairs of training inputs in blocks of bounded size and keeping those within the support. This keeps the memory bounded, but the work of the search is still quadratic in N, since compact support alone does not give a faster neighbor search. The likelihood and its gradient use the factors through
with the entries of the inverse needed for the trace derivatives computed only on the support. When the outputs are wide, we replace by the triangular factor of a thin QR factorization , since .
The storage we report is the sum of the stored model arrays (including the training fields), the sparse matrix arrays, cuDSS's estimate of the memory of its factors, and the solve buffers. It is computed from the stored arrays instead of measured at its peak, and it excludes compiled code and temporary workspace. A kernel with nonzeros in compressed sparse row form takes bytes.
We report the setup of the output reconstruction, which all four models share, separately from the fitting and validation of each model. The warm prediction time of Figure 10 is the median of 11 repetitions of predicting all 100 test fields after the model is set up and compiled. The four models of a benchmark run in one process and share compiled code, so small differences between their times are not significant.
B.4. Batches and checks
The 100 test inputs are solved in four batches of 32 right-hand sides, the last one padded by repeated inputs. Repeated solves replay CUDA graphs (recorded sequences of GPU kernel launches). After every factorization, we check the residual of the solves, the reproduction of affine functions, and the agreement of the batched and compiled predictions with reference predictions. Every reported model passed these checks.
C. Proofs
C.1. Completeness of the polynomial candidates
In 2D, every divergence-free vector polynomial of degree at most has a polynomial stream function of degree at most , so the rotated gradients of the scalar basis span the space. In 3D, split a divergence-free polynomial into
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 32 of 53 homogeneous parts of degree j, each of which is divergence free. The identity
shows that is the curl of the potential of degree , and expanding the components of this potential in the scalar basis gives a combination of the candidates (11). For the dimension, the divergence maps the vector polynomials of degree at most onto the scalar polynomials of degree at most (integrate in one coordinate to find a preimage), and rank-nullity gives .
C.2. Positive definiteness of the kernel
Proof of Proposition 1. The scaled principal coordinates lie in with , so the Wendland factor is a positive semidefinite kernel. The Matérn factor is positive semidefinite on the residual space in every finite dimension. The Gram matrix of their product is the Schur product of two positive semidefinite matrices, and multiplying it on both sides by the diagonal matrix of gates keeps it positive semidefinite.
For strictness, group distinct standardized inputs by their distinct principal coordinates , and let be the Wendland Gram matrix on these, which is positive definite. Let be a feature map of the residual Matérn kernel, and for coefficients let
The quadratic form of the product Gram matrix is . Inputs in the same group differ in their residuals, so strict positive definiteness of the Matérn kernel gives whenever a coefficient of the group is nonzero and the gates are positive. (If the residual space is trivial, distinct inputs lie in distinct groups.) Finally, for every and .
The proof does not assume that the inputs lie in a low-dimensional affine subspace. Note that standardization can make two inputs equal if they differ only in coordinates with zero training variance. The regularization keeps the matrix positive definite in that case.
C.3. Variational form of the operator regression
Let , and split , where lies in the span of the functions and is orthogonal to it. By the reproducing property, for every , so leaves the data term of (42) unchanged and only increases the norm. A minimizer therefore has the form , with , where has the rows . With the matrix with rows and , the objective becomes the convex quadratic
with gradients
The conditions (40) state that and . Both gradients therefore vanish, and every solution of (40) minimizes , and hence (42). Without augmentation, the same argument applies with and removed.
C.4. Block elimination and reproduction
Proof of Proposition 2. Write and . Since has full column rank, with invertible, and
Let and . Then satisfies
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 33 of 53 so (51) holds with . If solves the homogeneous system, then and , so , and full column rank gives . The solution is unique.
For targets in the space of affine functions, , we get , which is reproduction. The coefficients of (44) are
where the last identity follows by transposing the augmented system. Direct and Lagrange evaluation thus agree in exact arithmetic. Finally, linearity of and gives (54). For a nonzero common constraint , the affine model also gives , since its constant column enforces .
Without augmentation, . If , then is the ith column of , so and the weights are cardinal. With , the vector excludes the regularization, and the weights are no longer cardinal.
C.5. Rounding errors of direct and Lagrange evaluation
Proof of Theorem 3. The first residual equation gives , and multiplying by and gives (62). The second gives , and hence (63).
For the rounding, let with or . The standard bound for matrix products [28, Chapter 3] gives , and the product with satisfies , also when it is computed in component blocks (dot products of length at most followed by at most additions). Together,
The triangle inequality and submultiplicativity of the Frobenius norm then give (64)–(65).
D. Details of the numerical experiments
D.1. Benchmarks
The ten data sets are those of our previous work [53], where their simulations are described in full. Each figure shows the first simulation of a data set. The color fields interpolate the simulation samples linearly (Appendix D.3).
D.1.1. Flow past a cylinder
Two-dimensional flow passes a cylinder of radius 0.8 centered at (1.5, 7) in the channel , with an inflow on the left, freestream conditions at the top and bottom, no slip on the cylinder, and zero pressure at the outlet. The constant initial velocity varies within the vortex-shedding regime in one data set and below the onset of vortex shedding in the other. We learn on approximate Fekete points (well-spaced points selected from the mesh as in Sharma et al. [53]) of the 9520 mesh points.
D.1.2. Taylor–Green vortices
The analytical Taylor–Green vortices decay on the periodic domain , sampled at 500 Fekete points. For the spatial data set, we learn . For the spacetime data set, we learn the map from to the velocity on , with snapshots at and cubic interpolation in time (Section 2.4). Both use the amplitude normalization (72).
D.1.3. Lid-driven cavity
In the cavity , the speed of the lid is drawn from a truncated normal distribution, and the fluid starts at rest, so the initial velocity is nonzero only on the lid. We learn on Fekete points selected from the 9566 mesh points.
D.1.4. Backward-facing step
A parabolic inflow, scaled by a factor drawn from a truncated normal distribution, drives the flow over a step into the channel . We learn on Fekete points selected from the 7359 mesh points. The input has only 11 coordinates, the samples of the inflow profile.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 34 of 53

Figure 12: Cylinder flow. (A) Initial speed. (B) Speed at t = 10, on the same color scale.
(A) Initial speed
(B) Speed at t = 1

Figure 13: Taylor–Green vortices. (A) Initial speed. (B) Speed at t = 1, on the same color scale.
D.1.5. Buoyancy-driven cavity
In the cavity , an initial temperature field drives the flow by buoyancy. We learn the map from to the velocity at on Fekete points selected from the 10514 mesh points.
D.1.6. Merging vortices
Two vortices merge on the periodic domain , and the width of their cores varies across the data set. We learn from the initial vorticity on 500 Fekete points selected from the 7447 mesh points.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 35 of 53

Figure 14: Lid-driven cavity. (A) Initial speed. (B) Speed at t = 5, on the same color scale.
(A) Inlet profile

(B) Speed at t = 5
Figure 15: Backward-facing step. (A) Inflow profile. (B) Speed at t = 5, with the transverse direction expanded.
D.1.7. Turbulent species transport
Air and methane mix turbulently in a static Kenics mixer, whose three blades twist along the z axis, at Reynolds numbers between and . We learn the map from the inlet velocity (1388 samples) to the velocity at on 7000 Fekete points selected from 11388 locations.
D.1.8. Forced homogeneous isotropic turbulence
Forced isotropic turbulence evolves in the periodic box , simulated by large-eddy simulation with the Smagorinsky model on cells, with , final time , and Reynolds number . Every simulation starts from the divergence-free field
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 36 of 53

Figure 16: Buoyancy-driven cavity. (A) Initial temperature. (B) Speed at t = 5.
(A) Initial vorticity

(B) Final speed
Figure 17: Merging vortices. (A) Initial vorticity. (B) Speed at t = 0.4.
and is driven by the steady divergence-free forcing
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 37 of 53
(A) Inlet velocity

(B) Speed at t = 0.5

Figure 18: Turbulent species transport. (A) Inlet velocity on the plane z = 0. (B) Speed at t = 0.5 on the whole domain.
whose amplitudes , , are drawn from a normal distribution with standard deviation 0.15 truncated to , and whose distinct wavenumbers , are drawn from . We learn the map from the sampled forcing to the velocity at on 7000 Fekete points of the grid.
D.2. Manufactured tests of the output reconstruction
D.2.1. Domains and fields
The convergence tests of Section 5.1 use the domains with
In 2D, the field is with
and in 3D, with
Both fields are divergence free and vanish on the boundary.
The node generator of KernelPack-JAX [8] produced four node sets in each domain, at spacings 0.103, 0.0675, 0.0445, and 0.0295 in 2D (172 to 1907 nodes) and 0.22, 0.16, 0.118, and 0.088 in 3D (197 to 2570 nodes). The errors
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 38 of 53
(A) Forcing
(B) Speed at t = 0.5


Figure 19: Forced isotropic turbulence. (A) Forcing magnitude. (B) Speed at t = 0.5.
use fixed sets of 4096 (2D) and 32768 (3D) uniformly random interior points. For degrees , the divergence-free polynomial spaces have dimensions in 2D and 11, 50, 133 in 3D, and every stencil keeps the full space. At the finest level, the sixth-order errors are about in 2D and in 3D for both kernels.
D.2.2. Divergence and periodicity
On the evaluation points where the output reconstruction is differentiable (i.e., away from the centers of the cubic kernel), we measure the divergence relative to the size of the velocity gradient,
with the derivative of each local expansion taken on its own stencil. Its largest value over all smooth tests is . The periodic tests on use the potentials
on 657 (2D) and 1042 (3D) scattered nodes. We compare the reconstructed velocities and Jacobians at points that differ by integer multiples of the period, on the faces, edges, and corners of the box and at 128 interior points. The largest differences are for the velocities and for the Jacobians.
D.2.3. The turbulent ensemble
The statistical test of Section 5.1 uses the solenoidal Fourier ensemble
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 39 of 53 with independent Gaussian coefficients perpendicular to their wave vectors, 1514 modes up to wavenumber 1024, and weights that integrate a energy spectrum over radial shells, normalized so that . Its covariance is divergence free, and its structure function approximately follows the Kolmogorov law over the separations , which we fixed before any output reconstruction. At smaller separations, the finite bandwidth makes the increments smooth. We restrict the ensemble to and reconstruct it on six node sets with spacings 0.26, 0.19, 0.14, 0.101, 0.075, and 0.05 (128 to 13567 nodes). The structure functions (70) use 32 separations from to 0.8 in eight fixed directions and are computed exactly from the covariance, not from samples. For degree five, falls from 14% on the coarsest set to 4.6% on the finest, while the worst error over the whole range remains 64%.
For the comparison of local and global output reconstruction, we use the node set with 1770 nodes and one fixed five-scale Matérn kernel for both, with the same polynomials. The global system uses the covariance anchored at a point , , which is positive definite and gives the same interpolant, since the constant polynomials absorb the difference. For degree five, the errors are 9.9% (local) and 10.6% (global), the normalized mean square errors of the increments are 0.168 and 0.166, and the worst errors over the whole range are about 87% for both.
D.3. Field figures
The field figures show the first simulation of each data set and are drawn by the MATLAB scripts in our repository. In two dimensions, the speed is interpolated linearly from the samples. Panels of the same quantity share a color scale, and the transverse direction of the backward-facing step is expanded.
D.4. Direct and Lagrange evaluation
Table 6 evaluates seven unaugmented operator models for each data set and each : the fixed-shape kernel at the radii of the five prescribed densities of Section 3.6 (from 10% to 90%, with ) and at its validated radius and regularization, and the fitted-shape kernel at its validated parameters. We rebuild each model from its selected parameters and check that its Lagrange predictions at the nodes agree with those of Section 5.2 (largest relative difference ). Each model is then evaluated through its coefficients and through its Lagrange weights, with the same normalization, factorization (cuDSS with nested dissection), support, and regularization, and with the same spatial basis. With the local output reconstruction, direct evaluation solves the kernel system for the coefficients of all stencils, in blocks of stencils, and Lagrange evaluation applies the weights to the same coefficients. The global output reconstruction is that of Appendix A.5, on the nodes. The test errors are measured at the nodes on the 100 test fields.
Table 8
Test error at the nodes (mean relative velocity error over the 100 test inputs) of direct and Lagrange evaluation of the validated unaugmented fixed-shape model of the lid-driven cavity with global output reconstruction, of direct evaluation applied to the sampled velocities instead of the coefficients, and the Frobenius norm of the spatial coefficients of the training fields. Bold: smallest test error in each row.
| Direct | Lagrange | Direct/Lagrange | Direct on samples | ||
|---|---|---|---|---|---|
| 500 | 1.28 | ||||
| 1000 | 1.97 | ||||
| 5000 | 3.34 | ||||
| 10000 | 5.14 |
Table 8 follows the validated fixed-shape model of the lid-driven cavity with global output reconstruction as grows. The Frobenius norm of the spatial coefficients of the training fields grows from to , which shows the cancellation that Theorem 3 warns about, and the ratio of the direct to the Lagrange error grows from 1.3 to 5.1. Direct evaluation applied to the sampled velocities instead of the coefficients is as accurate as Lagrange evaluation, so the gain arises in the output reconstruction, through the large coefficients.
D.5. Software
Our implementation and the scripts of this paper are part of KernelPack-JAX (https://github.com/VarShankar/kernelpack-jax). The operator models of Section 5.2 were fitted with scripts/run_fastol_
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 40 of 53 gpu_campaign.py. The comparisons of Section 5.1.4, Section 5.3, and Appendices A.5 and D.4 rebuild these models with the released code, whose predictions agree with those of the original fits to (Appendix D.4), and run on the same GPU with scripts/fastol_gpu_evaluation_study.py. The directory FastOLPaper lists the scripts that produce every result and holds the scripts that build the tables and figures from them.
D.6. All operator benchmarks
This section collects the results of all ten benchmarks for every training size. Figures 20 and 23 complete Figures 8 and 10, Figures 21 and 22 complete Figures 7 and 9, and Table 9 gives the rates at which the errors decrease with . Tables 10 and 11 collect the errors, storage, and prediction times at , and Tables 12–21 list all 160 fitted models. Two entries show why we report storage separately from density. The fixed-shape and fitted-shape augmented species models have densities of and but 26 and 35 million factor entries, and the factor of the backward-facing step, at density, has 38 million entries, three quarters of a dense one. All cost columns use the nested-dissection ordering of Section 3.5, measured by a replay of the selected models (scripts/fastol_gpu_cost_replay.py). The test errors were computed with the approximate-minimum-degree ordering, and the predictions with the two orderings agree to .
Table 9
Least-squares exponent of the test error over . Bold: fastest decay in each row.
| Data set | Fixed | Fitted | Fixed + affine | Fitted + affine |
|---|---|---|---|---|
| Forced isotropic turbulence | 0.68 | 0.69 | 0.76 | 0.66 |
| Turbulent species transport | 0.85 | 1.09 | 1.03 | 1.26 |
| Merging vortices | 0.77 | 0.73 | 0.57 | 0.53 |
| Lid-driven cavity | 0.97 | 1.09 | 0.96 | 1.08 |
| Cylinder flow (no shedding) | 0.91 | 0.87 | 0.85 | 0.84 |
| Cylinder flow (vortex shedding) | 0.54 | 0.53 | 0.44 | 0.47 |
| Backward-facing step | 0.39 | 0.42 | 0.14 | 0.15 |
| Buoyancy-driven cavity | 0.82 | 0.91 | 0.92 | 0.96 |
| Taylor-Green vortices (space) | -0.56 | -1.06 | 2.81 | 3.24 |
| Taylor-Green vortices (spacetime) | -0.58 | -1.03 | 2.79 | 3.22 |
Table 10
Test error (mean relative velocity error of the predictions for the 100 test inputs) at . The two augmented models use the same affine columns. Each model is fitted and validated separately, and all four use the same local output reconstruction. Both Taylor-Green cases use the amplitude normalization (72). Bold: smallest test error in each row.
| Data set | Fixed | Fitted | Fixed + affine | Fitted + affine |
|---|---|---|---|---|
| Forced isotropic turbulence | ||||
| Turbulent species transport | ||||
| Merging vortices | ||||
| Lid-driven cavity | ||||
| Cylinder flow (no shedding) | ||||
| Cylinder flow (vortex shedding) | ||||
| Taylor-Green vortices (space) | ||||
| Taylor-Green vortices (spacetime) | ||||
| Backward-facing step | ||||
| Buoyancy-driven cavity |
D.6.1. Offline cost
Table 22 gives the offline costs at . Fitting and validating a fitted-shape model takes 11–27 minutes, against 2–7 minutes for a fixed-shape model. Once the parameters are chosen, rebuilding the factorization takes about one to five seconds for most benchmarks and about 43 seconds for the dense forced-turbulence models. The setup of
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 41 of 53
Fixed shape
Fitted shape
Fixed shape + affine
Fitted shape + affine
Cylinder flow (no shedding)
Cylinder flow (vortex shedding)
Taylor–Green vortices (space)

Taylor–Green vortices (spacetime)
Backward-facing step
Buoyancy-driven cavity

training functions N
training functions N
training functions N
Figure 20: Test error of the other six benchmarks. Dashed: with affine augmentation.
Fixed shape
Fitted shape
Fixed shape + affine
Fitted shape + affine
Cylinder flow (no shedding)
Cylinder flow (vortex shedding)
Taylor–Green vortices (space)



Taylor–Green vortices (spacetime)
Backward-facing step
Buoyancy-driven cavity

training functions N

training functions N

training functions N
Figure 21: Selected density of the other six benchmarks. With augmentation, the Taylor–Green models select about 10% density at the two largest N, against 75% or 90% without it.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 42 of 53
Fixed shape
Fitted shape
Fixed shape + affine
Cylinder flow (no shedding)
Fitted shape + affine
Taylor–Green vortices (space)


Taylor–Green vortices (spacetime)

Backward-facing step
Buoyancy-driven cavity

training functions N

training functions N

training functions N
Figure 22: Accounted storage of the other six benchmarks (Appendix B.3).
Fixed shape
Fitted shape
Fixed shape + affine
Cylinder flow (no shedding)
Fitted shape + affine
Taylor–Green vortices (space)

Cylinder flow (vortex shedding)

Taylor–Green vortices (spacetime)

Backward-facing step
Buoyancy-driven cavity

training functions N

training functions N

training functions N
Figure 23: Median warm time to predict all 100 test fields for the other six benchmarks.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 43 of 53
Table 11
Accounted storage in decimal GB / median warm prediction time in ms for 100 fields at . Storage includes the stored model arrays, the solve buffers, and cuDSS's estimate of the memory of its factors. It is not measured peak GPU memory. Times include operator Lagrange evaluation and local output reconstruction. Bold: smallest storage and smallest time in each row.
| Data set | Fixed | Fitted | Fixed + affine | Fitted + affine |
|---|---|---|---|---|
| Forced isotropic turbulence | / | / | / | / |
| Turbulent species transport | / | / | / | / |
| Merging vortices | / | / | / | / |
| Lid-driven cavity | / | / | / | / |
| Cylinder flow (no shedding) | / | / | / | / |
| Cylinder flow (vortex shedding) | / | / | / | / |
| Taylor-Green vortices (space) | / | / | / | / |
| Taylor-Green vortices (spacetime) | / | / | / | / |
| Backward-facing step | / | / | / | / |
| Buoyancy-driven cavity | / | / | / | / |
Table 12
Forced isotropic turbulence: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | |||||
| 500 | Fitted shape | |||||
| 500 | Fixed shape + affine | |||||
| 500 | Fitted shape + affine | |||||
| 1000 | Fixed shape | |||||
| 1000 | Fitted shape | |||||
| 1000 | Fixed shape + affine | |||||
| 1000 | Fitted shape + affine | |||||
| 5000 | Fixed shape | |||||
| 5000 | Fitted shape | |||||
| 5000 | Fixed shape + affine | |||||
| 5000 | Fitted shape + affine | |||||
| 10000 | Fixed shape | |||||
| 10000 | Fitted shape | |||||
| 10000 | Fixed shape + affine | |||||
| 10000 | Fitted shape + affine |
the output reconstruction, which the four models share, takes 0.03–2.9 seconds after compilation, and a first setup, which also compiles, takes 1.6–24 seconds.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 44 of 53
Table 13
Turbulent species transport: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 63.94 | 0.116 | 0.226 | 54.3 | |
| 500 | Fitted shape | 90.00 | 0.129 | 0.228 | 52.8 | |
| 500 | Fixed shape + affine | 40.98 | 0.097 | 0.224 | 53.1 | |
| 500 | Fitted shape + affine | 44.60 | 0.096 | 0.224 | 54.0 | |
| 1000 | Fixed shape | 89.71 | 1.000 | 0.278 | 57.1 | |
| 1000 | Fitted shape | 85.62 | 0.962 | 0.276 | 57.8 | |
| 1000 | Fixed shape + affine | 22.92 | 0.313 | 0.250 | 55.6 | |
| 1000 | Fitted shape + affine | 75.00 | 0.988 | 0.273 | 59.1 | |
| 5000 | Fixed shape | 69.06 | 24.743 | 1.858 | 98.2 | |
| 5000 | Fitted shape | 90.00 | 24.744 | 2.036 | 101.7 | |
| 5000 | Fixed shape + affine | 69.56 | 24.689 | 1.862 | 98.5 | |
| 5000 | Fitted shape + affine | 66.71 | 24.746 | 1.838 | 98.3 | |
| 10000 | Fixed shape | 10.40 | 24.431 | 2.662 | 126.6 | |
| 10000 | Fitted shape | 21.95 | 33.613 | 3.130 | 126.0 | |
| 10000 | Fixed shape + affine | 9.12 | 25.740 | 2.630 | 123.3 | |
| 10000 | Fitted shape + affine | 21.71 | 35.385 | 3.137 | 137.4 |
Table 14
Merging vortices: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 75.06 | 0.104 | 0.025 | 6.0 | |
| 500 | Fitted shape | 75.00 | 0.106 | 0.025 | 6.8 | |
| 500 | Fixed shape + affine | 37.36 | 0.065 | 0.021 | 7.9 | |
| 500 | Fitted shape + affine | 33.64 | 0.060 | 0.021 | 6.9 | |
| 1000 | Fixed shape | 63.81 | 0.386 | 0.060 | 7.3 | |
| 1000 | Fitted shape | 60.31 | 0.387 | 0.058 | 8.6 | |
| 1000 | Fixed shape + affine | 29.73 | 0.225 | 0.047 | 9.1 | |
| 1000 | Fitted shape + affine | 29.04 | 0.217 | 0.047 | 7.4 | |
| 5000 | Fixed shape | 24.58 | 6.404 | 0.433 | 24.9 | |
| 5000 | Fitted shape | 25.00 | 6.356 | 0.436 | 25.2 | |
| 5000 | Fixed shape + affine | 24.58 | 6.404 | 0.434 | 24.9 | |
| 5000 | Fitted shape + affine | 18.33 | 4.892 | 0.369 | 21.7 | |
| 10000 | Fixed shape | 24.67 | 26.353 | 1.397 | 79.6 | |
| 10000 | Fitted shape | 15.85 | 18.009 | 1.029 | 62.4 | |
| 10000 | Fixed shape + affine | 10.00 | 10.703 | 0.772 | 37.7 | |
| 10000 | Fitted shape + affine | 10.00 | 10.047 | 0.767 | 39.0 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 45 of 53
Table 15
Lid-driven cavity: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 22.85 | 0.053 | 0.046 | 9.2 | |
| 500 | Fitted shape | 22.85 | 0.053 | 0.046 | 10.8 | |
| 500 | Fixed shape + affine | 21.49 | 0.048 | 0.046 | 10.4 | |
| 500 | Fitted shape + affine | 25.00 | 0.055 | 0.047 | 9.2 | |
| 1000 | Fixed shape | 19.99 | 0.190 | 0.096 | 10.6 | |
| 1000 | Fitted shape | 25.00 | 0.223 | 0.098 | 11.4 | |
| 1000 | Fixed shape + affine | 20.00 | 0.189 | 0.096 | 10.8 | |
| 1000 | Fitted shape + affine | 25.00 | 0.223 | 0.098 | 11.1 | |
| 5000 | Fixed shape | 10.00 | 2.600 | 0.538 | 34.4 | |
| 5000 | Fitted shape | 10.00 | 2.600 | 0.538 | 34.6 | |
| 5000 | Fixed shape + affine | 10.00 | 2.600 | 0.539 | 34.2 | |
| 5000 | Fitted shape + affine | 10.00 | 2.600 | 0.539 | 34.7 | |
| 10000 | Fixed shape | 10.00 | 11.198 | 1.135 | 75.9 | |
| 10000 | Fitted shape | 10.00 | 11.198 | 1.135 | 71.5 | |
| 10000 | Fixed shape + affine | 10.00 | 11.198 | 1.136 | 70.2 | |
| 10000 | Fitted shape + affine | 10.00 | 11.198 | 1.136 | 70.3 |
Table 16
Cylinder flow (no shedding): all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 89.11 | 0.129 | 0.053 | 9.8 | |
| 500 | Fitted shape | 90.00 | 0.128 | 0.053 | 9.6 | |
| 500 | Fixed shape + affine | 85.52 | 0.128 | 0.052 | 10.6 | |
| 500 | Fitted shape + affine | 90.00 | 0.128 | 0.053 | 10.9 | |
| 1000 | Fixed shape | 54.74 | 0.674 | 0.111 | 13.5 | |
| 1000 | Fitted shape | 54.74 | 0.674 | 0.111 | 13.3 | |
| 1000 | Fixed shape + affine | 45.10 | 0.581 | 0.107 | 13.4 | |
| 1000 | Fitted shape + affine | 50.00 | 0.394 | 0.107 | 12.6 | |
| 5000 | Fixed shape | 16.22 | 4.555 | 0.607 | 26.0 | |
| 5000 | Fitted shape | 16.22 | 4.555 | 0.607 | 27.2 | |
| 5000 | Fixed shape + affine | 10.00 | 2.726 | 0.540 | 20.5 | |
| 5000 | Fitted shape + affine | 16.22 | 4.555 | 0.608 | 26.3 | |
| 10000 | Fixed shape | 10.00 | 11.981 | 1.141 | 73.8 | |
| 10000 | Fitted shape | 10.00 | 11.981 | 1.141 | 73.7 | |
| 10000 | Fixed shape + affine | 10.00 | 11.981 | 1.142 | 75.7 | |
| 10000 | Fitted shape + affine | 10.00 | 11.981 | 1.142 | 74.0 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 46 of 53
Table 17
Cylinder flow (vortex shedding): all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 70.21 | 0.122 | 0.051 | 12.2 | |
| 500 | Fitted shape | 70.21 | 0.122 | 0.051 | 9.7 | |
| 500 | Fixed shape + affine | 68.61 | 0.122 | 0.051 | 12.6 | |
| 500 | Fitted shape + affine | 75.00 | 0.125 | 0.051 | 12.0 | |
| 1000 | Fixed shape | 27.92 | 0.262 | 0.099 | 11.6 | |
| 1000 | Fitted shape | 25.00 | 0.231 | 0.098 | 11.9 | |
| 1000 | Fixed shape + affine | 16.61 | 0.164 | 0.094 | 12.6 | |
| 1000 | Fitted shape + affine | 16.61 | 0.164 | 0.094 | 10.1 | |
| 5000 | Fixed shape | 10.00 | 2.710 | 0.539 | 23.8 | |
| 5000 | Fitted shape | 10.00 | 2.710 | 0.539 | 25.6 | |
| 5000 | Fixed shape + affine | 10.00 | 2.710 | 0.540 | 24.3 | |
| 5000 | Fitted shape + affine | 10.00 | 2.710 | 0.540 | 24.4 | |
| 10000 | Fixed shape | 10.00 | 11.865 | 1.140 | 76.2 | |
| 10000 | Fitted shape | 10.00 | 11.865 | 1.140 | 75.3 | |
| 10000 | Fixed shape + affine | 10.00 | 11.865 | 1.141 | 76.2 | |
| 10000 | Fitted shape + affine | 10.00 | 11.865 | 1.141 | 74.2 |
Table 18
Taylor–Green vortices (space): all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 46.17 | 0.094 | 0.028 | 6.5 | |
| 500 | Fitted shape | 50.00 | 0.097 | 0.029 | 7.7 | |
| 500 | Fixed shape + affine | 40.07 | 0.083 | 0.028 | 7.7 | |
| 500 | Fitted shape + affine | 50.00 | 0.097 | 0.029 | 6.7 | |
| 1000 | Fixed shape | 51.76 | 0.422 | 0.068 | 7.6 | |
| 1000 | Fitted shape | 50.00 | 0.414 | 0.067 | 8.6 | |
| 1000 | Fixed shape + affine | 32.16 | 0.288 | 0.060 | 8.0 | |
| 1000 | Fitted shape + affine | 50.00 | 0.414 | 0.067 | 8.2 | |
| 5000 | Fixed shape | 75.00 | 22.923 | 1.056 | 38.9 | |
| 5000 | Fitted shape | 90.00 | 24.889 | 1.199 | 41.5 | |
| 5000 | Fixed shape + affine | 10.00 | 2.644 | 0.339 | 14.2 | |
| 5000 | Fitted shape + affine | 10.00 | 2.644 | 0.339 | 14.7 | |
| 10000 | Fixed shape | 75.00 | 72.677 | 3.606 | 117.0 | |
| 10000 | Fitted shape | 90.00 | 99.800 | 4.334 | 119.0 | |
| 10000 | Fixed shape + affine | 10.00 | 11.728 | 0.899 | 52.3 | |
| 10000 | Fitted shape + affine | 10.00 | 11.728 | 0.899 | 54.6 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 47 of 53
Table 19
Taylor-Green vortices (spacetime): all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 46.23 | 0.093 | 0.052 | 6.4 | |
| 500 | Fitted shape | 50.00 | 0.097 | 0.053 | 6.3 | |
| 500 | Fixed shape + affine | 39.51 | 0.082 | 0.052 | 8.1 | |
| 500 | Fitted shape + affine | 50.00 | 0.097 | 0.053 | 6.8 | |
| 1000 | Fixed shape | 51.58 | 0.419 | 0.116 | 7.9 | |
| 1000 | Fitted shape | 50.00 | 0.414 | 0.115 | 9.8 | |
| 1000 | Fixed shape + affine | 32.27 | 0.284 | 0.108 | 11.0 | |
| 1000 | Fitted shape + affine | 50.00 | 0.414 | 0.115 | 7.7 | |
| 5000 | Fixed shape | 75.00 | 22.923 | 1.136 | 41.9 | |
| 5000 | Fitted shape | 90.00 | 24.889 | 1.279 | 40.2 | |
| 5000 | Fixed shape + affine | 10.00 | 2.644 | 0.419 | 16.8 | |
| 5000 | Fitted shape + affine | 10.00 | 2.644 | 0.419 | 16.6 | |
| 10000 | Fixed shape | 75.00 | 72.677 | 3.766 | 119.8 | |
| 10000 | Fitted shape | 90.00 | 99.800 | 4.494 | 120.1 | |
| 10000 | Fixed shape + affine | 10.00 | 11.728 | 1.059 | 59.0 | |
| 10000 | Fitted shape + affine | 10.00 | 11.728 | 1.059 | 61.7 |
Table 20
Backward-facing step: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 36.41 | 0.073 | 0.024 | 8.8 | |
| 500 | Fitted shape | 36.41 | 0.073 | 0.024 | 8.6 | |
| 500 | Fixed shape + affine | 34.94 | 0.068 | 0.024 | 9.6 | |
| 500 | Fitted shape + affine | 34.94 | 0.068 | 0.024 | 8.6 | |
| 1000 | Fixed shape | 49.59 | 0.350 | 0.059 | 11.6 | |
| 1000 | Fitted shape | 25.00 | 0.236 | 0.050 | 8.4 | |
| 1000 | Fixed shape + affine | 47.15 | 0.342 | 0.058 | 9.9 | |
| 1000 | Fitted shape + affine | 25.00 | 0.236 | 0.050 | 8.4 | |
| 5000 | Fixed shape | 29.08 | 7.711 | 0.504 | 25.8 | |
| 5000 | Fitted shape | 29.08 | 7.711 | 0.504 | 26.1 | |
| 5000 | Fixed shape + affine | 28.90 | 7.785 | 0.503 | 26.5 | |
| 5000 | Fitted shape + affine | 28.90 | 7.785 | 0.503 | 26.2 | |
| 10000 | Fixed shape | 32.98 | 40.506 | 1.679 | 72.4 | |
| 10000 | Fitted shape | 32.98 | 40.506 | 1.679 | 68.8 | |
| 10000 | Fixed shape + affine | 32.88 | 38.228 | 1.657 | 66.3 | |
| 10000 | Fitted shape + affine | 32.88 | 38.228 | 1.657 | 65.3 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 48 of 53
Table 21
Buoyancy-driven cavity: all models. Test error is the mean relative velocity error of the predictions for the 100 test inputs. Density is in percent. Factor is the number of entries of the cuDSS Cholesky factor in millions. GB is the accounted storage and ms the median warm time for all 100 fields. Bold: smallest test error at each .
| Operator model | Test error | Density (%) | Factor () | GB | ms | |
|---|---|---|---|---|---|---|
| 500 | Fixed shape | 64.68 | 0.118 | 0.154 | 30.7 | |
| 500 | Fitted shape | 64.68 | 0.118 | 0.154 | 29.6 | |
| 500 | Fixed shape + affine | 10.00 | 0.024 | 0.148 | 29.1 | |
| 500 | Fitted shape + affine | 10.00 | 0.024 | 0.148 | 28.6 | |
| 1000 | Fixed shape | 17.33 | 0.170 | 0.298 | 32.5 | |
| 1000 | Fitted shape | 17.33 | 0.170 | 0.298 | 32.2 | |
| 1000 | Fixed shape + affine | 17.27 | 0.166 | 0.298 | 36.4 | |
| 1000 | Fitted shape + affine | 17.27 | 0.166 | 0.298 | 32.6 | |
| 5000 | Fixed shape | 10.00 | 2.838 | 1.143 | 111.5 | |
| 5000 | Fitted shape | 10.00 | 2.838 | 1.143 | 104.1 | |
| 5000 | Fixed shape + affine | 10.00 | 2.838 | 1.144 | 107.7 | |
| 5000 | Fitted shape + affine | 10.00 | 2.838 | 1.144 | 109.9 | |
| 10000 | Fixed shape | 10.00 | 11.947 | 2.504 | 189.4 | |
| 10000 | Fitted shape | 10.00 | 11.947 | 2.504 | 184.9 | |
| 10000 | Fixed shape + affine | 10.00 | 11.947 | 2.505 | 177.0 | |
| 10000 | Fitted shape + affine | 10.00 | 11.947 | 2.505 | 173.4 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 49 of 53
Table 22
Offline and initialization costs at . Selection includes kernel fitting, where applicable, and validation. Rebuild assemblies and factors the selected operator. Initialization includes two synchronized 100-field prediction passes, compilation, and CUDA graph preparation. The four models share the setup of the output reconstruction and may reuse compiled code. The dash marks the selection time of the fixed-shape backward-facing-step model, which contains an external pause. Its raw time is in the released data. Bold: smallest time in each column for each data set.
| Data set | Operator model | Selection (min) | Rebuild (s) | Initialization (s) |
|---|---|---|---|---|
| Forced isotropic turbulence | Fixed shape | 3.83 | 43.27 | 3.71 |
| Fitted shape | 26.32 | 41.63 | 3.28 | |
| Fixed shape + affine | 6.45 | 43.70 | 4.15 | |
| Fitted shape + affine | 27.01 | 42.77 | 3.05 | |
| Turbulent species transport | Fixed shape | 3.24 | 1.48 | 4.17 |
| Fitted shape | 25.89 | 4.64 | 3.70 | |
| Fixed shape + affine | 5.79 | 1.76 | 6.05 | |
| Fitted shape + affine | 24.01 | 4.93 | 3.79 | |
| Merging vortices | Fixed shape | 4.81 | 0.91 | 3.35 |
| Fitted shape | 15.26 | 2.92 | 3.20 | |
| Fixed shape + affine | 4.94 | 1.12 | 4.94 | |
| Fitted shape + affine | 11.70 | 0.81 | 3.26 | |
| Lid-driven cavity | Fixed shape | 2.12 | 0.86 | 2.37 |
| Fitted shape | 12.97 | 0.87 | 2.20 | |
| Fixed shape + affine | 3.06 | 0.91 | 3.54 | |
| Fitted shape + affine | 10.90 | 0.85 | 2.26 | |
| Cylinder flow (no shedding) | Fixed shape | 2.32 | 0.87 | 2.58 |
| Fitted shape | 12.77 | 0.86 | 2.54 | |
| Fixed shape + affine | 4.28 | 0.92 | 3.77 | |
| Fitted shape + affine | 14.53 | 0.90 | 2.50 | |
| Cylinder flow (vortex shedding) | Fixed shape | 2.12 | 0.85 | 2.47 |
| Fitted shape | 13.58 | 0.85 | 2.61 | |
| Fixed shape + affine | 3.07 | 0.91 | 3.43 | |
| Fitted shape + affine | 12.86 | 0.88 | 2.37 | |
| Taylor–Green vortices (space) | Fixed shape | 3.41 | 3.18 | 3.61 |
| Fitted shape | 12.80 | 5.54 | 3.43 | |
| Fixed shape + affine | 5.32 | 1.25 | 5.47 | |
| Fitted shape + affine | 15.30 | 0.68 | 3.54 | |
| Taylor–Green vortices (spacetime) | Fixed shape | 3.49 | 3.30 | 3.87 |
| Fitted shape | 16.10 | 3.60 | 3.60 | |
| Fixed shape + affine | 4.82 | 0.88 | 5.22 | |
| Fitted shape + affine | 15.47 | 0.69 | 3.64 | |
| Backward-facing step | Fixed shape | — | 0.95 | 1.48 |
| Fitted shape | 14.23 | 0.99 | 1.31 | |
| Fixed shape + affine | 3.25 | 3.27 | 2.53 | |
| Fitted shape + affine | 13.42 | 0.94 | 1.36 | |
| Buoyancy-driven cavity | Fixed shape | 2.11 | 1.65 | 2.72 |
| Fitted shape | 17.67 | 1.48 | 2.53 | |
| Fixed shape + affine | 3.16 | 1.64 | 4.06 | |
| Fitted shape + affine | 17.00 | 1.51 | 2.63 |
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 50 of 53
References
[1] Bach, F.R., Jordan, M.I., 2005. Predictive low-rank decomposition for kernel methods, in: Proceedings of the 22nd International Conference on Machine Learning, pp. 33–40. doi:10.1145/1102351.1102356.
[2] Batlle, P., Darcy, M., Hosseini, B., Owhadi, H., 2024. Kernel methods are competitive for operator learning. Journal of Computational Physics 496, 112549.
[3] Bayona, V., Flyer, N., Fornberg, B., Barnett, G.A., 2017. On the role of polynomials in RBF-FD approximations: II. Numerical solution of elliptic PDEs. Journal of Computational Physics 332, 257–273. doi:10.1016/j.jcp.2016.12.008.
[4] Belianovich, M., Fasshauer, G.E., Narayan, A., Shankar, V., 2026. A unified framework for efficient kernel and polynomial interpolation. Journal of Approximation Software 3. URL: https://ojs.unito.it/index.php/JAS/article/view/12288, doi:10.13135/3103-1935/12288.
[5] Benner, P., Gugercin, S., Willcox, K., 2015. A survey of projection-based model reduction methods for parametric dynamical systems. SIAM Review 57, 483–531. doi:10.1137/130932715.
[6] Bollig, E.F., Flyer, N., Erlebacher, G., 2012. Solution to PDEs using radial basis function finite-differences (RBF-FD) on multiple GPUs. Journal of Computational Physics 231, 7133–7151. doi:10.1016/j.jcp.2012.06.030.
[7] Boullé, N., Townsend, A., 2024. A mathematical guide to operator learning, in: Handbook of Numerical Analysis. Elsevier. volume 25, pp. 83–125.
[8] Cattaneo, A., Ballard, M.K., Kirby, R.M., Wright, G.B., Shankar, V., 2026. KernelPack-JAX: a meshless differentiable GPU framework for node generation and forward and inverse PDE problems. Submitted to Journal of Computational Physics.
[9] Davis, T.A., 2006. Direct Methods for Sparse Linear Systems. volume 2 of Fundamentals of Algorithms. SIAM, Philadelphia, PA. doi:10.1137/1.9780898718881.
[10] Davydov, O., Schaback, R., 2016. Error bounds for kernel-based numerical differentiation. Numerische Mathematik 132, 243–269. doi:10.1007/s00211-015-0722-9.
[11] Dodu, F., Rabut, C., 2004. Irrotational or divergence-free interpolation. Numerische Mathematik 98, 477–498. doi:10.1007/s00211-004-0541-x.
[12] Drake, K.P., Fuselier, E.J., Wright, G.B., 2021. A partition of unity method for divergence-free or curl-free radial basis function approximation. SIAM Journal on Scientific Computing 43, A1950–A1974. doi:10.1137/20M1373505.
[13] Drineas, P., Mahoney, M.W., 2005. Approximating a Gram matrix for improved kernel-based learning, in: International Conference on Computational Learning Theory, pp. 323–337.
[14] Duchon, J., 1977. Splines minimizing rotation-invariant semi-norms in Sobolev spaces, in: Constructive Theory of Functions of Several Variables. Springer, Berlin, Heidelberg. volume 571 of Lecture Notes in Mathematics, pp. 85–100. doi:10.1007/BFb0086566.
[15] Fasshauer, G.E., 2007. Meshfree Approximation Methods with MATLAB. World Scientific.
[16] Fasshauer, G.E., Ye, Q., 2011. Reproducing kernels of generalized Sobolev spaces via a Green function approach with distributional operators. Numerische Mathematik 119, 585–611. doi:10.1007/s00211-011-0391-2.
[17] Fine, S., Scheinberg, K., 2001. Efficient SVM training using low-rank kernel representations. Journal of Machine Learning Research 2, 243–264.
[18] Flyer, N., Barnett, G.A., Wicker, L.J., 2016a. Enhancing finite differences with radial basis functions: Experiments on the Navier–Stokes equations. Journal of Computational Physics 316, 39–62. doi:10.1016/j.jcp.2016.02.078.
[19] Flyer, N., Fornberg, B., Bayona, V., Barnett, G.A., 2016b. On the role of polynomials in rbf-fd approximations: I. interpolation and accuracy. Journal of Computational Physics 321, 21–38.
[20] Fornberg, B., Flyer, N., 2015a. A Primer on Radial Basis Functions with Applications to the Geosciences. SIAM, Philadelphia, PA. doi:10.1137/1.9781611974041.
[21] Fornberg, B., Flyer, N., 2015b. Solving PDEs with radial basis functions. Acta Numerica 24, 215–258. doi:10.1017/S0962492914000130.
[22] Fornberg, B., Lehto, E., 2011. Stabilization of RBF-generated finite difference methods for convective PDEs. Journal of Computational Physics 230, 2270–2285. doi:10.1016/j.jcp.2010.12.014.
[23] Furrer, R., Genton, M.G., Nychka, D., 2006. Covariance tapering for interpolation of large spatial datasets. Journal of Computational and Graphical Statistics 15, 502–523. doi:10.1198/106186006X132178.
[24] Fuselier, E., 2008. Sobolev-type approximation rates for divergence-free and curl-free RBF interpolants. Mathematics of Computation 77, 1407–1423.
[25] Fuselier, E.J., Shankar, V., Wright, G.B., 2016. A high-order radial basis function (RBF) leray projection method for the solution of the incompressible unsteady Stokes equations. Computers & Fluids 128, 41–52.
[26] Gittens, A., Mahoney, M.W., 2013. Revisiting the Nyström method for improved large-scale machine learning, in: International Conference on Machine Learning, pp. 567–575.
[27] Gneiting, T., 2002. Compactly supported correlation functions. Journal of Multivariate Analysis 83, 493–508. doi:10.1006/jmva.2001.2056.
[28] Higham, N.J., 2002. Accuracy and Stability of Numerical Algorithms. 2 ed., Society for Industrial and Applied Mathematics. doi:10.1137/1.9780898718027.
[29] Kadri, H., Duflos, E., Preux, P., Canu, S., Rakotomamonjy, A., Audiffren, J., 2016. Operator-valued kernels for learning from functional response data. Journal of Machine Learning Research 17, 1–54.
[30] Khorrami, M.S., Goyal, P., Mianroodi, J.R., Svendsen, B., Benner, P., Raabe, D., 2024. A physics-encoded fourier neural operator approach for surrogate modeling of divergence-free stress fields in solids. arXiv preprint arXiv:2408.15408.
[31] Kingma, D.P., Ba, J., 2015. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.
[32] Li, Z., Huang, D.Z., Liu, B., Anandkumar, A., 2023. Fourier neural operator with learned deformations for PDEs on general geometries. Journal of Machine Learning Research 24, 1–26.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 51 of 53
[33] Li, Z., Kovachki, N., Azizzadenesheli, K., Liu, B., Bhattacharya, K., Stuart, A., Anandkumar, A., 2020a. Fourier neural operator for parametric partial differential equations. arXiv preprint arXiv:2010.08895.
[34] Li, Z., Kovachki, N., Azizzadenesheli, K., Liu, B., Bhattacharya, K., Stuart, A., Anandkumar, A., 2020b. Neural operator: Graph kernel network for partial differential equations. arXiv preprint arXiv:2003.03485.
[35] Lindgren, F., Rue, H., Lindström, J., 2011. An explicit link between Gaussian fields and Gaussian Markov random fields: The stochastic partial differential equation approach. Journal of the Royal Statistical Society Series B: Statistical Methodology 73, 423–498. doi:10.1111/j.1467-9868.2011.00777.x.
[36] Lowery, M., Turnage, J., Morrow, Z., Jakeman, J.D., Narayan, A., Zhe, S., Shankar, V., 2024. Kernel neural operators (KNOs) for scalable, memory-efficient, geometrically-flexible operator learning. arXiv preprint arXiv:2407.00809.
[37] Lu, L., Jin, P., Pang, G., Zhang, Z., Karniadakis, G.E., 2021. Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators. Nature Machine Intelligence 3, 218–229.
[38] Mora, C., Yousefpour, A., Hosseinmardi, S., Owhadi, H., Bostanabad, R., 2025. Operator learning with gaussian processes. Computer Methods in Applied Mechanics and Engineering 434, 117581.
[39] Narcowich, F.J., Ward, J.D., 1994. Generalized Hermite interpolation via matrix-valued conditionally positive definite functions. Mathematics of Computation 63, 661–687.
[40] Narcowich, F.J., Ward, J.D., Wright, G.B., 2007. Divergence-free RBFs on surfaces. Journal of Fourier Analysis and Applications 13, 643–663.
[41] Owhadi, H., 2023. Gaussian process hydrodynamics. Applied Mathematics and Mechanics 44, 1175–1198. doi:10.1007/s10483-023-2990-9.
[42] Quarteroni, A., Manzoni, A., Negri, F., 2016. Reduced Basis Methods for Partial Differential Equations: An Introduction. Springer, Cham, Switzerland. doi:10.1007/978-3-319-15431-2.
[43] Queipo, N.V., Haftka, R.T., Shyy, W., Goel, T., Vaidyanathan, R., Tucker, P.K., 2005. Surrogate-based analysis and optimization. Progress in Aerospace Sciences 41, 1–28. doi:10.1016/j.paerosci.2005.02.001.
[44] Rahimi, A., Recht, B., 2007. Random features for large-scale kernel machines, in: Advances in Neural Information Processing Systems, pp. 1177–1184.
[45] Richter-Powell, J., Lipman, Y., Chen, R.T., 2022. Neural conservation laws: A divergence-free perspective. Advances in Neural Information Processing Systems 35, 38075–38088.
[46] Santin, G., Wittwar, D., Haasdonk, B., 2018. Greedy regularized kernel interpolation. arXiv preprint arXiv:1807.09575. URL: https://arxiv.org/abs/1807.09575, doi:10.48550/arXiv.1807.09575.
[47] Schäfer, F., Katzfuss, M., Owhadi, H., 2021. Sparse cholesky factorization by kullback-leibler minimization. SIAM Journal on Scientific Computing 43, A2019–A2046. doi:10.1137/20M1336254.
[48] Shankar, V., 2017. The overlapped radial basis function-finite difference (RBF-FD) method: A generalization of RBF-FD. Journal of Computational Physics 342, 211–228. doi:10.1016/j.jcp.2017.04.037.
[49] Shankar, V., Fogelson, A.L., 2018. Hyperviscosity-based stabilization for radial basis function-finite difference (RBF-FD) discretizations of advection–diffusion equations. Journal of Computational Physics 372, 616–639. doi:10.1016/j.jcp.2018.06.036.
[50] Shankar, V., Kirby, R.M., Fogelson, A.L., 2018a. Robust node generation for mesh-free discretizations on irregular domains and surfaces. SIAM Journal on Scientific Computing 40, A2584–A2608. doi:10.1137/17M114090X.
[51] Shankar, V., Narayan, A., Kirby, R.M., 2018b. RBF-LOI: Augmenting radial basis functions (RBFs) with least orthogonal interpolation (LOI) for solving PDEs on surfaces. Journal of Computational Physics 373, 722–735. doi:10.1016/j.jcp.2018.07.015.
[52] Shankar, V., Wright, G.B., Fogelson, A.L., 2021. An efficient high-order meshless method for advection-diffusion equations on time-varying irregular domains. Journal of Computational Physics 445, 110633. doi:10.1016/j.jcp.2021.110633.
[53] Sharma, R., Lowery, M., Owhadi, H., Shankar, V., 2026. Fluids you can trust: Property-preserving operator learning for incompressible flows. arXiv preprint arXiv:2602.15472.
[54] Sharma, R., Shankar, V., 2026. Operator-learning datasets for incompressible fluid flow. URL: https://doi.org/10.5281/zenodo.22907213, doi:10.5281/zenodo.22907213.
[55] Shu, C., Ding, H., Yeo, K.S., 2003. Local radial basis function-based differential quadrature method and its application to solve two-dimensional incompressible Navier–Stokes equations. Computer Methods in Applied Mechanics and Engineering 192, 941–954. doi:10.1016/S0045-7825(02)00618-7.
[56] Si, S., Hsieh, C.J., Dhillon, I.S., 2014. Memory efficient kernel approximation, in: Proceedings of the 31st International Conference on Machine Learning, pp. 2507–2515.
[57] Snelson, E., Ghahramani, Z., 2006. Sparse gaussian processes using pseudo-inputs, in: Advances in Neural Information Processing Systems, pp. 1257–1264.
[58] Stein, M.L., 1999. Interpolation of Spatial Data: Some Theory for Kriging. Springer Series in Statistics, Springer, New York. doi:10.1007/978-1-4612-1494-6.
[59] Stuart, A.M., 2010. Inverse problems: A Bayesian perspective. Acta Numerica 19, 451–559. doi:10.1017/S0962492910000061.
[60] Sudret, B., Marelli, S., Wiart, J., 2017. Surrogate models for uncertainty quantification: An overview, in: 2017 11th European Conference on Antennas and Propagation (EUCAP), IEEE. pp. 793–797. doi:10.23919/EuCAP.2017.7928679.
[61] Tezzele, M., Demo, N., Stabile, G., Mola, A., Rozza, G., 2020. Enhancing CFD predictions in shape design problems by model and parameter space reduction. Advanced Modeling and Simulation in Engineering Sciences 7, 40. doi:10.1186/s40323-020-00177-0.
[62] Tolstkyh, A.I., Shirobokov, D.A., 2003. On using radial basis functions in a “finite difference mode” with applications to elasticity problems. Computational Mechanics 33, 68–79. doi:10.1007/s00466-003-0501-9.
[63] Tominec, I., Larsson, E., Heryudono, A., 2021. A least squares radial basis function finite difference method with improved stability properties. SIAM Journal on Scientific Computing 43, A1441–A1471. doi:10.1137/20M1320079.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 52 of 53
[64] Wendland, H., 1995. Piecewise polynomial, positive definite and compactly supported radial functions of minimal degree. Advances in Computational Mathematics 4, 389–396.
[65] Wendland, H., 2005. Scattered Data Approximation. Cambridge University Press, Cambridge, UK.
[66] Wendland, H., 2009. Divergence-free kernel methods for approximating the Stokes problem. SIAM Journal on Numerical Analysis 47, 3158–3179.
[67] Whittle, P., 1954. On stationary processes in the plane. Biometrika 41, 434–449. doi:10.1093/biomet/41.3-4.434.
[68] Wilson, A.G., Nickisch, H., 2015. Kernel interpolation for scalable structured Gaussian processes, in: Proceedings of the 32nd International Conference on Machine Learning, pp. 1775–1784.
[69] Wright, G.B., Fornberg, B., 2006. Scattered node compact finite difference-type formulas generated from radial basis functions. Journal of Computational Physics 212, 99–123. doi:10.1016/j.jcp.2005.05.030.
[70] Wu, H., Luo, H., Wang, H., Wang, J., Long, M., 2024. Transolver: A fast transformer solver for PDEs on general geometries. arXiv preprint arXiv:2402.02366.
[71] Yelnyk, V., 2023. RBF method for solving Navier–Stokes equations. Degree project in computational science. KTH Royal Institute of Technology. URL: https://kth.diva-portal.org/smash/get/diva2:1849751/FULLTEXT01.pdf.
[72] Yu, F.X., Suresh, A.T., Choromanski, K.M., Holtmann-Rice, D., Kumar, S., 2016. Orthogonal random features, in: Advances in Neural Information Processing Systems, pp. 1975–1983.
Sharma, Lowery, Owhadi, and Shankar: Preprint submitted to Elsevier
Page 53 of 53