Skip to main content
QUICK REVIEW

[Paper Review] Conditional Adversarial Generative Flow for Controllable Image Synthesis

Rui Liu, Yu Liu|arXiv (Cornell University)|Apr 3, 2019
Generative Adversarial Networks and Image SynthesisComputer Science41 references6 citations
TL;DR

This paper proposes Conditional Adversarial Generative Flow (CAGlow), a novel flow-based generative model that uses an adversarial encoder to map conditional inputs (e.g., identity, attributes) to the latent space of a reversible flow, enabling controllable and high-fidelity image synthesis. CAGlow outperforms standard Glow in conditional image generation, especially under complex or unknown conditions, by achieving better attribute disentanglement and lower distribution divergence.

ABSTRACT

Flow-based generative models show great potential in image synthesis due to its reversible pipeline and exact log-likelihood target, yet it suffers from weak ability for conditional image synthesis, especially for multi-label or unaware conditions. This is because the potential distribution of image conditions is hard to measure precisely from its latent variable $z$. In this paper, based on modeling a joint probabilistic density of an image and its conditions, we propose a novel flow-based generative model named conditional adversarial generative flow (CAGlow). Instead of disentangling attributes from latent space, we blaze a new trail for learning an encoder to estimate the mapping from condition space to latent space in an adversarial manner. Given a specific condition $c$, CAGlow can encode it to a sampled $z$, and then enable robust conditional image synthesis in complex situations like combining person identity with multiple attributes. The proposed CAGlow can be implemented in both supervised and unsupervised manners, thus can synthesize images with conditional information like categories, attributes, and even some unknown properties. Extensive experiments show that CAGlow ensures the independence of different conditions and outperforms regular Glow to a significant extent.

Motivation & Objective

  • Address the limitation of flow-based models in conditional image synthesis, especially for multi-label or unknown conditions.
  • Overcome the challenge of imprecise latent distribution estimation for complex image conditions.
  • Enable robust, disentangled conditional image generation using both supervised and unsupervised condition learning.
  • Improve sample quality and distribution alignment between real and generated images under complex conditions.

Proposed method

  • Propose a conditional flow-based model, CAGlow, that integrates a learnable encoder to map condition space to the latent space of a reversible flow.
  • Train the encoder adversarially to ensure the generated latent codes match the real data distribution under given conditions.
  • Use a joint probabilistic density modeling of image and condition to enable end-to-end training with exact log-likelihood and adversarial regularization.
  • Enable unsupervised discovery of interpretable, unknown properties (e.g., rotation, brightness) via latent code manipulation without supervision.
  • Implement both supervised and unsupervised training modes, allowing synthesis conditioned on known labels or latent factors.
  • Leverage the reversibility of the flow for controllable image generation by manipulating latent codes corresponding to specific conditions.

Experimental results

Research questions

  • RQ1Can a flow-based generative model achieve high-quality conditional image synthesis when conditions are complex or multi-modal?
  • RQ2Can an adversarial encoder effectively learn a continuous and disentangled mapping from condition space to latent space in a flow-based framework?
  • RQ3Can CAGlow discover and manipulate unknown but interpretable image properties in an unsupervised manner?
  • RQ4How does CAGlow compare to standard Glow in terms of attribute stability, FID score, and distribution alignment under complex conditions?

Key findings

  • CAGlow achieves a 93.75% top-1 accuracy on attribute classification for generated images on CelebA, significantly outperforming CGlow (87.36%).
  • The variance of Attribute Mean Probability (AMP) for CAGlow is 0.0016, much lower than CGlow’s 0.0245, indicating superior attribute stability.
  • CAGlow reduces the absolute difference in AMP across condition manipulations by up to 80% compared to CGlow, demonstrating better disentanglement.
  • On MNIST, CAGlow successfully learns and manipulates unknown properties like digit rotation and width through latent code variation, showing unsupervised interpretability.
  • On CelebA, CAGlow captures underlying yaw angles and brightness variations not explicitly annotated, confirming unsupervised discovery of interpretable factors.
  • CAGlow maintains a low FID score close to the original Glow, indicating high diversity and fidelity in generated images despite conditional control.

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.