TL;DR
Maximum Likelihood Estimation (MLE) and Generative Adversarial Networks (GANs) both struggle to perfectly capture complex probability distributions, often suffering from over-smoothing or training instability. This paper introduces a non-adversarial, constrained optimization framework that minimizes the symmetric Jeffreys divergence by using a cooperative proxy model. The result is a highly stable, adaptive algorithm that outperforms both MLE and GANs, particularly in low-data regimes.
What Problem Does This Paper Address?
Standard generative modeling often relies on minimizing the forward Kullback-Leibler (KL) divergence, which is equivalent to Maximum Likelihood Estimation (MLE). While mathematically tractable, the forward KL is asymmetric and exhibits a "mass-covering" behavior—it forces the model to smooth over low-density regions to avoid missing any data points. Conversely, the reverse KL is "mode-seeking" but intractable from samples alone because it requires explicit knowledge of the unknown true data distribution.
The symmetric Jeffreys divergence (the sum of forward and reverse KL) balances these two behaviors perfectly. However, optimizing it directly from data samples is notoriously difficult. While GANs attempt to bypass this via an adversarial min-max game, they are notoriously brittle, highly sensitive to hyperparameters, and prone to mode collapse and severe training instabilities.
Methods
The authors propose a non-adversarial approach to minimize the Jeffreys divergence by introducing a proxy model ($q_\psi$) that learns to simulate the true data distribution. This proxy allows the system to tractably approximate the reverse KL term as $D_{KL}(p_\theta \parallel q_\psi)$.
To make this setup work practically, the authors introduce two key innovations:
- Adaptive Symmetrization: If the proxy model is initially inaccurate, relying heavily on the reverse KL can ruin training. The authors reformulate the objective as a constrained feasibility problem that dynamically adjusts the weights between the forward KL, reverse KL, and proxy-fitting terms based on how well the constraints are being satisfied.
- NF-EBM Symbiosis: They implement the main model ($p_\theta$) as a Normalizing Flow (NF) and the proxy ($q_\psi$) as an Energy-Based Model (EBM). NFs excel at fast sampling and exact density evaluation but have rigid architectural constraints. EBMs are highly expressive but notoriously slow to train because estimating their partition function typically requires expensive Markov Chain Monte Carlo (MCMC) sampling. In this framework, the NF generates samples to estimate the EBM's partition function via importance sampling, completely bypassing the need for MCMC during training.
The resulting non-convex constrained problem is solved using a stable gradient descent-ascent algorithm derived from duality theory.
Datasets
The framework was evaluated on a variety of synthetic and real-world benchmarks:
- Synthetic 2D Datasets: A complex 40-component Gaussian Mixture Model (GMM), concentric rings, a 5x5 Gaussian mixture grid, a Gaussian mixture ring, spirals, and two moons.
- UCI Repository Datasets: Wine Quality, Heart Disease, and Breast Cancer Wisconsin (Diagnostic) for real-world density estimation.
- Image Data: CelebA, compressed into a 100-dimensional latent space using a pre-trained autoencoder.
- Simulation-Based Inference (SBI): Standard benchmarks including "two moons" and a Gaussian mixture.
Key Insights and Ideas
- Cooperation over Adversarialism: Unlike GANs, where the generator and discriminator compete in a zero-sum game, the main and proxy models in this framework collaborate to minimize a shared objective. This eliminates the chaotic oscillations common in adversarial training.
- Automated Hyperparameter Tuning: By framing the objective as a feasibility problem, the algorithm automatically tunes the effective weights of the loss terms. If the proxy model is struggling to fit the data, the system temporarily downweights the reverse KL term and prioritizes the more reliable forward KL.
- Complementary Architectures: The pairing of NFs and EBMs elegantly solves the core weaknesses of both architectures. The NF provides the fast samples the EBM needs for partition function estimation, while the EBM provides the flexible density estimation needed to guide the NF away from over-smoothing.
Key Results
- Mitigating Overfitting: On real-world UCI datasets, standard MLE approaches quickly overfit and diverge. The proposed method maintains a lower and significantly more stable test Negative Log-Likelihood (NLL) throughout training.
- Robustness to Hyperparameters: While Wasserstein GANs (WGAN-GP) easily diverge or suffer from mode collapse depending on the choice of learning rate, the collaborative framework converges reliably across a wide range of learning rates.
- Data Efficiency in SBI: For simulation-based inference tasks, the method requires significantly fewer simulations (data points) to achieve optimal Classifier Two-Sample Test (C2ST) scores close to 0.5 compared to standard NFs.
Limitations and Future Work
- Scaling to High Dimensions: The experiments are currently limited to low-dimensional benchmarks or low-dimensional latent spaces (e.g., 100D encodings for CelebA). Scaling NFs and EBMs directly to high-dimensional raw data remains computationally expensive and challenging.
- Broadening the Framework: The authors note that this adaptive, non-adversarial constrained optimization approach is generalizable and could be extended to optimize other types of statistical distances, such as the Fisher divergence.
Summary updated