SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.15762 · ICML · 2023

Understanding the Impact of Adversarial Robustness on Accuracy Disparity

Hongyang Zhang, Han Zhao, Fan Wu, Yuzheng Hu

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Accuracy-Disparity/AT-on-AD canonical 3 of 4
FunctionStatusWhere it lives
get_adv_accs Ran Accuracy-Disparity/AT-on-AD/process_data.py
pointer only (licence: NONE) · get_code("384686b4489f66bc")
get_std_accs Ran Accuracy-Disparity/AT-on-AD/process_data.py
pointer only (licence: NONE) · get_code("3700bb451c0f432c")
test Ran Accuracy-Disparity/AT-on-AD/test_syn.py
pointer only (licence: NONE) · get_code("5ace3388fbfc51fb")
parse Not yet run Accuracy-Disparity/AT-on-AD/process_data.py
pointer only (licence: NONE) · get_code("7b8fce327dcfb982")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While it has long been empirically observed that adversarial robustness may be at odds with standard accuracy and may have further disparate impacts on different classes, it remains an open question to what extent such observations hold and how the class imbalance plays a role within. In this paper, we attempt to understand this question of accuracy disparity by taking a closer look at linear classifiers under a Gaussian mixture model. We decompose the impact of adversarial robustness into two parts: an inherent effect that will degrade the standard accuracy on all classes due to the robustness constraint, and the other caused by the class imbalance ratio, which will increase the accuracy disparity compared to standard training. Furthermore, we also show that such effects extend beyond the Gaussian mixture model, by generalizing our data model to the general family of stable distributions. More specifically, we demonstrate that while the constraint of adversarial robustness consistently degrades the standard accuracy in the balanced class setting, the class imbalance ratio plays a fundamentally different role in accuracy disparity compared to the Gaussian case, due to the heavy tail of the stable distribution. We additionally perform experiments on both synthetic and real-world datasets to corroborate our theoretical findings. Our empirical results also suggest that the implications may extend to nonlinear models over real-world datasets. Our code is publicly available on GitHub 1 .

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2211.15762")
get_code_for_paper("2211.15762")
have("2211.15762")

Connect an agent — have() is free.