On the Effects of Adversarial Perturbations on Distribution Robustness
Yipei Wang, Zhaoying Pan, Xiaoqian Wang
TL;DR
The paper investigates how adversarial perturbations affect distribution robustness under data shifts caused by spurious correlations. It adopts a two-stage proxy framework with Gaussian-feature modeling to derive closed-form expressions for training and test accuracy under clean and perturbed data, revealing how feature separability and spurious correlation severity mediate the adversarial-distribution robustness tradeoff. Surprisingly, under moderately biased data, L_inf perturbations can increase distribution robustness by reducing reliance on spurious features, and the gain can persist on highly skewed data when the core feature is highly separable. The results are validated on synthetic data and show that the surrogate analysis captures key aspects of standard adversarial training, offering guidance on when perturbations help or hurt distribution robustness.
Abstract
Adversarial robustness refers to a model's ability to resist perturbation of inputs, while distribution robustness evaluates the performance of the model under data shifts. Although both aim to ensure reliable performance, prior work has revealed a tradeoff in distribution and adversarial robustness. Specifically, adversarial training might increase reliance on spurious features, which can harm distribution robustness, especially the performance on some underrepresented subgroups. We present a theoretical analysis of adversarial and distribution robustness that provides a tractable surrogate for per-step adversarial training by studying models trained on perturbed data. In addition to the tradeoff, our work further identified a nuanced phenomenon that $\ell_\infty$ perturbations on data with moderate bias can yield an increase in distribution robustness. Moreover, the gain in distribution robustness remains on highly skewed data when simplicity bias induces reliance on the core feature, characterized as greater feature separability. Our theoretical analysis extends the understanding of the tradeoff by highlighting the interplay of the tradeoff and the feature separability. Despite the tradeoff that persists in many cases, overlooking the role of feature separability may lead to misleading conclusions about robustness.
