Fitting Matérn Smoothness Parameters Using Automatic Differentiation

01/01/2022
by   Christopher J. Geoga, et al.
0

The Matérn covariance function is ubiquitous in the application of Gaussian processes to spatial statistics and beyond. Perhaps the most important reason for this is that the smoothness parameter ν gives complete control over the mean-square differentiability of the process, which has significant implications for the behavior of estimated quantities such as interpolants and forecasts. Unfortunately, derivatives of the Matérn covariance function with respect to ν require derivatives of the modified second-kind Bessel function 𝒦_ν with respect to ν. While closed form expressions of these derivatives do exist, they are prohibitively difficult and expensive to compute. For this reason, many software packages require fixing ν as opposed to estimating it, and all existing software packages that attempt to offer the functionality of estimating ν use finite difference estimates for ∂_ν𝒦_ν. In this work, we introduce a new implementation of 𝒦_ν that has been designed to provide derivatives via automatic differentiation (AD), and whose resulting derivatives are significantly faster and more accurate than those computed using finite differences. We provide comprehensive testing for both speed and accuracy and show that our AD solution can be used to build accurate Hessian matrices for second-order maximum likelihood estimation in settings where Hessians built with finite difference approximations completely fail.

READ FULL TEXT

page 3

page 17

page 18

page 19

research
01/01/2022

On automatic differentiation for the Matérn covariance

To target challenges in differentiable optimization we analyze and propo...
research
03/03/2022

Closed-Form Second-Order Partial Derivatives of Rigid-Body Inverse Dynamics

Optimization-based control methods for robots often rely on first-order ...
research
02/12/2023

On Second-Order Derivatives of Rigid-Body Dynamics: Theory Implementation

Model-based control for robots has increasingly been dependent on optimi...
research
11/20/2020

Computation and application of generalized linear mixed model derivatives using lme4

Maximum likelihood estimation of generalized linear mixed models(GLMMs) ...
research
11/26/2019

Recursive multivariate derivatives of e^f(x_1,..., x_n) of arbitrary order

High-order derivatives of nested functions of a single variable can be c...
research
12/23/2019

BackPACK: Packing more into backprop

Automatic differentiation frameworks are optimized for exactly one thing...
research
09/07/2018

The smoothness test for a density function

The problem of testing hypothesis that a density function has no more th...

Please sign up or login with your details

Forgot password? Click here to reset