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

Learning to Discover Cross-Domain Relations with Generative Adversarial Networks

DiscoGAN learns cross-domain relations from unpaired images without pairing

  • Problem Learning relations between image domains without pairs fails because one-way GAN mappings can collapse several modes onto one.
  • Method DiscoGAN trains two generator pairs together, one per direction, without any paired data. Each direction gets a GAN loss and a reconstruction loss, so a round trip returns the input.
  • Results In the toy experiment DiscoGAN generates samples in all ten B modes, while the standard GAN and the GAN with a reconstruction loss do not cover all of them.

Learning relations without pairs

The study asks whether a model can learn how two image domains relate without ever seeing matched image pairs. Framed as conditional generation, the task becomes producing an image in one domain from an image in the other. Most generative training of this kind depends on explicitly paired data, which is scarce and costly to label. Pairing also breaks down when a counterpart image is missing in one domain or when several candidates fit equally well.

The authors drop pairing altogether and treat relation discovery as generating an image in one domain from an unpaired image in the other. The model needs neither pair labels nor pre-training, which is the main departure from earlier approaches.

What a valid relation requires

A relation is written as a function \(G_{AB}\) that carries elements of domain A into domain B, with \(G_{BA}\) defined in the same way for the reverse direction. Left unconstrained, these two functions can be defined arbitrarily, so the model imposes a one-to-one correspondence, meaning \(G_{AB}\) is the inverse of \(G_{BA}\). The outputs of each generator must also stay inside the other domain.

Requiring the exact identity \(G_{BA}\circ G_{AB}(x_A)=x_A\) is hard to optimize, so the model uses a soft penalty on the round-trip distance \(d(G_{BA}\circ G_{AB}(x_A),x_A)\), where L1, L2 or Huber loss can serve as d. The same penalty is applied in the other direction, comparing \(G_{AB}\circ G_{BA}(x_B)\) with \(x_B\). Forcing \(G_{AB}\) to output true domain B images is also hard to enforce directly, so it is relaxed into an adversarial term \(-\mathbb{E}_{x_A\sim P_A}[\log D_B(G_{AB}(x_A))]\), with the symmetric term \(-\mathbb{E}_{x_B\sim P_B}[\log D_A(G_{BA}(x_B))]\) for the other direction.

Generator and discriminator layers

Each generator takes a 64×64×3 image, passes it through an encoder and a decoder, and returns an image of the same size in the target domain. The encoder stacks convolution layers with 4×4 filters, each followed by a leaky ReLU. The decoder stacks deconvolution layers with 4×4 filters followed by a ReLU, and the total depth is four or five layers depending on the domain.

The discriminator follows the encoder's structure, adds one more 4×4 convolution layer, and ends in a sigmoid that outputs a single value between 0 and 1. Batch Normalization is applied to every convolution and deconvolution layer except the first and the last.

Why a one-way GAN collapses modes

The starting point is a standard GAN, modified to read an image from domain A instead of random noise. Adding a second generator from B back to A and a reconstruction term gives the GAN with a reconstruction loss. The forward pass is \(x_{AB}=G_{AB}(x_A)\) and then \(x_{ABA}=G_{BA}(x_{AB})\), and the reconstruction term compares \(x_{ABA}\) with \(x_A\).

The generator \(G_{AB}\) is trained on its GAN loss plus this reconstruction term, while the discriminator \(D_B\) uses the standard GAN discriminator loss.

Both terms constrain \(G_{AB}\) in only one direction, so the learned map can be an injection rather than a bijection. Mode collapse, where several modes of A land on one mode of B, is the failure this setup does not rule out; Figure 3 gives the one-dimensional picture. Figure 3c shows that adding the reconstruction term can still leave two A modes sharing one B mode, and the reconstruction then oscillates between two states without resolving the collapse.

Coupling two GANs into a bijection

DiscoGAN couples two copies of the one-way model, one for each direction, and trains them together. Images from both domains are reconstructed, so each domain receives its own reconstruction loss. The two generator pairs share parameters, and each translated image is scored by the discriminator of its target domain.

The total generator loss is the sum of the GAN and reconstruction losses of both directions, written as \(L_G=L_{GAB}+L_{GBA}\), and the discriminator loss is \(L_D=L_{DA}+L_{DB}\). Because each direction carries both a GAN loss and a reconstruction loss, the authors argue that the coupled model reaches a bijective mapping and therefore a one-to-one correspondence, which they call a cross-domain relation.

At run time, an image from one domain goes through its matching generator to produce the counterpart in the other domain, with no pairing step.

Training settings for real images

A weight decay regularization coefficient of 10−4 and a minibatch of 200 are used, with inputs and translated images at 64×64×3. The text gives these as single values and reports no search over them. Training ran on a single machine with an Nvidia Titan X Pascal GPU and an Intel Xeon E5-1620 CPU.

Toy domains: where mode collapse shows

The toy experiment uses synthetic two-dimensional Gaussian mixture samples for domains A and B. Five A modes must be translated into the ten B modes spread around an arc of a circle. The generator has three linear layers, each followed by a ReLU, and the discriminator has five linear layers with a sigmoid output. Training ran for 50,000 iterations, and the simple domains often converged earlier.

The standard GAN maps several A modes onto the same B mode, so translated points of different colors cluster together, and it keeps oscillating around the B modes. Adding a reconstruction loss makes collapse less prevalent, but a few B modes still receive points of several colors. Both of these variants fail to cover all B modes, since their mappings are injective rather than bijective.

DiscoGAN places translated samples in distinct, non-overlapping regions and generates samples in all ten B modes. The B-domain discriminator is described as fooled by translated samples placed around the B modes. The authors qualify these findings as limited by the simplicity of the experiment.

Car and face azimuth translation

The Car dataset contains rendered 3D car models at azimuth angles spaced 15 degrees apart. The train set is split into two groups used as domains A and B, and a regressor trained on the train set predicts the azimuth of both inputs and translated test images. Input azimuths range from -75 to 75 degrees.

For the standard GAN and the GAN with a reconstruction loss, most translations fall into a few azimuth clusters, which the authors read as mode collapse. With DiscoGAN, predicted input and output azimuths are strongly correlated; the reconstruction variant keeps the input azimuth range, while the standard GAN and DiscoGAN produce the opposite range.

The reversed angles around 0 degrees mean that the translated car images are mirror images of the inputs. RMSE against ground truth is shown in each plot, but the text gives no RMSE values.

The Face dataset varies in azimuth rotation from -90 to +90 degrees. DiscoGAN outputs span the opposite rotation range, from +90 to -90 degrees, while the standard GAN and the reconstruction variant vary less in rotation and are described as suffering from mode collapse. The face comparison is judged from the outputs shown in Figure 6, and the text gives no metric for faces.

Attribute conversion on CelebA

Gender is changed while the facial features stay well preserved. Background is mostly preserved and the images look natural, although the background changes in some cases such as Figure 7c. Sequential translations change gender and then hair color, and repeated gender transforms are also shown. These are visual results, and the text reports no metric for them.

Transfers between unrelated object classes

The chair, car and face datasets all vary along azimuth, so chair to car and car to face translations test whether rotation carries across visually different classes. The translated images match the rotation of the input while keeping the visual features of the target domain. Figure 8 shows these examples, and its caption notes that the model pairs images with similar orientation.

Edges-to-photos is a one-to-many problem, since an edge image can be colored in many ways. DiscoGAN generates colorized handbag and shoe images from sketches, and sketches of handbags from colored handbag images.

The handbag and shoe experiment assumes no specific relation between the two sets. DiscoGAN picks up a shared fashion style, with translated items showing similar colors, patterns and level of fashion formality.

Limits of the evidence

The toy experiment is simple, and the authors treat its results as supportive rather than conclusive. The real-image results appear as example outputs and azimuth correlation plots, and the text gives no benchmark table or RMSE values. The bijective property is argued from the coupled loss design, and the text gives no separate test of invertibility.

Some face outputs change the background, as in Figure 7c. The chair to car and edges-to-photos results are examples without numeric scores.

Paper info

Authors
Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jung Kwon Lee, Jiwon Kim
Venue
arXiv · Preprint
First published
2017-3-15
Added
2026-11-13
Updated
2017-5-15
Version
v2
arXiv
1703.05192
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

Taeksoo Kim, Moonsu Cha, Hyunsoo Kim, Jung Kwon Lee, Jiwon Kim (2017). Learning to Discover Cross-Domain Relations with Generative Adversarial Networks. arXiv:1703.05192v2. https://arxiv.org/abs/1703.05192v2

BibTeX
@misc{kim2017learning,
  title = {{Learning to Discover Cross-Domain Relations with Generative Adversarial Networks}},
  author = {Taeksoo Kim and Moonsu Cha and Hyunsoo Kim and Jung Kwon Lee and Jiwon Kim},
  year = {2017},
  eprint = {1703.05192},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.05192v2}
}

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