Theoretical Analysis of Adversarial Learning: A Minimax Approach

Zhuozhuo Tu, Jingwei Zhang, Dacheng Tao

TL;DR

This paper introduces a unified theoretical framework that treats adversarial learning as a minimax statistical learning problem using optimal transport maps. By applying a weaker, data-dependent version of the Lipschitz condition, the authors derive tighter generalization risk bounds for multi-class classification and unsupervised learning models (like SVMs, DNNs, and PCA) that gracefully recover standard risk bounds when no adversary is present.

What Problem Does This Paper Address?

Deep learning models are notoriously vulnerable to adversarial examples—small, intentional perturbations that fool a model into making incorrect predictions. While engineers have developed numerous empirical defense mechanisms, understanding the generalization performance of these robust models theoretically remains a significant challenge.

Prior theoretical works faced severe limitations: they were often restricted to binary classification, relied on hard-to-optimize non-convex loss functions (like the 0-1 loss), or produced "vacuous" bounds (bounds that shoot off to infinity or fail to reduce to standard risk bounds when the adversarial perturbation radius shrinks to zero). This paper bridges the gap by providing a general, flexible framework to analyze adversarial risk across multi-class settings and various loss functions.

Methods

The authors tackle the problem by reframing adversarial learning through the lens of minimax statistical learning.

  1. Transport Maps: The core trick is introducing a transport map ($T_h$) that maps the original data distribution $P$ to a new, adversarially perturbed distribution $P'$. This reduces the adversarial risk problem to a standard expected risk problem over $P'$.
  2. Wasserstein Balls: Since $P'$ depends on the specific model hypothesis and isn't fixed, the authors look at the worst-case distribution within a mathematically defined neighborhood—a $p$-Wasserstein ball centered around the original distribution $P$.
  3. Weak Lipschitz Condition: Instead of assuming a strict, global Lipschitz constant for the loss functions (which is standard but often too rigid), the authors introduce a weaker version where the Lipschitz constant $\lambda$ is data-dependent and varies based on the function and data point.
  4. Covering Numbers: Using Dudley's entropy integral and covering numbers, they bound the Rademacher complexity of the worst-case loss functions to prove a new generalization bound.

Datasets

None used. This is a purely theoretical paper focused on proving mathematical guarantees and risk bounds.

Key Insights and Ideas

  • Seamless Reduction to Standard Risk: A major breakthrough of this framework is that when the adversary's perturbation radius ($\epsilon_B$) is set to $0$, the derived adversarial risk bound cleanly collapses back into the standard, non-adversarial generalization bound.
  • Stronger Adversaries Can Simplify Complexity: Counter-intuitively, the paper notes that as an adversary gets stronger ($\epsilon_B$ increases), the hypothesis class complexity term can actually decrease. This happens because many different hypotheses collapse to the same worst-case performance under a powerful attack, effectively reducing the variety of distinct model behaviors.
  • Data-Dependent Optimization: The bounds feature a data-dependent term ($\lambda^+_{f, P_n}$) that measures how sensitive the loss function is to perturbations on the empirical training data. Because this term is data-dependent, it can theoretically be targeted and minimized during training to directly engineer adversarial robustness.

Key Results

The authors successfully derive explicit adversarial risk bounds for three major machine learning paradigms:

  • Support Vector Machines (SVMs): Derived bounds for both linear and Gaussian-kernel SVMs in the presence of adversaries.
  • Deep Neural Networks (DNNs): Provided a multi-class generalization bound based on the spectral and Frobenius norms of the network's weight matrices. Crucially, unlike concurrent works, this multi-class bound does not explicitly suffer from an extra penalty factor scaling with the number of classes.
  • Principal Component Analysis (PCA): Demonstrated the framework's versatility by extending it to unsupervised learning, establishing the first adversarial risk bound for PCA reconstruction error.

Limitations and Future Work

The authors acknowledge two main limitations:

  1. Pessimistic Bounds: Because the framework always evaluates the absolute worst-case scenario within the Wasserstein ball to bypass explicitly solving the transport map, the resulting bounds can be conservative (loose) for simpler problems.
  2. Dimension Dependency: The reliance on covering numbers introduces an unavoidable dependency on the dimensionality of the feature space (e.g., $\sqrt{d}$ terms).

For future work, the authors suggest replacing covering numbers directly with the Rademacher complexity of the hypothesis class to eliminate this dimension dependency. They also propose developing practical robust training algorithms that use grid search to optimize the data-dependent regularization terms introduced in their proofs.

Summary updated

Abstract

Here we propose a general theoretical method for analyzing the risk bound in the presence of adversaries. Specifically, we try to fit the adversarial learning problem into the minimax framework. We first show that the original adversarial learning problem can be reduced to a minimax statistical learning problem by introducing a transport map between distributions. Then, we prove a new risk bound for this minimax problem in terms of covering numbers under a weak version of Lipschitz condition. Our method can be applied to multi-class classification problems and commonly used loss functions such as the hinge and ramp losses. As some illustrative examples, we derive the adversarial risk bounds for SVMs, deep neural networks, and PCA, and our bounds have two data-dependent terms, which can be optimized for achieving adversarial robustness.
BibTeX
@inproceedings{tu2019theoretical,
  author = {Zhuozhuo Tu and Jingwei Zhang and Dacheng Tao},
  title = {{Theoretical Analysis of Adversarial Learning: A Minimax Approach}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure