CoST: Semantic-Aware Urban Understanding via Spatial-Temporal Alignment
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Yutian Jiang∗
Jiabo Liu∗
yjiang194@connect.hkust-gz.edu.cn The Hong Kong University of Science and Technology (Guangzhou) Guangzhou, China
jliu933@connect.hkust-gz.edu.cn The Hong Kong University of Science and Technology (Guangzhou) Guangzhou, China
Xixuan Hao
Yuxuan Liang✉
xhao390@connect.hkust-gz.edu.cn The Hong Kong University of Science and Technology (Guangzhou) Guangzhou, China
yuxliang@outlook.com The Hong Kong University of Science and Technology (Guangzhou) Guangzhou, China
Abstract Geospatial representation learning from satellite imagery is a fundamental problem for large-scale urban analysis and real-world applications. Despite recent advances, current methods struggle with cross-region generalization and semantic interpretability due to their reliance on region-specific auxiliary data and the neglect of semantic alignment within multi-temporal urban imagery. Therefore, we present CoST, a novel Contrastive-based Spatial-Temporal framework that aligns spatial context with multi-temporal semantics to extract universal geographic regularities shared across regions. Specifically, CoST explicitly models spatial correlations to capture transferable geographic structures and exploits multi-year urban change semantics to align learned representations with highlevel geo-semantics. Extensive experiments demonstrate that CoST consistently achieves superior performance across various downstream tasks and in unseen scenario, yielding an average relative gain of 8.7% over the strongest competing methods across eight city-indicator settings. The code is available in this repo.
CCS Concepts • Information systems → Multimedia information systems.
Keywords Remote Sensing, Contrastive Learning, Urban Indicator Prediction ACM Reference Format: Yutian Jiang, Jiabo Liu, Xixuan Hao, and Yuxuan Liang. 2026. CoST: Semantic-Aware Urban Understanding via Spatial-Temporal Alignment. In Proceedings of the 35th ACM International Conference on Information and Knowledge Management (CIKM ’26), November 07–11, 2026, Rome, Italy. ACM, New York, NY, USA, 12 pages. https://doi.org/10.1145/3799682.3841155 ∗ Yutian Jiang and Jiabo Liu contributed equally to this research.
This work is licensed under a Creative Commons Attribution 4.0 International License. CIKM ’26, Rome, Italy © 2026 Copyright held by the owner/author(s). ACM ISBN 979-8-4007-2539-5/2026/11 https://doi.org/10.1145/3799682.3841155
Satellite Imagery
POI
DISTANT
Auxiliary Data
arXiv:2608.21041v1 [cs.CV] 21 Aug 2026
CoST: Semantic-Aware Urban Understanding via Spatial-Temporal Alignment
Domain Gap
Mobility
Encoder
building road
Region A
Overfitting to house local context
house
(b) Generalizability
road
tree
Region B
Self-supervised Learning Fine-grained features Semantic
Gap
Urban Land-use Socio-economic Perception Classification Prediction
(a) Geospatial Representation
Low-level Visual Textures
Ignoring directional semantic nuances
Urbanization High-level Geo-semantics
(c) Interpretability
Figure 1: Geospatial representation and its challenges.
1
Introduction
Geospatial representation learning aims to project multi-source data into a unified latent space, effectively capturing intrinsic spatial correlations and temporal dynamics to facilitate robust urban understanding [35]. As illustrated in Figure 1 (a), a meaningful geospatial representation should capture not only local visual patterns but also the higher-level geographic regularities that shape urban structure and its evolution over time [14]. The learned geospatial representations can support a wide range of downstream applications, such as urban perception and socio-economic assessment [31]. Moreover, the quality of these representations fundamentally determines their ability to generalize and transfer across diverse geographic regions and tasks. Therefore, learning transferable and semantically meaningful geospatial representations has become a core problem in data-driven urban system understanding [44]. Recently, satellite imagery has emerged as a primary modality for geospatial representation learning that provides large-scale, geographically consistent observations of the Earth’s surface [11]. Existing research on satellite-based representation learning generally follows two paradigms: (1) Multimodal Semantic Alignment, which incorporates socio-economic semantics by aligning satellite imagery with auxiliary data, such as POIs [16, 28] or mobility data [41, 43]. While effective for region-specific profiling and real-world
CIKM ’26, November 07–11, 2026, Rome, Italy
socio-economic prediction, these methods depend heavily on external data sources whose availability, quality, and distribution vary substantially across cities and countries, which limits scalability and weakens transferability. (2) Self-supervised Visual Pre-training, which focuses on extracting visual features by mining invariant textural patterns directly from raw imagery. Although such methods produce strong visual encoders for low-level tasks, they primarily emphasize appearance consistency and texture discrimination, with limited explicit grounding in high-level geo-semantics. As a result, the learned features are often effective as visual descriptors but less informative for semantically demanding urban analysis. These limitations are not independent, pointing to a more fundamental gap in current geospatial representation learning: a representation should generalize across regions with different visual styles, development patterns, and functional compositions, while also remaining semantically interpretable enough to reflect meaningful urban transitions. This leads to two central challenges in learning universal geospatial representations: (i) generalization under cross-region distribution shifts, and (ii) semantic interpretability under weak supervision. • Cross-region Generalization. Cross-region transfer remains a key challenge in urban representation learning [11, 13, 46]. Methods relying on auxiliary signals, such as points of interest (POIs) or mobility data, suffer from limited generalization due to substantial distributional discrepancies across cities, causing learned representations to become entangled with region-specific characteristics. A model trained in one source city may therefore suffer severe performance degradation when transferred to visually and functionally dissimilar cities, or when deployed on downstream tasks that differ from those seen during training. As shown in Figure 1 (b), models trained on dense metropolitan environments such as New York City may struggle to generalize to suburban regions because their representations become biased toward cityspecific distributions. Moreover, current multimodal approaches require data recollection and model retraining for each new region [8], highlighting the need for representations that capture transferable geographic structures rather than region-specific correlations. • Semantic Interpretability. Multi-temporal satellite imagery naturally contains rich semantic transition cues across time and space. Such transitions vary across locations (e.g., land → road versus land → building) and exhibit temporal continuity at the same location, such as land → road → building. Modeling these dynamic visual patterns together with explicit geo-semantics is therefore critical for learning interpretable geospatial representations. Yet this remains difficult because dense semantic annotations over long temporal horizons are scarce. Although prior work has incorporated temporal information, most existing methods reduce temporal variation to a binary change/no-change signal, which provides only weak supervision and fails to characterize the underlying semantic transitions. As a result, the learned representations are ambiguous and lack semantic interpretability, as illustrated in Figure 1(c). To bridge the gap, we propose CoST, a novel Contrastive-based Spatial-Temporal framework for geospatial representation, which couples space and time for cross-region generalization and semantic
Jiang, Liu, Hao, and Liang
interpretability. The key idea is that robust urban representations should be shaped by local spatial proximity and temporal consistency of semantic transitions in neighboring regions. To improve cross-region generalization, CoST introduces a spatial neighborhood modeling strategy inspired by Tobler’s First Law of Geography [30], which posits that geographic proximity implies semantic similarity. This strategy preserves local continuity while remaining sensitive to instance discrimination, enabling the model to capture invariant spatial structures shared across diverse urban environments. To enhance semantic interpretability, CoST treats multitemporal imagery as a semantic pretext through encoding temporal dynamics with embeddings that capture both the semantic type and change extent of transitions, providing richer semantic supervision than binary change detection and enabling more interpretable representations. Finally, CoST introduces a spatial-temporal alignment mechanism that enforces consistency among neighboring regions exhibiting similar change trajectories, thereby linking spatial similarity with temporal semantics and improving the coherence of the learned representation space. Overall, the contributions can be summarized as follows: • We propose CoST, a unified framework for learning geospatial representations from satellite imagery by jointly modeling spatial neighborhood structure and temporal semantic transitions, with the goal of improving both cross-region generalization and semantic interpretability. • We introduce three complementary components: spatial neighborhood modeling to capture transferable local geographic structure, temporal semantic guidance to encode multi-year semantic transitions with both change type and change extent, and spatialtemporal alignment to couple spatial proximity with temporal consistency in a shared latent space. • We curate a spatial-temporal aligned satellite imagery dataset spanning 11 years and multiple major cities, and conduct extensive experiments across cross-city and cross-task settings. The results show that CoST consistently outperforms strong baselines and yields more semantically structured embeddings for urban analysis.
2
Related Works
Multimodal Alignment. This line of research learns urban or regional representations by injecting external semantic knowledge into satellite imagery through feature fusion or cross-modal alignment [49]. The core idea is that auxiliary modalities such as POIs, human mobility, and textual descriptions provide complementary semantics about land use, human activity, and urban dynamics [15]. Representative studies align satellite imagery with POI semantics [18, 37], mobility patterns [17, 42], or graph-structured urban context [1, 34, 48] to learn semantically enriched region embeddings. More recent methods further adopt contrastive alignment objectives to associate satellite imagery with textual or functional descriptions, improving region profiling and urban indicator prediction [3, 21, 39]. Despite their strong performance, these methods fundamentally depend on auxiliary data sources whose coverage and quality vary substantially across cities. As a result, their learned
CoST: Semantic-Aware Urban Understanding via Spatial-Temporal Alignment
representations are entangled with region-specific external knowledge, which limits scalability and weakens transferability to new regions where such signals are sparse, noisy, or unavailable. Visual Pre-training. Visual pre-training aims to learn generic representations directly from images. Recent geospatial foundation models exploit self-supervised objectives such as contrastive learning and masked image modeling to capture invariant visual patterns from large-scale image data. Contrastive approaches learn instance discrimination and augmentation invariance from raw imagery, while Masked Autoencoder (MAE) based methods reconstruct missing image patches to model local texture and spatial structure. Representative examples include SatMAE [5], SatMAE++ [22], and ScaleMAE [24], which have shown strong transferability across land-usage classification or segmentation tasks. However, their training signals are usually defined by visual consistency within imagery itself, without explicitly constraining the representation space to reflect urban semantics. Despite learning powerful generic visual features, these methods typically produce embeddings that are less structured for high-level urban understanding and socioeconomic inference. Spatial-Temporal Modeling. Temporal imagery provides a natural signal for modeling the inherent dynamics of urban regions. Contrastive learning approaches [19, 20] learn temporal invariance by treating observations from different dates as related views, improving robustness for downstream visual tasks, and MAE-based methods [9] incorporate multi-temporal observations to enhance large-scale visual understanding. Recent studies in geospatial foundation modeling, such as Prithvi [29], also show that temporal stacks can substantially improve adaptation across different tasks by pre-training over multi-temporal satellite sequences. Nevertheless, most existing temporal methods still treat geospatial tiles as isolated instances, overlooking the coupling of spatial-temporal dimensions. This oversight causes a disconnect between low-level visual textures and high-level geospatial semantics, leading to a performance trade-off: models may excel at low-level vision tasks but struggle with socio-economic inference. Consequently, they fail to achieve a unified representation space that is robust for various downstream applications.
3 Methodology 3.1 Preliminaries Satellite Image. We formally define geospatial representation learning from satellite imagery. Let D = {𝐼𝑖,𝑡 } denote a collection of satellite images, where 𝑖 ∈ {1, . . . , 𝑁 } indexes discrete geospatial regions and 𝑡 ∈ T = {1, . . . ,𝑇 } indexes time. For a given region 𝑖, a satellite image observed at time 𝑡 is denoted as 𝐼𝑖,𝑡 ∈ R𝐻 ×𝑊 ×𝐶 , where 𝐻 and𝑊 are the image height and width, and 𝐶 is the number of channels. Accordingly, the multi-temporal satellite observations of region 𝑖 are represented as a sequence X𝑖 = {𝐼𝑖,1, 𝐼𝑖,2, . . . , 𝐼𝑖,𝑇 } over the temporal period T . Geospatial Regions. Each satellite tile is associated with a geographic coordinate l𝑖 ∈ R2 . Based on geographic distance, we define the spatial neighborhood of region 𝑖 as N𝑖 = { 𝑗1, 𝑗2, . . . , 𝑗𝐾 }, where each 𝑗𝑘 denotes one of its 𝐾 nearest neighboring regions. Therefore, each sample is characterized by both its temporal observations
CIKM ’26, November 07–11, 2026, Rome, Italy
X𝑖 and its spatial context N𝑖 . This formulation provides the basic spatial-temporal structure used in our framework. Problem Statement. Given a satellite tile 𝐼𝑖,𝑡 , the goal is to learn a generalizable visual encoder E𝜃 that maps it to a representation vector z𝑖,𝑡 = E𝜃 (𝐼𝑖,𝑡 ) ∈ R𝑑 . During pre-training, the encoder is optimized without downstream labels. After pre-training, the encoder is transferred to downstream tasks with frozen representations, and a lightweight task-specific head H𝜙 is trained to produce predictions 𝑦ˆ𝑖,𝑡 = H𝜙 (z𝑖,𝑡 ). For temporal downstream tasks, the head can further operate on the representation sequence Z𝑖 = {z𝑖,1, . . . , z𝑖,𝑇 }. The objective is to learn transferable geospatial representations that support diverse downstream tasks across regions.
3.2
Overview
Figure 2 presents the overall paradigm of CoST, a unified spatialtemporal representation learning framework designed to learn geospatial embeddings that are both transferable across regions and semantically interpretable for urban analysis. Rather than modeling satellite tiles as isolated visual instances, CoST jointly exploits two inherent structures of urban observations: spatial dependency across neighboring regions and temporal evolution within the same region over time. To this end, the framework consists of three complementary components. First, spatial neighborhood modeling captures local geographic dependency by encouraging semantically related neighboring regions to form consistent representations, thereby improving cross-region generalization. Second, temporal semantic guidance introduces supervision from multi-temporal urban changes, enabling the encoder to distinguish not only whether a region changes, but also the semantic direction and magnitude of such change. Third, spatial-temporal alignment couples the above two views by constraining neighboring regions with similar temporal transition patterns to remain aligned in the latent space, yielding a more coherent representation structure. After pre-training, the learned encoder is transferred to multiple downstream tasks with lightweight task-specific heads, including socio-economic indicator prediction, land-use classification, and change detection.
3.3
Spatial Neighborhood Modeling
Standard contrastive learning treats regions as independent instances, ignoring that geographically proximate areas share underlying environmental contexts [12]. To improve generalization across heterogeneous landscapes, we explicitly model spatial structure by aggregating nearby regions into coherent neighborhoods, following Tobler’s First Law of Geography [30]. Formally, for each anchor 𝐼𝑖 , we define a spatial neighborhood N𝑖 = {𝐼𝑛1 , 𝐼𝑛2 . . . , 𝐼𝑛𝑘 } consisting of its 𝑘 nearest geographic neighbors. Within a batch, we consider two types of positive signals: the instance-level positive 𝑖 + and neighborhood-level positives drawn from N𝑖 . To incorporate this hierarchical structure into the representation space, we construct a target distribution Q𝑖 to serve as a supervisory signal. For each sample 𝑗, we assign a target score 𝑞𝑖,𝑗 that reflects its spatial proximity to the anchor 𝐼𝑖 : 1, 𝑞𝑖,𝑗 = 𝜖, 0,
if 𝑗 = 𝑖 + if 𝑗 ∈ N𝑖 , otherwise
(1)
CIKM ’26, November 07–11, 2026, Rome, Italy
Spatial Neighborhood Modeling
Jiang, Liu, Hao, and Liang
Temporal Semantic Guidance
Spatial-Temporal Alignment
𝑔𝑟𝑜𝑢𝑝(
𝑔𝑟𝑜𝑢𝑝" 𝐶𝑜𝑜𝑟(
𝐶𝑜𝑜𝑟)
𝐶𝑜𝑜𝑟*
$
𝐶𝑜𝑜𝑟" %
𝐶𝑜𝑜𝑟"
𝓛𝒔𝒐𝒇𝒕𝒄𝒆
𝓛𝒋𝒐𝒊𝒏𝒕
𝓛𝒔𝒎𝒐𝒐𝒕𝒉
𝓛𝒊𝒏𝒇𝒐𝒏𝒄𝒆
…
… 𝐶𝑜𝑜𝑟"
Pre-training and Fine-tuning
𝑡 + 𝛿𝑡
𝑡
$
$
𝐶𝑜𝑜𝑟" &
𝐶𝑜𝑜𝑟"
𝐶𝑜𝑜𝑟" '
$
𝐶𝑜𝑜𝑟" %
$
𝐶𝑜𝑜𝑟( %
𝐶𝑜𝑜𝑟(
Pre-training
𝓛𝒔
𝑎"
𝑔
𝑔"
𝛿𝑐ℎ𝑎𝑛𝑔𝑒"
𝛿𝑐ℎ𝑎𝑛𝑔𝑒(
𝓛𝑻𝟐
Text Encoder
𝑎 𝑔
Year
𝓛𝑺𝑻
Label Emb
𝑐𝑙𝑠"
𝑐𝑙𝑠# 𝑐𝑙𝑠!
Scene Change Classification Detection
Soft Label
…
%
𝑐𝑙𝑠"
%
% %
%
𝑐𝑙𝑠#
%
%
%
𝑐𝑙𝑠!
𝑡, 𝑡 + 1
𝑡 + 1, 𝑡 + 2
𝑡 + 2, 𝑡 + 𝛿𝑡
pull closer
𝑐𝑙𝑠"
push partially
…
%
Indicator Prediction
Legend
Aggregation
…
Binary Mask CLS Mask
SAM
Soft Label weighted
…
SAC
𝑎 𝑎$ 𝑎$ 𝑎$
𝑎 𝑎$ 𝑎$ 𝑎$
…
… 𝑡 + 𝛿𝑡
𝑙𝑎𝑏𝑒𝑙+(+-#)
Temporal similarity
𝓛𝑻𝟏
Soft 𝑡
𝑎"
𝑎
Similarity
𝑙𝑎𝑏𝑒𝑙#
Spatial similarity
𝑎" 𝑙𝑎𝑏𝑒𝑙+
Cumulative Ratio
𝑛!
𝑎 𝑙𝑎𝑏𝑒𝑙#
Ratio Calculation
𝑔!
𝑎"!
𝑙𝑎𝑏𝑒𝑙#
Similarity
𝑎
𝑎
𝑐𝑙𝑠#
%
𝑎
𝑎
Fine-tune Head
Vision Encoder
%
𝑎
Vision Encoder
%
Vision Encoder
𝑐𝑙𝑠!
push apart
𝑎
anchor
𝑔
group tile
𝑎8
temporal tile
𝑛
negative
Figure 2: Overall framework of the proposed CoST, aligning geographical neighborhood structures with multi-year urban change semantics to learn generalizable and interpretable geospatial representations for various urban analysis tasks. where 𝑖 + denotes the augmented view of the anchor, and 𝜖 ∈ (0, 1) modulates the strength of spatial supervision. This distribution reflects a hierarchy in which the anchor itself provides the primary learning signal, while spatial neighbors offer auxiliary supervision to capture shared contexts. Instead of using a one-hot target, the model is trained to align its predicted similarity distribution with this target distribution Q𝑖 by minimizing the following spatial loss: exp(z𝑖 · z 𝑗 /𝜏) L𝑠 = − 𝑞𝑖,𝑗 · log Í , 𝑘 ∈ B exp(z𝑖 · z𝑘 /𝜏) 𝑗∈B ∑︁
Grounded SAM
2010 Satellite Imagery
(2)
Temporal Semantic Guidance
Visual representations learned solely from pixel-level reconstruction or discrimination lack alignment with high-level geo-semantics because they prioritize low-level textures over functional meaning [26]. This limitation is pronounced in multi-temporal satellite imagery, which contains rich semantic transitions (Figure 1). Although explicit labels are unavailable during pre-training, these historical transitions provide semantic supervision. Therefore, we propose Temporal Semantic Guidance, which encourages the distance between temporal representations z𝑡 and z𝑡 +𝛿𝑡 to reflect both the extent and type of actual urban changes. This constraint organizes the embedding space along meaningful semantic directions, enabling interpretable, high-level geo-semantic representations. 3.4.1 Cumulative Semantic Signal Construction. Before pretraining, we derive a semantic change metric in three steps: (1)
Segment Any Change
LABELS
2018 Satellite Imagery
3.4
Geospatial Entity Extraction
Grounded SAM
where B denotes the batch, z represents the normalized embedding, and 𝜏 is the temperature parameter. This objective encourages geographically proximate regions to be embedded nearby, preserving shared spatial semantics and improving transferability to unseen regions.
LABELS Tree Building Road River …
Tree Building Road River …
Change Detection Change Mask with Labels
Geospatial Entity Extraction
Figure 3: Joint modeling spatial and temporal dimensions from the perspectives of spatial proximity and temporal heterogeneity.
extract visual entities with vision foundation models, (2) accumulate intermediate urban transitions, and (3) project these transitions into a semantic latent space. Pseudocode is provided in Appendix B. Step 1: Yearly change extraction. For a geospatial tile observed in year 𝑡, we first generate a semantic map S𝑡 ∈ R𝐻 ×𝑊 over land-use classes C (e.g., vegetation, water, buildings) using Grounded-SAM [25]. Based on the detected change regions, we compute a yearly semantic change vector 𝝆 (𝑡,𝑡 +1) ∈ R | C | that quantifies the proportion of change for each semantic category. For each category 𝑐 ∈ C, the change ratio is obtained by measuring the overlap between the semantic map and the binary change mask, and normalizing by the total pixel area |Ω|, as shown in Eq 3: 1 ∑︁ 𝜌𝑐(𝑡,𝑡 +1) = Selector𝑐 (S𝑡 (𝑝)) · M (𝑡,𝑡 +1) (𝑝) , (3) |Ω| 𝑝 ∈Ω where Ω denotes the pixel space, 𝑝 denotes the pixel, and Selector𝑐 (·) denotes the selected mask for category 𝑐. Step 2: Semantic Accumulation. Urban region change is a continuous and cumulative process, where intermediate states contain
CoST: Semantic-Aware Urban Understanding via Spatial-Temporal Alignment
CIKM ’26, November 07–11, 2026, Rome, Italy
crucial information (e.g., barren → construction → building), while direct comparison between two time points misses these nuances and results in high computational complexity O (𝑇 2 ). To capture the total semantic changes over an arbitrary time interval [𝑡, 𝑡 +𝛿𝑡], we aggregate the yearly change vectors 𝝆 (𝑡,𝑡 +1) to model intermediate transitions, with linear complexity O (𝑇 ), obtaining the cumulative change vector 𝝆 (𝑡,𝑡 +𝛿𝑡 ) , as shown in Eq. 4: 𝝆 (𝑡,𝑡 +𝛿𝑡 ) =
𝑡 +𝛿𝑡 ∑︁−1
𝝆 (𝑘,𝑘+1) ,
(4)
𝑘=𝑡
Step 3: Semantic Projection. To bridge the gap between low-level pixels and high-level semantics, we project this cumulative change vector into a semantic latent space to represent the accumulative semantic change magnitude. Let C ∈ R | C | ×𝑑 denote the class embeddings generated by a frozen text encoder [7]. We compute the change embedding e (𝑡,𝑡 +𝛿𝑡 ) by performing a weighted aggregation of class embeddings based on their change ratios: e (𝑡,𝑡 +𝛿𝑡 ) = 𝝆 (𝑡,𝑡 +𝛿𝑡 ) · C ∈ R𝑑 .
(5)
3.4.2 Dual-Objective Temporal Optimization. To make embedding distances reflect the direction and magnitude of real-world semantic changes, we use a dual-objective strategy. It aligns feature similarities with quantitative change signals while preserving instance discrimination for stable training. 1) Temporal Semantic Alignment. To enhance interpretability, we constrain the latent distance between two temporal views z𝑡 and z𝑡 +𝛿𝑡 to be aligned with the cumulative semantic change magnitude ∥e (𝑡,𝑡 +𝛿𝑡 ) ∥ 2 . Therefore, we define a soft label 𝑦𝑖,𝑗 ∈ (0, 1) for each temporal pair based on the norm of change embeddings, using a hyperbolic tangent function to map change embeddings into a similarity space: 𝑦𝑖,𝑗 = 1 − tanh(∥e (𝑡,𝑡 +𝛿𝑡 ) ∥ 2 ).
(6)
The soft label 𝑦𝑖,𝑗 defines the target similarity: 𝑦𝑖,𝑗 ≈ 1 indicates temporal stability and pulls the representations closer, whereas 𝑦𝑖,𝑗 → 0 indicates substantial change and pushes them apart. We align visual similarity with these labels using the binary crossentropy objective in Eq. 7. Consequently, latent distances reflect the magnitude of real-world semantic changes. ∑︁ L𝑇1 = − 𝑦𝑖,𝑗 log 𝜎 (z𝑖 · z 𝑗 /𝜏) (𝑖,𝑗 ) ∈ P
+ (1 − 𝑦𝑖,𝑗 ) log(1 − 𝜎 (z𝑖 · z 𝑗 /𝜏)) .
(7)
2) Temporal Instance Discrimination. To ensure robust learning, representations should maintain instance-level discriminability and stability. Empirical evidence indicates that training solely with a BCE-style objective leads to instability and slow convergence [47], and this issue is exacerbated by noise in the foundation modelderived embeddings e. Thus, we introduce the InfoNCE loss [38] to leverage stable and discriminative gradients, thereby ensuring reliable convergence. In this contrastive task, for an anchor z𝑖 , the positive sample z𝑖+ is selected via augmentation to enforce representation invariance. Crucially, weo introduce a set of temporal n ′
− | ∥e (𝑡,𝑡 ) ∥ ≠ 0 , representing the same locanegatives Z𝑖− = z𝑖,𝑡 ′ 2 tion at different time steps but exhibiting distinct semantic changes.
By contrasting against these hard temporal negatives, the model is compelled to recognize significant urban changes. This objective is minimized by: B ∑︁ exp ⟨z𝑖 , z𝑖+ ⟩ Í . (8) L𝑇2 = − log exp ⟨z𝑖 , z𝑖+ ⟩ + Z − exp ⟨z𝑖 , z𝑖− ⟩ 𝑖=1 𝑖
The integration of Temporal Semantic Alignment and Temporal Instance Discrimination establishes a structurally robust representation space, enabling the model to learn discriminative features with faithful semantics.
3.5
Spatial-Temporal Alignment
While Spatial Neighborhood Modeling enhances generalization by capturing spatial correlations and Temporal Semantic Guidance improves interpretability by characterizing semantic shifts, optimizing them independently may introduce false positives in the embedding space. In real-world urban systems, visually similar regions may possess distinct latent semantics, which are only revealed through long-term urban development rather than static observation. An inherent dependency therefore exists: spatial similarity should be conditioned on whether regions exhibit consistent semantic changes over time, while modeling spatial and temporal dimensions in isolation overlooks this dependency. To resolve this, we propose the Spatial-Temporal Alignment as a corrective mechanism that refines spatial similarity using temporal semantic changes. Specifically, for a given anchor 𝐼𝑖 , we identify its most similar neighbor 𝐼 𝑗 ∈ N𝑖 based on cosine similarity, i.e., 𝑗 = arg max 𝑗 ∈ N𝑖 z𝑖 · z 𝑗 . We then identify the timestamp 𝑡 ′ with the maximal semantic divergence from the current state and construct normalized seman′ ′ tic change vectors 𝚫𝑖 = norm(z𝑖 − z𝑖𝑡 ) and 𝚫 𝑗 = norm(z 𝑗 − z𝑡𝑗 ). Spatial similarity is penalized when these change directions are misaligned, thereby encouraging discrimination between visually similar but semantically divergent regions (Eq. 9). L𝑠𝑡 =
3.6
1 ∑︁ (1 − ⟨𝚫𝑖 , 𝚫 𝑗 ⟩) · ⟨z𝑖 , z 𝑗 ⟩. |B| 𝑖 ∈ B
(9)
Pre-training & Fine-Tuning
Pre-training Stage. CoST adopts a contrastive learning framework for pre-training, initialized from scratch. The encoder E is optimized via a weighted multi-objective loss: Lpretrain = 𝛼 LS + 𝛽 1 LT1 + 𝛽 2 LT2 + 𝛾 LST,
(10)
where the coefficients 𝛼, 𝛽 1 , 𝛽 2 , and 𝛾 are tuned via grid search to balance the training objectives. Jointly modeling spatial and temporal dynamics yields generalizable and interpretable representations. Fine-Tuning Stage. We adopt a linear probing strategy where the pre-trained encoder remains frozen. We attach the lightweight task-specific heads to evaluate the representations across three downstream tasks: • Static Indicator Prediction. For socio-economic indicator prediction from a single target year, the target representation z𝑇 is fed into an MLP regression head: 𝑦ˆ = MLPreg (z𝑇 ).
(11)
CIKM ’26, November 07–11, 2026, Rome, Italy
Jiang, Liu, Hao, and Liang