NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Smooth Sailing: Lipschitz-Driven Uncertainty Quantification for Spatial Association

David R. Burt, Renato Berlinghieri, Stephen Bates, Tamara Broderick · DOI

Abstract

Estimating associations between spatial covariates and responses - rather than merely predicting responses - is central to environmental science, epidemiology, and economics. For instance, public health officials might be interested in whether air pollution has a strictly positive association with a health outcome, and the magnitude of any effect. Standard machine learning methods often provide accurate predictions but offer limited insight into covariate-response relationships. And we show that existing methods for constructing confidence (or credible) intervals for associations can fail to provide nominal coverage in the face of model misspecification and nonrandom locations - despite both being essentially always present in spatial problems. We introduce a method that constructs valid frequentist confidence intervals for associations in spatial settings. Our method requires minimal assumptions beyond a form of spatial smoothness and a homoskedastic Gaussian error assumption. In particular, we do not require model correctness or covariate overlap between training and target locations. Our approach is the first to guarantee nominal coverage in this setting and outperforms existing techniques in both real and simulated experiments. Our confidence intervals are valid in finite samples when the noise of the Gaussian error is known, and we provide an asymptotically consistent estimation procedure for this noise variance when it is unknown.

Introduction

In fields such as epidemiology and environmental science, the primary objective is often to understand the underlying relationships between variables—for instance, quantifying how a specific increase in air pollution impacts public health outcomes. While standard machine learning models excel at prediction, they frequently fail to provide reliable uncertainty estimates for these associations.

Existing methods, such as Ordinary Least Squares (OLS) or Gaussian Processes (GPs), typically rely on the assumption that data is independent and identically distributed (i.i.d.) or that the model is perfectly specified. In spatial contexts, these assumptions are routinely violated due to model misspecification and nonrandom sampling (e.g., sensors clustered in urban areas). Consequently, traditional confidence intervals are often overly optimistic, claiming high confidence while failing to capture the true value in practice.

Methodology: Lipschitz-Driven Inference

To address these challenges, we propose a method that leverages spatial smoothness—specifically, the assumption that the underlying response function is $L$-Lipschitz. This approach does not require the model to be "correct" in a functional sense, but rather that the response does not change faster than a rate $L$ over distance.

Key Technical Components

  1. Target-Conditional Estimand: We define the association based on specific target locations of interest, allowing for valid inference even when training and target distributions differ.
  2. Bias-Randomness Decomposition: Total error is decomposed into a randomness component (data noise) and a bias component (extrapolation error).
  3. Wasserstein-1 Duality: Using Kantorovich-Rubinstein duality, we bound the worst-case bias through a linear program based on the distance between training and target points.
  4. Noise Estimation: We provide a consistent estimation procedure for noise variance ($\sigma^2$) under model misspecification using quadratic programming.
Figure 4: The relationship between the Lipschitz constant, spatial shift, and confidence interval width. As the assumed smoothness (L) decreases or the spatial shift increases, the bias component grows, leading to wider, more honest intervals.

Experimental Evaluation

The proposed method was tested against synthetic and real-world datasets to evaluate its robustness to spatial shifts.

Simulated and Real-World Results

In simulations where the distance between training and target data (the "shift") was varied, standard methods like OLS and GPs saw their coverage drop to near 0%. In contrast, our method maintained the nominal 95% coverage across all tested shifts.

Figure 1: Comparison of coverage and confidence interval (CI) widths across different methods. While competing methods suffer from catastrophic coverage loss as spatial shift increases, our approach maintains nominal coverage by appropriately widening the CI.

In a real-world application using the US Tree Cover dataset, we modeled the relationship between tree canopy and environmental covariates (Aridity, Elevation, Slope). By training on one geographic region and testing on another, we simulated realistic data gaps. Our method was the only one to achieve 95% coverage across all parameters, whereas competing methods were frequently overconfident, with coverage as low as 30%.

Discussion and Future Work

Our approach highlights the value of assuming smoothness over functional correctness. The "Lipschitz trade-off" ensures that as we extrapolate further from our data, the Wasserstein-based bias bound naturally increases, reflecting genuine uncertainty.

Limitations

While effective, the method requires a user-specified Lipschitz constant $L$. Although domain expertise can guide this choice, an underestimated $L$ may lead to under-coverage. Additionally, the current framework assumes homoskedastic Gaussian noise. Future research will focus on relaxing these assumptions to accommodate non-Gaussian noise, multivariate responses, and measurement errors in spatial covariates.

Summary updated

BibTeX
@inproceedings{burt2025smooth,
  author = {David R. Burt and Renato Berlinghieri and Stephen Bates and Tamara Broderick},
  title = {{Smooth Sailing: Lipschitz-Driven Uncertainty Quantification for Spatial Association}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=lTP1RxTFSX},
}
Figure