S3: A Spectral-Spatial Structure Loss for Pan-Sharpening Networks

Jae-Seok Choi, Yongwoo Kim, Munchurl KimarXiv 2019 · DOI

TL;DR

Pan-sharpening networks often suffer from ghosting and double-edge artifacts due to pixel misalignments between high-resolution panchromatic (spatial) and low-resolution multispectral (spectral) satellite images. This paper introduces the Spectral-Spatial Structure ($S^3$) loss, a plug-and-play loss function that leverages local correlation maps to dynamically balance spectral and spatial details during training. By selectively penalizing misalignments, $S^3$ drastically reduces visual artifacts across various state-of-the-art convolutional neural network (CNN) architectures without requiring any changes to the network structures themselves.

What Problem Does This Paper Address?

Satellite imaging systems typically capture two distinct types of images of the same area: a high-resolution, black-and-white panchromatic (PAN) image and a low-resolution, color multispectral (MS) image. Pan-sharpening is the process of fusing these two inputs to generate a single high-resolution color image.

Recently, deep learning models have significantly advanced pan-sharpening quality. However, because PAN and MS sensors have different physical characteristics and capture data at slightly different times, the input pairs often suffer from pixel misalignments—especially around high-contrast building edges and moving objects like cars.

Conventional CNNs are trained by simply minimizing the spectral reconstruction error (e.g., $L_2$ loss) between the network output and the MS target. When faced with misaligned training data, these networks try to force a blurry compromise, leading to severe visual degradation such as double-edge artifacts on buildings and ghosting/halos around moving objects.

Methods

The authors propose the Spectral-Spatial Structure ($S^3$) loss to replace or augment standard reconstruction losses. The core framework is illustrated below:

A framework for CNN-based pan-sharpening with the proposed S3 loss.

The key innovation is a non-trainable correlation map ($S$) computed dynamically using a $31 \times 31$ local moving window between the PAN input and a grayscale version of the MS target. The $S^3$ loss is composed of two complementary terms:

  1. Spectral Loss ($L_c$): This measures the $L_1$ error between the network output and the MS target, but weights it directly by the correlation map $S$. Consequently, the network heavily penalizes color distortions only in regions where the PAN and MS images are well-aligned and highly correlated.
  2. Spatial Loss ($L_a$): This minimizes the difference between the normalized gradient maps of the network output and the PAN input. It is weighted by $(2 - S)$, which forces the network to strictly rely on the PAN image's sharp spatial structure in areas where the MS and PAN images are uncorrelated (such as misaligned boundaries or moving objects).

Because it is purely a loss function, $S^3$ can be seamlessly integrated into existing state-of-the-art architectures like PanNet, DSen2, and BDPN.

Datasets

The networks were trained and evaluated on three distinct satellite datasets:

  • WorldView-3 (WV3): Sourced from the SpaceNet Challenge dataset, featuring $0.3\text{ m}$ ground sample distance (GSD) for PAN and $1.2\text{ m}$ for MS images. This served as the primary dataset for quantitative benchmarking.
  • WorldView-2 (WV2): Comprising $0.5\text{ m}$ PAN and $2.0\text{ m}$ MS images, used to verify robustness.
  • KOMPSAT-3A (K3A): Comprising $0.7\text{ m}$ PAN and $2.8\text{ m}$ MS images, used for additional generalization testing.

Key Insights and Ideas

  • Standard Metrics Can Mislead on Misaligned Data: Traditional metrics like ERGAS measure spectral distortion against a potentially shifted target. A model that perfectly aligns an object spatially might receive a worse standard ERGAS score because it doesn't match the misaligned color target's exact pixel coordinates.
  • Introduction of n-ERGAS: To address this evaluation flaw, the authors introduced n-ERGAS, a translation-invariant variant inspired by super-resolution challenges. It computes ERGAS over a $\pm6$-pixel translation window and selects the best score, providing a fairer assessment of spectral quality on real-world data.
  • Anisotropic Loss Application: Instead of treating the image uniformly, the correlation map acts as an unsupervised spatial guide, telling the network exactly when to trust the color target (high correlation) versus when to rely on the structural PAN input (low correlation).

Key Results

Quantitative Performance

When applied to baseline networks (PanNet, BDPN, DSen2), the $S^3$ loss dramatically improved the Spatial Correlation Coefficient (SCC), boosting spatial fidelity scores from $\sim0.64\text{--}0.73$ up to $\sim0.95$. While standard ERGAS scores initially appeared higher (worse), the translation-invariant n-ERGAS scores confirmed that $S^3$-optimized networks actually achieved superior spectral alignment by successfully correcting for pixel shifts.

Qualitative Performance

As shown in the visual comparisons below, standard networks trained with conventional losses create prominent ghosting artifacts and unnatural blue halos around moving vehicles. In contrast, networks trained with the $S^3$ loss reconstruct highly sharpened edges, clean roads, and well-defined vehicles with significantly suppressed artifacts.

Pan-sharpening results at the original scale using various methods on the WorldView-3 dataset.

Limitations and Future Work

The authors note that while ghosting and double edges are drastically reduced, some minor spectral artifacts remain slightly visible around fast-moving cars. This indicates that a purely correlation-based masking approach has minor limitations when dealing with extreme local motion. The authors suggest that future work could explore combining this structural loss with explicit, learnable alignment or optical flow mechanisms to completely eliminate edge-case motion artifacts.

Summary updated

BibTeX
@misc{choi2019s,
  author = {Jae-Seok Choi and Yongwoo Kim and Munchurl Kim},
  title = {{S3: A Spectral-Spatial Structure Loss for Pan-Sharpening Networks}},
  year = {2019},
  eprint = {1906.05480},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.05480},
}

Loading related content...

Figure