Skip to main content
QUICK REVIEW

[Paper Review] Reusing Discriminators for Encoding: Towards Unsupervised Image-to-Image Translation

Runfa Chen, Wenbing Huang|arXiv (Cornell University)|Feb 29, 2020
Generative Adversarial Networks and Image SynthesisComputer Science36 references14 citations
TL;DR

This paper proposes NICE-GAN, a novel unsupervised image-to-image translation framework that reuses early layers of the discriminator as a plug-in encoder for the target domain, eliminating the need for an independent encoder. By decoupling encoder training from the generator and training it solely via the GAN adversarial loss, the method achieves a more compact, effective architecture that outperforms state-of-the-art methods on FID, KID, and human preference benchmarks across four datasets.

ABSTRACT

Unsupervised image-to-image translation is a central task in computer vision. Current translation frameworks will abandon the discriminator once the training process is completed. This paper contends a novel role of the discriminator by reusing it for encoding the images of the target domain. The proposed architecture, termed as NICE-GAN, exhibits two advantageous patterns over previous approaches: First, it is more compact since no independent encoding component is required; Second, this plug-in encoder is directly trained by the adversary loss, making it more informative and trained more effectively if a multi-scale discriminator is applied. The main issue in NICE-GAN is the coupling of translation with discrimination along the encoder, which could incur training inconsistency when we play the min-max game via GAN. To tackle this issue, we develop a decoupled training strategy by which the encoder is only trained when maximizing the adversary loss while keeping frozen otherwise. Extensive experiments on four popular benchmarks demonstrate the superior performance of NICE-GAN over state-of-the-art methods in terms of FID, KID, and also human preference. Comprehensive ablation studies are also carried out to isolate the validity of each proposed component. Our codes are available at https://github.com/alpc91/NICE-GAN-pytorch.

Motivation & Objective

  • To rethink the role of discriminators in GAN-based image translation frameworks beyond classification.
  • To eliminate the need for an independent encoder by reusing early layers of the discriminator as a shared encoder for the target domain.
  • To address training instability caused by conflicting gradients when the encoder is shared between generator and discriminator.
  • To develop a decoupled training strategy that improves training stability and encoder quality.
  • To demonstrate that discriminatively trained encoders yield more informative features than generatively trained ones.

Proposed method

  • Reuses early convolutional layers of the discriminator as a shared encoder for the target domain, replacing the need for a separate encoder component.
  • Applies a multi-scale discriminator architecture to enhance feature expressiveness, which the reused encoder inherits naturally.
  • Introduces a decoupled training paradigm where the encoder is updated only during discriminator training (maximizing the GAN loss), not during generator training.
  • Maintains cycle-consistency and reconstruction losses for translation fidelity, while the encoder is trained independently via the adversarial objective.
  • Uses the discriminator's internal features as latent representations, enabling end-to-end training with shared parameters and reduced model complexity.
  • Employs a modified GAN objective where the encoder is trained to improve discrimination, not translation, ensuring gradient consistency.

Experimental results

Research questions

  • RQ1Can the discriminator’s internal features be effectively repurposed as a meaningful encoder for unsupervised image translation?
  • RQ2Does reusing the discriminator as an encoder lead to a more compact and efficient model architecture?
  • RQ3How does decoupling encoder training from generator training affect training stability and performance?
  • RQ4Can a discriminator-based encoder outperform traditional separate encoders in terms of feature quality and translation fidelity?
  • RQ5What is the impact of multi-scale discriminators and shared layers on the overall performance of the framework?

Key findings

  • NICE-GAN achieves state-of-the-art performance on four benchmark datasets, outperforming existing methods in FID, KID, and human preference evaluations.
  • The decoupled training strategy significantly improves training stability and performance, with NICE-GAN outperforming both NICE-GAN-1 (joint training) and NICE-GAN-2 (opposite decoupling) in all metrics.
  • Removing the highest-scale feature map ($C^2_x$) from the multi-scale discriminator causes a severe performance drop, indicating its critical role in feature learning.
  • Sharing the entire encoder between generator and discriminator yields optimal performance, while reducing or increasing shared layers degrades results.
  • Weight-coupling strategies that share parameters between generators or discriminators lead to significant performance degradation, highlighting the advantage of the proposed decoupled design.
  • t-SNE visualization and MMD analysis confirm that NICE-GAN learns more disentangled and domain-aligned latent representations compared to baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.