[Paper Review] Boundary-Seeking Generative Adversarial Networks
BGAN introduces importance-weighted policy gradients from the discriminator to train GANs on discrete data, and extends the objective to continuous data to improve stability.
Generative adversarial networks (GANs) are a learning framework that rely on training a discriminator to estimate a measure of difference between a target and generated distributions. GANs, as normally formulated, rely on the generated samples being completely differentiable w.r.t. the generative parameters, and thus do not work for discrete data. We introduce a method for training GANs with discrete data that uses the estimated difference measure from the discriminator to compute importance weights for generated samples, thus providing a policy gradient for training the generator. The importance weights have a strong connection to the decision boundary of the discriminator, and we call our method boundary-seeking GANs (BGANs). We demonstrate the effectiveness of the proposed algorithm with discrete image and character-based natural language generation. In addition, the boundary-seeking objective extends to continuous data, which can be used to improve stability of training, and we demonstrate this on Celeba, Large-scale Scene Understanding (LSUN) bedrooms, and Imagenet without conditioning.
Motivation & Objective
- Provide a principled method to train GANs with discrete data by leveraging the discriminator’s f-divergence estimation to form importance weights for generator updates.
- Develop a low-variance, boundary-seeking objective that yields a stable generator gradient for both discrete and continuous data.
- Demonstrate effectiveness on discrete image and character-level language tasks and show improved stability on high-dimensional continuous benchmarks.
Proposed method
- Adopt an f-divergence dual form to express the GAN objective, deriving a variational lower bound with a neural discriminator T_phi.
- Use the discriminator to compute optimal importance weights w(x) = (d f* / dT)(T(x)) and define a density estimator tilde{p}(x) = w(x) q_theta(x) / beta.
- For discrete data, implement a policy-gradient style update using the importance-weighted estimator, including a low-variance form that conditions on z to reduce variance (tilde{p}(x|z)).
- Propose a continuous BGAN objective for the generator to improve stability: minimize (log w(G_theta(z)))^2, equivalently F_phi(G_theta(z))^2, which behaves better for optimization.
- Provide an algorithm (Algorithm 1) for discrete BGAN training with computation of normalized weights and gradient updates for both generator and discriminator.
- Extend the framework to REINFORCE-based variants and connect to baseline techniques for reduced variance (via a constant like beta).
Experimental results
Research questions
- RQ1Can boundary-seeking objectives derived from f-divergence discriminators enable effective training of GANs with discrete data?
- RQ2Do boundary-seeking and importance-weighted objectives improve stability and performance compared to standard GANs and WGAN-GP in discrete and continuous settings?
- RQ3Does the boundary-seeking approach extend to continuous data and offer stability benefits with high-dimensional image benchmarks?
- RQ4How do different f-divergences (GAN, Jensen-Shannon, KL, Reverse KL, Squared-Hellinger) perform when used with BGAN in discrete tasks?
- RQ5What is the impact of gradient norm regularization on the stability of continuous BGAN training?
Key findings
- BGAN enables training on discrete data by using discriminator-derived importance weights to form a policy gradient for the generator.
- In discrete CIFAR-10 classification experiments, BGAN with importance sampling achieves competitive error rates (~26%), outperforming WGAN by a large margin in a challenging setup.
- Discrete MNIST and quantized CelebA experiments show stable training and realistic diverse samples, with better performance than WGAN-GP in their settings.
- Character-level language generation on 1-billion-word data demonstrates that discrete BGAN can learn meaningful patterns without continuous relaxations, indicating stability and feasibility.
- Continuous BGAN experiments on CelebA, LSUN, and ImageNet with gradient norm regularization yield high-quality samples; BGAN maintains stability in high-dimensional settings.
- A continuous BGAN objective (log w(G_theta(z)))^2 improves optimization stability compared to relying solely on the variational lower-bound, particularly when using gradient norm regularization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.