Region queries with error bars: AlphaEarth cells as a sampling prior
E7, paper version. Every number on this page is measured on regions held out from training. Generated 2026-11-27.
Setup
- Data. 2,531 windows of 5.12 km, drawn area-uniformly over land (60°S–84°N), with AlphaEarth 2021 (10 m, 64-d) and ESA WorldCover 2021 (10 m), on the same grid.
- Query. The area fraction μ of one WorldCover class over a region of k windows. Ground truth is a labelled pixel, which is the expensive step. The budget is n labelled pixels, usually far fewer than the number of cells.
- What a cell stores. Its mean AlphaEarth vector (int8, 64 B) and the mean's length R. Cells are 80 m, 320 m, 1.3 km.
- Estimator. Draw cell h with probability ah, then one random pixel in it (label y). With p̂h the predicted class fraction from the cell mean, z = mean(p̂) + (y − p̂h) / (H ah). The estimate μ̂ is the mean of z, with SE = sd(z)/√n. This is unbiased for any a > 0, and the interval is μ̂ ± q·SE.
- Learned allocation. ah ∝ êh (90%) plus uniform (10%), where ê is an MLP on the cell code trained with the Neyman loss mean(r²/ê + ê). That loss is minimised at ê = √E[r² | code], with r² = σ² + (p − p̂)², the residual variance of one labelled pixel. Squared-error training learns E[r | code] instead, which under-samples rare classes.
- Held out. The two folds are random 10° blocks (~1,100 km). Every model (p̂, ê, and the PCA used for features) is fitted on one fold and applied to the other. Regions are drawn only from the 2,477 windows at least 100 km from any training window.
- Reported. Efficiency = Var(random pixels) / Var(design) for one label, exact from the cell fractions, so it equals "× fewer labels for the same error". Coverage is the share of nominal 90% intervals that contain μ, over 300 simulated samples per region and 20 random regions per size (regions that contain the class).
1. How many fewer labels?
80 m cells
| class | share of land | region of 1 window | region of 16 windows | region of all windows (2,477) | |||
|---|---|---|---|---|---|---|---|
| learned | best possible | learned | best possible | learned | best possible | ||
| tree cover | 30.87% | 3.2× | 3.9× | 10.2× | 11.9× | 8.6× | 11.2× |
| grassland | 22.36% | 1.9× | 2.3× | 2.5× | 2.7× | 2.6× | 3.0× |
| bare / sparse | 15.44% | 1.3× | 2.4× | 9.7× | 12.2× | 12.3× | 16.9× |
| water | 9.53% | 5.0× | 14.4× | 45.3× | 55.4× | 69.8× | 87.7× |
| cropland | 8.42% | 1.8× | 3.0× | 5.6× | 7.7× | 6.3× | 8.4× |
| shrubland | 7.19% | 1.2× | 2.6× | 3.3× | 5.1× | 3.5× | 5.3× |
| moss and lichen | 2.17% | 1.4× | 2.4× | 5.5× | 8.6× | 7.1× | 10.4× |
| snow and ice | 1.79% | 0.3× | 2.1× | 5.5× | 11.3× | 24.4× | 30.9× |
| herbaceous wetland | 1.40% | 2.5× | 5.6× | 3.6× | 8.8× | 4.3× | 11.0× |
| built-up | 0.67% | 3.7× | 8.1× | 8.0× | 13.6× | 10.5× | 18.0× |
| mangroves | 0.16% | 2.4× | 9.1× | 7.2× | 63.0× | 6.0× | 49.3× |
320 m cells
| class | share of land | region of 1 window | region of 16 windows | region of all windows (2,477) | |||
|---|---|---|---|---|---|---|---|
| learned | best possible | learned | best possible | learned | best possible | ||
| tree cover | 30.90% | 1.7× | 1.9× | 6.5× | 8.0× | 6.2× | 7.9× |
| grassland | 22.38% | 1.3× | 1.6× | 2.1× | 2.4× | 2.2× | 2.6× |
| bare / sparse | 15.45% | 1.6× | 3.7× | 13.2× | 18.7× | 10.5× | 15.4× |
| water | 9.47% | 2.4× | 5.0× | 45.6× | 62.5× | 41.5× | 60.7× |
| cropland | 8.42% | 1.6× | 2.2× | 4.8× | 6.3× | 5.3× | 7.1× |
| shrubland | 7.20% | 1.2× | 1.7× | 3.2× | 4.6× | 3.1× | 4.8× |
| moss and lichen | 2.17% | 1.1× | 1.3× | 4.2× | 8.3× | 7.1× | 9.8× |
| snow and ice | 1.79% | 0.7× | 1.6× | 9.2× | 14.3× | 23.2× | 31.7× |
| herbaceous wetland | 1.40% | 1.8× | 3.3× | 3.6× | 6.8× | 3.6× | 9.6× |
| built-up | 0.67% | 2.3× | 7.9× | 4.2× | 8.9× | 6.6× | 13.2× |
| mangroves | 0.16% | 4.3× | 8.0× | 13.2× | 37.6× | 10.4× | 47.5× |
1.3 km cells
| class | share of land | region of 1 window | region of 16 windows | region of all windows (2,477) | |||
|---|---|---|---|---|---|---|---|
| learned | best possible | learned | best possible | learned | best possible | ||
| tree cover | 31.00% | 1.1× | 1.3× | 4.1× | 6.6× | 3.6× | 5.7× |
| grassland | 22.44% | 1.0× | 1.1× | 1.5× | 1.9× | 1.6× | 2.2× |
| bare / sparse | 15.49% | 1.0× | 1.2× | 7.2× | 16.5× | 5.2× | 13.2× |
| water | 9.21% | 1.0× | 2.3× | 7.3× | 22.8× | 10.9× | 32.7× |
| cropland | 8.44% | 0.9× | 1.2× | 2.4× | 5.1× | 2.6× | 5.7× |
| shrubland | 7.23% | 1.0× | 1.2× | 2.0× | 4.0× | 1.9× | 4.3× |
| moss and lichen | 2.17% | 1.0× | 1.1× | 3.4× | 7.5× | 4.4× | 9.3× |
| snow and ice | 1.79% | 0.5× | 1.1× | 2.6× | 9.0× | 9.1× | 30.1× |
| herbaceous wetland | 1.40% | 1.0× | 1.7× | 1.2× | 5.3× | 2.0× | 8.0× |
| built-up | 0.67% | 1.0× | 1.7× | 1.7× | 4.6× | 2.7× | 8.2× |
| mangroves | 0.16% | 1.2× | 2.7× | 1.7× | 16.7× | 1.4× | 42.4× |
"Best possible" uses the true residual spread for allocation, with the same p̂. Median over regions for k < all.
2. Which part does the work?
80 m cells, all 2,477 held-out windows. Efficiency against random pixels.
| class | random pixels | learned allocation only | cell-mean prediction only | prediction + learned allocation | prediction + oracle allocation |
|---|---|---|---|---|---|
| tree cover | 1.0× | 0.2× | 4.1× | 8.6× | 11.2× |
| grassland | 1.0× | 0.7× | 1.6× | 2.6× | 3.0× |
| bare / sparse | 1.0× | 0.2× | 4.1× | 12.3× | 16.9× |
| water | 1.0× | 0.1× | 12.9× | 69.8× | 87.7× |
| cropland | 1.0× | 0.7× | 2.4× | 6.3× | 8.4× |
| shrubland | 1.0× | 1.6× | 1.5× | 3.5× | 5.3× |
| moss and lichen | 1.0× | 10.5× | 1.4× | 7.1× | 10.4× |
| snow and ice | 1.0× | 0.1× | 3.4× | 24.4× | 30.9× |
| herbaceous wetland | 1.0× | 2.1× | 1.2× | 4.3× | 11.0× |
| built-up | 1.0× | 12.6× | 1.5× | 10.5× | 18.0× |
| mangroves | 1.0× | 2.1× | 0.9× | 6.0× | 49.3× |
3. Do the error bars hold?
The few-hit interval. Normal intervals fail where the estimate rests on a few heavy hits: single windows of coarse cells (1.28 km, 16 cells: built-up 0.56, bare 0.66, water 0.71) and rare classes. The estimate is then skewed, not heavy-tailed: a Student-t with 15 degrees of freedom adds only 0.01–0.03. The few-hit interval splits z into the hit part y/(Ha) and the rest. It gives the hit part a Garwood (Poisson) interval on the effective number of hits K = (Σw)²/Σw², scaled so the variance matches, adds the rest's normal half-width in quadrature, and is used only when K < 10. That lifts all coarse single windows to 0.90–0.97, and mangroves in regions of 1 or 16 windows to 0.87–0.93.
What it cannot fix. Mangroves over the whole sample with 80 m cells (0.68 at n = 100, 0.77 at n = 1000; 320 m: 0.84–0.87). Here some mangrove area sits in cells the model rates near zero, which are reachable only through the 10% uniform share. A sample that has not hit that area cannot show it. Covering it needs a better p̂, a larger uniform share, or a deliberately wide bound on unseen mass. This is the honest limit of any design-based interval with a weak prior.
80 m cells are not optimistic. AlphaEarth's errors are spatially correlated over ~200 m (aef-backcast), but the labelled pixels are drawn at random inside cells, so these intervals are design-based. Correlation changes efficiency, not validity, and 80 m coverage is as good as at 320 m and 1.28 km.
Green ≥ 0.85, red < 0.75 (nominal 0.90). The k = all column is one region, so its coverage has a Monte Carlo SE of about ±0.02 (300 samples).
| cells | class | region of 1 window | region of 16 windows | region of all windows | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| random, normal, n=100 | ours, normal, n=100 | ours, few-hit, n=100 | ours, normal, n=1000 | ours, few-hit, n=1000 | random, normal, n=100 | ours, normal, n=100 | ours, few-hit, n=100 | ours, normal, n=1000 | ours, few-hit, n=1000 | random, normal, n=100 | ours, normal, n=100 | ours, few-hit, n=100 | ours, normal, n=1000 | ours, few-hit, n=1000 | ||
| 80 m | tree cover | 0.69 | 0.89 | 0.90 | 0.91 | 0.91 | 0.89 | 0.90 | 0.93 | 0.90 | 0.90 | 0.89 | 0.86 | 0.90 | 0.91 | 0.91 |
| 80 m | grassland | 0.80 | 0.88 | 0.91 | 0.90 | 0.90 | 0.89 | 0.89 | 0.90 | 0.90 | 0.90 | 0.90 | 0.91 | 0.91 | 0.93 | 0.93 |
| 80 m | bare / sparse | 0.43 | 0.87 | 0.91 | 0.89 | 0.91 | 0.88 | 0.90 | 0.93 | 0.90 | 0.90 | 0.87 | 0.90 | 0.95 | 0.88 | 0.88 |
| 80 m | water | 0.49 | 0.89 | 0.92 | 0.89 | 0.90 | 0.86 | 0.89 | 0.95 | 0.90 | 0.91 | 0.89 | 0.89 | 0.97 | 0.90 | 0.90 |
| 80 m | cropland | 0.57 | 0.88 | 0.93 | 0.90 | 0.91 | 0.82 | 0.89 | 0.92 | 0.90 | 0.90 | 0.93 | 0.91 | 0.91 | 0.90 | 0.90 |
| 80 m | shrubland | 0.44 | 0.87 | 0.93 | 0.84 | 0.92 | 0.82 | 0.89 | 0.90 | 0.89 | 0.89 | 0.84 | 0.89 | 0.89 | 0.88 | 0.88 |
| 80 m | moss and lichen | 0.53 | 0.86 | 0.93 | 0.89 | 0.91 | 0.52 | 0.90 | 0.92 | 0.90 | 0.91 | 0.86 | 0.92 | 0.91 | 0.90 | 0.90 |
| 80 m | snow and ice | 0.34 | 0.85 | 0.94 | 0.88 | 0.93 | 0.40 | 0.88 | 0.93 | 0.90 | 0.91 | 0.86 | 0.86 | 0.88 | 0.93 | 0.93 |
| 80 m | herbaceous wetland | 0.28 | 0.83 | 0.93 | 0.87 | 0.92 | 0.39 | 0.88 | 0.92 | 0.90 | 0.91 | 0.64 | 0.89 | 0.90 | 0.87 | 0.87 |
| 80 m | built-up | 0.42 | 0.86 | 0.92 | 0.88 | 0.91 | 0.49 | 0.88 | 0.91 | 0.90 | 0.90 | 0.47 | 0.90 | 0.91 | 0.90 | 0.90 |
| 80 m | mangroves | 0.69 | 0.84 | 0.87 | 0.84 | 0.90 | 0.31 | 0.75 | 0.89 | 0.87 | 0.90 | 0.16 | 0.64 | 0.68 | 0.77 | 0.77 |
| 320 m | tree cover | 0.85 | 0.89 | 0.91 | 0.90 | 0.90 | 0.89 | 0.89 | 0.90 | 0.90 | 0.90 | 0.89 | 0.91 | 0.91 | 0.90 | 0.90 |
| 320 m | grassland | 0.77 | 0.87 | 0.91 | 0.89 | 0.90 | 0.89 | 0.89 | 0.89 | 0.90 | 0.90 | 0.93 | 0.89 | 0.89 | 0.88 | 0.88 |
| 320 m | bare / sparse | 0.32 | 0.74 | 0.90 | 0.81 | 0.88 | 0.89 | 0.89 | 0.93 | 0.90 | 0.90 | 0.87 | 0.87 | 0.92 | 0.91 | 0.91 |
| 320 m | water | 0.54 | 0.87 | 0.92 | 0.89 | 0.90 | 0.79 | 0.89 | 0.97 | 0.90 | 0.91 | 0.90 | 0.90 | 0.99 | 0.91 | 0.91 |
| 320 m | cropland | 0.63 | 0.89 | 0.93 | 0.89 | 0.91 | 0.87 | 0.90 | 0.92 | 0.90 | 0.90 | 0.93 | 0.90 | 0.90 | 0.88 | 0.88 |
| 320 m | shrubland | 0.68 | 0.86 | 0.92 | 0.89 | 0.91 | 0.82 | 0.89 | 0.91 | 0.90 | 0.90 | 0.84 | 0.87 | 0.87 | 0.91 | 0.91 |
| 320 m | moss and lichen | 0.48 | 0.80 | 0.93 | 0.83 | 0.92 | 0.52 | 0.88 | 0.92 | 0.90 | 0.91 | 0.89 | 0.89 | 0.89 | 0.93 | 0.93 |
| 320 m | snow and ice | 0.38 | 0.81 | 0.95 | 0.84 | 0.93 | 0.50 | 0.89 | 0.92 | 0.90 | 0.92 | 0.84 | 0.92 | 0.92 | 0.89 | 0.89 |
| 320 m | herbaceous wetland | 0.50 | 0.79 | 0.93 | 0.86 | 0.92 | 0.31 | 0.88 | 0.92 | 0.90 | 0.91 | 0.73 | 0.83 | 0.86 | 0.89 | 0.89 |
| 320 m | built-up | 0.33 | 0.73 | 0.95 | 0.83 | 0.91 | 0.33 | 0.86 | 0.93 | 0.88 | 0.89 | 0.48 | 0.88 | 0.91 | 0.89 | 0.89 |
| 320 m | mangroves | 0.69 | 0.84 | 0.89 | 0.87 | 0.91 | 0.31 | 0.86 | 0.91 | 0.88 | 0.90 | 0.14 | 0.79 | 0.84 | 0.87 | 0.87 |
| 1.3 km | tree cover | 0.76 | 0.87 | 0.92 | 0.88 | 0.91 | 0.90 | 0.89 | 0.90 | 0.89 | 0.89 | 0.91 | 0.93 | 0.93 | 0.90 | 0.90 |
| 1.3 km | grassland | 0.67 | 0.86 | 0.93 | 0.89 | 0.91 | 0.90 | 0.89 | 0.89 | 0.90 | 0.90 | 0.89 | 0.88 | 0.88 | 0.91 | 0.91 |
| 1.3 km | bare / sparse | 0.32 | 0.66 | 0.95 | 0.73 | 0.94 | 0.89 | 0.88 | 0.91 | 0.90 | 0.90 | 0.88 | 0.87 | 0.87 | 0.93 | 0.93 |
| 1.3 km | water | 0.54 | 0.71 | 0.96 | 0.79 | 0.94 | 0.84 | 0.87 | 0.95 | 0.90 | 0.90 | 0.91 | 0.91 | 0.98 | 0.91 | 0.91 |
| 1.3 km | cropland | 0.34 | 0.75 | 0.95 | 0.82 | 0.93 | 0.89 | 0.89 | 0.93 | 0.90 | 0.90 | 0.90 | 0.90 | 0.94 | 0.91 | 0.91 |
| 1.3 km | shrubland | 0.44 | 0.77 | 0.95 | 0.82 | 0.93 | 0.88 | 0.89 | 0.93 | 0.90 | 0.90 | 0.85 | 0.89 | 0.95 | 0.91 | 0.91 |
| 1.3 km | moss and lichen | 0.62 | 0.77 | 0.94 | 0.86 | 0.92 | 0.64 | 0.89 | 0.94 | 0.90 | 0.91 | 0.87 | 0.90 | 0.94 | 0.88 | 0.88 |
| 1.3 km | snow and ice | 0.36 | 0.84 | 0.94 | 0.88 | 0.93 | 0.47 | 0.89 | 0.92 | 0.90 | 0.92 | 0.88 | 0.93 | 0.96 | 0.93 | 0.93 |
| 1.3 km | herbaceous wetland | 0.50 | 0.82 | 0.95 | 0.87 | 0.92 | 0.44 | 0.85 | 0.94 | 0.88 | 0.90 | 0.74 | 0.86 | 0.96 | 0.84 | 0.84 |
| 1.3 km | built-up | 0.27 | 0.56 | 0.97 | 0.76 | 0.95 | 0.34 | 0.83 | 0.95 | 0.87 | 0.92 | 0.53 | 0.86 | 0.97 | 0.89 | 0.89 |
| 1.3 km | mangroves | 0.74 | 0.81 | 0.93 | 0.86 | 0.90 | 0.26 | 0.85 | 0.93 | 0.81 | 0.92 | 0.13 | 0.82 | 0.96 | 0.77 | 0.86 |
4. The allocation model alone
Stratified allocation in proportion to predicted spread, against proportional allocation, over all held-out windows. This is the older E7 metric, with no p̂ and enough labels for every cell, shown to compare the allocation models on their own.
| cells | class | ridge onto σ | MLP, Neyman loss | best possible |
|---|---|---|---|---|
| 80 m | tree cover | 1.7× | 2.5× | 6.7× |
| 80 m | grassland | 1.2× | 1.6× | 4.5× |
| 80 m | bare / sparse | 1.9× | 2.3× | 17.8× |
| 80 m | water | 5.8× | 8.0× | 75.0× |
| 80 m | cropland | 2.4× | 2.7× | 16.0× |
| 80 m | shrubland | 1.4× | 1.8× | 10.6× |
| 80 m | moss and lichen | 4.4× | 6.3× | 32.2× |
| 80 m | snow and ice | 3.6× | 5.5× | 409× |
| 80 m | herbaceous wetland | 3.4× | 1.8× | 58.0× |
| 80 m | built-up | 5.1× | 8.5× | 63.1× |
| 80 m | mangroves | 5.9× | 4.2× | 1,640× |
| 320 m | tree cover | 1.5× | 2.1× | 3.4× |
| 320 m | grassland | 1.3× | 1.5× | 2.5× |
| 320 m | bare / sparse | 1.8× | 2.8× | 9.4× |
| 320 m | water | 4.4× | 7.5× | 24.4× |
| 320 m | cropland | 2.3× | 3.0× | 7.5× |
| 320 m | shrubland | 1.5× | 2.0× | 6.1× |
| 320 m | moss and lichen | 4.4× | 6.7× | 19.0× |
| 320 m | snow and ice | 3.3× | 5.8× | 183× |
| 320 m | herbaceous wetland | 3.2× | 3.3× | 27.1× |
| 320 m | built-up | 3.4× | 5.8× | 24.9× |
| 320 m | mangroves | 6.6× | 11.3× | 701× |
| 1.3 km | tree cover | 1.5× | 1.3× | 2.4× |
| 1.3 km | grassland | 1.2× | 1.1× | 1.8× |
| 1.3 km | bare / sparse | 1.6× | 1.3× | 6.0× |
| 1.3 km | water | 2.8× | 1.9× | 9.7× |
| 1.3 km | cropland | 2.1× | 1.6× | 4.9× |
| 1.3 km | shrubland | 1.5× | 1.3× | 4.5× |
| 1.3 km | moss and lichen | 4.4× | 4.8× | 14.3× |
| 1.3 km | snow and ice | 2.0× | 5.6× | 97.4× |
| 1.3 km | herbaceous wetland | 2.7× | 1.8× | 15.4× |
| 1.3 km | built-up | 2.8× | 2.3× | 10.9× |
| 1.3 km | mangroves | 6.4× | 3.2× | 337× |
Caveats
- One year (2021), one label source (WorldCover, itself a model with its own errors). The truth here is WorldCover, not the ground.
- p̂ is a linear (ridge) map from the cell mean. A nonlinear p̂ would raise both the learned and the best-possible numbers.
- Storing more per cell (per-class max/min, embedding_packer's 69 B moment code) did not help reliably. That test used index-parity folds, so it is on the full experiments page, not here.
- Regions are unions of random 5 km windows, not contiguous polygons. Polygon queries are the moment-cells thread (#555).
Code: experiments/global_cells.py (fetch), global_mlp_blocked.py (held-out models), global_coverage.py (estimator, efficiency, coverage), e7_paper_html.py (this page). The estimator and the few-hit interval as a library: region_query.py (numpy; tests in tests/test_region_query.py). Jobs: global_coverage.sbatch, about 15 CPU-minutes on 16 cores, plus 5 for the coverage rerun.