UrbanFusion: Stochastic Multimodal Fusion for Contrastive Learning of Robust Spatial Representations

Dominik J. Mühlematter, Lin Che, Ye Hong, Martin Raubal, Nina Wiedemann

TL;DR

UrbanFusion introduces a general-purpose geospatial foundation model that unifies diverse urban data modalities—such as street view imagery, satellite data, maps, and points of interest—into a single robust spatial representation. By using a novel training framework called Stochastic Multimodal Fusion (SMF), the model can train and perform inference on incomplete datasets, significantly outperforming existing state-of-the-art models across 41 urban forecasting tasks.

What Problem Does This Paper Address?

Predicting urban indicators like housing prices, crime rates, or public health metrics requires a deep understanding of geographic context. Traditional approaches rely on task-specific models tailored to a single region, which struggle to scale. Recently, general-purpose Geo-Foundation Models (GeoFMs) have emerged, but they suffer from two major flaws:

  1. Modality Blindness: Most existing models only align coordinates with a single auxiliary data type (like satellite imagery) using pairwise contrastive losses (similar to CLIP). This forces the model to focus only on redundant (overlapping) information, completely ignoring unique modality-specific features and synergistic interactions between multiple data types.
  2. Rigid Data Requirements: They typically require perfectly paired data across all modalities for every single location during training—a luxury that is rarely available globally.

UrbanFusion tackles these challenges by introducing a flexible, multi-modal architecture that can handle missing data gracefully while capturing the complex, layered nature of urban environments.

Methods

The core innovation of UrbanFusion is Stochastic Multimodal Fusion (SMF).

The architecture uses fixed, pretrained encoders to convert different geospatial inputs (Coordinates, Street View, Remote Sensing, Cartographic Basemaps, and POIs) into tokens. These tokens are then fed into a single-block Transformer fusion encoder to generate a unified location embedding.

During pretraining, the model randomly masks out subsets of these modalities. The fused tokens are then passed to two distinct heads:

  • Contrastive Location Alignment (CL): This head takes the representation of a masked subset of modalities and aligns it with the representation of its complementary unmasked subset using a symmetric InfoNCE loss.
  • Latent Modality Reconstruction (Rec): This head predicts the original, unmasked latent feature vectors of all modalities from the fused representation.

By reconstructing features in the latent space rather than pixel space, the model avoids learning low-level noise and focuses on abstract, high-level concepts.

Figure 1. UrbanFusion. Pretrained modality-specific encoders extract features projected into tokens. After random token masking, a Transformer fuses the tokens. The output feeds into two heads: one for Contrastive Location Alignment (CL), the other for Latent Modality Reconstruction (Rec.). For downstream tasks, coordinates or available modalities are input into the frozen encoder (green arrows) to obtain feature vectors for training downstream models.

Datasets

The authors introduced PP2-M, an enriched multimodal dataset built on top of the Place Pulse 2.0 benchmark. It contains 110,988 locations across 56 cities worldwide, augmented with:

  • 12-channel multispectral Sentinel-2 satellite imagery.
  • Multi-scale OpenStreetMap (OSM) cartographic basemaps (at 300m, 600m, and 1200m resolutions).
  • Textual prompts of the 15 nearest POIs encoded via a language model.

The model was evaluated across 41 downstream tasks, including London housing prices, UK energy consumption, US crime incidence, and European land-use classification.

Key Insights and Ideas

  • The Power of Synergy: Pairwise contrastive learning is fundamentally limited because it discards unique modality features. Combining contrastive alignment with latent reconstruction forces the model to retain unique and synergistic information (e.g., how a street-view image combines with POI data to imply neighborhood wealth).
  • Extreme Data Efficiency: In ablation studies, training the model in a "Bimodal" setup (where each location only has coordinates and one random auxiliary modality) retained 99.35% of the performance of a model trained on complete data pairs. This allows researchers to pretrain GeoFMs using massive, unaligned, heterogeneous datasets.
  • RFF vs. Spherical Harmonics: The authors demonstrate that Random Fourier Features (RFF) are vastly superior to Spherical Harmonics for urban tasks because they successfully capture high-frequency, intra-city spatial variations rather than smoothing them out.

Key Results

  • Coordinate-Only Spatial Encoding: When generating embeddings purely from raw coordinates, UrbanFusion outperformed all baselines on 5 out of 8 datasets. On ZIP code tasks, it achieved a weighted $R^2$ score of 74.3%, beating GeoCLIP (67.1%) and SatCLIP (54.4%).
  • Zero-Shot Cross-Regional Generalization: When evaluated on cities completely unseen during training (using only non-coordinate modalities at inference), UrbanFusion ranked first on 5 out of 6 tasks, proving its strong geographic transferability.
  • Computational Efficiency: UrbanFusion achieves an inference time of 6.57 ms on an NVIDIA RTX 3090, making it roughly 80× faster than SatCLIP-L40, which is bogged down by expensive spherical harmonic calculations.
Visual comparison of location embeddings grouped into 10 clusters using k-means.

Limitations and Future Work

Despite its strong performance, UrbanFusion has a few limitations:

  • Temporal Mismatch: The dataset lacks strict temporal alignment; satellite imagery, street views, and POI data might be captured in slightly different years.
  • Urban Bias: The model is explicitly optimized for point- and postal-code-level data in dense urban environments, meaning its representations may not transfer well to rural or regional ecological scales.

Future Directions: The authors plan to incorporate temporal sequences (e.g., satellite video) to track urban growth and expand the framework to include dynamic modalities like mobility traces and social media feeds.

Summary updated

BibTeX
@inproceedings{muhlematter2026urbanfusion,
  author = {Dominik J. Mühlematter and Lin Che and Ye Hong and Martin Raubal and Nina Wiedemann},
  title = {{UrbanFusion: Stochastic Multimodal Fusion for Contrastive Learning of Robust Spatial Representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=C0NCLB6ZGY},
}
Figure