Can Generative Geospatial Diffusion Models Excel as Discriminative Geospatial Foundation Models?

Yuru Jia, Valerio Marsocci, Ziyang Gong, Xue Yang, Maarten Vergauwen, Andrea Nascetti

TL;DR

This paper introduces SatDiFuser, a novel framework that adapts generative diffusion models for self-supervised representation learning in remote sensing. By effectively fusing multi-stage diffusion features, SatDiFuser achieves state-of-the-art performance on various discriminative tasks, demonstrating that generative models can be powerful discriminative geospatial foundation models.

What Problem Does This Paper Address?

Self-supervised learning (SSL) has revolutionized remote sensing (RS) by enabling the creation of Geospatial Foundation Models (GFMs) that leverage vast amounts of unlabeled satellite imagery. Current GFMs primarily rely on contrastive learning or masked image modeling. However, generative diffusion models, while showing promise in capturing rich semantic information during image generation, have been underexplored for discriminative tasks. This paper asks whether these generative models can also serve as powerful discriminative GFMs. The challenge lies in effectively extracting and fusing the diverse, multi-scale, and multi-timestep features learned by diffusion models for downstream discriminative applications.

Methods

The core of SatDiFuser is built upon a pre-trained latent diffusion model (LDM) called DiffusionSat. The authors extract features from various stages of the diffusion process, specifically from ResNet and self-attention blocks across multiple timesteps. To effectively leverage these rich features, they propose three novel fusion strategies:

  • Global Weighted Fusion: This method applies learnable, module-wise scalar weights to aggregate features across timesteps and feature blocks at each scale. It aims for a broad representation while minimizing computational cost.
  • Localized Weighted Fusion: This approach learns pixel-wise weights to dynamically emphasize features at each spatial location. This allows for more nuanced aggregation, preserving fine-grained local details, which is particularly useful for objects with intricate outlines or heterogeneous textures.
  • Mixture of Experts (MoE) Joint Fusion: This strategy models complex interactions between timesteps and feature blocks by using specialized "expert" sub-networks coordinated by a routing function. This allows the model to learn distinct patterns and textures, offering a robust and flexible representation.

The fused features are then fed into task-specific decoders for downstream classification and semantic segmentation tasks.

Datasets

The paper evaluates SatDiFuser on the GEO-Bench benchmark, which includes various semantic segmentation and classification datasets covering diverse application domains (agriculture, urban, forest, etc.) and geographic regions. Specific datasets mentioned include:

  • m-pv4ger-seg
  • m-nz-cattle
  • m-NeonTree
  • m-cashew-plantation
  • m-SA-crop-type
  • m-chesapeake-landcover
  • m-bigearthnet
  • m-brick-kiln
  • m-eurosat
  • m-forestnet
  • m-pv4ger
  • m-so2sat

The authors also mention using RGB bands for DiffusionSat for consistency across tasks.

Key Insights and Ideas

  • Generative models as discriminative powerhouses: The central idea is that the iterative denoising process in diffusion models inherently captures rich, multi-scale semantic information that can be effectively repurposed for discriminative tasks, challenging the conventional wisdom that generative models are solely for synthesis.
  • Multi-stage diffusion features are key: Features extracted from different timesteps and layers of the diffusion process offer complementary information, with early timesteps and ResNet/self-attention blocks proving most beneficial.
  • Fusion is crucial: Simply concatenating raw features is insufficient. Sophisticated fusion strategies are necessary to effectively combine the diverse information embedded in diffusion model features.
  • Localized fusion for fine details, MoE for complexity: Localized fusion excels at preserving fine-grained details, while MoE fusion offers a more robust way to handle complex interactions and adapt to diverse RS imagery.
  • Domain-specific pretraining matters: DiffusionSat, finetuned on satellite imagery, consistently outperforms a general-purpose diffusion model (SD v2-1), highlighting the benefit of domain-specific pretraining.

Key Results

SatDiFuser consistently outperforms state-of-the-art GFMs on both semantic segmentation and classification tasks.

  • Semantic Segmentation: Achieved gains of up to +5.7% mIoU on tasks like m-NeonTree, m-cashew-plantation, and m-chesapeake-landcover.
  • Classification: Achieved gains of up to +7.9% F1-score on m-bigearthnet and +5.9% on m-forestnet.
  • Robustness: SatDiFuser maintains superior performance even when using only RGB bands, demonstrating its robustness.
  • Data Scarcity: The method shows robust performance even when trained with only 10% of the labeled data.

Limitations and Future Work

  • RGB focus: The current study is limited to RGB imagery due to the pretraining of the utilized backbone. Future work could explore extending SatDiFuser to multi-modal RS data (e.g., SAR, hyperspectral).
  • Unconditional diffusion: The paper primarily uses unconditional diffusion models. Investigating conditioned image-to-image diffusion models could further enhance representations by leveraging their dense guidance mechanisms.
  • Fusion strategy optimization: While the three proposed fusion strategies are effective, further research could explore more advanced fusion techniques or adaptive methods.

Summary updated

BibTeX
@inproceedings{jia2025can,
  author = {Yuru Jia and Valerio Marsocci and Ziyang Gong and Xue Yang and Maarten Vergauwen and Andrea Nascetti},
  title = {{Can Generative Geospatial Diffusion Models Excel as Discriminative Geospatial Foundation Models?}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure