Skip to main content
QUICK REVIEW

[Paper Review] Properties of f-divergences and f-GAN training

Matt Shannon|arXiv (Cornell University)|Sep 2, 2020
Adversarial Robustness in Machine LearningComputer Science21 references5 citations
TL;DR

This paper provides a rigorous analysis of f-divergences and their role in f-GAN training, deriving variational lower bounds and revealing key properties such as gradient matching and universal agreement between f-divergences near identical distributions. It proposes a slightly generalized f-GAN training framework to improve stability by decoupling critic and generator updates.

ABSTRACT

In this technical report we describe some properties of f-divergences and f-GAN training. We present an elementary derivation of the f-divergence lower bounds which form the basis of f-GAN training. We derive informative but perhaps underappreciated properties of f-divergences and f-GAN training, including a gradient matching property and the fact that all f-divergences agree up to an overall scale factor on the divergence between nearby distributions. We provide detailed expressions for computing various common f-divergences and their variational lower bounds. Finally, based on our reformulation, we slightly generalize f-GAN training in a way that may improve its stability.

Motivation & Objective

  • To clarify the mathematical properties of f-divergences, especially their behavior under small deviations between distributions.
  • To derive and analyze the variational lower bounds used in f-GAN training, grounding them in elementary calculus.
  • To address theoretical pathologies in GAN training arising from low-dimensional generator supports, particularly infinite divergences and vanishing gradients.
  • To propose a generalized f-GAN training scheme that decouples critic and generator updates for improved training stability.
  • To advocate for injecting noise into generators to ensure full support and eliminate pathological behaviors in f-divergence-based training.

Proposed method

  • Derives variational lower bounds for f-divergences using convex conjugate duality, showing that the critic network approximates the log-likelihood ratio.
  • Establishes that all f-divergences agree up to a scale factor when distributions are close, with the scale determined by f''(1), linking them to KL divergence in the local regime.
  • Introduces a generalized f-GAN update rule where generator and critic gradients are derived from different f-divergence functions, enabling hybrid training schemes.
  • Proposes injecting noise at all levels of the generator network to ensure full support over the output space, eliminating zero-density regions and infinite divergences.
  • Analyzes the impact of finite-sample approximations and reparameterization on gradient variance, showing that affine shifts in f do not affect gradients under reparameterization.
  • Demonstrates that the optimal critic for f-divergence is d*(x) = log p(x) - log q(x), and that this function becomes infinite almost everywhere when generator support is low-dimensional.

Experimental results

Research questions

  • RQ1How do f-divergences behave when the true and model distributions are nearly identical?
  • RQ2What are the precise mathematical conditions under which f-divergences agree up to a scale factor?
  • RQ3Why do standard GANs with low-dimensional generators suffer from infinite divergences and vanishing gradients?
  • RQ4Can f-GAN training be generalized to improve stability by decoupling critic and generator updates?
  • RQ5What is the effect of injecting noise into the generator on the support of the model distribution and the validity of f-divergence computations?

Key findings

  • All f-divergences agree up to a scale factor when p ≈ q, with the scale given by f''(1), meaning canonical f-divergences are locally indistinguishable.
  • The variational lower bound for f-divergence is derived via convex conjugate duality, showing that the critic network learns the log-likelihood ratio log p(x)/q(x).
  • When the generator has low-dimensional support, all f-divergences become undefined or saturate with zero gradient, leading to training failure.
  • Injecting noise into the generator ensures full support over the output space, eliminating infinite divergences and enabling valid f-divergence computation.
  • A hybrid f-GAN training scheme using reverse KL for the generator and Jensen-Shannon for the critic can improve stability while approximately minimizing reverse KL.
  • The gradient of the f-divergence matches the gradient of the critic network even when the critic is trained on a different f-function, suggesting robustness to update rule variations.

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.