“…To date, test functions have been constructed by combining derivatives of the statistical model with reproducing kernels [Chwialkowski et al, 2016, Gorham and Mackey, 2017, Gong et al, 2021a, random features [Huggins and Mackey, 2018], diffusion coefficients and functions with bounded derivatives , neural networks [Grathwohl et al, 2020], and polynomials [Chopin and Ducrocq, 2021]. The resulting discrepancies have been shown to be powerful statistical tools, with diverse applications including parameter inference , Matsubara et al, 2022, goodness-of-fit testing [Jitkrittum et al, 2017, Fernandez et al, 2020, and sampling [Liu and Lee, 2017, Chen et al, 2018, Riabiz et al, 2022, Hodgkinson et al, 2020, Fisher et al, 2021. However, one of the main drawbacks of these existing works is the requirement that derivatives both exist and can be computed.…”