1 of 16

Geometric View of GAN and Visualization

Zhizhong Li

May 5, 2017, CUHK

2 of 16

Generative Adversarial Networks (GAN)

  • A powerful generative model

  • z: noise from some distribution�x hat: generated fake sample�x: real sample

3 of 16

Manifold - Fundamental Concept in Geometry

  • Locally resembles Euclidean space
  • Parametrized by coordinate systems
  • Surface in R^n

4 of 16

GAN as Manifold Learning

  • Learn a coordinate system that represents data manifold

Generator

Latent space

Data manifold

5 of 16

Related Work

  • The idea appears implicitly in many works
  • WGAN use geometric interpretation to explain difficulty in training
  • Mode regularized GAN introduces manifold-diffusion training
  • T. White uses spheres as latent space

6 of 16

Impact of Geometric Properties

  • Dimensionality�What would happen to GAN if the dimensions of latent space and data manifold do not match?
  • Connectivity�If the data manifold may have several disconnected components. Do we have to make the latent space disconnected at the same time?

7 of 16

Dimensionality

1 dim spiral -> 2 dim gaussian

2 dim gaussian -> 1 dim spiral

8 of 16

Dimensionality

  • Dim z < Dim x�the generated low dimensional manifold try to cover the larger dimensional data manifold as possible.
  • Dim z > Dim x�then the generated manifold is able to cover the data manifold.�However, it may generate many extra fake examples.

9 of 16

Connectivity

1 square -> 9 squares

9 squares -> 1 square

10 of 16

Connectivity

  • Connected z -> Disconnected x�easy to learn.
  • Disconnected x -> Connected z�Cannot cover the whole data manifold.

11 of 16

Thanks!

Codes

https://github.com/innerlee/ELEG5491/

Zhizhong Li

lz015@ie.cuhk.edu.hk

The Chinese University of Hong Kong

12 of 16

Future Study

  • Decouple Geometry and Distribution
  • Inverse Mapping
  • Learning Mapping as Graph

13 of 16

14 of 16

15 of 16

16 of 16