Scalable Kernel-Based Distances for Statistical Inference and Integration
Organizations: Department of Computer Science University College London
Abstract
Representing, comparing, and measuring the distance between probability distributions is a key task in computational statistics and machine learning. The choice of representation and the associated distance determine properties of the methods in which they are used: for example, certain distances can allow one to encode robustness or smoothness of the problem. Kernel methods offer flexible and rich Hilbert space representations of distributions that allow the modeller to enforce properties through the choice of kernel, and estimate associated distances at efficient nonparametric rates. In particular, the maximum mean discrepancy (MMD), a kernel-based distance constructed by comparing Hilbert space mean functions, has received significant attention due to its computational tractability and is favoured by practitioners. In this thesis, we conduct a thorough study of kernel-based distances with a focus on efficient computation, with core contributions in Chapters 3 to 6. Part I of the thesis is focused on the MMD, specifically on improved MMD estimation. In Chapter 3 we propose a theoretically sound, improved estimator for MMD in simulation-based inference. Then, in Chapter 4, we propose an MMD-based estimator for conditional expectations, a ubiquitous task in statistical computation. Closing Part I, in Chapter 5 we study the problem of calibration when MMD is applied to the task of integration. In Part II, motivated by the recent developments in kernel embeddings beyond the mean, we introduce a family of novel kernel-based discrepancies: kernel quantile discrepancies. These address some of the pitfalls of MMD, and are shown through both theoretical results and an empirical study to offer a competitive alternative to MMD and its fast approximations. We conclude with a discussion on broader lessons and future work emerging from the thesis.
Figures & tables
| The set of natural numbers, . | |
| The subset , for . | |
| The identity matrix. | |
| Tuple , for . | |
| Vector (for ) or matrix , for . | |
| , | The norm and inner product of a space . |
| Column vector , for and . |
| Polynomial of degree | , for and . |
| Matérn of order , and smoothness | , where for is the modified Bessel function of the second kind. |
| Gaussian | |
| Brownian motion | |
| Fractional Brownian motion |
| Model | References | i.i.d. V-stat | i.i.d. OW (ours) | RQMC V-stat | RQMC OW (ours) | ||
|---|---|---|---|---|---|---|---|
| g-and-k | 1 | 1 | [ Bharti et al., 2022b , Niu et al., 2023 ] | 2.25 (1.52) | 0.086 (0.049) | 0.060 (0.037) | 0.059 (0.037) |
| Two moons | 2 | 2 | [ Lueckmann et al., 2021 , Wiqvist et al., 2021 ] | 2.36 (1.94) | 0.057 (0.054) | 0.056 (0.044) | 0.055 (0.044) |
| Bivariate Beta | 5 | 2 | [ Nguyen et al., 2020 , Niu et al., 2023 ] | 2.13 (1.17) | 0.555 (0.227) | 0.222 (0.111) | 0.193 (0.088) |
| MA(2) | 12 | 10 | [ Marin et al., 2011 , Nguyen et al., 2020 ] | 2.42 (0.796) | 0.705 (0.107) | 0.381 (0.054) | 0.322 (0.052) |
| M/G/1 queue | 10 | 5 | [ Pacchiardi et al., 2024 , Jiang, 2018 ] | 2.52 (1.19) | 1.71 (0.568) | 0.595 (0.134) | 0.646 (0.202) |
| Lotka-Volterra | 600 | 2 | [ Briol et al., 2019b , Wiqvist et al., 2021 ] | 2.13 (1.10) | 2.04 (0.956) | 1.44 (0.955) | 1.42 (0.942) |
| Cases | i.i.d. V-stat | i.i.d. OW (ours) |
|---|---|---|
| (null holds) | 0.040 | 0.047 |
| (alternative holds) | 0.040 | 0.413 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Cost | Error | |
|---|---|---|
| V-statistic | ||
| OW |
| hyperparameter | value | |
|---|---|---|
| 0.05 | level of the test | |
| 200 | number of bootstrap samples | |
| 100 | number of samples from the simulator | |
| 500 | number of observations in the data | |
| 50 | number of initial parameters sampled | |
| 10 | number of initial parameters to optimise |
| Variables | Mean | Std | Meaning |
|---|---|---|---|
| 1000 | 1.0 | Cost of treatment | |
| 0.1 | 0.02 | Probability of admissions | |
| 5.2 | 1.0 | Days of hospital | |
| 400 | 200 | Cost per day | |
| 0.3 | 0.1 | Utility change if response | |
| 3.0 | 0.5 | Duration of response |