Talk / Press / Coverage — CycleGAN

Press and blog coverage

Q&A (answers from the paper)

Q: What is the hard part of learning without paired data?

A (from the paper, Section 1): The adversarial objective only says the outputs should look like the target domain as a whole. Many different mappings can produce that same output distribution, and nothing ties a particular input to a particular output. The optimizer can also collapse so that every input maps to the same output. Requiring the two mappings to undo each other narrows down the possibilities.

Q: Why use a PatchGAN discriminator instead of judging the whole image?

A (from the paper, Section 4, and the Pix2Pix paper, Section 3.2.2): CycleGAN uses a 70×70 PatchGAN because a patch-level discriminator has fewer parameters than a full-image one and can work on images of any size. The reasoning comes from Pix2Pix: L1 loss already captures low-frequency correctness, so the GAN only needs to model high-frequency structure, and local patches are enough for that.

Q: When does CycleGAN fail?

A (from the paper, Section 6): It often succeeds on color and texture changes, but the authors explored geometric changes with little success. On dog to cat, the learned translation degenerates into minimal changes to the input. They suggest this may come from generator architectures tailored to appearance changes. Other failures come from the training data: a horse-to-zebra model trained on ImageNet “wild horse” images fails on a person riding a horse.

Q: What does the identity loss do?

A (from the paper, Section 5.2): On painting to photo, the generators tended to change the tint of images when there was no need. Following Taigman et al., the authors add a term that keeps a generator close to an identity mapping when it is given real images of its target domain, which helps preserve the color of the input. Its weight is 0.5λ, and the paper describes using it for specific tasks such as this one, not all of them.

Q: How does CycleGAN compare to Pix2Pix?

A (from the paper, Section 5.1): The authors compare against Pix2Pix as an “upper bound”, since Pix2Pix trains on paired data. On Cityscapes labels to photo, Pix2Pix still scores higher (FCN per-pixel accuracy of 0.71 against CycleGAN’s 0.52), so giving up the pairs does cost accuracy.

Common misconceptions

  • “CycleGAN can translate any domain to any domain.” Section 6 of the paper reports little success on geometric changes such as dog to cat.
  • “Cycle consistency guarantees perfect reconstruction.” It is a weighted L1 penalty, not a hard constraint, so reconstructions are close but not exact.
  • “CycleGAN was the first method of its kind.” DualGAN and DiscoGAN were concurrent work that used similar two-way reconstruction ideas.
  • “The identity loss is part of every CycleGAN.” The paper uses it only for certain tasks, and this notebook turns it on throughout as a demonstration.

Citations