Skip to content

Characterizing the optimal 0-1 loss for multiclass classification with a test-time attackerCharacterizing the Optimal 0-1 Loss for Multi-class Classification with a Test-time Attacker

arXiv· arXiv:2302.10722· Sihui Dai, Wenxin Ding, Arjun Nitin Bhagoji, Daniel Cullina, Ben Y. Zhao, Haitao Zheng, Prateek MittalPrinceton University; University of Chicago; Pennsylvania State UniversityIndexed by this site · 27 days ago· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

AI summaryIn the paper, the researchers give an achievable information-theoretic lower bound on the optimal 0-1 loss for multiclass classification in the presence of a test-time attacker, applicable to any discrete dataset. The core of the method is to construct a conflict hypergraph from the data and adversarial constraints to characterize this optimal loss. The authors also define several variants of the attacker-classifier game that can determine the range of the optimal loss more efficiently than the full hypergraph construction. The authors state that their evaluation on benchmark datasets is the first to analyze the gap between classifiers and optimal robustness in the multiclass setting.

Questions
What is the best possible robust 0-1 loss a multiclass classifier can achieve against a test-time attacker? The authors believe that prior characterizations of such optimal loss were mainly limited to binary classification, making it difficult to measure the gap between multiclass defenses and theoretical upper limits.
Methods
The authors construct a conflict hypergraph from the data and attack neighborhood, and write the optimal soft classification loss as a linear program; to reduce computation, they also obtain lower bounds by aggregating truncated hypergraphs and binary optimal losses, and obtain upper bounds using a generalized Caro-Wei bound.
Experiments and results
Under ℓ2 attacks on MNIST and CIFAR-10, the authors report a large gap between TRADES adversarial training and the optimal loss; at small ϵ the truncated hypergraph lower bound is close to the Caro-Wei upper bound, while the binary aggregation lower bound is looser.
Limitations and future work
The authors state that the method is computationally expensive under large attack budgets, large sample sizes and many classes, and that the paper does not address how to close the training gap. The experiments cover MNIST, CIFAR-10, CIFAR-100 and two-dimensional Gaussian data, and the exact optimal loss is computed only up to three classes.

Related papers

Show 3 more papers
Read originalarxiv.org