TL;DR
Standard GAN theory assumes an unconstrained discriminator, showing that vanilla GANs minimize Jensen-Shannon divergence (JSD). This paper introduces a convex duality framework showing that when the discriminator is constrained, GANs actually minimize divergence to a set of distributions matching the data's generalized moments. Applying this framework reveals that enforcing a Lipschitz constraint on the discriminator mathematically transforms the discontinuous JSD into a well-behaved infimal convolution with Wasserstein distance, explaining why Lipschitz regularization stabilizes GAN training.
What Problem Does This Paper Address?
In the original vanilla GAN formulation, if the discriminator has unlimited capacity, the minimax game reduces to minimizing the Jensen-Shannon divergence (JSD) between the generative distribution and the real data distribution. In practice, however, discriminators are restricted to finite neural network classes (such as CNNs) to prevent overfitting and ensure generalization.
This disconnect raises two fundamental questions:
- Objective under constraints: What divergence or discrepancy does a GAN actually optimize when the discriminator is restricted to a constrained function class $\mathcal{F}$?
- The mystery of Lipschitz regularization: While pure JSD is notoriously discontinuous when distributions have non-overlapping support (leading to vanishing gradients and training instability), constraining the discriminator's Lipschitz constant (via gradient penalty or spectral normalization) empirically fixes this issue. What is the theoretical mechanism behind this stabilization?
Methods
The authors build a convex duality framework for divergence minimization under generalized moment-matching constraints:
- Convex Duality & Moment Matching: For any divergence $d(P, Q)$ and a convex set of discriminators $\mathcal{F}$, the discriminator's maximization problem is the Fenchel conjugate of a primal problem. When $\mathcal{F}$ is a linear subspace, the dual problem is equivalent to minimizing the divergence $d(P_{G(Z)}, Q)$ over all distributions $Q$ that match the generalized moments of real data: $\mathbb{E}_Q[D(X)] = \mathbb{E}_{P_X}[D(X)]$ for all $D \in \mathcal{F}$.
- Approximation for Neural Discriminators: Because neural network parameter spaces are non-convex, the authors analyze the convex hull $\text{conv}(\mathcal{F}_{nn})$. They prove that any function within this convex hull can be uniformly $\epsilon$-approximated on a bounded ball by a uniform average of $m = \mathcal{O}\left(\frac{M^2 k \log(LR/\epsilon)}{\epsilon^2}\right)$ neural nets.
- Infimal Convolution Hybrids: The authors define hybrid divergences by taking the infimal convolution of an $f$-divergence with optimal transport distances:
- $W_1$ Hybrid: $d_{f, W_1}(P_1, P_2) := \inf_Q [W_1(P_1, Q) + d_f(Q, P_2)]$
- $W_2$ Hybrid: $d_{f, W_2}(P_1, P_2) := \inf_Q [W_2^2(P_1, Q) + d_f(Q, P_2)]$
- Adversarial Formulations: By dualizing these hybrid divergences, the authors prove that:
- Enforcing a 1-Lipschitz condition on the discriminator in $f$-GAN minimizes $d_{f, W_1}$.
- Minimizing $d_{f, W_2}$ yields a three-player game where a norm-constrained adversary perturbs generated samples to make them harder for the discriminator to detect (implemented via Wasserstein Risk Minimization).
Datasets
The authors evaluate their framework on standard image generation benchmarks:
- CelebA: High-resolution celebrity face attribute dataset.
- LSUN-bedroom: Large-scale scene understanding dataset (bedroom category).
- MNIST: Handwritten digit benchmark (evaluated in the appendix).
No new benchmark datasets were introduced.
Key Insights and Ideas
- Moment-Matching Interpretation: Constraining the discriminator does not simply weaken discrimination; it reformulates the target. Rather than matching the true data distribution $P_X$, the generator finds the distribution closest to the set of distributions that share $\mathcal{F}$-moments with $P_X$.
- Smoothing Through Infimal Convolution: The classical JSD is locally constant and discontinuous when data and model manifolds do not overlap. Convolving JSD with the Wasserstein metric creates a surrogate divergence that varies continuously and is almost everywhere differentiable with respect to generator parameters.
- Why Spectral Normalization & Gradient Penalty Work: These widely used heuristics directly enforce the 1-Lipschitz property on discriminator networks. This work proves that doing so implicitly switches the training objective from pure JSD to the continuous hybrid divergence $d_{\text{JSD}, W_1}$.
Key Results
- Empirical Validation of Divergence Estimates: On LSUN and CelebA using DCGAN architectures:
- Unregularized / Batch-Normalized (BN) Discriminators: The empirical JSD estimate remained stuck near its theoretical ceiling ($\log_2 2 = 1.0$), poorly tracking sample quality. Training on LSUN collapsed into mode collapse around iteration 110,000.
- Lipschitz-Regularized Discriminators: Using Spectral Normalization (SN) or Gradient Penalty (GP), the estimated hybrid divergence decreased monotonically and smoothly from $\sim 1.0$ down toward $\sim 0.2$ over 200,000 iterations.
- Adversarial Training ($W_2$ Hybrid): Training the discriminator via Wasserstein Risk Minimization produced the same smooth, monotonic loss decay and preserved high image quality.
Limitations and Future Work
- Convexity vs. Practical Architectures: The exact duality holds for convex discriminator sets or linear spaces. Practical deep networks are non-convex; while their convex hull can theoretically be approximated by an ensemble of $m$ networks, practical GANs still use single discriminators.
- Symmetry Requirement: Dual equivalence between Lipschitz-bounded discriminators and infimal convolution requires symmetric $f$-divergences (e.g., JSD, squared Hellinger). Asymmetric divergences (like standard KL or Pearson $\chi^2$) do not cleanly map to this dual formulation.
- Computational Cost of $W_2$ Training: Implementing the $W_2$ hybrid requires solving an internal sample perturbation step (a three-player minimax game), which increases training time per step compared to standard two-player updates.
Summary updated