Ricketts, Evan J. ORCID: https://orcid.org/0000-0001-8056-070X
2026.
DiffGRF: Differentiable Gaussian random field generation.
SoftwareX
34
, p. 102743.
10.1016/j.softx.2026.102743
|
Preview |
PDF
- Published Version
Available under License Creative Commons Attribution. Download (3MB) | Preview |
Abstract
Gaussian random fields (GRFs) are central to geostatistics, uncertainty quantification and Monte Carlo methods. Established implementations of the spectral randomization method are non-differentiable, so inverse parameter inference and gradient-based design rely on either finite differences or neural surrogates. DiffGRF is a PyTorch-native implementation that reparameterises the spectral summation such that analytical gradients flow through variance, correlation length, anisotropy and rotation. The package supports Gaussian and Matérn kernels in 1D, 2D and 3D, structured grids and unstructured meshes (via meshio), and CPU, CUDA and Apple MPS execution. We report forward agreement with analytical kernels, autograd–finite-difference agreement at the truncation floor of central differences, gradient-based parameter recovery, and wall-clock scaling.
| Item Type: | Article |
|---|---|
| Date Type: | Publication |
| Status: | Published |
| Schools: | Schools > Engineering |
| Publisher: | Elsevier |
| ISSN: | 2352-7110 |
| Date of First Compliant Deposit: | 1 June 2026 |
| Date of Acceptance: | 21 May 2026 |
| Last Modified: | 01 Jun 2026 14:10 |
| URI: | https://orca.cardiff.ac.uk/id/eprint/187319 |
Actions (repository staff only)
![]() |
Edit Item |





Dimensions
Dimensions