arXiv:2610.29009cs.LGOct 2026

Manuscript Offprint

arXiv:2610.29009

Local and Sparse Kernel Operator Learning for Incompressible Flows: An Operator Lagrange Formulation

Ramansh Sharma, Matthew Lowery, Houman Owhadi, Varun Shankar

Ramansh Sharma a^{a}, Matthew Lowery a^{a}, Houman Owhadi b^{b} and Varun Shankar a,∗^{a,*}

a^{a}Kahlert School of Computing, University of Utah, UT, USA

b^{b}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 O(N3)O(N^{3}) operations and O(N2)O(N^{2}) 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 −ΔI+∇∇T-\Delta I + \nabla \nabla^T 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 10410^{4}, and up to nearly three orders of magnitude more accurate with global output reconstructions, whose amplification factors reach 6×1096 \times 10^{9}.

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.

References (72)