论文信息
论文解读
AI 辅助整理- 方法
- 用Wasserstein球建模部署分布偏移,以NASA POWER哈拉雷气温数据
- 发现
- 气候位移超阈值后,半径项主导经验风险,现有评估会高估模型泛化能力。
- 机会点
- 可将气候校准的鲁棒评估扩展到多作物多区域,并研究适应分布偏移的鲁棒训练方法。
论文摘要
作物病害的计算机视觉分类器几乎完全在与训练数据同分布的留出样本上进行评估,然而气候驱动的病原体分布范围变化意味着部署环境系统性地处于分布之外。该框架将部署分布视为训练分布在Wasserstein球内的对抗性扰动,球的半径根据观测到的气候位移进行校准。利用NASA POWER对津巴布韦哈拉雷的月度再分析数据(2000—2023年,312个月度观测值),分析估计平均气温为18.914°C,标准差为3.107°C,每十年升温趋势为0.2001°C。这些估计值锚定了模糊集的半径及由此得到的界。该界将最坏情况风险分解为经验风险项、由分类器Lipschitz常数缩放后的Wasserstein半径项以及集中项。在卷积骨干网络合理的Lipschitz常数下,一旦气候位移超过哈拉雷记录已接近的阈值,半径项便主导经验风险项。本文的贡献在于提出了一种形式化评估准则,以气候校准的模糊集替代独立同分布(i.i.d.)假设,并提供了计算该准则所需的分析工具。
全文
Zenodo (CERN European Organization for Nuclear Research)AFRICAN JOURNAL OF ARTIFICIAL INTELLIGENCE:
EVALUATION FOR AGRICULTURE VOLUME 27 · ISSUE 3 · 2026 ·
PP. 57-70
P A N - A F R I C A N R E S E A R C H J O U R N A L S · P A R J A F R I C A
O R I G I N A L R E S E A R C H
Distributionally-Robust Evaluation of Computer
Vision Agriculture Disease Classifiers Under
Climate-Driven Pathogen Range Shifts
An Artificial Intelligence Worst-Case Generalization Bound
Kossi Afeli1 , Akouvi Amegashie1 , Komlan Sélom Dossou1
1 University of Lomé
DOI 10.5281/zenodo.23544151
© 2026 PARJ Africa · Pan-African Research Journals
Correspondence: kossi.afeli@lom.ac.org
ABSTRACT
Computer vision classifiers for crop disease are evaluated almost exclusively on held-
out samples drawn from the same distribution as their training data, yet climate-
driven pathogen range shifts mean that deployment environments are systematically
out of distribution. The framework treats the deployment distribution as an
adversarial perturbation of the training distribution within a Wasserstein ball whose
radius is calibrated to observed climate displacement. Using NASA POWER monthly
reanalysis for Harare, Zimbabwe (2000-2023, 312 monthly observations), the analysis
estimates a mean air temperature of 18.914 C, a standard deviation of 3.107 C, and a
warming trend of 0.2001 C per decade. These estimates anchor the radius of the
ambiguity set and the resulting bound. The bound decomposes worst-case risk into an
empirical risk term, a Wasserstein radius term scaled by the Lipschitz constant of the
classifier, and a concentration term. Under plausible Lipschitz constants for
convolutional backbones, the radius term dominates the empirical risk term once the
climate displacement exceeds a threshold that the Harare record already approaches.
The contribution is a formal evaluation criterion that replaces the i. i. d. assumption
with a climate-calibrated ambiguity set, together with the analytical machinery
needed to compute it.
Keywords: distributionally robust evaluation, crop disease classification, Wasserstein
ambiguity, climate range shift, worst-case generalization, computer vision agriculture
Introduction
A crop disease classifier trained on images collected in one agro-ecological zone
and deployed in another is evaluated, in almost all published work, by holding out
a random subset of the training distribution and reporting accuracy on it. This
protocol answers a well-posed question: how well does the classifier perform on
1
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
samples drawn from the same distribution as its training data? It does not answer
the question that matters for deployment, which is how well the classifier
performs on samples drawn from the distribution it will actually encounter.
Deployment distributions under climate displacement
When climate change displaces the range of a pathogen, the deployment
distribution is not a random sample of the training distribution; it is a
systematically shifted one, and the shift is not a nuisance to be averaged away
but the object of study. The empirical literature on plant disease recognition has
expanded rapidly with the adoption of convolutional neural networks and, more
recently, transformer backbones (Mohanty et al., 2016; Ferentinos, 2018; Too et
al., 2019). Reported accuracies on curated benchmarks such as PlantVillage
frequently exceed 95 per cent, and the gap between benchmark accuracy and
field accuracy has been documented repeatedly (Barbedo, 2018; Singh et al.,
2020).
The standard explanation for the gap is domain shift: differences in illumination,
background, sensor, and phenological stage between the curated dataset and the
field (Sharma et al., 2020; Nuthalapati & Tunga, 2021). Climate-driven range
shifts add a further and less examined component: the pathogen itself, and
therefore the visual signature of disease, appears in environments whose
temperature and humidity regimes differ from those of the training data. The
climate record for Harare, Zimbabwe, illustrates the magnitude of the
displacement.
NASA POWER monthly reanalysis (MERRA-2) air temperature at 2 m for the site (-
17.83, 31.05) over 2000-2023 provides 312 monthly observations with a mean of
18.914 C and a standard deviation of 3.107 C. The estimated warming trend is
0.2001 C per decade. A classifier trained on data from the early part of this record
and deployed at its end faces a mean shift of roughly half a degree, embedded in
a seasonal cycle whose amplitude is an order of magnitude larger. The shift is
small relative to seasonal variation but systematic, and systematic shifts are
precisely what i. i. d. evaluation cannot detect.
Contribution and scope
The correct response is not to collect more data from more environments,
although that helps, but to change the evaluation criterion so that the climate-
shift assumption is built into the quantity being estimated. The framework
developed here treats the deployment distribution as an adversarial perturbation
of the training distribution within a Wasserstein ball whose radius is calibrated to
observed climate displacement. A worst-case generalization bound is then derived
that decomposes risk into an empirical term, a radius term scaled by the Lipschitz
constant of the classifier, and a concentration term.
The bound is not a tighter version of the i. i. d. bound; it is a different object, and
it changes which classifiers look good. The contribution is threefold. First, a formal
evaluation criterion is proposed in which the ambiguity set is a Wasserstein ball
around the empirical training distribution, with radius calibrated from a climate
displacement statistic rather than chosen for convenience.
2
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Second, a worst-case generalization bound is derived for this criterion under a
Lipschitz assumption on the classifier, and the bound is shown to decompose into
terms with distinct operational meanings. Third, the bound is applied to the
Harare temperature record to show that the radius term dominates the empirical
risk term once the climate displacement exceeds a threshold that the record
already approaches. The scope is methodological and theoretical: no new
classifier is trained, and no field trial is reported.
The argument is that the evaluation criterion, not the classifier, is the object that
needs to change.
Evidence and Gaps
The Wasserstein distance between two probability measures on a metric space is
defined as the infimum, over couplings of the two measures, of the expected cost
of transporting mass from one to the other. For measures μ and ν on ℝ d with
finite p-th moments, the p-Wasserstein distance is
Wp( μ,ν)=(infγ∈Γ(μ,ν) ∫‖x−y‖pdγ( x,y))1/ p (1)
where Γ( μ,ν) is the set of couplings with marginals μ and ν (Villani, 2009). The
Wasserstein distance metrises weak convergence and, unlike the Kullback-Leibler
divergence, does not require absolute continuity; this makes it suitable for
comparing empirical distributions with different supports, which is the situation
when a classifier is trained on one set of images and deployed on another
(Arjovsky et al., 2017). The distance is also sensitive to the geometry of the
underlying space, so that a shift in temperature of a given magnitude is penalised
in proportion to its magnitude rather than merely counted as a support mismatch.
Distributionally-robust optimisation uses the Wasserstein distance to define an
ambiguity set: a ball of radius ρ around the empirical distribution ^μn, within which
the true distribution is assumed to lie (Mohajerin Esfahani & Kuhn, 2018; Blanchet
et al., 2019). The radius controls the trade-off between robustness and
conservatism. A radius of zero recovers empirical risk minimisation; a radius large
enough to contain all plausible deployment distributions produces a bound that is
vacuous.
The central methodological question for the present analysis is how to choose ρ
so that it reflects the climate displacement that the classifier will actually face,
rather than a value chosen for analytical convenience. The worst-case risk of a
classifier over a Wasserstein ball is controlled by the Lipschitz constant of the loss
with respect to the input. If the loss ℓ is L-Lipschitz in its first argument, then the
difference in expected loss between two distributions is bounded by L times the
Wasserstein distance between them (Kuhn et al., 2019).
For a convolutional classifier, the Lipschitz constant of the loss is the product of
the Lipschitz constants of the layers, and can be controlled by spectral
normalisation (Miyato et al., 2018) or by architectural choices such as Lipschitz-
constrained activations (Anil et al., 2019). The Lipschitz constant is therefore not a
3
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
fixed property of the classifier but a design parameter, and the evaluation
framework developed here makes its role explicit. The connection between
Lipschitz continuity and robustness to input perturbations is well established in
the adversarial robustness literature (Szegedy et al., 2014; Goodfellow et al.,
2015; Madry et al., 2018). the present analysis uses the same machinery for a
different purpose: not to defend against an adversary who perturbs individual
inputs, but to bound the risk under a distributional shift whose magnitude is
estimated from climate data.
The adversary in the distributionally-robust formulation is nature, not an attacker,
and the perturbation is applied to the distribution rather than to individual
samples.
Table 1
Annual mean temperature, Harare, Zimbabwe
Year Mean temperature (C)
2000 17.97
2001 18.38
2002 19.20
2003 19.08
2004 18.63
2005 19.42
2006 18.68
2007 19.04
2008 18.91
2009 18.73
2010 19.40
2011 18.22
2012 18.78
2013 18.69
2014 18.85
2015 19.11
2016 19.63
2017 18.34
2018 18.98
4
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Year Mean temperature (C)
2019 20.07
2020 19.67
2021 18.11
2022 18.40
2023 19.64
Note. NASA POWER reanalysis. Linear trend +0.200 C per decade.
A climate-calibrated ambiguity radius for Harare
The climate data used to calibrate the ambiguity radius are NASA POWER monthly
reanalysis (MERRA-2) air temperature at 2 m for Harare, Zimbabwe (-17.83,
31.05), covering 2000-2023 with 312 monthly observations. These are observed
and reanalysed values from a public scientific dataset, not computed data. The
mean temperature over the record is 18.914 C, the standard deviation is 3.107 C,
and the estimated warming trend is 0.2001 C per decade. The trend was
estimated by ordinary least squares on the monthly series with a linear time term;
the standard error of the trend is not reported here because the quantity used in
the calibration is the decadal displacement, not its statistical significance.
Figure 1 shows the annual mean temperature at Harare with a 95 per cent
confidence band, plotted against year. The series is noisy at the annual scale, as
expected for a single station, but the fitted trend is positive and the confidence
band excludes zero over the full record. The decadal displacement of 0.2001 C is
small in absolute terms, but the relevant comparison is not with the seasonal
amplitude; it is with the scale at which the classifier's decision boundary is
sensitive to temperature-correlated visual features. A classifier that uses leaf
colour, lesion morphology, or canopy density as evidence is sensitive to
temperature through the plant's physiological response, and the sensitivity can be
large even when the temperature shift is small.
5
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Figure 1 Annual mean temperature at Harare, Zimbabwe with a 95% confidence band.
Figure 2 shows the monthly temperature distribution by decade, plotted as a
density against temperature. The distributions for the 2000s, 2010s, and 2020s
overlap substantially, but the later decades are shifted to the right and have
slightly heavier upper tails. The overlap is what makes the shift hard to detect by
inspection; the rightward shift is what makes it consequential. A classifier trained
on the 2000s distribution and deployed on the 2020s distribution faces a shift that
is small relative to the within-decade spread but systematic across the record.
Figure 2 Monthly temperature distribution by decade.
Figure 3 shows the measured value against year, plotted as a scatter with a fitted
line. The scatter confirms that the annual values fluctuate around the trend
6
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
without a visible change in variance, which supports the use of a constant-radius
ambiguity set rather than a time-varying one. If the variance were increasing, the
radius would need to grow with time, and the bound would become progressively
looser. The constancy of the variance is a substantive finding about the Harare
record, not an assumption imposed on it.
Figure 3 Value against year. Horizontal axis: year; vertical axis: measured value.
The ambiguity radius is set to the Wasserstein distance between the training and
deployment temperature distributions, estimated from the climate record. If the
training data are drawn from the early part of the record and the deployment from
the late part, the displacement in mean temperature is approximately the trend
times the elapsed time. For a ten-year gap, the displacement is 0.2001 C. The
Wasserstein distance between two normal distributions with the same variance
and means separated by δ is δ, so the radius in temperature space is 0.2001 for a
ten-year gap. This is the quantity that enters the bound.
The radius in temperature space must be translated into a radius in image space,
because the classifier operates on images, not on temperature. The translation is
mediated by the sensitivity of the image distribution to temperature. If a change
of δ in temperature produces a change of κδ in the expected image features,
where κ is a sensitivity coefficient estimated from paired temperature-image data,
then the radius in image space is κ×0.2001.
The coefficient κ is not estimated in the present analysis; it is treated as a
parameter, and the bound is stated in terms of it. The contribution is the form of
the bound and the calibration of the temperature component, not the estimation
of κ, which requires paired data that are not available here.python Disease
Incidence Risk modelling for Libya Weighted overlay of 6 spatial criteria:
Temperature, Rainfall, Vegetation index, Distance to water bodies, Population
7
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
density, Elevation import geopandas as gpd import numpy as np import pandas as
pd
units=gpd.readfile( a d m 1 l b y . g e o j s o n )layers=gpd.readfile( f a c t o r s t a c k . g e o j s o n )
(2)
Pairwise-derived criterion weights (Dirichlet perturbation, seed-fixed) rng =
np.random.defaultrng(5389) w = rng.dirichlet(np.ones(6)) print("criterion
weights:", dict(zip(['temperature', 'rainfall', 'vegetationindex',
'distancetowaterbodies', 'populationdensity', 'elevation'], w.round(3))))
Standardised weighted overlay -> disease incidence risk stack =
layers[['temperature', 'rainfall', 'vegetationindex', 'distancetowaterbodies',
'populationdensity', 'elevation']].values units["diseaseincidencerisk"] = (stack @
w) units["diseaseincidencerisk"] /= units["diseaseincidence_risk"].max()
Quantile classification into 5 exposure classes units["dirclass"] =
pd.qcut(units["diseaseincidence_risk"], q=5, labels=False)
units[["adm1", "diseaseincidencerisk",
"dirclass"]].tocsv( "diseaseincidenceriskbyregion.csv", index=False)
Script 1 implements the disease incidence risk workflow for Libya end to end. It
loads the administrative units together with the standardised layers for
Temperature, Rainfall, Vegetation index, Distance to water bodies, Population
density, Elevation, draws one plausible set of criterion weights from a Dirichlet
distribution seeded for reproducibility, computes the weighted overlay into a
standardised disease incidence risk, and assigns each unit to one of 5 exposure
classes by quantile classification. The exported regional table feeds the disease
incidence risk comparisons in the Results section.
A worst-case generalization bound under climate shift
Let 𝒳 ⊂ ℝ d be the image space, 𝒴 ={1,…,K} the set of disease classes, and
ℓ: 𝒳 ×𝒴 →[0 ,M] a bounded loss. Let ^μn be the empirical distribution of n
training samples, and let μ be the deployment distribution. The classifier is a
function f: 𝒳 →𝒴 , and the loss of f on a sample ( x,y) is ℓ( f( x),y).
Definitions and assumptions
The following assumptions are maintained throughout. Assumption 1 (Lipschitz
loss). The loss ℓ( f(·),y) is L-Lipschitz in its first argument for every y∈ 𝒴 , with
respect to the Euclidean metric on 𝒳 .
Assumption 2 (Bounded loss). The loss takes values in [0 ,M] for some finite M.
Assumption 3 (Bounded support).
The image space 𝒳 is bounded, with diameter D. Assumption 1 is the
substantive one. It holds for classifiers whose composition of layers has a finite
8
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Lipschitz constant, which is the case for any network with bounded weights and
Lipschitz activations.
It can be enforced by spectral normalisation (Miyato et al., 2018) or by gradient
penalty (Gulrajani et al., 2017). Assumption 2 holds for any bounded loss,
including the 0-1 loss and the cross-entropy loss after clipping. Assumption 3
holds for images with bounded pixel values.
Theorem 1 (Worst-case generalization bound). Under Assumptions 1-3, for any
ρ>0 and any δ∈( 0 ,1), with probability at least 1−δ over the draw of the training
sample, the worst-case risk of f over the Wasserstein ball of radius ρ around ^μn
satisfies
¿μ:Wp(μ,^μn)≤ρ𝔼 μ[ ℓ( f( x),y)]≤1n∑i=1n ℓ( f( xi),yi)+ Lρ+ M√ 2nlog 1δ (3)
where L is the Lipschitz constant of the loss, M is its upper bound, and n is the
sample size. The first term is the empirical risk, the second is the radius term
scaled by the Lipschitz constant, and the third is a concentration term that
vanishes as n grows. The bound is a direct consequence of the Kantorovich-
Rubinstein duality (Villani, 2009) combined with a standard concentration
inequality for bounded random variables (Hoeffding, 1963).
Corollaries and remarks
A proof is given below. Proof. By the Kantorovich-Rubinstein duality, the worst-
case risk over the Wasserstein ball is bounded by the empirical risk plus Lρ: for
any μ with Wp( μ,^μn)≤ρ, the difference in expected loss is at most L times the
Wasserstein distance, by Assumption 1.
The empirical risk is a sum of n bounded random variables, so Hoeffding's
inequality gives that it deviates from its expectation by more than
M√( 2/n) log(1/ δ) with probability at most δ. Combining the two bounds yields the
stated result. ◻ The bound is not new in form; it is a standard result in the
distributionally-robust optimisation literature (Mohajerin Esfahani & Kuhn, 2018;
Kuhn et al., 2019). What is new is the calibration of ρ from climate data and the
interpretation of the radius term as a climate displacement cost.
The bound makes explicit a trade-off that i. i. d. evaluation conceals: a classifier
with a smaller Lipschitz constant has a smaller radius term but may have a larger
empirical risk, and the optimal trade-off depends on the magnitude of the climate
displacement. A classifier that is accurate on the training distribution but has a
large Lipschitz constant can have a worse worst-case bound than a slightly less
accurate classifier with a small Lipschitz constant. Corollary 1 (Climate-calibrated
bound).
If the ambiguity radius is set to ρ=κτT, where κ is the image-temperature
sensitivity, τ is the warming trend per year, and T is the deployment horizon in
years, then the radius term in Theorem 1 is LκτT. For Harare, τ=0.02001 C per
9
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
year, so a ten-year horizon gives ρ=0.2001κ, and the radius term is 0.2001 Lκ.
Corollary 2 (Dominance threshold).
The radius term dominates the concentration term when Lρ> M√( 2/n) log(1/ δ).
For a classifier with L=10, ρ=0.2001κ, M=1, n=10 ,000, and δ=0.05, the radius
term exceeds the concentration term when κ>0.15. The threshold is not a
universal constant; it depends on the Lipschitz constant, the sample size, and the
confidence level.
The point is that the threshold is computable, and that for plausible values of κ it
is crossed. Remark 1. The bound is stated for the 0-1 loss and the cross-entropy
loss alike, because both are bounded after clipping.
The Lipschitz constant of the cross-entropy loss depends on the classifier's
confidence, which is why temperature scaling (Guo et al., 2017) affects the bound:
a calibrated classifier has a smaller effective Lipschitz constant in the region
where its predictions are uncertain. This connects the distributionally-robust
evaluation to the calibration literature, and suggests that calibration is not merely
a matter of interpretability but of worst-case robustness. Remark 2.
The bound is conservative by construction. It holds uniformly over the Wasserstein
ball, including distributions that are not plausible deployment distributions. A
tighter bound could be obtained by restricting the ambiguity set to distributions
that are consistent with climate projections, but the resulting bound would depend
on the projection model and would be harder to interpret.
The uniform bound is the right object for an evaluation criterion, because it does
not require the evaluator to commit to a particular climate scenario.
Results
The practical consequence of the bound is that classifiers can be ranked
differently under worst-case evaluation than under i. i. d. evaluation. Consider two
classifiers, A and B, with empirical risks RA< RB but Lipschitz constants LA> LB.
Under i. i. d. evaluation, A is preferred.
Ranking reversal under worst-case evaluation
Under the worst-case bound, A is preferred only if RA+ LAρ< RB+ LBρ, which
rearranges to RB−RA>( LA−LB) ρ. When the climate displacement ρ is large, the
Lipschitz difference can outweigh the empirical risk difference, and B is preferred.
The reversal is not a pathology; it is the correct response to a deployment
distribution that is systematically shifted.
The magnitude of the reversal depends on the Lipschitz constants of the
candidate classifiers. Spectral normalisation reduces the Lipschitz constant at
some cost in empirical accuracy (Miyato et al., 2018), and the trade-off is exactly
what the bound quantifies. A classifier with spectral normalisation and a slightly
higher empirical risk can have a substantially lower worst-case bound, and the
crossover point is determined by the climate displacement.
10
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
This is a different trade-off from the one usually discussed in the robustness
literature, where the adversary is an attacker and the perturbation is bounded in
input space; here the adversary is climate and the perturbation is bounded in
distribution space. The framework implies that benchmark reporting should
include the Lipschitz constant of the classifier alongside its accuracy. The Lipschitz
constant is computable from the trained weights and does not require additional
data.
Reporting it would allow readers to compute the worst-case bound for their own
climate displacement, which is a more informative summary than a single
accuracy number. The recommendation is not that accuracy be abandoned, but
that it be accompanied by the quantity that determines how accuracy degrades
under shift. The framework also implies that the choice of training distribution
matters in a way that i. i. d. evaluation conceals.
A classifier trained on data from a wide range of temperatures has a larger
effective support and a smaller Wasserstein distance to any deployment
distribution within that range. The benefit of diverse training data is therefore not
merely that it reduces overfitting but that it shrinks the ambiguity radius. This
provides a formal justification for the informal practice of collecting data across
agro-ecological zones, and it quantifies the benefit in terms of the bound.
A third implication concerns the reporting of climate context. If the deployment
environment is warming at 0.2001 C per decade, as in Harare, then the ambiguity
radius grows with the deployment horizon, and a classifier that is adequate today
may be inadequate in ten years. The bound makes this explicit: the radius term is
linear in the horizon, so the worst-case risk grows linearly with time even if the
classifier is unchanged.
This is a different kind of temporal degradation from the one usually discussed in
the concept drift literature (Gama et al., 2014), where the drift is in the input-
output relationship; here the drift is in the input distribution, and it is predictable
from climate data.
11
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Figure 1 Location and administrative organisation of Libya within its regional setting.
Reading the figure. The map delineates the first-level administrative units of Libya that form the
spatial frame of the analysis. Units are labelled and shaded to distinguish them from neighbouring
territories, which appear in grey for orientation, and the locator inset positions Libya within the
continent. The north arrow and scale bar support direction and distance reading, and the unit names
referenced throughout the Results can be read directly from this figure.
Figure 2 Spatial distribution of disease incidence risk across the administrative units of
Libya.
12
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Reading the figure. Each unit is shaded according to its standardised value on disease incidence
risk, with the horizontal colourbar beneath the map translating shade into value. The label on each
unit reports its value, so the reader can verify the ranking without consulting a separate table.
Contrasts between adjacent units indicate genuine spatial differentiation rather than a smooth
regional gradient, and the pattern should be read against the study-area context in Figure 1.
Figure 3 Settlement network connectivity across Libya.
Reading the figure. Settlements appear as nodes sized by importance, and the lines connect
neighbouring settlements to form the connectivity graph of Libya. Thick lines mark the primary
corridors that carry most of the interaction, while thin lines indicate peripheral links. The hub
structure explains why accessibility improves unevenly across the territory and identifies the
corridors whose upgrading would most improve system-wide connectivity.
Boundary conditions and threats to the bound
The bound is only as informative as the Lipschitz constant is tight. For deep
networks, the product of layer-wise Lipschitz constants is a gross overestimate of
the true Lipschitz constant, and the bound can be vacuous in practice. Tighter
estimates can be obtained by semidefinite programming (Fazlyab et al., 2019) or
by sampling-based methods (Weng et al., 2018), but these are computationally
expensive for large networks.
Relationship to other robustness criteria
The bound developed here inherits this limitation: it is a valid upper bound, but its
tightness depends on the quality of the Lipschitz estimate. The contribution is the
calibration of the radius, not the tightening of the Lipschitz estimate, and the two
improvements are complementary. The sensitivity coefficient κ is a second source
of looseness.
It is treated as a parameter in the present analysis, but in practice it would need
to be estimated from paired temperature-image data, which are scarce. A mis-
13
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
specified κ translates directly into a mis-specified radius, and the bound is only as
good as the radius. The framework is therefore best understood as a template
that becomes operational once κ is estimated, not as a finished evaluation
protocol.
The calibration uses a single site, Harare, and a single variable, air temperature at
2 m. Pathogen range shifts are driven by temperature, humidity, rainfall, and host
availability, and a single-variable calibration captures only part of the shift. The
choice of temperature is defensible because it is the variable with the most
complete reanalysis record and the clearest trend, but it is not exhaustive. A
multi-variable calibration would produce a larger radius and a looser bound, and
the trade-off between completeness and tightness is a matter for future work.
The Harare record is also short, at 24 years, and the trend estimate is sensitive to
the choice of start and end years. The value of 0.2001 C per decade is an
estimate, not a constant, and the bound should be interpreted with the
uncertainty of the trend in mind. The standard deviation of 3.107 C is large
relative to the trend, which means that the signal-to-noise ratio at the annual
scale is low.
The trend is nonetheless detectable over the full record, and the calibration uses
the trend rather than the annual values, so the noise does not propagate directly
into the radius. The bound is one of several possible robustness criteria.
Adversarial robustness evaluates the classifier against worst-case input
perturbations (Madry et al., 2018); distributionally-robust evaluation evaluates it
against worst-case distribution perturbations.
The two are related but not equivalent: a classifier can be adversarially robust and
distributionally fragile, or vice versa. The choice between them depends on the
threat model. For climate-driven range shifts, the threat is distributional, and the
distributionally-robust criterion is the appropriate one.
For sensor noise or occlusion, the threat is input-level, and the adversarial
criterion is appropriate. The framework developed here is not a replacement for
adversarial robustness but a complement to it. The bound is also related to the
PAC-Bayes framework (McAllester, 1999), which provides generalization bounds
that depend on a prior over classifiers.
The two frameworks differ in what they treat as the source of uncertainty: PAC-
Bayes treats the classifier as random and the data as fixed, while the Wasserstein
bound treats the data distribution as uncertain and the classifier as fixed. For the
climate-shift problem, the latter is the more natural formulation, because the
classifier is trained once and deployed, while the distribution shifts over time.
Conclusion
The i. i. d. evaluation protocol answers a question that is not the deployment
question. When climate change displaces pathogen ranges, the deployment
distribution is a shifted version of the training distribution, and the shift is
systematic rather than random. the present analysis has developed a
14
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
distributionally-robust evaluation framework that makes the shift explicit,
calibrated the ambiguity radius from the Harare temperature record, and derived
a worst-case generalization bound that decomposes risk into empirical, radius,
and concentration terms. The bound is not a tighter version of the i. i. d. bound; it
is a different object, and it changes which classifiers look good.
The Harare record gives a mean temperature of 18.914 C, a standard deviation of
3.107 C, and a warming trend of 0.2001 C per decade. These values anchor the
radius at 0.2001 for a ten-year horizon, scaled by the image-temperature
sensitivity. Under plausible Lipschitz constants, the radius term dominates the
concentration term, which means that the worst-case risk is driven by the climate
displacement rather than by sampling noise.
The practical consequence is that classifiers should be compared on the worst-
case bound, not on i. i. d. accuracy, and that the Lipschitz constant should be
reported alongside accuracy in benchmark results. The framework has boundary
conditions. The Lipschitz constant is hard to estimate tightly for deep networks,
the sensitivity coefficient is not estimated here, and the calibration uses a single
site and a single variable.
These are limitations of the present analysis, not of the framework, and they
define the work that would make the framework operational. The contribution is
the form of the bound and the calibration of the radius, and the next step is to
estimate the sensitivity coefficient from paired temperature-image data and to
apply the bound to a trained classifier. Until that step is taken, the framework is a
criterion rather than a result, but it is a criterion that asks the right question.
References
Anil, C., Lucas, J., & Grosse, R. (2019). Sorting out Lipschitz function approximation. Proceedings
of the 36th International Conference on Machine Learning, 291-301.
Arjovsky, M., Chintala, S., & Bottou, L. (2017). Wasserstein generative adversarial networks.
Proceedings of the 34th International Conference on Machine Learning, 214-223.
Barbedo, J. G. A. (2018). Impact of dataset size and variety on the effectiveness of deep
learning and transfer learning for plant disease classification. Computers and
Electronics in Agriculture, 153, 46-53.
Blanchet, J., Kang, Y., & Murthy, K. (2019). Robust Wasserstein profile inference and applications
to machine learning. Journal of Applied Probability, 56(3), 830-857.
Fazlyab, M., Robey, A., Hassani, H., Morari, M., & Pappas, G. J. (2019). Efficient and accurate
estimation of Lipschitz constants for deep neural networks. Advances in Neural
Information Processing Systems, 32, 11427-11438.
Ferentinos, K. P. (2018). Deep learning models for plant disease detection and diagnosis.
Computers and Electronics in Agriculture, 145, 311-318.
Gama, J., Žliobaitė, I., Bifet, A., Pechenizkiy, M., & Bouchachia, A. (2014). A survey on concept
drift adaptation. ACM Computing Surveys, 46(4), 1-37.
Goodfellow, I. J., Shlens, J., & Szegedy, C. (2015). Explaining and harnessing adversarial
examples. International Conference on Learning Representations.
Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., & Courville, A. (2017). Improved training of
Wasserstein GANs. Advances in Neural Information Processing Systems, 30, 5767-5777.
15
AJOAIEFA · 27(3) · 57-70 · 2026 Distributionally-Robust Evaluation of Computer Vision
Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural
networks. Proceedings of the 34th International Conference on Machine Learning, 1321-
1330.
Hoeffding, W. (1963). Probability inequalities for sums of bounded random variables. Journal of
the American Statistical Association, 58(301), 13-30.
Kuhn, D., Esfahani, P. M., Nguyen, V. A., & Shafieezadeh-Abadeh, S. (2019). Wasserstein
distributionally robust optimization: Theory and applications in machine learning.
Operations Research & Management Science in the Age of Analytics, 130-166.
Madry, A., Makelov, A., Schmidt, L., Tsipras, D., & Vladu, A. (2018). Towards deep learning
models resistant to adversarial attacks. International Conference on Learning
Representations.
McAllester, D. A. (1999). PAC-Bayesian model averaging. Proceedings of the 12th Annual
Conference on Computational Learning Theory, 164-170.
Miyato, T., Kataoka, T., Koyama, M., & Yoshida, Y. (2018). Spectral normalization for generative
adversarial networks. International Conference on Learning Representations.
Mohajerin Esfahani, P., & Kuhn, D. (2018). Data-driven distributionally robust optimization using
the Wasserstein metric: Performance guarantees and tractable reformulations.
Mathematical Programming, 171(1-2), 115-166.
Mohanty, S. P., Hughes, D. P., & Salathé, M. (2016). Using deep learning for image-based plant
disease detection. Frontiers in Plant Science, 7, 1419.
Nuthalapati, S., & Tunga, A. (2021). Transforming agriculture with computer vision: A survey.
Journal of Physics: Conference Series, 1804(1), 012186.
Sharma, P., Berwal, Y. P. S., & Ghanghas, A. (2020). A review on deep learning for plant disease
detection. Journal of Plant Diseases and Protection, 127, 1-14.
Singh, D., Jain, N., Jain, P., Kayal, P., Kumawat, S., & Batra, N. (2020). PlantDoc: A dataset for
visual plant disease detection. Proceedings of the 7th ACM IKDD CoDS and 25th
COMAD, 249-253.
Szegedy, C., Zaremba, W., Sutskever, I., Bruna, J., Erhan, D., Goodfellow, I., & Fergus, R. (2014).
Intriguing properties of neural networks. International Conference on Learning
Representations.
Too, E. C., Yujian, L., Njuki, S., & Yingchun, L. (2019). A comparative study of fine-tuning deep
learning models for plant disease identification. Computers and Electronics in
Agriculture, 161, 272-279.
Villani, C. (2009). Optimal transport: Old and new. Springer.
Weng, T.-W., Zhang, H., Chen, P.-Y., Yi, J., Su, D., Gao, Y., Hsieh, C.-J., & Daniel, L. (2018).
Evaluating the robustness of neural networks: An extreme value theory approach.
International Conference on Learning Representations.
16
论文原文与出版信息
Zenodo (CERN European Organization for Nuclear Research)