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

Wrong Model, Right Uncertainty: Spatial Associations for Discrete Data with Misspecification

David R. Burt, Renato Berlinghieri, Tamara Broderick

TL;DR

When estimating how spatial factors (like air pollution) influence discrete health outcomes (such as disease incidence or hospital visits), standard Generalized Linear Models (GLMs) routinely fail because the models are misspecified and sensor locations are non-random. This paper introduces the first asymptotically conservative confidence intervals for discrete spatial associations under both model misspecification and spatial covariate shift, guaranteeing nominal coverage even when traditional methods confidently report the wrong sign.

What Problem Does This Paper Address?

In environmental epidemiology and public health, researchers frequently analyze associations between spatial covariates (e.g., temperature, ozone levels) and binary or count responses (e.g., presence of disease, hospital admissions). Analysts often fit GLMs—such as logistic or Poisson regressions—to draw conclusions. However, standard GLM inference relies on two unrealistic assumptions:

  1. Model well-specification: The true conditional mean is assumed to follow the GLM's link function exactly.
  2. Independent and identically distributed (i.i.d.) random sampling: Training sensor locations and target inference locations (like cities) are assumed to come from the same distribution. In reality, monitors are placed strategically by agencies, and target regions do not match sensor networks.

Recent work addressed these issues for continuous responses with spatially uniform (homoskedastic) Gaussian noise. However, discrete data inherently introduce spatially varying (heteroskedastic) noise. Moreover, existing spatial borrowing estimators (like 1-nearest-neighbor approaches) are mathematically inconsistent under infill asymptotics.

Methods

The paper formulates the target estimand as the "best approximating" GLM parameter on the target distribution (minimizing conditional Kullback–Leibler divergence):

  • Adaptive $k_N$-Nearest-Neighbor Estimator: Instead of using fixed 1-nearest-neighbor imputation, the authors design an adaptive scheme where the number of neighbors $k_N \to \infty$ as the training locations become dense near target points. This guarantees estimator consistency under spatial infill asymptotics.
  • Heteroskedastic Variance Estimation: The authors introduce a computationally efficient nearest-neighbor difference variance estimator ($\Lambda_N$) tailored to spatially varying noise and prove its infill consistency.
  • Lyapunov Central Limit Theorem & Delta Method: To handle non-identically distributed observations across space, the paper establishes asymptotic normality of the borrowed responses via a Lyapunov CLT for triangular arrays, propagating it through the GLM mapping via the delta method.
  • Wasserstein Bias Bounding: Because misspecification and spatial misalignment introduce bias, the authors upper-bound the worst-case bias using optimal transport (a 1-Wasserstein distance between target and weighted training locations over Lipschitz functions). The resulting confidence intervals expand standard errors by this bias bound.

Datasets

The authors evaluate their approach on two synthetic benchmark simulations (250 datasets each):

  • Infill Simulation: 10,000 training locations drawn uniformly on $[-1, 1]^2$ with 100 target locations concentrated inside a centered square $[-\text{scale}, \text{scale}]^2$. The response is Bernoulli with an underlying piecewise-linear logit that makes linear logistic regression misspecified.
  • Extrapolation Simulation: Training data generated on $[-1, 1]^2$, but target points are systematically shifted outside the training support to $[ -j+1, j+1] \times [-1, 1]$, testing performance when spatial extrapolation is unavoidable.

No empirical real-world datasets were analyzed in the paper; real-world settings (e.g., Texas air monitoring networks) served as motivating context.

Key Insights and Ideas

  • Single-neighbor estimates fail asymptotically: The 1-nearest-neighbor borrowing scheme used in prior continuous literature does not have its variance vanish as sample size grows, causing inconsistency under infill asymptotics. Growing the neighborhood size adaptively fixes this.
  • Discrete responses require handling heteroskedasticity: Because the variance of binary and count variables depends directly on the local mean ($\rho^2(s) = f(s)(1 - f(s))$ in Bernoulli trials), constant-variance assumptions fundamentally break down.
  • Standard baselines give confident, wrong answers: In misspecified spatial settings, standard standard errors and sandwich estimators do not account for spatial bias from non-random sampling, often producing narrow confidence intervals centered entirely around the wrong sign.

Key Results

The method was compared against standard Logistic Regression (LR), Logistic Regression with Sandwich Covariance (LR-Sandwich), and Kernel Density-Weighted Logistic Regression (WLR):

  • Empirical Coverage: Under infill and extrapolation settings, the proposed method maintained empirical coverage at or above the nominal 95% level across all parameter scales. In contrast, all baselines dropped precipitously; in the extrapolation setup, baselines frequently dropped to 0% empirical coverage.
  • Sign Errors (Type 1 Errors): In difficult extrapolation regions, baseline methods suffered false positive rates near 100% (confidently excluding 0 with the incorrect sign). The proposed method produced 0% false positives across all runs.
  • Width vs. Power Trade-off: The intervals from the proposed method are wider, leading to lower statistical power (true positive detection) when data are sparse, reflecting appropriate scientific caution in the presence of unidentifiable extrapolation bias.

Limitations and Future Work

  • Conservativeness: Protecting against worst-case Lipschitz bias results in wider confidence intervals and lower true positive rates in extrapolation regimes.
  • Lipschitz Constant Dependency: The bias bound relies on knowledge of the Lipschitz constant $L$ of the underlying conditional expectation function.
  • Future Directions: Adapting finite-sample exact inference or profile-likelihood methods to this framework, and deploying the estimator on real-world epidemiological and environmental surveillance data.

Summary updated

BibTeX
@inproceedings{burt2025wrong,
  author = {David R. Burt and Renato Berlinghieri and Tamara Broderick},
  title = {{Wrong Model, Right Uncertainty: Spatial Associations for Discrete Data with Misspecification}},
  booktitle = {Reliable ML @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=5u3IhwVmuq},
}
Figure