Robust estimation via Generative Adversarial Networks

Chao Gao, Jiyi Liu, Yuan Yao, Weizhi ZhuICLR 2019

In the world of statistics, there is a long-standing tension between being "optimal" and being "computable." For decades, researchers have known how to estimate the center of a dataset even when it is riddled with outliers—using methods like Tukey’s median. However, these methods are notoriously "NP-hard," making them essentially impossible to calculate for high-dimensional data.

The paper "Robust Estimation and Generative Adversarial Networks" provides a brilliant bridge. The authors demonstrate that the same machinery used to generate synthetic images—Generative Adversarial Networks (GANs)—can be repurposed to solve one of the oldest problems in robust statistics.

TL;DR: The authors establish a formal connection between robust "depth-based" estimators and GANs. By treating the GAN discriminator as a learnable depth function, they create a computationally feasible way to achieve statistically optimal robust estimation in high dimensions, even for heavy-tailed distributions where the mean doesn't exist.

The Challenge: Huber’s Contamination Model

The paper tackles Huber’s $\epsilon$-contamination model. Imagine a dataset where a large majority, $(1-\epsilon)$, of the points come from a well-behaved Gaussian distribution, but a small fraction, $\epsilon$, are "poisoned" outliers from an unknown, potentially malicious distribution.

If you simply take the average of this data, even a single extreme outlier can ruin your estimate. Classic robust solutions like the coordinate-wise median are better but remain suboptimal in high dimensions. The gold standard, Tukey’s median, is statistically perfect but computationally intractable. While recent breakthroughs in computer science have offered faster algorithms, they often require knowing the exact amount of contamination or the covariance of the data beforehand.

Methods: $f$-Learning and the GAN Twist

The authors introduce a unified framework called $f$-Learning. They prove that many classical robust estimators (such as Tukey’s depth and regression depth) are actually specific versions of a GAN objective. Specifically, they act as variational lower bounds of the Total Variation (TV) distance.

Instead of trying to solve the intractable "inf-sup" problem over all possible directions (as Tukey's median does), the authors use a Neural Network as the discriminator.

  • The Generator: A simple model that attempts to learn the location parameter $\theta$.
  • The Discriminator: A neural network that tries to distinguish between the "clean" model and the "contaminated" empirical data.

They explore two main flavors of this approach:

  1. TV-GAN: Directly related to the Total Variation distance. While theoretically elegant, it suffers from a difficult optimization landscape characterized by problematic flat regions.
  2. JS-GAN: Based on the Jensen-Shannon divergence (the standard GAN objective), which proves much easier to optimize in practice.
Optimization landscape illustrating flat regions

Key Insights

  • The Discriminator is a Depth Function: The most profound insight is that a GAN's discriminator essentially acts as a "depth function." It learns to assign low values to outliers and high values to points that appear to belong to the target distribution.
  • Hidden Layers are Mandatory for Robustness: The authors found that a simple linear discriminator (like logistic regression) is not robust. To achieve robustness in JS-GAN, the network must have at least one hidden layer. This non-linearity allows the discriminator to perform "generalized moment matching," effectively ignoring distant outliers.
  • Beyond Moments: Most recent robust algorithms rely on analyzing the moments (mean, covariance) of the data. Because this GAN approach is based on distribution distances, it works perfectly for heavy-tailed distributions (like the Cauchy distribution) where moments don't even exist—a scenario where most modern algorithms fail.

Key Results and Performance

The paper relies on extensive synthetic simulations to verify theoretical minimax rates, testing against Gaussian distributions with various contamination types and elliptical distributions like Cauchy.

  • Minimax Optimality: The proposed GAN estimators achieve the optimal error rate of $\sqrt{p/n} \vee \epsilon$.
  • Superior Performance: In head-to-head comparisons, the GAN approach often outperformed state-of-the-art "Iterative Filtering" and "Dimension Halving" algorithms, especially when the contamination was non-Gaussian. JS-GAN consistently demonstrated lower error rates than TV-GAN across varying contamination levels.
  • Adaptability: The method successfully adapted to unknown covariance structures without needing the user to specify the contamination level $\epsilon$ in advance.
JS-GAN vs TV-GAN L2 error across contamination levels

Limitations and Future Work

  • Optimization Finickiness: Like all GANs, these models can be sensitive to hyperparameters like learning rates. While the authors suggest a tuning strategy, it remains more complex than a simple closed-form estimator.
  • Theoretical Gaps: The paper proves the location estimator $\hat{\theta}$ is optimal, but leaves the formal theoretical analysis of the estimated covariance matrix $\hat{\Sigma}$ and the distribution shape $\hat{h}$ for future research.
  • Computational Cost: While significantly faster than NP-hard classical methods, training a neural network is still more computationally expensive than simple spectral methods for basic problems.

Summary updated

BibTeX
@inproceedings{gao2019robust,
  author = {Chao Gao and Jiyi Liu and Yuan Yao and Weizhi Zhu},
  title = {{Robust estimation via Generative Adversarial Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
}
Figure