Skip to main content
QUICK REVIEW

[Paper Review] O-GAN: Extremely Concise Approach for Auto-Encoding Generative Adversarial Networks

Jianlin Su|arXiv (Cornell University)|Mar 5, 2019
Generative Adversarial Networks and Image SynthesisComputer Science21 references16 citations
TL;DR

O-GAN proposes a minimal, parameter-free modification to standard GANs that transforms the discriminator into a powerful, trainable encoder via a simple correlation-based loss. By decomposing the discriminator orthogonally and adding a Pearson correlation loss between noise vectors and their encoded reconstructions, O-GAN enables high-fidelity image reconstruction and disentangled representations without increasing model complexity or training cost.

ABSTRACT

In this paper, we propose Orthogonal Generative Adversarial Networks (O-GANs). We decompose the network of discriminator orthogonally and add an extra loss into the objective of common GANs, which can enforce discriminator become an effective encoder. The same extra loss can be embedded into any kind of GANs and there is almost no increase in computation. Furthermore, we discuss the principle of our method, which is relative to the fully-exploiting of the remaining degrees of freedom of discriminator. As we know, our solution is the simplest approach to train a generative adversarial network with auto-encoding ability.

Motivation & Objective

  • To address the underutilization of discriminator capacity in standard GANs, which often degenerates into a trivial function during training.
  • To enable standard GANs to learn a meaningful, invertible encoder without adding extra parameters or computational overhead.
  • To provide a simple, plug-and-play solution that enhances GANs with auto-encoding capabilities while preserving generation quality.
  • To explore the degrees of freedom in the discriminator architecture and leverage them to enforce meaningful feature learning.
  • To achieve disentangled and linearly interpolatable representations in the latent space using only a single additional loss term.

Proposed method

  • Decompose the discriminator output as $ D(x) = T(E(x)) $, where $ E $ is a shared encoder and $ T $ is a scalar head, enabling $ E $ to act as a feature extractor.
  • Introduce a novel auxiliary loss $ -\lambda_2 \rho(z, E(G(z))) $, where $ \rho $ is the Pearson correlation between the noise vector $ z $ and the encoded generated image $ E(G(z)) $, to encourage disentangled and reconstructive representations.
  • Use $ \text{avg}(E(x)) $ as the discriminator score, replacing the standard $ D(x) $, to simplify training and stabilize optimization.
  • Apply a differential regularization term $ R_{x,z} $ to improve training stability and prevent mode collapse.
  • Train the encoder $ E $ and generator $ G $ jointly with a single-step alternating optimization scheme, with one encoder update per generator update.
  • Embed the method into any GAN framework with minimal modification, requiring only the addition of the correlation loss and redefinition of the discriminator output.

Experimental results

Research questions

  • RQ1Can the discriminator in a standard GAN be repurposed as a meaningful encoder without adding parameters or computational cost?
  • RQ2How can the remaining degrees of freedom in the discriminator's architecture be exploited to enforce structured, disentangled representations?
  • RQ3Does a simple correlation-based loss between latent noise and reconstructed features improve representation quality in GANs?
  • RQ4Can the resulting model maintain high-fidelity image generation while achieving accurate reconstruction and smooth interpolation in latent space?
  • RQ5Is it possible to achieve VAE-like inference capabilities in a GAN framework using only a minimal, differentiable modification?

Key findings

  • The encoder learned via O-GAN achieves high-quality image reconstruction, as shown by near-identical input and reconstructed images in qualitative results on CelebA-HQ, FFHQ, LSUN-church, and LSUN-bedroom.
  • Linear interpolation in the latent space produces smooth, semantically meaningful transitions between real images, indicating disentangled and continuous representations.
  • The method preserves the original GAN's generation quality, as evidenced by high-fidelity random samples in all evaluated datasets.
  • The model achieves these results with no additional parameters and negligible computational overhead, relying only on a single correlation loss term.
  • The encoder is trained effectively without gradient penalty or additional normalization, using only RMSProp with a fixed learning rate of $ 10^{-4} $ and $ \beta = 0.99 $.
  • Training converges within 30k–50k iterations (approx. 12 hours on a GTX 1060), demonstrating practical feasibility and efficiency.

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.