Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks

  • Problem Translating between two image domains without paired examples is hard, and an adversarial loss alone does not tie each input to a meaningful output.
  • Method Trains two mappings G and F with adversarial losses on both domains and an L1 cycle consistency loss weighted by λ = 10, using PatchGAN discriminators, a least-squares GAN loss and a 50-image buffer.
  • Results Reached 26.8% (Map→Photo) and 23.2% (Photo→Map) labeled real in AMT tests at 256×256, versus at most 2.6% for the unpaired baselines.

Why paired data is the bottleneck

Supervised image-to-image translation learns from example pairs that link each input to its matching output. Such pairs are expensive to collect; semantic segmentation, for example, has only a few datasets and they are small. For artistic stylization the target output is complex and usually has to be authored by hand, and for object transfiguration such as zebra and horse it is not clear what the correct output would be.

Without pairs, the only supervision is at the level of sets: one collection from domain X and another from domain Y, with no record of which element of one corresponds to which element of the other. An adversarial loss can push translated images toward the distribution of domain Y, but many different mappings induce that same distribution, so nothing ties one input to a meaningful output.

Optimizing the adversarial objective alone is also unstable in practice and often ends in mode collapse, where every input maps to one output.

The approach rests on an assumption: the two domains are different renderings of a shared underlying scene, so a relation between them exists and can be learned. Cycle consistency supplies the extra structure: an image translated to the other domain and back should return to where it started.

Two mappings, two discriminators and a cycle term

The model has two generators: G maps domain X to domain Y, and F maps domain Y back to X. Two discriminators, D_X and D_Y, judge the outputs: D_Y learns to separate real Y images from translated G(x) images, and D_X does the same for X images and F(y). Figure 3 lays out the two adversarial paths and the two cycles that the objective adds.

For the mapping G and its discriminator D_Y, the adversarial term is written as follows. \[ L_{GAN}(G,D_Y,X,Y)=E_{y\sim p_{data}(y)}[\log D_Y(y)]+E_{x\sim p_{data}(x)}[\log(1-D_Y(G(x)))] \] G is trained to make G(x) look like a Y image, while D_Y is trained to score real y high and G(x) low, so the training is the min-max problem \(\min_G \max_{D_Y}\) of this term.

The mapping F and its discriminator D_X get the same kind of term with the roles of X and Y swapped.

The cycle term asks each round trip to return its starting image: x goes to G(x) and then F(G(x)), which should be close to x, and y goes to F(y) and then G(F(y)), which should be close to y. \[ L_{cyc}(G,F)=E_{x\sim p_{data}(x)}[\|F(G(x))-x\|_1]+E_{y\sim p_{data}(y)}[\|G(F(y))-y\|_1] \] An adversarial distance replacing this L1 norm was tried in preliminary experiments without improved performance.

Figure 4 shows the reconstructions F(G(x)) for several domain pairs, and they end up close to the inputs.

The full objective sums the two adversarial terms and the cycle term, with λ setting the weight of the cycle term. \[ L(G,F,D_X,D_Y)=L_{GAN}(G,D_Y,X,Y)+L_{GAN}(F,D_X,Y,X)+\lambda L_{cyc}(G,F) \] Training solves \[ G^*,F^*=\arg\min_{G,F}\max_{D_X,D_Y}L(G,F,D_X,D_Y) \], so the generators minimize the objective while the discriminators maximize it.

Viewed as autoencoders, F∘G maps X to itself through domain Y, and G∘F maps Y to itself through domain X, so the intermediate representation is a translation into the other domain.

Architecture and training choices

The generators follow Johnson et al., with three convolutions, a run of residual blocks, two fractionally strided convolutions at stride 1/2, and a final convolution to RGB. The generator uses 6 residual blocks for 128×128 images and 9 for 256×256 and larger images. Instance normalization is used, following Johnson et al. The discriminators are 70×70 PatchGANs that classify overlapping 70×70 patches as real or fake; they have fewer parameters than a full-image discriminator.

The negative log likelihood adversarial objective is replaced by a least-squares loss, which is described as more stable during training and as giving higher quality results.

To reduce oscillation, the discriminators are trained on a history of generated images rather than only the latest generator outputs. The image buffer stores the 50 previously created images. This follows the strategy of Shrivastava et al.

All experiments use λ = 10, the Adam solver and batch size 1. Networks train from scratch with a learning rate of 0.0002, kept for the first 100 epochs and then linearly decayed to zero over the next 100 epochs. The text gives these as single fixed values for all experiments rather than as results of a search.

Evaluation setup and metrics

Quantitative experiments use the datasets and metrics of pix2pix: labels↔photo on Cityscapes and map↔aerial photo on Google Maps data. The test uses paired ground truth, so the unpaired method can be scored even though it never trains on pairs. The loss ablations are run on Cityscapes labels→photo and photo→labels.

In the AMT study on map↔aerial photo, each participant sees a real image and a fake one and clicks the real one. After 10 practice trials with feedback, the remaining 40 trials measure how often the fake image fools the participant; each algorithm had 25 participants, and each participant completed a single session. These numbers cannot be compared directly with those in pix2pix, because the ground truth was processed differently and the participant pool was different, so only the methods run here under identical conditions are compared.

The FCN score segments each generated photo with an off-the-shelf fully convolutional network and compares its predicted labels with the input label map. The intuition is that a photo generated from a label map of a car on a road should be recognized by the segmenter as containing a car on a road.

CoGAN learns one generator per domain with tied weights in its first layers for a shared latent representation. SimGAN keeps the output close to the input through an L1 term on pixels, and feature loss + GAN computes that term over deep image features from a pretrained network. BiGAN and ALI learn a generator together with an inverse mapping, and here they were adapted to map a source image to a target image.

pix2pix, trained on paired data, serves as an upper bound without pairs. Except for CoGAN, the baselines use the same architecture and details as CycleGAN; CoGAN uses its public implementation because its shared-latent generators do not fit the image-to-image network.

Comparison with baselines and pix2pix

On the AMT test at 256×256, CycleGAN was labeled real 26.8%±2.8% of the time for Map→Photo and 23.2%±3.4% for Photo→Map. The AMT table does not include pix2pix.

In a separate check at 512×512, CycleGAN reached 37.5%±3.6% on maps→aerial photos, against 33.9%±3.1% for pix2pix. On aerial photos→maps the same check gave 16.5%±4.1% for CycleGAN and 8.5%±2.6% for pix2pix. These 512×512 runs are separate from the 256×256 setting of the AMT table.

On Cityscapes labels→photo, CycleGAN scored 0.52 per-pixel accuracy, 0.17 per-class accuracy and 0.11 Class IOU. CoGAN was the highest unpaired baseline on per-pixel accuracy and Class IOU, at 0.40 and 0.06, and tied SimGAN at 0.10 on per-class accuracy. pix2pix, trained on pairs, reached 0.71, 0.25 and 0.18 on the same three metrics.

For photo→labels, CycleGAN reached 0.58 per-pixel accuracy, 0.22 per-class accuracy and 0.16 Class IOU. The highest unpaired baseline in each column was 0.50 per-pixel (feature loss + GAN), 0.13 per-class (BiGAN/ALI) and 0.08 Class IOU (CoGAN). pix2pix reached 0.85, 0.40 and 0.32 on these metrics.

Figure 5 shows the labels↔photos comparison on Cityscapes, with the input, each baseline, CycleGAN, pix2pix and ground truth side by side.

Which loss terms the ablations remove

Cycle alone keeps only the cycle consistency loss, and GAN alone keeps only the adversarial losses. GAN + forward cycle keeps the adversarial losses and only the term F(G(x)) ≈ x, and GAN + backward cycle keeps only G(F(y)) ≈ y.

On photo→labels (Table 5), removing the cycle loss, as in GAN alone, lowers per-pixel accuracy from 0.58 to 0.53 and Class IOU from 0.16 to 0.07. Cycle alone reached 0.10, 0.05 and 0.02, and GAN + forward cycle reached 0.49 per-pixel and 0.07 Class IOU, both below CycleGAN. GAN + backward cycle reached a per-pixel accuracy of 0.01, far below the 0.58 of CycleGAN.

On labels→photo (Table 4), GAN + forward cycle scores 0.55, 0.18 and 0.12, above CycleGAN's 0.52, 0.17 and 0.11 on all three metrics. GAN alone reached 0.51 per-pixel, 0.11 per-class and 0.08 Class IOU, close to CycleGAN on per-pixel accuracy but lower on the other two; GAN + backward cycle reached 0.39 per-pixel. The authors summarize that removing either the GAN loss or the cycle loss degrades results and conclude that both terms are critical.

The authors report that single-direction variants often show training instability and mode collapse, especially for the direction that was removed.

Identity mapping for paintings

For painting→photo translation an identity mapping loss is added: G should return a real Y image nearly unchanged, and F should return a real X image nearly unchanged. \[ L_{identity}(G,F)=E_{y\sim p_{data}(y)}[\|G(y)-y\|_1]+E_{x\sim p_{data}(x)}[\|F(x)-x\|_1] \] The term follows Taigman et al. and is used to preserve the color composition between input and output.

In the Monet case, daytime paintings were often mapped to photographs taken at sunset, a mapping that is equally valid under the adversarial and cycle losses.

Figure 9 compares CycleGAN without and with the identity mapping loss on Monet's paintings, and the term helps preserve the color of the input paintings. These paintings are in the training set, so the figure is not a test-set result.

Unpaired applications

Collection style transfer trains on landscape photographs from Flickr and artworks from WikiArt, so the model learns the style of a whole collection rather than one painting. The training set sizes were 526, 1073, 400 and 563 for Cezanne, Monet, Van Gogh and Ukiyo-e. Figure 10 shows input photos converted into Monet, Van Gogh, Cezanne and Ukiyo-e styles.

Object transfiguration uses ImageNet classes; the horse and zebra run uses 939 wild-horse images and 1177 zebra images. Season transfer uses 854 winter and 1273 summer Yosemite photos from Flickr. Figure 13 shows horse↔zebra, summer↔winter Yosemite and apple↔orange results, with 996 apple and 1020 navel orange images in the last run.

For photo enhancement, the source is smartphone flower photos with deep depth of field and the target is DSLR photos with shallower depth of field. The model learns to produce shallower depth of field, but the shown results are the most successful test examples, and average performance is considerably worse.

Limitations

The method works best when the change concerns color and texture; the authors report little success on tasks that require geometric changes. On dog→cat transfiguration the learned translation mostly makes minimal changes to the input. The authors suggest the generator architecture, which is tailored to appearance changes, may be the cause.

The horse→zebra failure is tied to the training data: the wild horse and zebra synsets of ImageNet contain no images of people riding horses or zebras. A gap remains relative to paired training; the method sometimes swaps the labels for tree and building in photo→labels outputs.

Quantitative scoring against ground truth covers labels↔photo and map↔aerial photo, while other applications are shown qualitatively. The 512×512 comparison covers only maps and aerial photos. Photo enhancement is shown with its most successful test results, so average quality is not visible in the figures.

Paper info

Authors
Jun-Yan Zhu, Taesung Park, Phillip Isola, Alexei A. Efros
Venue
arXiv · Preprint
First published
2017-3-30
Added
2026-10-20
Updated
2020-8-24
Version
v7
arXiv
1703.10593
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Jun-Yan Zhu, Taesung Park, Phillip Isola, Alexei A. Efros (2017). Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks. arXiv:1703.10593v7. https://arxiv.org/abs/1703.10593v7

BibTeX
@misc{zhu2017unpaired,
  title = {{Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks}},
  author = {Jun-Yan Zhu and Taesung Park and Phillip Isola and Alexei A. Efros},
  year = {2017},
  eprint = {1703.10593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.10593v7}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up