Calibration and Consistency of Adversarial Surrogate Losses
Pranjal Awasthi, Natalie Frank, Anqi Mao, Mehryar Mohri, Yutao Zhong
Abstract
Adversarial robustness is an increasingly critical property of classifiers in applications. The design of robust algorithms relies on surrogate losses since the optimization of the adversarial loss with most hypothesis sets is NP-hard. But which surrogate losses should be used and when do they benefit from theoretical guarantees? We present an extensive study of this question, including a detailed analysis of the H-calibration and H-consistency of adversarial surrogate losses. We show that, under some general assumptions, convex loss functions, or the supremum-based convex losses often used in applications, are not H-calibrated for important hypothesis sets such as generalized linear models or one-layer neural networks. We then give a characterization of H-calibration and prove that some surrogate losses are indeed H-calibrated for the adversarial loss, with these hypothesis sets. Next, we show that H-calibration is not sufficient to guarantee consistency and prove that, in the absence of any distributional assumption, no continuous surrogate loss is consistent in the adversarial setting. This, in particular, proves that a claim presented in a COLT 2020 publication is inaccurate. (Calibration results there are correct modulo subtle definition differences, but the consistency claim does not hold.) Next, we identify natural conditions under which some surrogate losses that we describe in detail are H-consistent for hypothesis sets such as generalized linear models and one-layer neural networks. We also report a series of empirical results with simulated data, which show that many H-calibrated surrogate losses are indeed not H-consistent, and validate our theoretical assumptions.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
29 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Multi-Class H-Consistency Bounds cites H-Consistency Bounds for Surrogate Loss Minimizers
- Multi-Class H-Consistency Bounds cites Towards Evaluating the Robustness of Neural Networks
- H-Consistency Bounds for Surrogate Loss Minimizers cites Towards Evaluating the Robustness of Neural Networks
- H-Consistency Bounds for Surrogate Loss Minimizers cites Fast is better than free: Revisiting adversarial training
- H-Consistency Bounds for Surrogate Loss Minimizers cites The Complexity of Adversarially Robust Proper Learning of Halfspaces with Agnostic Noise
- H-Consistency Bounds for Surrogate Loss Minimizers cites Reducing Adversarially Robust Learning to Non-Robust PAC Learning
- H-Consistency Bounds for Surrogate Loss Minimizers cites Adversarial Learning Guarantees for Linear Hypotheses and Neural Networks
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Multi-Class H-Consistency Bounds
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites H-Consistency Bounds for Surrogate Loss Minimizers
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Towards Evaluating the Robustness of Neural Networks
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Fast is better than free: Revisiting adversarial training
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Generalizing Consistent Multi-Class Classification with Rejection to be Compatible with Arbitrary Losses
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites The Complexity of Adversarially Robust Proper Learning of Halfspaces with Agnostic Noise
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Reducing Adversarially Robust Learning to Non-Robust PAC Learning
- Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Adversarial Learning Guarantees for Linear Hypotheses and Neural Networks
- Fast is better than free: Revisiting adversarial training cites Towards Evaluating the Robustness of Neural Networks
- Two-Stage Learning to Defer with Multiple Experts cites Multi-Class H-Consistency Bounds
- Two-Stage Learning to Defer with Multiple Experts cites H-Consistency Bounds for Surrogate Loss Minimizers
- Two-Stage Learning to Defer with Multiple Experts cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
- Two-Stage Learning to Defer with Multiple Experts cites Generalizing Consistent Multi-Class Classification with Rejection to be Compatible with Arbitrary Losses
- Adversarial Learning Guarantees for Linear Hypotheses and Neural Networks cites Towards Evaluating the Robustness of Neural Networks
Cited by top-tier papers29
- Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 citations
- Two-Stage Learning to Defer with Multiple ExpertsAnqi Mao, Christopher Mohri, Mehryar Mohri, Yutao ZhongNeurIPS 2023 · 98 citations
- H-Consistency Bounds for Surrogate Loss MinimizersPranjal Awasthi, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2022 · 50 citations
- Multi-Class -Consistency BoundsPranjal Awasthi, Anqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2022 · 48 citations
- Generalizing Consistent Multi-Class Classification with Rejection to be Compatible with Arbitrary LossesYuzhou Cao, Tianchi Cai, Lei Feng, Lihong Gu et al.NeurIPS 2022 · 42 citations
Builds on5
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Fast is better than free: Revisiting adversarial trainingEric Wong, Leslie Rice, J. Zico KolterICLR 2020 · 1,352 citations
- Adversarial Learning Guarantees for Linear Hypotheses and Neural NetworksPranjal Awasthi, Natalie Frank, Mehryar MohriICML 2020 · 65 citations
- Reducing Adversarially Robust Learning to Non-Robust PAC LearningOmar Montasser, Steve Hanneke, Nati SrebroNeurIPS 2020 · 35 citations
- The Complexity of Adversarially Robust Proper Learning of Halfspaces with Agnostic NoiseIlias Diakonikolas, Daniel M. Kane, Pasin ManurangsiNeurIPS 2020 · 23 citations
Related papers
- Towards Consistency in Adversarial ClassificationLaurent Meunier, Raphael Ettedgui, Rafael Pinot, Yann Chevaleyre et al.NeurIPS 2022 · 12 citations
- The Adversarial Consistency of Surrogate Risks for Binary ClassificationNatalie Frank, Jonathan Niles-WeedNeurIPS 2023 · 9 citations
- Bayes Consistency vs. H-Consistency: The Interplay between Surrogate Loss Functions and the Scoring Function ClassMingyuan Zhang, Shivani AgarwalNeurIPS 2020 · 42 citations
- H-Consistency Guarantees for RegressionAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2024 · 18 citations
- On the consistency of top-k surrogate lossesForest Yang, Sanmi KoyejoICML 2020 · 54 citations
