Map of Europe coloured by how many degrees each cell's direction turned.
How far each cell's embedding turned when the fix went in. The interactive version reads out the angle under your pointer. It needs JavaScript.

Geometry

An Average Gotcha

The first version of this map averaged AlphaEarth's compressed codes instead of the values they stand for, and turned the median cell by 11°.

Averaging Codes Is Not Averaging Values

AlphaEarth stores each of its 64 numbers as an 8-bit code on a square-root scale, so the value a code stands for grows faster than the code. Drag the two codes along the curve. The average of their values lies on the straight line between them, while the value of their averaged code lies on the curve, away from that line. Pooling 40 m pixels into 6 km cells by averaging codes made this error in every number at once, and pointed every cell slightly the wrong way.

The square-root code curve with two codes on it. The straight line between their values has its midpoint, the average of the two values, away from the curve at the averaged code. The vertical dashed gap between the two is the error. code value average of the two values value of the averaged code error code 1 code 2

The Fix

The fix decodes every pixel first, averages the values with each tile's pixel counts, and rescales each cell to length one. The map above shows how far each cell turned when it went in, in whole regions rather than scattered cells. The comparison with the hand-crafted covariates barely moved, and most cells kept the same nearest neighbour.

How this was made

A probe on real tiles first measured the error at a median of 9.61° over 710 cells. Across Europe in 2018 the median cell turned 10.79°, and 33.2% of cells turned by more than 14°. The nearest neighbour of a cell, which the continent map and the unusual-places tour both read, stayed the same for 72.4% of 239,827 cells (2024, block 512). The embeddings' RMSE was 4.17% worse than the covariates' before the fix and 4.19% worse after.

The compared window is not exactly the shipped grid. Nearest-neighbour agreement is a count over near-ties, so it is quoted with the block size it was computed at. The largest turns cluster by region, so a small sample of tiles can land far from the median.

Next: Europe in 64 Dimensions →