[Paper Review] The Spatially-Correlative Loss for Various Image Translation Tasks
This paper proposes F/LSeSim, a novel spatially-correlative loss that preserves scene structure during unpaired image-to-image translation by modeling self-similarity patterns within images, independent of appearance. The method achieves state-of-the-art performance across single-modal, multi-modal, and single-image translation tasks by learning domain-invariant spatial correlations through contrastive learning, outperforming cycle-consistency and feature-matching baselines in structure fidelity and diversity.
We propose a novel spatially-correlative loss that is simple, efficient and yet effective for preserving scene structure consistency while supporting large appearance changes during unpaired image-to-image (I2I) translation. Previous methods attempt this by using pixel-level cycle-consistency or feature-level matching losses, but the domain-specific nature of these losses hinder translation across large domain gaps. To address this, we exploit the spatial patterns of self-similarity as a means of defining scene structure. Our spatially-correlative loss is geared towards only capturing spatial relationships within an image rather than domain appearance. We also introduce a new self-supervised learning method to explicitly learn spatially-correlative maps for each specific translation task. We show distinct improvement over baseline models in all three modes of unpaired I2I translation: single-modal, multi-modal, and even single-image translation. This new loss can easily be integrated into existing network architectures and thus allows wide applicability.
Motivation & Objective
- To address the limitation of existing unpaired image translation methods in preserving scene structure during large appearance changes.
- To decouple scene structure from domain-specific appearance by learning domain-invariant spatial correlations.
- To develop a simple, efficient, and generalizable loss that can be easily integrated into existing architectures.
- To improve performance in multi-modal and single-image translation settings where structure preservation is critical.
- To overcome the bias of fixed pre-trained networks in feature-based losses by learning task-specific spatially-correlative maps.
Proposed method
- Proposes FSeSim, a fixed self-similarity map computed from features of a pre-trained network to encode spatial structure based on within-image self-similarity.
- Introduces LSeSim, a learned self-similarity map using contrastive learning to explicitly align homologous structures across domains regardless of appearance.
- Employs a contrastive loss to encourage similar spatial patterns in corresponding structures, even when appearances differ significantly.
- Uses a multi-scale local attention mechanism to compute spatially-correlative maps with varying receptive fields, improving structural detail.
- Replaces traditional content losses (e.g., cycle-consistency, perceptual loss) with F/LSeSim in existing I2I frameworks to assess structure independently of appearance.
- Applies the loss in both multi-domain and single-image translation settings, including a CUT-based architecture for high-resolution single-image translation.
Experimental results
Research questions
- RQ1Can a loss function based on self-similarity patterns preserve scene structure during large appearance changes in unpaired image translation?
- RQ2How does a domain-invariant spatially-correlative representation compare to fixed feature or pixel-level losses in structure preservation?
- RQ3Can a self-supervised contrastive learning approach learn task-specific spatial correlations that generalize across diverse translation tasks?
- RQ4Does replacing cycle-consistency or perceptual losses with F/LSeSim improve performance in multi-modal and single-image translation?
- RQ5To what extent does the spatially-correlative loss enhance structural fidelity without constraining appearance diversity?
Key findings
- The proposed F/LSeSim loss achieved superior or competitive results compared to state-of-the-art methods like CycleGAN, MUNIT, and CUT across all three unpaired I2I translation modes.
- In multi-modal translation (e.g., winter→summer, night→day), the model generated higher-quality and more diverse outputs than MUNIT, due to the lack of penalty on appearance variation.
- The ablation study showed that local attention with multiple layers (row D) significantly improved performance over global attention or random sampling, reducing noise from distant spatial correlations.
- Replacing L1 distance with cosine distance (row E) increased diversity scores substantially, as it preserved correlation patterns without enforcing identical map values.
- In single-image translation, the FSeSim-based model outperformed CUT, WCT2, and STRORSS in both image quality and style alignment, particularly in high-resolution regions.
- The full model with LSeSim (row F) achieved the best results on all metrics, demonstrating the effectiveness of task-specific, contrastive learning of spatially-correlative maps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.