Nonparametric Density Estimation under Adversarial Losses

Shashank Singh, Ananya Uppal, Boyue Li, Chun-Liang Li, Manzil Zaheer, Barnabás Póczos

Introduction

Generative Adversarial Networks (GANs) have revolutionized modern machine learning, yet their statistical foundations have historically lagged behind their empirical success. Classical statistics typically measures density estimation using $L^p$ distances. In contrast, GANs employ "adversarial losses"—such as the Wasserstein distance or Maximum Mean Discrepancy (MMD)—where a discriminator network actively searches for the maximum discrepancy between real data and model samples.

This paper bridges the gap between classical nonparametric statistics and modern deep learning by providing the first tight minimax convergence rates for density estimation under these adversarial losses. It answers critical questions: How many samples are required to approximate the true distribution? How does the smoothness of the data interact with the discriminator's constraints? And is implicit modeling (sampling) fundamentally easier than explicit density estimation?

Theoretical Framework and Methodology

The authors utilize minimax analysis to determine the best possible performance any algorithm can achieve on the hardest problems within a specific class. They frame adversarial losses as Integral Probability Metrics (IPMs), defined by a class of discriminator functions $\mathcal{F}_D$.

To establish upper bounds, the study adapts orthogonal series estimators (projecting data onto orthonormal bases like Fourier or wavelets) to function with adversarial losses. Furthermore, the authors define smoothness using "generalized ellipses" in function space. This elegant mathematical abstraction allows them to unify various spaces—such as Sobolev spaces, Besov spaces, and Reproducing Kernel Hilbert Spaces (RKHS)—under a single theoretical umbrella. While the paper does not rely on empirical benchmarks like ImageNet, it validates its theoretical rates using simulated data across these specific smoothness classes.

Key Insights: Smoothness, Rates, and the Sampling Debate

A central finding of the paper is the smoothness trade-off. The learning rate is dictated by the sum of the discriminator's smoothness ($s$) and the target density's smoothness ($t$). Specifically, the convergence rate scales roughly as $n^{-(s+t)/(2t+d)}$, where $d$ is the dimensionality. Consequently, a "weaker" or smoother discriminator makes the statistical learning task easier.

Interestingly, if the discriminator is sufficiently smooth ($s > d/2$), the learning rate enters a parametric regime of $n^{-1/2}$, independent of the underlying density's complexity. This theoretical result explains why metrics like MMD are highly stable to estimate in practice.

The paper also challenges a prevailing intuition in machine learning: that GANs succeed because generating samples (implicit modeling) is inherently easier than estimating the full density function (explicit modeling). The authors prove that, under reasonable conditions, density estimation is statistically no harder than sampling. If a model can sample effectively, it could have estimated the density just as well. Furthermore, for certain adversarial losses in high dimensions (like the Wasserstein distance), the standard empirical distribution is sub-optimal; smoothed estimators, such as kernels, converge significantly faster.

Main Results and Implications for GANs

The authors successfully derive matching upper and lower bounds for the minimax rate, effectively solving the convergence problem for this class of adversarial losses. They also apply these findings to improve theoretical bounds for GANs trained with deep ReLU networks. Assuming a perfectly optimized GAN, it can achieve the optimal minimax rate:

$$\text{Error} \lesssim \epsilon + n^{-\min\left\{\frac{1}{2}, \frac{s+t}{2t+d}\right\}}$$

where $\epsilon$ represents the approximation error inherent to the neural network architecture. Additionally, the authors demonstrate the existence of an adaptive estimator capable of achieving these optimal rates without prior knowledge of the true data smoothness ($t$).

Limitations and Future Directions

While theoretically robust, the analysis relies on the assumption that the GAN can find the global optimum of its objective function—a stark contrast to the notoriously unstable reality of GAN training, which is prone to local optima and mode collapse.

Furthermore, despite adversarial losses softening the blow, the presence of $d$ in the exponent highlights the persistent curse of dimensionality. Learning high-dimensional distributions (like high-resolution images) still requires an exponential amount of data unless the data lies on a low-dimensional manifold. The authors suggest that future research should explore how these minimax rates adapt under the "manifold hypothesis," where the data distribution is supported on a lower-dimensional subspace rather than the full $d$-dimensional volume.

Summary updated

BibTeX
@inproceedings{singh2018nonparametric,
  author = {Shashank Singh and Ananya Uppal and Boyue Li and Chun-Liang Li and Manzil Zaheer and Barnabás Póczos},
  title = {{Nonparametric Density Estimation under Adversarial Losses}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=SJ-kLvbuWS},
}
Figure