Skip to main content
QUICK REVIEW

[Paper Review] Inferencing Based on Unsupervised Learning of Disentangled Representations

Tobias Hinz, Stefan Wermter|arXiv (Cornell University)|Mar 7, 2018
Generative Adversarial Networks and Image SynthesisComputer Science3 references8 citations
TL;DR

This paper proposes Bidirectional-InfoGAN, a GAN-based framework that learns disentangled, interpretable representations of data in an unsupervised manner by combining a generator, a discriminator, and a dedicated encoder. The encoder maps real data to meaningful factors of variation—such as digit identity, stroke width, and facial attributes—enabling inference and controllable image generation without labels, achieving 96.61% accuracy in digit class inference on MNIST.

ABSTRACT

Combining Generative Adversarial Networks (GANs) with encoders that learn to encode data points has shown promising results in learning data representations in an unsupervised way. We propose a framework that combines an encoder and a generator to learn disentangled representations which encode meaningful information about the data distribution without the need for any labels. While current approaches focus mostly on the generative aspects of GANs, our framework can be used to perform inference on both real and generated data points. Experiments on several data sets show that the encoder learns interpretable, disentangled representations which encode descriptive properties and can be used to sample images that exhibit specific characteristics.

Motivation & Objective

  • To learn disentangled, interpretable representations of data without requiring labeled data.
  • To address the limitation of relying on the discriminator for inference, which may not learn meaningful data factors.
  • To enable both generation and inference using a single unified framework trained in an unsupervised setting.
  • To discover unknown data-generating factors while preserving disentanglement in the latent code.
  • To provide a pre-training method for downstream tasks using meaningful, disentangled features learned from unlabeled data.

Proposed method

  • Integrates a generator, discriminator, and a dedicated encoder network into a bidirectional GAN framework.
  • Uses a latent code split into a conditional code $c$ (for disentangled factors) and noise $z$, with mutual information maximized between $c$ and generated images.
  • Employs adversarial training where the discriminator classifies inputs as real or generated, and the encoder aims to reconstruct the generator's input from real images.
  • Applies a mutual information loss to encourage the generator to associate specific image characteristics with parts of the latent code $c$.
  • Uses a modified GAN objective that jointly optimizes the generator, encoder, and discriminator to learn disentangled representations.
  • Employs a prior distribution on the latent code that supports disentanglement, replacing simple priors like Gaussian or uniform distributions.

Experimental results

Research questions

  • RQ1Can a GAN-based framework with an encoder learn disentangled representations of data without any labeled supervision?
  • RQ2Does the encoder network produce interpretable, meaningful representations that correspond to actual data factors such as digit identity or facial attributes?
  • RQ3Can the framework perform reliable inference on real data by mapping it to disentangled latent codes?
  • RQ4To what extent can the model discover unknown or previously unlabelled data-generating factors in an unsupervised manner?
  • RQ5How well can the learned representations support downstream tasks like classification or controllable image generation?

Key findings

  • The encoder learns to assign distinct categorical codes to different digit classes on MNIST, achieving a test accuracy of 96.61% without using labels during training.
  • The model successfully disentangles stroke width and digit rotation into continuous latent variables, enabling controlled image sampling based on these attributes.
  • On CelebA, the model learns interpretable disentangled factors such as glasses, hair color, and background color, which are confirmed through visual sampling.
  • On SVHN, the model identifies disentangled factors including digit type, background color, and image contrast, demonstrating generalization across datasets.
  • The framework enables controllable image generation by conditioning on specific values of the disentangled code $c$, even when such attributes were not explicitly labeled.
  • The method outperforms unsupervised baselines like InfoGAN and matches or exceeds semi-supervised methods in inference accuracy while remaining fully unsupervised.

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.