CoDEx: Combining Domain Expertise for Spatial Generalization in Satellite Image Analysis
Abhishek Kuriyal, Elliot Vincent, Mathieu Aubry, Loic Landrieu
TL;DR
CoDEx addresses spatial domain shifts in satellite imagery by training $D$ domain-specific experts with a shared backbone and enforcing cross-domain consistency via a learnable affinity matrix $a obracket obreakin obreakin \\mathbb{R}^{D\times D}$ whose row-wise softmax excludes the diagonal. A separate domain-expert selection head predicts aggregation weights, enabling test-time mixtures without target-domain fine-tuning and using losses $ ext{L}_{ ext{domain}}$, $ ext{L}_{ ext{con}}$, $ ext{L}_{ ext{acc}}$, and $ ext{L}_{ ext{mix}}$ to guide learning. The framework is evaluated on DynamicEarthNet, MUDS, OSCD, and FMoW across segmentation, change detection, and classification, consistently outperforming domain-adaptation and domain-generalization baselines. By learning domain similarity and aggregating expert predictions, CoDEx achieves robust spatial generalization with modest test-time overhead and publicly releases its code for reproducibility and practical deployment.
Abstract
Global variations in terrain appearance raise a major challenge for satellite image analysis, leading to poor model performance when training on locations that differ from those encountered at test time. This remains true even with recent large global datasets. To address this challenge, we propose a novel domain-generalization framework for satellite images. Instead of trying to learn a single generalizable model, we train one expert model per training domain, while learning experts' similarity and encouraging similar experts to be consistent. A model selection module then identifies the most suitable experts for a given test sample and aggregates their predictions. Experiments on four datasets (DynamicEarthNet, MUDS, OSCD, and FMoW) demonstrate consistent gains over existing domain generalization and adaptation methods. Our code is publicly available at https://github.com/Abhishek19009/CoDEx.
