While generative AI has mastered creating everything from surrealist art to photorealistic human faces, it has historically struggled with the view from above. Satellite imagery isn't just "pictures of the ground"—it’s a complex, multi-spectral, spatio-temporal data format that standard models like Stable Diffusion aren't built to handle.
In a new paper presented at ICLR 2024, researchers from Stanford and Stability AI introduce DiffusionSat, the first large-scale generative foundation model specifically engineered for remote sensing.
TL;DR
DiffusionSat is a generative foundation model for satellite imagery that incorporates numerical metadata (like GPS coordinates and resolution) to produce high-fidelity images. It outperforms existing models in generating realistic Earth observation data and can solve complex "inverse problems" like multi-spectral super-resolution, temporal prediction, and disaster-damage inpainting.
What Problem Does This Paper Address?
Most state-of-the-art diffusion models are trained on "natural images" scraped from the web. Satellite data is fundamentally different:
- Perspective & Scale: Everything is top-down, and the "Ground Sampling Distance" (GSD)—essentially the zoom level—varies wildly between sensors.
- Spectral Diversity: Satellites often capture data beyond the visible RGB spectrum (like infrared), which standard models can't process.
- Temporal Irregularity: Satellite passes happen at irregular intervals, making video-style generation difficult.
- Metadata vs. Captions: While web images have alt-text, satellite images rarely have descriptive captions. However, they do have rich metadata: latitude, longitude, timestamps, and sun angles.
Existing models treat satellite images as just another "picture," missing the physical and geographic context that makes remote sensing data useful for environmental monitoring or disaster response.
Methods
DiffusionSat builds upon the architecture of Stable Diffusion (SD) 2.1, but introduces two major innovations to bridge the gap between natural and satellite imagery:
- Numerical Metadata Conditioning: Instead of forcing metadata into a text prompt (e.g., "a photo at 34.05 lat..."), the researchers used sinusoidal embeddings—the same technique used to tell a model what "step" of the diffusion process it's in—to encode latitude, longitude, date, and GSD. These are processed through MLPs and added to the model's internal representation.
- 3D ControlNet for Spatio-Temporal Tasks: To handle sequences of images (like watching a city grow over years), they extended the popular ControlNet architecture into 3D. This version uses 3D zero-convolutions and temporal attention layers. Crucially, because the model is conditioned on specific timestamps, it understands "global time" and can interpolate or predict frames regardless of how far apart the original images were taken.
Datasets
The authors compiled a massive collection of publicly available high-resolution datasets to train DiffusionSat, including fMoW (Functional Map of the World) for high-res Maxar imagery, Satlas for multi-task NAIP and Sentinel-2 imagery, SpaceNet for object detection, and specialized datasets like Texas Housing & xBD for super-resolution and disaster-impact inpainting.
Key Insights and Ideas
- Metadata is Better than Text: The researchers found that treating metadata as numerical features is significantly more effective than "naively" incorporating it into text captions. It provides the model with a precise "geographic prior," allowing it to learn that a stadium in the US looks different from one in France, or how a landscape changes from summer to winter.
- The "Foundation" Advantage: Pre-training on a broad satellite dataset first, then fine-tuning for specific tasks (like super-resolution), yielded much better results than trying to fine-tune a standard Stable Diffusion model from scratch.
- Temporal Invariance: Because the model uses timestamps, it isn't just "predicting the next frame" like a video model; it's learning the underlying physical changes of the Earth over time (seasons, urban development, etc.).
Key Results
DiffusionSat sets a new bar for generative remote sensing:
- Image Quality: On the fMoW dataset, DiffusionSat achieved a FID score of 15.80, vastly outperforming a fine-tuned Stable Diffusion 2.1 (37.99).
- Super-Resolution: When tasked with turning low-res Sentinel-2 data into high-res imagery, DiffusionSat outperformed specialized baselines like DBPN and Pix2Pix in perceptual quality (LPIPS).
- Temporal Prediction & Inpainting: The model successfully predicted future and past states of locations, accurately capturing seasonal changes and human development. It also demonstrated an impressive ability to "reconstruct" areas hit by floods or fires, which is vital for identifying access routes during disaster response.
Limitations and Future Work
While the model performs well globally, the authors note that the training data is still skewed toward developed regions, leading to potential geographical bias. Furthermore, sampling remains computationally expensive. Future directions include expanding to even more diverse spectral bands and investigating faster sampling methods to make the model more viable for real-time, resource-constrained settings.
Summary updated