Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Contrastive Learning for Unpaired Image-to-Image Translation

About

In image-to-image translation, each patch in the output should reflect the content of the corresponding patch in the input, independent of domain. We propose a straightforward method for doing so -- maximizing mutual information between the two, using a framework based on contrastive learning. The method encourages two elements (corresponding patches) to map to a similar point in a learned feature space, relative to other elements (other patches) in the dataset, referred to as negatives. We explore several critical design choices for making contrastive learning effective in the image synthesis setting. Notably, we use a multilayer, patch-based approach, rather than operate on entire images. Furthermore, we draw negatives from within the input image itself, rather than from the rest of the dataset. We demonstrate that our framework enables one-sided translation in the unpaired image-to-image translation setting, while improving quality and reducing training time. In addition, our method can even be extended to the training setting where each "domain" is only a single image.

Taesung Park, Alexei A. Efros, Richard Zhang, Jun-Yan Zhu• 2020

Related benchmarks

TaskDatasetResultRank
Semantic Image SynthesisADE20K
FID79.1
66
Semantic Image SynthesisCityscapes
FID57.3
54
Image DehazingSOTS outdoor RESIDE (test)
PSNR23.67
51
Image DehazingSOTS indoor RESIDE (test)
PSNR24.3
43
Semantic Image SynthesisCOCO Stuff
FID85.6
40
Brain Tissue SegmentationiSeg 2019 (test)
Dice (CSF)94.44
28
Brain Tissue SegmentationADNI (test)
Dice Coefficient (CSF)97.41
26
Object DetectionBDD100K (Nighttime)
AP14.1
26
Image-to-Image TranslationHorse -> Zebra
FID45.5
23
Object DetectionFoggy Cityscapes to Cityscapes (test)
AP (person)39.6
21
Showing 10 of 104 rows
...

Other info

Follow for update