Precise Tradeoffs in Adversarial Training for Linear Regression

Adel Javanmard, Mahdi Soltanolkotabi, Hamed Hassani

Abstract

This paper provides the first precise mathematical characterization of the fundamental tradeoff between standard accuracy (on clean data) and robust accuracy (under attack) in high-dimensional linear regression. By leveraging the Convex Gaussian Minimax Theorem (CGMT), we derive exact asymptotic expressions for risk and identify the Pareto-optimal frontier. Our analysis reveals that adversarial training can surprisingly improve standard accuracy in overparametrized models and demonstrates that the "double-descent" phenomenon persists but shifts under adversarial conditions.

Introduction

In modern machine learning, a persistent challenge is the "robustness-accuracy tradeoff": the observation that making a model resistant to small, malicious perturbations (adversarial attacks) often degrades its performance on normal, "benign" data. While this phenomenon is well-documented in deep learning, its theoretical foundations remain largely unexplored. This work addresses this gap by analyzing the foundational problem of linear regression in the high-dimensional regime.

We aim to answer three critical questions:

  1. What is the absolute best possible tradeoff (the Pareto-optimal limit) any algorithm can achieve?
  2. How close do current adversarial training methods get to this limit?
  3. How do factors like the amount of training data and model size (overparametrization) affect this balance?

Methodology

Theoretical Framework

We analyze the "high-dimensional regime" where the number of data points ($n$) and the number of features ($p$) both grow to infinity, while their ratio $n/p \to \delta$ remains constant. The core of our analysis utilizes the Convex Gaussian Minimax Theorem (CGMT). This framework allows us to reduce a complex, high-dimensional saddle-point optimization problem—where a learner minimizes loss while an adversary maximizes it within a radius $\epsilon$—into a simplified five-variable scalar optimization.

Experimental Setup

To verify our theoretical results, we utilize synthetic Gaussian data where features are drawn from $x \sim N(0, I)$ and labels are generated via a linear model with additive noise. Empirical simulations are conducted with $p=1000$ to demonstrate that our infinite-dimensional asymptotic predictions align with finite-data training runs.

The Pareto Frontier and Algorithmic Performance

A central contribution of this work is the characterization of the Pareto-optimal curve, which represents the theoretical limit of performance for any given data-to-parameter ratio $\delta$. Our results show that as the amount of data increases relative to the number of parameters, standard adversarial training algorithms converge toward this fundamental limit.

Standard vs. Adversarial Risk tradeoffs for varying data-to-parameter ratios (δ).

As illustrated in Figure 1, when $\delta$ grows from 4 to 64, the performance of the adversarial training algorithm moves progressively closer to the absolute black "Pareto" line. This visualization confirms that the gap between common algorithmic approaches and the theoretical optimum narrows significantly as the dataset becomes more overdetermined.

Key Insights

Adversarial Training as a Regularizer

In the "overparametrized" regime (where $\delta < 1$), we discover that adversarial training can actually improve standard accuracy. In these scenarios, the adversarial objective acts as a form of implicit regularization, preventing the model from over-fitting to noise. However, in the "underparametrized" regime (large $\delta$), this benefit vanishes, and the bias introduced by the adversarial objective begins to hurt standard performance.

The Shifting Peak of Double Descent

The "double-descent" phenomenon describes a risk peak at the interpolation threshold ($n=p$). We prove that in adversarial training, this peak still exists but its location shifts based on the strength of the adversary ($\epsilon$). This suggests that robustness requirements fundamentally change the complexity landscape of the model.

Conclusion

This work provides a rigorous foundation for understanding the tradeoffs inherent in robust machine learning. While focused on linear regression, these results offer a roadmap for future research into non-linear models and complex neural architectures. Our findings suggest that adversarial training is not merely a defense mechanism but a powerful regularizer that, when tuned correctly, can enhance the general performance of overparametrized models.

Summary updated

BibTeX
@inproceedings{javanmard2020precise,
  author = {Adel Javanmard and Mahdi Soltanolkotabi and Hamed Hassani},
  title = {{Precise Tradeoffs in Adversarial Training for Linear Regression}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
}
Figure