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

Smooth Sailing: Lipschitz-Driven Uncertainty Quantification for Spatial Associations

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

In the world of spatial statistics—think epidemiology, environmental science, or economics—we often care more about associations than simple predictions. We don't just want to predict the air quality in a city; we want to know if air pollution is associated with health risks, and by how much.

Standard tools like Ordinary Least Squares (OLS) or Gaussian Processes (GPs) are the workhorses of this field. However, they harbor a dangerous secret: when the model is slightly wrong (misspecified) or when the data we have comes from different locations than the area we want to study (covariate shift), their "confidence intervals" become wildly overconfident. In many real-world scenarios, these methods claim 95% confidence while actually being wrong nearly 100% of the time.

This paper introduces a novel method for constructing frequentist confidence intervals for spatial associations that are guaranteed to be valid even under model misspecification and non-random data locations. By leveraging Lipschitz smoothness assumptions, the authors provide a way to rigorously bound bias and offer the first true coverage guarantees for this challenging setting.

The Problem: Misspecification and Shift

Two major issues plague spatial analysis:

  1. Model Misspecification: We often assume a linear relationship because it's interpretable, even though the "true" underlying process is likely non-linear.
  2. Non-random Locations: Data is rarely collected via a perfect random sample. Monitoring stations are placed strategically (e.g., near roads or in cities), creating a "distribution shift" when we try to infer associations for a whole country.

Existing methods like the "Sandwich estimator" or Bayesian GPs fail here because they either assume the data is independent and identically distributed (i.i.d.) or that the model is perfectly specified. When these assumptions break, the resulting confidence intervals shrink too fast, leading to "discoveries" that are actually just statistical artifacts.

A Lipschitz-Driven Solution

The authors propose a Lipschitz-Driven approach. The core idea is to assume that the response variable (e.g., birth weight) is a "smooth" function of spatial location.

  1. Target Estimand: Instead of looking for a "true" global parameter, they define their goal as finding the best linear approximation of the response at the specific target locations of interest.
  2. Bias-Randomness Decomposition: They decompose the error of their estimator into two parts: a deterministic bias (caused by the difference between training and target locations) and randomness (observation noise).
  3. Wasserstein Bounds: To handle the bias, they use the Lipschitz constant ($L$) to bound how much the response can change over distance. They cleverly map this problem to a Wasserstein-1 distance calculation (a concept from optimal transport), which can be solved efficiently via a linear program.
  4. Noise Estimation: They provide a consistent way to estimate the noise variance ($\sigma^2$) even when the true function is unknown, using a quadratic programming approach.

Key Insights: The Lipschitz Trade-off

  • Honesty over Precision: The proposed intervals are often wider than OLS intervals, but they are "honest." They reflect the genuine uncertainty introduced by moving from one spatial distribution to another.
  • The Lipschitz Trade-off: There is a fascinating interplay between the smoothness constant $L$ and noise. As $L$ increases (assuming a less smooth world), the bias bound grows, but the estimated randomness contribution shrinks.
Figure 2: CI width as a function of the Lipschitz constant L. As L increases, the bias contribution (dashed x) grows while the randomness contribution (dashed square) shrinks.
  • Borrowing Strength Safely: The method uses a 1-Nearest Neighbor approach to estimate target responses but, unlike standard imputation, it rigorously accounts for the bias incurred by "borrowing" data from a distance.

Key Results

The results are a wake-up call for practitioners. In simulations with distribution shift, standard methods (OLS, Sandwich, GLS) frequently hit 0% coverage—meaning their 95% confidence intervals never contained the true value.

Figure 1: Comparison of coverages. In the lower experiment (high shift), only the authors' method (solid black) maintains the nominal 95% coverage, while all baselines collapse to near zero.

In a real-world tree cover experiment modeling how canopy percentage relates to Aridity Index, Elevation, and Slope, the authors' method was the only one to consistently achieve the 95% nominal coverage across all three environmental parameters. Other methods were consistently overconfident, particularly for the "Slope" parameter.

Limitations and Future Work

  • Choosing L: The method requires the user to specify a Lipschitz constant $L$. While the authors show the method is somewhat robust to this choice, it still requires domain expertise (e.g., knowing how fast air pollution typically changes over a kilometer).
  • Linearity: The current framework is designed for linear associations. Extending this to generalized linear models (like logistic regression for spatial binary outcomes) is a noted direction for future research.
  • Computational Scale: The noise variance estimator involves solving a quadratic program, which can be slow for very large datasets ($N > 10,000$), though the authors suggest faster approximations.

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 Associations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=lTP1RxTFSX},
}
Figure