Manuscript Offprint
arXiv:2611.00794Crop Mapping Evaluation under Sampling Bias
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Government agencies use crop maps to estimate production, monitor food security, and set agricultural policy. These crop maps are usually validated against field labels, but these labels are rarely a random sample of the area the map covers. Field teams tend to label parcels near roads and skip ones that are small or hard to reach, so performance measured on held-out labels mainly describes the places they visited. We call the difference between this reported performance and performance over the whole mapped region the deployment performance gap. To estimate performance over the whole region, we use a weighted form of prediction-powered inference (PPI). The classifier's predictions on unlabeled points across the region give a first estimate, and its errors on the labeled points correct that estimate, with more weight on labels from under-sampled conditions. We test this in five European regions where crop registers label every declared parcel, so the true performance is known. Simulating six documented collection practices there produces gaps of up to 0.20 macro-F1. On the collection rule that creates the largest gap in each region, 5 km block cross-validation still overestimates macro-F1 by as much as 0.18, while PPI with weights estimated from satellite embeddings reduces the largest error across regions to 0.07. Importance-weighted cross-validation with the same weights does almost as well, so most of the improvement comes from the weights themselves. We also apply the method to three Kenyan datasets that have no region-wide reference labels. For a roadside dataset collected with helmet-mounted cameras, the estimated macro-F1 falls from 0.93 under random cross-validation to 0.61, although the correction relies on a small number of heavily weighted labels. Our code is available at https://github.com/microsoft/pappi.
1. Introduction
Crop type maps inform subsidy and food security decisions. Agencies can check a farmer's declared crops against satellite-derived estimates (Sitokonstantinou et al. 2018), and early-warning analysts use satellite crop monitoring to flag regions at risk of food insecurity (Becker-Reshef et al. 2020). These maps are often evaluated against field labels. However, labels that represent the region where a map is used (the deployment region) are hard to obtain. Field enumerators sample where collection is practical. They drive along roads and label what they see (Waldner et al. 2019; Defourny, Jarvis, and Blaes 2014), and they skip parcels below a minimum size (Defourny, Jarvis, and Blaes 2014; Jolivot et al. 2021) or in places too hard to reach (Eurostat 2025; d'Andrimont et al. 2020). This creates a sampling bias toward accessible places. Models are then trained on these labels and evaluated on held-out labels from the same campaigns. The resulting score therefore describes performance only in the places the campaigns reached. We call the difference between this score and performance across the deployment region the deployment performance gap. Whether a campaign creates this gap depends on how representative the campaign's sampling is of the deployment region and whether the classifier performs differently where the campaign collected no labels.
Akram Zaytar et al.
(a) Labels from low ground

(b) PPI reweights the labels
(c) Truth: where the models err

Figure 1. Random CV, block CV, and PPI on one simulated campaign in Vaucluse. Light grey areas are crop parcels. (a) An elevation cutoff draws 1,000 labels, mostly from low-lying parcels. The models make fewer errors there, so random CV (0.903) and 5 km block CV (0.887), which test the models only on these labels, overestimate their performance. (b) A propensity model estimates how likely each parcel was to be labeled. PPI predicts the 5,000 parcels of a deployment sample, then corrects that estimate with the labels, and rarely sampled labels get larger weights. The heavily weighted misclassified labels lower the estimate to 0.775. (c) The crop register labels every parcel, so we know which parcels most of the five fold models misclassify and what their true pooled macro-F1 is (0.769). This is one run of the evaluation stage (Section 2.4).
Crop mapping studies treat collection as a survey design choice (Olofsson et al. 2014; Stehman and Foody 2019) and show that roadside sampling can suffice when it spans relevant environmental gradients (Waldner et al. 2019). Geospatial evaluation methods address spatial dependence in train-test splits (Roberts et al. 2017; Ploton et al. 2020; Karasiak et al. 2022; Milà et al. 2022; Linnenbrink et al. 2024) and test-set composition (Xiao et al. 2024). These methods improve how labels are collected or split, but the test labels remain a non-random sample of the deployment region.
Statistics addresses such non-random samples through sample-selection, covariate-shift, and verification-bias methods (Heckman 1979; Shimodaira 2000; Sugiyama, Krauledat, and Müller 2007; Begg and Greenes 1983; de Bruin et al. 2022). Related methods estimate model performance under distribution shift and selective labels (Ulichney and Coston 2026; Wang et al. 2024; Zou, Witten, and Williamson 2026). Prediction-powered inference combines a model's predictions on unlabeled data with a correction estimated from its errors on labeled data (Angelopoulos et al. 2023; Boyeau et al. 2025). Its inverse-probability-weighted form (Datta and Polson 2025; Salerno, Wu, and McCormick 2026) (hereafter PPI) handles labels that are not a random sample. The weights come from a propensity model trained to separate labeled from deployment examples, so labels from under-sampled conditions count more. Shirota (2026) shows that a misspecified propensity model can leave a population-specific error.
PPI could therefore correct crop map evaluations for biased field labels. However, the sampling probabilities of field campaigns are unknown, so the propensity model must be estimated and may be misspecified. Measuring the resulting error requires the true deployment performance, which biased field labels cannot provide. We simulate documented agricultural collection practices in regions with known deployment performance to measure how much estimation error PPI leaves and how this error depends on the propensity features.
-
We adapt PPI to macro-F1 and compare it with random, spatial block, and kNNDM cross-validation and with importance-weighted CV (IWCV). PPI with embeddings reduces the worst-case mean error from 0.18 under block CV to 0.07 (Table 3). IWCV with the same weights is nearly as accurate.
-
We compare three sets of propensity features: AlphaEarth satellite embeddings, collection-rule covariates, and both. Covariates and the true sampling weights both separate labeled from deployment samples better than embeddings do, but embeddings give lower error in individual runs because their weights are spread over more labels (Section 3.3).
-
We apply PPI to three Kenyan datasets without deployment-wide reference labels: Helmets (Nakalembe et al. 2025), WorldCereal (European Commission, Joint Research Centre 2021; Van Tricht et al. 2023) and PlantVillage (PlantVillage 2019). For the roadside Helmets dataset, the estimate falls from 0.93 (random CV) to 0.61 (PPI) macro-F1. We report effective sample sizes to show how much each correction relies on a few labels (Section 4).
We release a toolkit that turns existing labels into a deployment estimate (Appendix 4).
2. Methodology
Our goal is to estimate a crop classifier's macro-F1 across its whole deployment region. The labeled sample contains observations; the deployment sample contains observations drawn uniformly from the deployment region, with features but no labels. Measuring estimation error requires the true deployment macro-F1, so we work in regions where crop registers label every declared parcel. There, we draw labeled samples using simulated collection rules, estimate deployment macro-F1 with cross-validation and PPI, and compare each estimate with the true value (Figure 1).
2.1 Study regions
We study five regions: Goriška (Slovenia), Hérault (France), Osnabrück (Germany), Vaucluse (France), and Bouches-du-Rhône (France) (Table 4). They differ in crop composition, and we chose them because collection practices are likely to create large deployment performance gaps there. Crop labels come from the parcel declarations farmers file each year for EU agricultural subsidies. We use the harmonized release of these declarations in EuroCrops (Schneider et al. 2023) for the first three regions and 2024 declarations from France's Registre Parcellaire Graphique (IGN 2024) for the last two. We remove non-crop parcels and treat the remaining declarations as reference labels. In each region, the classifier separates the most common crop from all other crops.
2.2 Collection rules
We reviewed survey and reference data literature and identified six documented collection practices (Table 1). We formalize each practice as a collection rule that gives each parcel location a relative sampling weight
where sets the rule's strength, with smaller meaning stronger selection, and the floor keeps every parcel's sampling weight above zero. Each rule depends on one covariate, either continuous, such as distance to the nearest road, or categorical, such as municipality for the pilot region. The uniform control assigns all parcels equal sampling weights. Appendix 2 gives more details on each rule's form and parameters.
Akram Zaytar et al.
Table 1. Collection rules. Six documented collection practices and the studies that report them. Eq. (7) defines each rule.
| Collection rule | Collection practice | Sources |
|---|---|---|
| Road | Fields labeled from a vehicle; inclusion falls with road distance. | Defourny, Jarvis, and Blaes 2014; Jolivot et al. 2021; Waldner et al. 2019; Nakalembe et al. 2025 |
| Settlement | Enumerators skip parcels far from homes or villages. | Carletto et al. 2016; Kilic et al. 2017 |
| Elevation | Survey frames remove high points from field visits. | Eurostat 2025 |
| Slope | A fixed walking-time budget reaches less land on steep terrain. | Tobler 1993; Nelson et al. 2019; Eurostat 2019 |
| Pilot region | Labels come from one pilot region; use extends beyond it. | Jolivot et al. 2021; Orynbaikzy, Gessner, and Conrad 2022 |
| Parcel size | Rules or cost exclude small parcels and favor large ones. | Defourny, Jarvis, and Blaes 2014; Azzari et al. 2021 |
2.3 Estimating deployment macro-F1
We measure classification performance with macro-F1, which gives equal weight to the two classes. Let denote the reference class and the predicted class. For each class , macro-F1 depends on three frequencies: true positives (), false positives (), and false negatives ():
As baselines, we report macro-F1 from five-fold cross-validation. Random CV assigns observations to folds at random. Nearby observations can then fall on both sides of a split, so we also use block CV (Roberts et al. 2017; Ploton et al. 2020), which assigns 5 km square blocks to folds, either at random or in a checkerboard pattern. kNNDM CV (Milà et al. 2022; Linnenbrink et al. 2024) instead clusters the labels into folds so that distances from held-out to training labels match those from deployment to labeled samples; we compute these distances in geographic or embedding space. All these CV variants train and evaluate on the labeled sample, so they measure performance only where labels were collected. PPI instead starts with a prediction-based estimate across the deployment sample and corrects it using the classifier's errors on the labeled sample (Angelopoulos et al. 2023). We use inverse-probability weights to give greater influence to observations that are underrepresented in the labeled sample (Datta and Polson 2025; Kluger et al. 2025). The procedure has two steps: estimate the correction weights, then use them to correct the frequencies in Eq. (2) (Figure 1).
Estimating correction weights. We estimate the weights with a propensity model, an XGBoost classifier that distinguishes observations in from those in . We fit it with five-fold cross-fitting, so no observation's probability comes from a model that trained on it. We compare three feature sets for this model: AlphaEarth embeddings, the collection rule's covariate, and both. These comparisons test whether the classifier's features capture the sampling bias and whether knowing the rule helps.
Let be the estimated probability that labeled observation belongs to . We clip it to to limit extreme weights and take its inverse odds:
Before clipping, these inverse odds estimate, up to a constant, the ratio of deployment to labeled feature densities. A labeled observation gets more weight when is small, that is, when observations with similar features are common in deployment but rare in the labeled sample. The weights can remove the bias only if, given the propensity features, the classifier's errors have the same distribution in and .
Correcting macro-F1. For each frequency, the classifier's probabilities give a provisional estimate across deployment, and the labeled sample corrects it with the weighted difference between observed and provisional values. For , let be the indicator of the event in Eq. (2), for example , and its expected value under the classifier's predicted probability of class :
The PPI estimate is
We insert the corrected frequencies into Eq. (2). Importance-weighted CV (IWCV) (Sugiyama, Krauledat, and Müller 2007) drops the prediction-based term and uses the weighted average of over the labeled sample; we report it as a baseline with the same weights. A frequency estimate can be negative, for example when a few labels carry most of the weight; we clip it to zero.
We cross-fit the classifier (Zrnic and Candès 2024). Each of the five cross-validation models predicts the labels it did not train on and the whole deployment sample, so no label is scored by a model that trained on it. The deployment term averages the five models' predicted frequencies, and the estimate targets their pooled macro-F1 on the deployment data.
Intervals and effective sample size. We report each estimate with a 95% confidence interval and an effective sample size that measures how concentrated the weights are.
We compute the interval with the delta method (van der Vaart 1998) and propagate the covariance of the corrected frequencies through Eq. (2) and take the estimate standard errors, without clipping to [0, 1]. The covariance adds variation in the deployment predictions to variation in the weighted labeled errors (Appendix 3). This interval treats the weights as fixed and the labels as independent.
We therefore also compute a percentile bootstrap interval. Each replicate resamples labeled observations in spatial blocks and deployment observations individually, refits the propensity model, and recomputes the estimate. Both intervals keep the crop models fixed, because the estimate targets the five fold models trained on this labeled sample.
The effective sample size shows whether the correction relies on many labels or on a few heavily weighted ones. We use Kish's definition (Kish 1965):
It equals N when all weights are equal and falls as a few labels dominate. If all labeled errors had the same variance, the weighted correction would be as precise as an unweighted mean of labels.
Akram Zaytar et al.
Algorithm 1 One simulated campaign: region , collection rule , strength
1: parcels of , drawn uniformly fixed per region 2: parcels of , drawn without replacement with sampling weights Eq. (1) 3: split at random into folds block CV: 5 km blocks; PPI keeps random folds 4: for do 5: crop model fit on ; for ; for 6: end for 7: CV MacroF1() Eq. (2) 8: propensity model, vs. , cross-fitted in 5 random folds; 9: mean prediction of on -weighted label errors on , for Eq. (5) 10: PPI MacroF1(), with 95% interval and 11: True MacroF1 of pooled over register labels 12: return CV – True, PPI – True
2.4 Experimental setup
Each run follows Algorithm 1: it draws a new labeled sample and refits all models, while each region's deployment sample stays fixed across collection rules , strengths , and runs.
Models. The crop model classifies each parcel from its mean 64-dimensional AlphaEarth embedding (Brown et al. 2025). The crop and propensity models are XGBoost classifiers (Chen and Guestrin 2016) with 200 boosting rounds, a maximum depth of 6, and a learning rate of 0.15.
Error measures. The deployment performance gap is random CV minus the fold models' true pooled macro-F1 on the deployment sample. We score every estimate against the same true value with two measures. Mean error is the signed error averaged over runs; positive values indicate overestimation. Per-run error is the absolute error averaged over runs. For example, two runs with errors of +0.1 and -0.1 have a mean error of 0 but a per-run error of 0.1. To summarize systematic error across region–rule pairs, we average the absolute value of each pair's mean error and call this the absolute mean error. We report 95% percentile bootstrap intervals for the mean error of each region–rule pair, resampling runs, and for the per-run error across pairs, resampling runs within each pair.
Coverage is the share of runs whose interval contains the fold models' true pooled macro-F1 on all parcels outside the labeled sample. We use this wider target because the intervals include variation from sampling the deployment sample.
Selecting collection strength. We first measure how deployment performance gaps change with collection strength. For each region and rule, we use 16 runs at each of six strengths, , and 0.02, and compute the mean gap with a 95% Student- interval. For each region–rule pair, we keep the strength with the largest mean gap for the later stages; Table 2 reports the gap at that strength. Each region's worst-case rule is the one with the largest absolute mean gap at its kept strength.
Selecting propensity features. At the kept strengths, we use 16 new runs per region–rule pair and select the propensity variant with the lowest per-run error averaged over all regions and rules (Section 3.3).
Evaluating corrections. We evaluate PPI with each of the three propensity variants on 32 further runs per region–rule pair. They share the same labeled and deployment samples and crop predictions;
Table 2. Four collection rules make random CV overstate deployment macro-F1 by 0.10 or more in at least one region. The gap is random CV minus the fold models' true pooled macro-F1; bold marks gaps of 0.10 or more. Each cell gives the mean gap ± the half-width of its 95% interval over 16 runs, at the rule strength with the largest mean gap; the uniform control has no strength.
| Collection rule | Vaucluse | Goriška | Bouches-du-Rhône | Hérault | Osnabrück |
|---|---|---|---|---|---|
| Uniform control | +0.005±.006 | -0.005±.007 | -0.003±.005 | -0.008±.012 | +0.009±.010 |
| Road | -0.001±.007 | -0.006±.007 | -0.004±.006 | -0.020±.012 | +0.007±.007 |
| Settlement | -0.004±.004 | -0.003±.008 | -0.004±.006 | -0.009±.009 | +0.012±.010 |
| Elevation | +0.115±.011 | +0.043±.010 | +0.109±.033 | +0.060±.009 | +0.008±.010 |
| Slope | +0.093±.006 | +0.112±.019 | +0.025±.011 | +0.071±.010 | +0.022±.009 |
| Pilot region | +0.171±.011 | +0.047±.016 | +0.124±.037 | +0.043±.007 | +0.011±.010 |
| Parcel size | +0.132±.005 | +0.198±.005 | +0.081±.010 | +0.119±.004 | +0.031±.006 |
only their propensity features differ. We compare them with random CV, with IWCV using each variant's weights, and, on each region's worst-case rule, with block CV using random and checkerboard blocks and with kNNDM CV. As a reference unavailable in practice, we also run PPI and IWCV with the true weights, the inverse of each parcel's inclusion probability under the simulated draw. The spatial baselines keep the same samples and true value but refit the fold models on spatial folds; PPI and IWCV always use the random folds. On the worst-case rules, we also compute the block bootstrap interval for the embedding variant, resampling labels in 5 km blocks, with 100 replicates per run. Table 3 reports the worst-case comparison for each region.
3. Results
3.1 Deployment performance gaps
The collection rules create deployment performance gaps of up to +0.198 macro-F1, and their size depends on both the rule and the region (Table 2). Positive gaps mean that random CV overstates deployment performance. The uniform control gives near-zero gaps. Four rules create gaps of 0.10 or more in at least one region: those that favor large parcels, low elevations, gentle slopes, or a pilot region. The elevation rule reaches +0.109 in Bouches-du-Rhône but only +0.008 in Osnabrück, where no rule exceeds +0.031. Road and settlement rules give small gaps of either sign, so a biased sample can also make random CV understate deployment performance. The sign and size of the gap depend on which parcels the rule includes and how well the classifier performs on those it misses.
3.2 Estimation error
Table 3 compares the methods on each region's worst-case rule; there, random CV's mean error is the deployment performance gap. Block CV separates training and evaluation locations, but its held-out labels still come from the parcels the rule favors. It removes little of the three largest gaps, in Vaucluse, Goriška, and Hérault, and about half or more of the smaller gaps in Bouches-du-Rhône and Osnabrück. kNNDM CV gives similar results. In embedding space, it removes at most a quarter of the three largest gaps, and in Bouches-du-Rhône it overcorrects and underestimates deployment performance. With embeddings, PPI leaves near-zero mean error in Hérault and Osnabrück and more than halves it in Vaucluse, Goriška, and Bouches-du-Rhône. Across all six collection rules and five regions, it lowers the absolute mean error from 0.053 to 0.016. In Bouches-du-Rhône, this gap is smaller than in the sweep (+0.111 against +0.124), since the gap varies widely between runs and Table 2 reports the largest of six means.
PPI reduces per-run error by a smaller proportion than absolute mean error, from 0.057 (95% CI: [0.055, 0.058]) to 0.040 ([0.038, 0.042]). On Osnabrück's worst-case rule, correction removes
Akram Zaytar et al.
the mean error but raises per-run error from 0.027 to 0.037. Coverage (Section 2.4) of the nominal 95% delta-method intervals is 89% over all 960 runs and 85% on the worst-case rules, where the block bootstrap reaches 80%. PPI improves the average estimate, but some error remains and the intervals cover less often than their nominal level.
IWCV with embedding weights leaves the same absolute mean error as PPI, 0.016, and a per-run error of 0.043, so the weights account for most of the correction. PPI's per-run error minus IWCV's is -0.003 (95% CI: [-0.004, -0.001]).
Table 3. A weighted estimator (PPI or IWCV) leaves the mean error closest to zero in every region; block and kNNDM CV remove at most a quarter of the three largest gaps. Mean error by method on each region's worst-case collection rule, chosen on the sweep runs: pilot region in Vaucluse and Bouches-du-Rhône, and parcel size elsewhere. Bold marks the error closest to zero among methods usable in practice; true weights, the simulated inclusion probabilities, are unknown in practice. Cells give the mean error over 32 evaluation runs ± the half-width of its 95% percentile bootstrap interval; for random CV, this is the deployment performance gap.
| Method | Variant | Vaucluse | Goriška | Bouches-du-Rhône | Hérault | Osnabrück |
|---|---|---|---|---|---|---|
| Random CV | — | +0.170±.008 | +0.192±.005 | +0.111±.025 | +0.119±.003 | +0.026±.005 |
| Block CV | Random blocks | +0.166±.007 | +0.181±.006 | +0.031±.027 | +0.115±.003 | +0.010±.006 |
| Checkerboard blocks | +0.168±.008 | +0.183±.005 | +0.046±.029 | +0.116±.003 | +0.012±.005 | |
| kNNDM CV | Geographic | +0.158±.007 | +0.186±.005 | -0.035±.030 | +0.118±.002 | +0.024±.005 |
| Feature space | +0.140±.010 | +0.144±.013 | -0.080±.034 | +0.110±.003 | -0.023±.007 | |
| IWCV | Embeddings | +0.067±.022 | +0.058±.014 | -0.032±.040 | +0.010±.017 | +0.004±.016 |
| Covariates | +0.023±.038 | -0.057±.026 | -0.086±.065 | -0.020±.029 | -0.038±.039 | |
| Both | +0.036±.027 | +0.000±.024 | -0.043±.045 | +0.010±.020 | -0.004±.025 | |
| True weights | +0.010±.037 | -0.011±.020 | -0.095±.059 | +0.000±.019 | -0.020±.026 | |
| PPI | Embeddings | +0.065±.019 | +0.065±.012 | +0.048±.023 | +0.002±.015 | +0.001±.017 |
| Covariates | +0.028±.034 | -0.057±.030 | -0.022±.050 | -0.009±.027 | -0.030±.037 | |
| Both | +0.035±.026 | -0.008±.026 | +0.020±.028 | +0.009±.019 | -0.014±.026 | |
| True weights | +0.023±.032 | -0.015±.022 | -0.039±.045 | +0.003±.019 | -0.012±.028 |
3.3 Propensity features
All three propensity variants give a similar absolute mean error: 0.016 for embeddings, 0.016 for covariates, and 0.014 for both. They differ in per-run error: 0.040 for embeddings, 0.044 for both, and 0.061 for covariates, slightly above random CV's 0.057; the selection runs give the same ranking. Covariates separate labeled from deployment parcels better (mean AUC 0.768 versus 0.715), but their weights rest on fewer labels. On each region's worst-case rule, the effective sample size averaged over runs ranges from 10 to 34 of 1,000 for covariates and from 48 to 95 for embeddings. We therefore use embeddings in the Kenyan case study (Section 4), where the collection rules are not fully documented.
A large effective sample size alone does not show that the weights remove the bias. Random CV weights all labels equally, so its effective sample size is the full 1,000, yet its mean error is the largest.
The true weights follow the same pattern as the covariates. They separate labeled from deployment parcels best (mean AUC 0.796) and leave the smallest absolute mean error (0.009), but their per-run error (0.043) exceeds that of embeddings because their effective sample size falls as low as 12 on the worst-case rules. Their intervals cover 90% of all runs and 94% on the worst-case rules, against 89% and 85% for embeddings. Estimating the weights therefore accounts for part of the remaining bias and under-coverage. The true weights also leave some bias and concentrate on few labels, so weight concentration may account for the rest.
4. Case study: three Kenyan datasets
We apply PPI to three Kenyan datasets: Helmets, WorldCereal, and PlantVillage (Table 5). None has deployment-wide reference labels, so we report the change from the random CV estimate to the PPI estimate. The classifier separates crop from non-crop for Helmets and WorldCereal, and maize from other crops for PlantVillage. In Helmets (Nakalembe et al. 2025), each roadside photo gives two labels about 20 m apart: the field it captures (labeled crop) and the camera's position on the road (labeled non-crop). All Helmets non-crop labels therefore lie on roads.
Setup. We use the crop and propensity models of Section 2.4, with the embedding of each labeled point's pixel as the crop-model input and embeddings as propensity features (Section 3.3). We sample 20,000 deployment points uniformly. Helmets and WorldCereal share a region (E, S-), and PlantVillage covers the WorldCover cropland within the bounding box of its labels in Busia County. As in the simulations, PPI cross-fits the propensity and crop models in random folds; these folds and random CV keep the two labels of each Helmets photo together. Block CV assigns 5 km blocks to folds at random. We report one run with 95% intervals from the block bootstrap of Section 2.3 (1,000 replicates).

Figure 2. PPI places the roadside Helmets estimate below every CV score. Bars show random CV, 5 km block CV, geographic kNNDM CV, IWCV, and PPI with its 95% block bootstrap interval. The text beside each PPI bar gives the change from random CV () with its 95% interval and the effective sample size (). Each dataset label gives its number of labels, . Datasets are ordered by .
Results. The roadside Helmets dataset shows the largest change (Figure 2). PPI lowers its estimated macro-F1 from 0.93 to 0.61 (95% CI [0.34, 0.82]). Its labels underrepresent tree cover, which accounts for 44% of the deployment region (Appendix 5). WorldCereal changes by +0.02 ([-0.14, +0.16]) and PlantVillage by +0.07 ([-0.13, +0.17]). Averaged over 30 runs, the changes are -0.34 for Helmets,
Akram Zaytar et al.
-0.08 for WorldCereal, and +0.05 for PlantVillage; only the Helmets change keeps its sign in every run.
Block CV lowers the Helmets score to 0.76. Because random CV already keeps the two labels of each photo together, this drop suggests that nearby roadside labels fall on both sides of a random split. PPI falls below block CV by a further 0.14.
The Kenyan estimates rest on few labels. The propensity model tells labeled from deployment points apart almost perfectly (AUC up to 0.997), so most labels get almost no weight. The effective sample size is 20 of 2,478 labels for Helmets, 58 of 1,720 for WorldCereal, and 77 of 296 for PlantVillage. Part of this separation may come from the random folds, which, as in random CV, put nearby labels on both sides of a split.
5. Conclusions
In our simulations, field-label collection practices create gaps of up to 0.20 macro-F1 between random CV and deployment performance. Block and kNNDM CV do not consistently remove these gaps, because their evaluation labels still come from the same biased sample (Wadoux et al. 2021). On the worst-case rules, PPI with embeddings lowers the largest mean error from 0.18 under block CV to 0.07 macro-F1, but it leaves some error, and its 95% intervals contain the true value in fewer than 95% of runs. IWCV with the same weights is nearly as accurate, and PPI's main advantage over it is a slightly lower per-run error. Embedding-based weights give lower per-run error than collection-rule covariates, even though covariates separate labeled from deployment samples better, because covariate weights concentrate on fewer labels. In three Kenyan datasets, PPI lowers the roadside Helmets estimate from 0.93 to 0.61. We recommend reporting PPI estimates, with their confidence intervals and effective sample sizes, alongside cross-validation scores; our toolkit reports all of them (Appendix 4).
Limitations. Our evidence has four main limitations. First, we chose European regions where collection rules were likely to create large gaps, so the gaps we report are toward the upper end of what these rules produce. Second, the European experiments use a binary task, parcels larger than smallholder fields, and one collection rule at a time, whereas real campaigns often combine several practices. The simulated rules also give every parcel a positive sampling weight (the floor , chosen in Valecluse), whereas real campaigns may never reach some places. Third, PPI evaluates the five fold models, each trained on 80% of the labels; a model reft on all labels usually scores slightly higher. Fourth, where deployment conditions have few or no labels, weights concentrate on a small number of samples and the correction becomes unstable; reweighting cannot recover conditions with no labels at all. Spatially clustered labels, as in Helmets, may make this worse (Section 4).
Future work. Our weights describe how the features of labeled samples differ from those of the deployment region. The embedding results suggest that weights which also reflect which parcels share similar prediction errors could improve correction. Flagging deployment areas with little label support would make the fourth limitation explicit in practice. Finally, our method does not recommend where to collect new labels. Suggesting accessible locations that cover poorly sampled conditions could reduce the gap during collection.
References
Angelopoulos, Anastasios N., Stephen Bates, Clara Fannjiang, Michael I. Jordan, and Tijana Zrnic. 2023. Prediction-powered inference. Science 382 (6671): 669–674. https://doi.org/10.1126/science.adi6000.
Azzari, George, Shruti Jain, Graham Jeffries, Talip Kilic, and Siobhan Murray. 2021. Understanding the requirements for surveys to support satellite-based crop type mapping: evidence from sub-Saharan Africa. Remote Sensing 13 (23): 4749. https://doi.org/10.3390/rs13234749.
Becker-Reshef, Inbal, Christina Justice, Brian Barker, Michael Humber, Felix Rembold, Rogerio Bonifacio, Mario Zappacosta, Mike Buddie, et al. 2020. Strengthening agricultural decisions in countries at risk of food insecurity: the GEOGLAM crop monitor for early warning. Remote Sensing of Environment 237:111553. https://doi.org/10.1016/j.rse.2019.111553.
Begg, Colin B., and Robert A. Greenes. 1983. Assessment of diagnostic tests when disease verification is subject to selection bias. Biometrics 39 (1): 207–215. https://doi.org/10.2307/2530820.
Boyeau, Pierre, Anastasios N. Angelopoulos, Tianle Li, Nir Yosef, Jitendra Malik, and Michael I. Jordan. 2025. Autoeval done right: using synthetic data for model evaluation. In Proceedings of the 42nd international conference on machine learning, 267:5276–5290. Proceedings of Machine Learning Research. https://proceedings.mlr.press/v267/boyeau25a.html.
Brown, Christopher F., Michal R. Kazmierski, Valerie J. Pasquarella, William J. Rucklidge, Masha Samsikova, Chenhui Zhang, Evan Shelhamer, Estefania Lahera, Olivia Wiles, Simon Ilyushchenko, et al. 2025. AlphaEarth Foundations: an embedding field model for accurate and efficient global mapping from sparse label data. arXiv: 2507.22291.
Carletto, Gero, Sydney Gourlay, Siobhan Murray, and Alberto Zezza. 2016. Land area measurement in household surveys: empirical evidence and practical guidance for effective data collection. LSMS Guidebook. The World Bank, Living Standards Measurement Study, August. https://documents1.worldbank.org/curated/en/606691587036985925/pdf/Land-Area-Measurement-in-Household-Surveys-Empirical-Evidence-and-Practical-Guidance-for-Effective-Data-Collection.pdf.
Chen, Tianqi, and Carlos Guestrin. 2016. XGBoost: a scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, 785–794. https://doi.org/10.1145/2939672.2939785.
d'Andrimont, Raphaël, Momchil Yordanov, Laura Martinez-Sanchez, Beatrice Eiselt, Alessandra Palmieri, Paolo Dominici, Javier Gallego, et al. 2020. Harmonised LUCAS in-situ land cover and use database for field surveys from 2006 to 2018 in the European Union. Scientific Data 7 (1): 352. https://doi.org/10.1038/s41597-020-00675-z.
Datta, Jyotishka, and Nicholas G. Polson. 2025. Prediction-powered inference with inverse probability weighting. arXiv: 2508.10149.
de Bruin, Sytze, Dick J. Brus, Gerard B. M. Heuvelink, Tom van Ebbenhorst Tengbergen, and Alexandre M. J.-C. Wadoux. 2022. Dealing with clustered samples for assessing map accuracy by cross-validation. Ecological Informatics 69:101665. https://doi.org/10.1016/j.ecoinf.2022.101665.
Defourny, Pierre, Ian Jarvis, and Xavier Blaes. 2014. JECAM guidelines for cropland and crop type definition and field data collection. Technical report. JECAM. https://jecam.org/wp-content/uploads/2018/10/JECAM_Guidelines_for_Field_Data_Collection_v1_0.pdf.
European Commission, Joint Research Centre. 2021. Kenya AOI. https://doi.org/10.2905/JRC.JXEMPPR. https://data.jrc.ec.europa.eu/dataset/5b6245d3-e561-4f6c-8c09-627888063d11.
Eurostat. 2019. LUCAS 2018 technical reference document C1: instructions for surveyors. Technical report. European Commission, Eurostat. https://jeodpp.jrc.ec.europa.eu/ftp/jrc-opendata/LUCAS/LUCAS_harmonised/3_supporting/LUCAS2018-C1-Instructions.pdf.
——. 2025. LUCAS – land use and land cover survey (statistics explained). European Commission, Eurostat. Accessed October 27, 2026. https://ec.europa.eu/eurostat/statistics-explained/index.php?title=LUCAS_-_Land_use_and_land_cover_survey.
Heckman, James J. 1979. Sample selection bias as a specification error. Econometrica 47 (1): 153–161. https://doi.org/10.2307/1912352.
IGN. 2024. Registre Parcellaire Graphique (RPG) 2024. Accessed October 27, 2026. https://cartes.gouv.fr/rechercher-une-donnee/dataset/IGNF_RPG.
Jolivot, Audrey, Valentine Lebourgeois, Louise Leroux, Mael Ameline, Valérie Andriamanga, Beatriz Bellón, Mathieu Castets, et al. 2021. Harmonized in situ datasets for agricultural land use mapping and monitoring in tropical countries. Earth System Science Data 13 (12): 5951–5967. https://doi.org/10.5194/essd-13-5951-2021.
Karasiak, Nicolas, Jean-François Dejoux, Claude Monteil, and David Sheeren. 2022. Spatial dependence between training and test sets: another pitfall of classification accuracy assessment in remote sensing. Machine Learning 111 (7): 2715–2740. https://doi.org/10.1007/s10994-021-05972-1.
Kilic, Talip, Alberto Zezza, Calogero Carletto, and Sara Savastano. 2017. Missing(ness) in action: selectivity bias in GPS-based land area measurements. World Development 92:143–157. https://doi.org/10.1016/j.worlddev.2016.11.018.
Kish, Leslie. 1965. Survey sampling. New York: John Wiley & Sons.
Kluger, Dan M., Kerri Lu, Tijana Zrnic, Sherrie Wang, and Stephen Bates. 2025. Prediction-powered inference with imputed covariates and nonuniform sampling. arXiv: 2501.18577.
Akram Zaytar et al.
Linnenbrink, Jan, Carles Milà, Marvin Ludwig, and Hanna Meyer. 2024. kNNDM CV: k-fold nearest-neighbour distance matching cross-validation for map accuracy estimation. Geoscientific Model Development 17 (15): 5897-5912. https://doi.org/10.5194/gmd-17-5897-2024.
Milà, Carles, Jorge Mateu, Edzer Pebesma, and Hanna Meyer. 2022. Nearest neighbour distance matching Leave-One-Out Cross-Validation for map validation. Methods in Ecology and Evolution 13 (6): 1304-1316. https://doi.org/10.1111/2041-210X.13851.
Nakalembe, Catherine, Ivan Zvonkov, Hannah Kerner, Diana Borthway Frimpong, Kenneth Mwangi, Jane Kioko, Bhanu Tokas, et al. 2025. Helmets labeling crops: Kenya crop type dataset created via helmet-mounted cameras and deep learning. Scientific Data 12 (1): 1496. https://doi.org/10.1038/s41597-025-05762-7.
Nelson, Andy, Daniel J. Weiss, Jacob van Etten, Andrea Cattaneo, Theresa S. McMenomy, and Jawoo Koo. 2019. A suite of global accessibility indicators. Scientific Data 6 (1): 266. https://doi.org/10.1038/s41597-019-0265-5.
Olofsson, Pontus, Giles M. Foody, Martin Herold, Stephen V. Stehman, Curtis E. Woodcock, and Michael A. Wulder. 2014. Good practices for estimating area and assessing accuracy of land change. Remote Sensing of Environment 148:42-57. https://doi.org/10.1016/j.rse.2014.02.015.
Orynbaikyzy, Aiym, Ursula Gessner, and Christopher Conrad. 2022. Spatial transferability of random forest models for crop type classification using Sentinel-1 and Sentinel-2. Remote Sensing 14 (6): 1493. https://doi.org/10.3390/rs14061493.
PlantVillage. 2019. PlantVillage Kenya ground reference crop type dataset. Radiant MLHub. V. 1.0. https://doi.org/10.34911/rdnt.u41j87.
Ploton, Pierre, Frédéric Mortier, Maxime Réjou-Méchain, Nicolas Barbier, Nicolas Picard, Vivien Rossi, Carsten Dormann, et al. 2020. Spatial validation reveals poor predictive performance of large-scale ecological mapping models. Nature Communications 11 (1): 4540. https://doi.org/10.1038/s41467-020-18321-y.
Roberts, David R., Volker Bahn, Simone Ciuti, Mark S. Boyce, Jane Elith, Gurutzeta Guillera-Arroita, Severin Hauenstein, et al. 2017. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 40 (8): 913-929. https://doi.org/10.1111/ecog.02881.
Salerno, Stephen, Zhenke Wu, and Tyler McCormick. 2026. Spatially robust inference with predicted and missing at random labels. arXiv: 2603.11368.
Schneider, Maja, Tobias Schelre, Felix Schmitz, and Marco Körner. 2023. EuroCrops: the largest harmonized open crop dataset across the European Union. Scientific Data 10 (1): 612. https://doi.org/10.1038/s41597-023-02517-0.
Shimodaira, Hidetoshi. 2000. Improving predictive inference under covariate shift by weighting the log-likelihood function. Journal of Statistical Planning and Inference 90 (2): 227-244. https://doi.org/10.1016/S0378-3758(00)00115-4.
Shirota, Shinichiro. 2026. Conditional validity of prediction-powered inference for spatially dependent finite populations. arXiv: 2608.10356.
Sitokonstantinou, Vasileios, Ioannis Papoutsis, Charalampos Kontoes, Alberto Lafarga Arnal, Ana Pilar Armesto Andrés, and José Angel Garraza Zurbano. 2018. Scalable parcel-based crop identification scheme using Sentinel-2 data time-series for the monitoring of the Common Agricultural Policy. Remote Sensing 10 (6): 911. https://doi.org/10.3390/rs10060911.
Stehman, Stephen V., and Giles M. Foody. 2019. Key issues in rigorous accuracy assessment of land cover products. Remote Sensing of Environment 231:111199. https://doi.org/10.1016/j.rse.2019.05.018.
Sugiyama, Masashi, Matthias Krauledat, and Klaus-Robert Müller. 2007. Covariate shift adaptation by importance weighted cross validation. Journal of Machine Learning Research 8 (35): 985-1005.
Tobler, Waldo. 1993. Three presentations on geographical analysis and modeling: non-isotropic modeling; speculations on the geometry of geography; global spatial analysis. Technical Report 93-1. National Center for Geographic Information and Analysis, University of California, Santa Barbara, February. https://escholarship.org/uc/item/05r820mz.
Ulichney, Annie, and Amanda Coston. 2026. Beyond the training distribution: evaluating predictions under distribution shift and selection bias. arXiv: 2606.14506.
van der Vaart, A. W. 1998. Asymptotic statistics. Cambridge: Cambridge University Press. https://doi.org/10.1017/CBO9780511802256.
Van Tricht, Kristof, Jeroen Degerickx, Sven Gilliams, Daniele Zanaga, Marjorie Batrude, Alex Grosu, Joost Brombacher, et al. 2023. WorldCereal: a dynamic open-source system for global-scale, seasonal, and reproducible crop and irrigation mapping. Earth System Science Data 15 (12): 5491-5515. https://doi.org/10.5194/essd-15-5491-2023.
Wadoux, Alexandre M. J.-C., Gerard B. M. Heuvelink, Sytze de Bruin, and Dick J. Brus. 2021. Spatial cross-validation is not the right way to evaluate map accuracy. Ecological Modelling 457:109692. https://doi.org/10.1016/j.ecolmodel.2021.109692.
Waldner, François, Nicolas Bellemans, Zvi Hochman, Terence Newby, Diego de Abelleyra, Santiago R. Verón, Sergey Bartalev, et al. 2019. Roadside collection of training data for cropland mapping is viable when environmental and management gradients are surveyed. International Journal of Applied Earth Observation and Geoinformation 80:82–93. https://doi.org/10.1016/j.jag.2019.01.002.
Wang, Linshanshan, Xuan Wang, Katherine P. Liao, and Tianxi Cai. 2024. Semisupervised transfer learning for evaluation of model classification performance. Biometrics 80 (1): ujae002. https://doi.org/10.1093/biomtc/ujae002.
Xiao, Yuanjun, Zhen Zhao, Jingfeng Huang, Ran Huang, Wei Weng, Gerui Liang, Chang Zhou, Qi Shao, and Qiyu Tian. 2024. The illusion of success: test set disproportionate causes inflated accuracy in remote sensing mapping research. International Journal of Applied Earth Observation and Geoinformation 135:104256. https://doi.org/10.1016/j.jag.2024.104256.
Zanaga, Daniele, Ruben Van De Kerchove, Dirk Daems, Wanda De Keersmaecker, Carsten Brockmann, Grit Kirches, Jan Wevers, et al. 2022. ESA WorldCover 10 m 2021 v200. Zenodo. https://doi.org/10.5281/zenodo.7254221.
Zou, Runjia, Daniela Witten, and Brian D. Williamson. 2026. Generalized prediction-powered inference, with application to binary classifier evaluation. arXiv: 2602.10332.
Zrnic, Tijana, and Emmanuel J. Candès. 2024. Cross-prediction-powered inference. Proceedings of the National Academy of Sciences 121 (15): e2322083121. https://doi.org/10.1073/pnas.2322083121.
Akram Zaytar et al.
Appendix 1. Datasets
Tables 4 and 5 summarize the labels in the European regions and the Kenyan datasets.
Table 4. European regions. counts crop parcels, and share is the positive class's share of . Hérault and Osnabrück are restricted to 113 and 26 municipalities.
| Dataset | Source / collection | Year | Positive class (share) | |
|---|---|---|---|---|
| Goriška, SI | EuroCrops | 2021 | 21,388 | Vineyards (26%) |
| Hérault, FR | EuroCrops | 2018 | 27,116 | Vineyards (83%) |
| Osnabrück, DE | EuroCrops | 2021 | 18,104 | Silage maize (27%) |
| Vaucluse, FR | RPG | 2024 | 59,241 | Vineyards (56%) |
| Bouches-du-Rhône, FR | RPG | 2024 | 23,462 | Vineyards (27%) |
Table 5. Kenyan datasets. counts labels, and share is the positive class's share of . PlantVillage deploys over WorldCover cropland (Zanaga et al. 2022). Sources: Helmets (Nakalembe et al. 2025), WorldCereal (European Commission, Joint Research Centre 2021; Van Tricht et al. 2023), PlantVillage (PlantVillage 2019).
| Dataset | Source / collection | Year | Positive class (share) | |
|---|---|---|---|---|
| Crop vs. non-crop over the whole region | ||||
| Helmets | Roadside camera | 2021–22 | 2,478 | Crop (50%) |
| WorldCereal | Stratified survey | 2021 | 1,720 | Crop (58%) |
| Most common crop vs. other crops over cropland | ||||
| PlantVillage | Walk-around GPS app | 2019 | 296 | Maize (67%) |
Appendix 2. Collection-rule details
We rescale the continuous covariates (road distance, settlement distance, elevation, slope, and log parcel area) to using their first and ninety-ninth percentiles over the region's crop pixels, the 10 m pixels inside its crop parcels, . For categorical covariates, is an indicator for the preferred category.
The rule's shape sets how its sampling weight changes with the covariate:
The exponential reduces access as distance or slope increases. The sigmoid changes smoothly around a cutoff , the quantile of over the crop pixels, with width . The indicator equals one when the parcel's administrative unit belongs to the pilot region , and zero otherwise. We chose from a sweep over in Vaucluse. Below 0.002, gaps under the smooth rules changed little, but inverse-probability weights became more concentrated under the stronger rules. Larger floors weakened the intended selection. We use in all regions.
For elevation, the cutoff is the quantile; for parcel size, the quantile. We build from administrative units ordered west to east, adding units while they hold at most a share of parcels, and always including at least one. We evaluate each rule at every pixel and average the values within a parcel to obtain its sampling weight. These weights are not exact inclusion probabilities under fixed-size sampling without replacement.
Appendix 3. Interval details
The delta method approximates the variance of the macro-F1 estimate by , where is the gradient of Eq. (2) at the corrected frequencies and is their estimated covariance:
Here is the covariance across of , the vector of the six , and is the error vector minus the weighted correction.
Appendix 4. Evaluating a campaign with PPI
my_campaign.csv --- one row per point
lat lon x_0 ... x_63 label
0.57 34.28 ... maize <- labeled (campaign L)
0.61 34.31 ... <- unlabeled (deployment U)
import pippi.geo as geo from pippi import Dataset, audit from pippi.core.pipeline import xgb_fitter
data = Dataset.from_csv("my_campaign.csv") report = audit( data, fit_model=xgb_fitter(), # or your fit(X, y), refit per fold **geo.defaults(data), # covariates Z (distance to road and # building, elevation, slope) fetched at # each lat/lon )
print(report)
| estimate | macro-F1 | 95% CI | n_eff |
|---|---|---|---|
| random row split (CV) | 0.89 | -- | 1000 |
| PPI, propensity on X | 0.71 | [0.66, 0.76] | 412 |
| PPI, propensity on Z | 0.73 | [0.67, 0.79] | 198 |
| PPI, propensity on [X, Z] | 0.70 | [0.64, 0.76] | 187 |
| 1000 labeled, 20000 deployment | |||
Figure 3. Example campaign evaluation with PPI. The input combines labeled campaign points and unlabeled deployment points. The report compares random CV with PPI estimates using input features X, covariates Z, or both to fit cross-fitted propensity models. Each PPI row reports a confidence interval and effective sample size. The scores are illustrative.
Figure 3 illustrates how to evaluate an existing campaign with PPI. The input is a CSV with one row per point, containing its coordinates, features, and label if available. Labeled rows form the labeled sample L; unlabeled rows form the deployment sample U. The user also supplies a function that trains the classifier, which the evaluation calls for each fold.
The interface retrieves covariates Z at each point from public data: distances to roads and buildings from OpenStreetMap, and elevation and slope from the Copernicus DEM. Parcel area requires parcel
Akram Zaytar et al.
boundaries, so point coordinates alone cannot supply this covariate. The report compares random CV with three PPI estimates of deployment performance, using propensities fitted on input features X, covariates Z, or both.
Appendix 5. Deployment representation in the Helmets labels
Before: random CV every label weighs 1/N

After: PPI
labels reweighted by inverse odds
Figure 4. Weighting raises the land-cover overlap of the Helmets labels from 43% to 74%, but half the weight falls on 8 labels. Both maps show the deployment region. Brightness compares each WorldCover class's share of label weight with its share of deployment area, capped at one; a halo aids visibility. Left: equal label weights, with labels shown as red dots. Right: the inverse-probability weights of the PPI estimate in Section 4. Red rings identify the labels holding half of the total weight. Bars compare each class's area share (light gray) with its weight share before (gray) and after (blue) correction. Map percentages give land-cover distribution overlap, .
We examine how well the Helmets labels represent deployment land cover before and after weighting (Figure 4). For each WorldCover class , we compare its share of label weight, , with its share of deployment area, . We set map brightness to , so darker classes receive less weight than their area share. We measure land-cover distribution overlap as . This measures how well the label weights match the land-cover composition of the deployment region. It does not measure geographic coverage or prediction accuracy.
With equal label weights, overlap is 43%. Cropland receives 68% of the weight but covers only 17% of the area. Trees and shrubland receive 14% of the weight despite covering 63% of the area. PPI raises overlap to 74% (71–80% across five propensity-model runs) by concentrating the weight on a few labels, and half of the weight falls on 8 labels ( ). Trees and shrubland then receive 89% of the weight, more than their area share, while grassland receives 0.8% against 20% of the area. When we assign each deployment pixel to its nearest labeled point in AlphaEarth space and compare each label's weight share with its pixel share, overlap falls from 29% to 23%. Reweighting moves weight toward underrepresented land cover, but it puts that weight on a few labels, and in AlphaEarth space the weighted labels represent the deployment region less well than equal weights.