Introduction
Since the 1960s, astronauts aboard the International Space Station (ISS) and earlier missions have captured over 4.5 million handheld photographs of Earth. These images represent a unique temporal record of the planet, offering high-resolution insights into climate change, urban development, and natural disasters. However, a significant portion of this archive lacks precise geographic metadata. While the "nadir"—the point directly beneath the ISS—is recorded, astronaut photos are often taken at oblique angles, capturing targets hundreds of kilometers away from the orbital path.
Historically, localizing these images has relied on manual identification by experts or citizen scientists, a process that can take hours per image. Previous automated attempts using pairwise pixel matching proved computationally prohibitive, with estimates suggesting it would take decades to process the existing archive. This paper introduces EarthLoc, a system that reformulates Astronaut Photography Localization (APL) as a high-speed image retrieval task, achieving state-of-the-art accuracy while operating 50 times faster than previous automated methods.
Methodology
EarthLoc shifts the paradigm from brute-force matching to a retrieval-based approach. By representing images as compact numerical embeddings, the system can identify the location of a query photo through a nearest-neighbor search within a pre-computed global database. To optimize this process for the unique challenges of orbital photography, the authors introduce three core innovations:
1. Clustered Batches
To prevent the model from converging on trivial solutions—such as merely distinguishing between land and water—the training process utilizes clustered batches. By forcing the model to differentiate between highly similar geographic regions during a single training step, the neural network is compelled to learn fine-grained, discriminative features necessary for precise localization.
2. Year-Wise Data Augmentation
The Earth's surface is dynamic; a satellite basemap from one year may look significantly different from an astronaut photo taken years later due to seasonal changes or land development. EarthLoc employs year-wise data augmentation, applying consistent transformations to images from the same temporal period. This strategy builds robustness against temporal shifts, ensuring the model recognizes the underlying geography despite surface-level changes.
3. Neutral-Aware Multi-Similarity Loss
In traditional image retrieval, pairs are typically labeled as either "positive" (a match) or "negative" (not a match). However, APL often involves overlapping views that are neither identical nor entirely distinct. The authors developed a "neutral-aware" loss function that treats these partial overlaps as neutral signals. This prevents the model from receiving contradictory gradients during training, leading to more stable and accurate embedding representations.
Data and Benchmarking
The system was evaluated using a massive, custom-built infrastructure:
- Query Set: 17,764 astronaut photographs with verified ground-truth locations.
- Reference Database: 700,000 Sentinel-2 satellite images covering the ISS's orbital range (60°N to 60°S).
- Geographic Benchmarks: Six diverse evaluation sets focusing on specific Points of Interest (POIs), including the Alps, the Amazon (deforestation), and California (wildfire tracking).
Results and Impact
EarthLoc demonstrates a significant leap in both accuracy and efficiency. The model achieved a Recall@1 of 57.1% across the test sets, significantly outperforming general-purpose visual place recognition models like NetVLAD and AnyLoc.
Beyond accuracy, the computational gains are transformative. EarthLoc extracts features 50x faster than the previous state-of-the-art and generates embeddings that are 10x smaller. This efficiency makes it feasible to search millions of images using standard hardware, effectively debunking previous assertions that global-scale retrieval for APL was computationally "infeasible."
The system is not merely a theoretical exercise; it is currently being utilized to help localize the public archive of ISS photos at the NASA Johnson Space Center (eol.jsc.nasa.gov).
Limitations and Future Work
While EarthLoc represents a major milestone, several challenges remain. The current model is optimized for daytime imagery; nighttime localization remains difficult due to the lack of high-quality, cloud-free nighttime satellite basemaps. Additionally, while EarthLoc identifies the correct geographic "tile," future iterations could incorporate re-ranking modules to determine exact camera poses and pixel-level coordinates. Furthermore, photos taken with extreme telephoto lenses or wide-angle panoramic views still present challenges for the fixed-zoom levels of the current database.
Summary updated