Graphical Generative Adversarial Networks

Chongxuan Li, Max Welling, Jun Zhu, Bo Zhang

This paper introduces Graphical Generative Adversarial Networks (Graphical-GAN), a framework that combines the structural strengths of Bayesian Networks with the high-fidelity generative power of GANs.

Overview

Graphical-GAN bridges the gap between probabilistic graphical models and deep implicit generative models by encoding data dependencies into a directed acyclic graph. By using a "local" learning algorithm inspired by Expectation Propagation, it outperforms standard GANs in learning complex structures like video sequences and discrete clusters.

The Challenge

Deep generative models like GANs are excellent at synthesizing realistic images, but they are often "black boxes" that ignore the underlying structure of the data. For example, a video isn't just a collection of random frames; it has a strict temporal order. Conversely, Probabilistic Graphical Models (PGMs) are great at representing these structures (e.g., "variable A causes variable B") but usually fail when dealing with high-dimensional, complex data like raw pixels.

The authors identify a major challenge: how do you perform inference and learning when your model has both a complex dependency structure (a graph) and "implicit" likelihood functions (deep neural networks where you can't easily calculate probabilities)?

Methods

The authors propose a general framework where the joint distribution of observed data ($X$) and latent variables ($Z$) is factorized according to a Directed Acyclic Graph (DAG).

Generative and recognition models for GMGAN and SSGAN
  1. Structured Recognition Model: To handle inference (finding $Z$ given $X$), they introduce a recognition model that mirrors the structure of the generative model. They explore two types: mean-field (where variables are independent) and inverse factorizations (where the graph is inverted from leaves to roots).
  2. Local Learning Algorithm: This is the core innovation. Instead of using one "global" discriminator to judge the entire data-latent pair at once (which is difficult for complex graphs), they break the problem down. Inspired by Expectation Propagation (EP), they minimize "local" divergences for each factor in the graph.
  3. Adversarial Estimation: Since the likelihoods are implicit, they use the GAN "adversarial trick" locally. Each factor in the graph gets its own discriminator, making the learning task simpler and more stable for the networks.

The paper demonstrates this via two specific instances:

  • GMGAN (Gaussian Mixture GAN): For data with discrete categories (clustering).
  • SSGAN (State Space GAN): For temporal data (videos), using a Markov Chain structure.

Key Insights

  • Divide and Conquer: The "Aha!" moment is that discriminating small, local dependencies is much easier for a neural network than trying to understand the entire joint distribution of a complex graph. This leads to more stable training.
  • Disentanglement without Heuristics: In the SSGAN instance, the model naturally separates "content" (invariant across time) from "motion" (variant across time) simply because of the graph structure, without needing the complex penalty terms often required by other models.
  • Structure as a Regularizer: By explicitly defining the DAG, the authors provide a strong inductive bias that helps the model learn meaningful representations in an unsupervised way.

Key Results

The models were evaluated on several standard benchmarks, including image clustering (MNIST, SVHN, CIFAR-10, CelebA) and video sequences (Moving MNIST, 3D Chairs).

Generated images on CIFAR-10
  • Superior Clustering: On MNIST, the GMGAN achieved a clustering accuracy of 93.03%, outperforming other structured models like GMVAE (92.77%) and CatGAN (90.30%).
  • Long-term Video Generation: While baseline models (using a single global discriminator) failed to generate meaningful sequences beyond 16 frames on Moving MNIST, the SSGAN-L (local algorithm) successfully generated coherent sequences of up to 200 frames.
  • Improved Image Quality: On CIFAR-10, the Graphical-GAN approach achieved an Inception Score of 5.94, a significant jump over the global baseline of 5.34.
  • Motion Analogy: The SSGAN demonstrated the ability to perform "motion analogy"—taking the content of one video and applying the motion pattern of another—purely through its learned latent structure.

Limitations and Future Work

  • Complexity of Discriminators: While local discriminators simplify the learning task, having a discriminator for every factor in a very large graph could become computationally expensive.
  • Graph Discovery: The current framework assumes the graph structure is known a priori (e.g., we know a video is a sequence). The authors suggest that automatically learning the graph structure from data is a promising future direction.
  • Scaling to Trees: The authors mention that extending the framework to more complex structures, such as tree-structured data or semi-supervised learning scenarios, is a logical next step.

Summary updated

BibTeX
@inproceedings{li2018graphical,
  author = {Chongxuan Li and Max Welling and Jun Zhu and Bo Zhang},
  title = {{Graphical Generative Adversarial Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure