arXiv:2609.07982cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07982

Semi-Supervised Learning under Spatially Biased Sampling

Bright Wiredu Nuakoh, Francky Fouedjio, Stephen Bradshaw, Yaw Kwaafo Awuah-Mensah, Wei Hong Tan, Emet Arya, Ebenezer Afrifa-Yamoah

Abstract

Standard semi-supervised learning (SSL) typically relies on labelled and unlabelled data sharing a common marginal distribution. This assumption is often violated by biased spatial sampling mechanism, when labels are collected under spatially biased or preferential site selection. We treat this marginal mismatch, spatial autocorrelation, and spatial non-stationarity as three distinct mechanisms, varied independently via a labelled-sampling concentration parameter, a spatial length scale, and a non-stationarity strength parameter, and ask how mismatch degrades SSL, whether the cluster and manifold assumptions survive it, and how the resulting failure can be diagnosed. Using a controlled synthetic framework alongside PovertyMap-WILDS, California housing, socio-economic and US air quality monitoring datasets, we systematically vary the degree of mismatch while accounting for spatial autocorrelation and non-stationarity. Through a series of analyses including a segmented-regression changepoint, we show that in the synthetic generator, SSL performance does not degrade gradually but instead exhibits a threshold-like breakdown between approximately 0.71 and 0.77 once distribution mismatch becomes sufficiently severe. We further demonstrate that spatial non-stationarity contributes to performance loss independently of marginal mismatch and that models become increasingly overconfident outside the regions where labels are available. To support practical deployment, we evaluate several distribution-divergence measures as indicators of reliability and introduce a kernel-weighted local divergence metric that provides a more stable estimate of spatial mismatch than a naïve localised approach. These findings provide empirical evidence and diagnostic tools for better documenting the risk of incorporating unlabelled spatial data into semi-supervised learning workflows.

Keywords: marginal distributional mismatch, preferential sampling, spatial sampling, machine learning, AI

1 Introduction

Semi-supervised learning (SSL) utilises abundant unlabelled data to compensate for scarce, costly labels (Chapelle et al., 2006; van Engelen & Hoos, 2020). Its guarantees rest on a distributional-consistency assumption: that labelled and unlabelled samples are drawn from the same distribution. Spatial data can seem to inherently violate this assumption, but that framing is imprecise. Labelled and unlabelled locations are ordinarily realisations of the same spatial stochastic process, and the defining features of such a process – spatial autocorrelation, whereby nearby locations are more similar than distant ones (Tobler, 1970), and spatial non-stationarity, whereby the covariate – outcome relationship varies across geography (Fotheringham et al., 2002) – do not by themselves make the labelled and unlabelled marginals differ. A second-order non-stationary Gaussian random field, for instance, exhibits both properties, yet observations at labelled and unlabelled locations remain realisations of one process and can be modelled as such (Banerjee et al., 2014; Paciorek & Schervish, 2006). What violates the shared-marginal assumption is the sampling mechanism: labelled spatial data are collected under practical constraints where survey budgets, monitoring-station siting, and historical settlement patterns concentrate labels in accessible or well-resourced areas, so that the labelled and unlabelled covariate marginals diverge through spatially biased coverage, preferential sampling in which site selection depends on the process being measured (Diggle et al., 2010), or domain shift between collection regimes. Autocorrelation and non-stationarity are nonetheless consequential for SSL, but through different channels: autocorrelation stresses the independence assumptions behind SSL's learning-theoretic guarantees (Roberts et al., 2017), while non-stationarity is a form of concept shift in p(y∣x)p(y \mid x) (Moreno-Torres et al., 2012). Whether these three mechanisms degrade SSL in the same way, to the same degree, and through the same failure modes has not been established, even as the wider literature documents how poorly spatial models generalise beyond their training footprint (Meyer & Pebesma, 2021; Ploton et al., 2020).

The paper makes three primary contributions†^{\dagger}. First, it frames marginal mismatch and spatial non-stationarity as distinct forms of dataset shift within the taxonomy of Moreno-Torres et al. (2012), and provides empirical evidence that they affect SSL performance through different mechanisms in the settings studied. Second, it evaluates global distribution-divergence metrics as practical indicators of SSL reliability and introduces a kernel-weighted local divergence estimator that provides a more robust measure of spatial mismatch than a naïve grid-based approach. Third, it shows that SSL performance exhibits a threshold-like breakdown under increasing spatial mismatch and estimates this transition using segmented regression with bootstrap confidence intervals (Muggeo, 2003). Under the experimental settings considered here, the estimated breakpoint lies at approximately α≈0.71−0.77\alpha \approx 0.71-0.77 for five of the six method/metric combinations tested (the sixth, label propagation's accuracy breakpoint, is far less precisely located), indicating that degradation is abrupt instead of gradual. Beyond these core contributions, we also investigate two related questions: whether the observed failure can be mitigated through distribution-aware training, and whether the same behaviour is consistent across a broader range of SSL methods. These analyses include a distribution-aware framework, a domain-adversarial variant, and a comparison of ten methods spanning four SSL families, including the geostatistical approach of Fouedjio & Talebi (2022). Unless otherwise stated, all results presented in this paper are based on twenty random seeds. As these investigations extend the main narrative of the paper, they are summarised briefly in the main text and presented in full in the Supplementary Material.

The study also tests the validity of the following hypotheses, which are derived from the research questions we seek to address. The mismatch-degradation hypothesis (H1) states that increasing marginal distribution mismatch between labelled and unlabelled spatial data degrades SSL model performance. The method-sensitivity hypothesis (H2) states that methods relying strongly on cluster or manifold assumptions are more sensitive to spatial heterogeneity than methods that do not. The spatial-awareness hypothesis (H3) states that spatially explicit SSL models outperform standard, non-spatial SSL approaches under distribution mismatch. The alignment-benefit hypothesis (H4) states that incorporating distribution-alignment or spatial-weighting mechanisms directly into the training procedure mitigates the performance loss pre-

†^{\dagger}Code available at https://github.com/Wiredu2020/Distributional-Mismatch-in-Spatial-SSL-Application dicted by the mismatch-degradation hypothesis.

References (47)