[Paper Review] Cross-domain Correspondence Learning for Exemplar-based Image Translation
This paper proposes CoCosNet, a weakly supervised framework that jointly learns cross-domain correspondence and exemplar-based image translation by aligning inputs (e.g., segmentation masks, edge maps) to an intermediate feature space. By leveraging semantically aligned patches from an exemplar image, the method generates photo-realistic outputs with fine-grained style consistency, outperforming SOTA methods in image quality and semantic fidelity.
We present a general framework for exemplar-based image translation, which synthesizes a photo-realistic image from the input in a distinct domain (e.g., semantic segmentation mask, or edge map, or pose keypoints), given an exemplar image. The output has the style (e.g., color, texture) in consistency with the semantically corresponding objects in the exemplar. We propose to jointly learn the crossdomain correspondence and the image translation, where both tasks facilitate each other and thus can be learned with weak supervision. The images from distinct domains are first aligned to an intermediate domain where dense correspondence is established. Then, the network synthesizes images based on the appearance of semantically corresponding patches in the exemplar. We demonstrate the effectiveness of our approach in several image translation tasks. Our method is superior to state-of-the-art methods in terms of image quality significantly, with the image style faithful to the exemplar with semantic consistency. Moreover, we show the utility of our method for several applications
Motivation & Objective
- Address the challenge of learning dense, semantic cross-domain correspondence between images from different domains (e.g., segmentation mask to photo) without explicit correspondence annotations.
- Enable exemplar-based image translation with instance-level style fidelity by leveraging spatially-aware appearance transfer from the exemplar.
- Develop a unified framework that jointly optimizes correspondence and translation under weak supervision, avoiding reliance on global style vectors that lose local texture details.
- Enable novel applications such as semantic image editing and makeup transfer through implicitly learned dense correspondence.
- Overcome limitations of prior methods that use global style codes or task-specific designs by introducing a general-purpose, end-to-end trainable solution.
Proposed method
- Introduce a two-stream network architecture: a Cross-domain Correspondence Network and a Translation Network, trained end-to-end with shared supervision.
- Map input images (from source domains like segmentation, edge, pose) and exemplar images into a shared intermediate feature space where dense correspondence can be reliably established.
- Use spatially-variant de-normalization blocks in the translation network to synthesize output images by warping the exemplar based on learned semantic correspondence.
- Apply a multi-component loss function: domain alignment loss ($\mathcal{L}_{\text{domain}}^{\ell_1}$), feature reconstruction loss ($\mathcal{L}_{\text{feat}}$), perceptual loss ($\mathcal{L}_{\text{perc}}$), context loss ($\mathcal{L}_{\text{context}}$), and correspondence regularization ($\mathcal{L}_{\text{reg}}$) to stabilize training and improve alignment.
- Leverage weak supervision by training both correspondence and translation simultaneously, where each task improves the other without requiring ground-truth correspondences or synthesis targets.
- Enable sparse correspondence prediction via learned dense features, allowing the model to generalize to low-information domains like edge maps or keypoint heatmaps.
Experimental results
Research questions
- RQ1Can dense cross-domain correspondence be learned effectively in a weakly supervised setting where no ground-truth correspondences are available?
- RQ2Does joint learning of correspondence and image translation improve the quality and semantic consistency of exemplar-based image synthesis compared to separate training?
- RQ3Can the implicitly learned correspondence enable practical applications such as semantic image editing and makeup transfer?
- RQ4How do individual loss components contribute to the robustness and performance of the model in correspondence and translation tasks?
- RQ5To what extent does the method preserve fine-grained texture and color details from the exemplar at the instance level, compared to global style encoding methods?
Key findings
- The full CoCosNet model achieves a Fréchet Inception Distance (FID) of 14.3, significantly outperforming the next best method (21.1) in image quality under the same evaluation protocol.
- The model achieves a semantic consistency score of 0.949 and a style relevance score of 0.977 (color) / 0.958 (texture), indicating high fidelity to the exemplar’s appearance at both global and local levels.
- Ablation studies show that removing the domain alignment loss ($\mathcal{L}_{\text{domain}}^{\ell_1}$) leads to oversmoothed warping and failure in correspondence learning, highlighting its critical role.
- The correspondence regularization loss ($\mathcal{L}_{\text{reg}}$) is essential for preventing incorrect alignments (e.g., face to hair), as its absence results in semantically incoherent warping despite plausible outputs.
- User studies show that CoCosNet ranks first in 84.2% of cases for image quality and in 93.8% of cases for style relevance, confirming strong perceptual superiority.
- The method successfully establishes meaningful cross-domain correspondence even for sparse inputs like edge maps, demonstrating robustness to low-semantic-content domains.
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.