Dual Contrastive Learning for Unsupervised Image-to-Image Translation

Junlin Han, Mehrdad Shoeiby, Lars Petersson, Mohammad Ali Armin
4/15/2021
cs.CVeess.IV

Official code: JunlinHan/DCLGAN (179 stars, PyTorch, last commit 2026-08-29).

Abstract

Unsupervised image-to-image translation tasks aim to find a mapping between a source domain X and a target domain Y from unpaired training data. Contrastive learning for Unpaired image-to-image Translation (CUT) yields state-of-the-art results in modeling unsupervised image-to-image translation by maximizing mutual information between input and output patches using only one encoder for both domains. In this paper, we propose a novel method based on contrastive learning and a dual learning setting (exploiting two encoders) to infer an efficient mapping between unpaired data. Additionally, while CUT suffers from mode collapse, a variant of our method efficiently addresses this issue. We further demonstrate the advantage of our approach through extensive ablation studies demonstrating superior performance comparing to recent approaches in multiple challenging image translation tasks. Lastly, we demonstrate that the gap between unsupervised methods and supervised methods can be efficiently closed.

View on arXivView PDF

Code Implementations(1)

JunlinHan/DCLGANOfficial100%
PyTorch

Code for Dual Contrastive Learning for Unsupervised Image-to-Image Translation, NTIRE, CVPRW 2021, oral.

17925TeX, ShellMar 9, 20211 months agoNOASSERTION
computer-graphicscomputer-visioncyclegangansgenerative-adversarial-network+3 more

Similar Papers

Cite this paper

@article{han2021dual,
  title  = {Dual Contrastive Learning for Unsupervised Image-to-Image Translation},
  author = {Junlin Han and Mehrdad Shoeiby and Lars Petersson and Mohammad Ali Armin},
  year   = {2021},
  eprint = {2104.07689},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07689}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07689.svg)](https://codeofpaper.com/paper/2104.07689)

Discussion