Structure-Aware Spatial Kernels for Gaussian Process Distributed Port-Hamiltonian Systems
Authors: Tianyi Yang, Thomas Beckers
Organizations: Department of Computer Science, Vanderbilt University, Nashville, TN 37212, USA · Institute for Measurement, Control and Microtechnology, Ulm University, 89081 Ulm, Germany
Gaussian process distributed port-Hamiltonian systems (GP-dPHS) enable data-driven modeling of distributed dynamical systems while preserving their physical structure. However, standard stationary kernels can be inefficient for spatially heterogeneous systems because they neither exploit known input invariances nor reflect structured spatial dependencies. We address this limitation with a structure-aware kernel design that removes irrelevant state coordinates and decouples state and spatial dependencies through a tensor-product covariance. This modular construction allows qualitative knowledge of spatial heterogeneity to be incorporated by selecting an appropriate spatial kernel without requiring an analytical description of the underlying profile. Numerical experiments on a nonlinear string with periodic, smoothly varying, and semi-piecewise stiffness profiles demonstrate that structural decoupling consistently improves reconstruction accuracy, while profile-matched spatial kernels yield substantially larger gains in force-field and trajectory reconstruction.
Figures & tables
Fig. 1: Representative spatial stiffness profiles used in this study: periodic, C2 bumps, and semi-piecewise stiffness (top to bottom, respectively).
Model and profile
η
P
Δmin
h^2 , all profiles
1\times10−1
15
1\times10−3
h^1 , periodic and constant
1\times10−1
15
1\times10−3
h^1 , C2 bumps
2\times10−2
50
1\times10−4
h^1 , semi-piecewise
1\times10−2
50
1\times10−4
TABLE I: Optimization settings for the effort models, shared across kernel architectures.
Stiffness
Kernel
εq
εu
εE
Curl RMSE
Eff. RMSE
Force RMSE
Constant
RBF
4.69\times10−2
1.23\times10−2
1.15\times10−3
2.63\times10−3
4.77\times10−2
1.86\times10−1
Periodic
RBF
5.60
1.18
1.11\times104
8.19\times10−1
1.76
8.82
Periodic
SD-RBF
1.73
6.65\times10−1
5.01\times101
3.56\times10−3
1.50
6.30
Periodic
SD-Per.
8.14\times10−2
2.06\times10−2
3.52\times10−3
3.56\times10−3
6.03\times10−2
3.08\times10−1
C2 bumps
RBF
5.47
1.18
1.64\times103
4.75\times10−1
1.45
6.97
C2 bumps
SD-RBF
1.27
7.13\times10−1
5.10
3.72\times10−3
1.23
5.97
TABLE II: Average numerical metrics for the considered stiffness profiles and kernel configurations. SD-RBF, SD-Per., SD-Mat., and SD-CP denote structural decoupling with RBF, periodic, Matérn, and changepoint spatial kernels, respectively.
Fig. 2: Average reconstructed displacement trajectories for the periodic, C2 -bump, and semi-piecewise stiffness profiles. Columns correspond to rollout steps 0, 50, and 100. Curves compare the numerical reference, stationary RBF baseline, SD-RBF, and profile-matched structural-decoupling model. The matched models use periodic, Matérn, and changepoint spatial kernels for the three profiles, respectively.
Simulating a Gaussian process requires sampling from a high-dimensional Gaussian distribution, which scales cubically with the number of sample locations. Spectral methods address this challenge by exploiting the Fourier representation and treating the spectral density as a probability distribution suitable for Monte Carlo approximation. Although this probabilistic interpretation is valid for stationary processes, it is overly restrictive for the nonstationary case, where spectral densities are generally not probability measures. To avoid this limitation, we propose regular Fourier features for harmonizable processes with one-dimensional inputs. Our method discretizes the spectral representation directly, preserving the correlation structure among spectral weights without requiring probability assumptions. Assuming finite spectral support, this yields an efficient low-rank approximation that is positive semi-definite by construction and consistent under mild regularity conditions. When the spectral density is unknown, the framework also extends to kernel learning from data, which we explore as a proof of concept. We demonstrate the approximation on locally stationary and harmonizable mixture kernels, the latter with a complex-valued spectral density. As a feasibility study, we then apply the kernel-learning extension to real and synthetic data, where it matches competitive baselines.
Arsalan Jawaid, Abdullah Karatas, Jörg Seewig
Institute of Measurement and Sensor Technology, University of Kaiserslautern-Landau, Kaiserslautern, Germany · Independent Researcher, Mannheim, Germany
We present a theoretically grounded Gaussian process framework that leverages neural feature maps to construct expressive kernels. We show that the learned feature map can be interpreted as an optimal low-rank approximation to a Gram matrix derived from an implied RKHS, from which we establish consistency of the GP posterior. We further analyse the spectral properties of the induced kernels and introduce product feature-map kernels to address oversmoothing. This simple yet powerful approach enables fast, scalable, and accurate exact GP inference with minimal upfront work. The flexibility of kernel design supports seamless application to both regression and classification tasks across diverse data modalities, including tabular inputs and structured domains such as images. On benchmark datasets, this approach surpasses pre-existing methods in terms of accuracy and training and prediction efficiency.
We introduce a scalable Gaussian process (GP) framework with deep product kernels for data-driven learning of parametrized spatio-temporal fields over fixed or parameter-dependent domains. The proposed framework learns a continuous representation, enabling predictions at arbitrary spatio-temporal coordinates, independent of the training data resolution. We leverage Kronecker matrix algebra to formulate a computationally efficient training procedure with complexity that scales nearly linearly with the total number of spatio-temporal grid points. A key feature of our approach is the efficient computation of the posterior variance at essentially the same computational cost as the posterior mean (exactly for Cartesian grids and via rigorous bounds for unstructured grids), thereby enabling scalable uncertainty quantification. Numerical studies on a range of benchmark problems demonstrate that the proposed method achieves accuracy competitive with operator learning methods such as Fourier neural operators and deep operator networks. On the one-dimensional unsteady Burgers' equation, our method surpasses the accuracy of projection-based reduced-order models. These results establish the proposed framework as an effective tool for data-driven surrogate modeling, particularly when uncertainty estimates are required for downstream tasks.
Srinath Dama, Prasanth B. Nair
University of Toronto Institute for Aerospace Studies, 4925 Dufferin Street, Toronto, M3H 5T6, Ontario, Canada