Skip to main content
QUICK REVIEW

[Paper Review] Calibration and Consistency of Adversarial Surrogate Losses

Pranjal Awasthi, Natalie S. Frank|arXiv (Cornell University)|Apr 19, 2021
Adversarial Robustness in Machine LearningComputer Science34 references6 citations
TL;DR

This paper provides a rigorous theoretical analysis of the calibration and consistency of adversarial surrogate losses in robust machine learning. It proves that standard convex surrogate losses are not ${\mathscr{H}}$-calibrated for important models like generalized linear models and one-layer neural networks, and further shows that ${\mathscr{H}}$-calibration is insufficient for ${\mathscr{H}}$-consistency; in fact, no continuous surrogate loss is consistent in the adversarial setting without distributional assumptions. The authors identify conditions under which specific surrogate losses achieve ${\mathscr{H}}$-consistency and validate their findings empirically.

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.

Motivation & Objective

  • To address the lack of theoretical guarantees in adversarial robust learning, particularly the choice of surrogate losses for training robust classifiers.
  • To investigate whether commonly used convex surrogate losses are theoretically sound for adversarial robustness in hypothesis sets like generalized linear models and one-layer neural networks.
  • To clarify the distinction between ${\mathscr{H}}$-calibration and ${\mathscr{H}}$-consistency in the adversarial setting, where standard consistency theory does not apply.
  • To correct an inaccurate claim in prior work (COLT 2020) by proving that ${\mathscr{H}}$-calibration does not imply ${\mathscr{H}}$-consistency in the adversarial setting.
  • To identify natural distributional and structural conditions under which certain surrogate losses achieve ${\mathscr{H}}$-consistency for key hypothesis classes.

Proposed method

  • The authors introduce and formalize the notions of ${\mathscr{H}}$-calibration and ${\mathscr{H}}$-consistency in the context of adversarial losses, extending standard definitions to account for local neighborhood behavior.
  • They analyze the adversarial loss as a function not only of $f({\mathbf{x}})$ but also of $f$ in a neighborhood of ${\mathbf{x}}$, which invalidates standard consistency arguments.
  • Using measure-theoretic tools, they prove that no continuous surrogate loss is ${\mathscr{H}}$-consistent in the adversarial setting without distributional assumptions, establishing a fundamental theoretical barrier.
  • They derive a characterization of ${\mathscr{H}}$-calibration for adversarial losses and show that many standard convex losses fail to satisfy it for key hypothesis sets.
  • They identify sufficient conditions—such as specific structure in the data distribution and loss geometry—under which certain surrogate losses become ${\mathscr{H}}$-consistent.
  • They validate their theory with empirical experiments on simulated data, demonstrating that ${\mathscr{H}}$-calibrated losses can still fail to be ${\mathscr{H}}$-consistent.

Experimental results

Research questions

  • RQ1Are commonly used convex surrogate losses ${\mathscr{H}}$-calibrated for adversarial robustness in generalized linear models and one-layer neural networks?
  • RQ2Does ${\mathscr{H}}$-calibration imply ${\mathscr{H}}$-consistency in the adversarial setting, as it does in standard classification?
  • RQ3Can any continuous surrogate loss be ${\mathscr{H}}$-consistent for adversarial learning without additional distributional assumptions?
  • RQ4What structural or distributional conditions enable ${\mathscr{H}}$-consistency of surrogate losses in the adversarial setting?
  • RQ5Are the theoretical claims in the COLT 2020 paper on adversarial surrogate consistency correct, or is there a flaw in their reasoning?

Key findings

  • Convex surrogate losses, including supremum-based convex losses, are not ${\mathscr{H}}$-calibrated for generalized linear models or one-layer neural networks under general assumptions.
  • ${\mathscr{H}}$-calibration is not sufficient for ${\mathscr{H}}$-consistency in the adversarial setting; the two concepts are distinct and independent.
  • No continuous surrogate loss is ${\mathscr{H}}$-consistent for adversarial learning in the absence of distributional assumptions, establishing a fundamental theoretical limitation.
  • The claim of ${\mathscr{H}}$-consistency in the COLT 2020 paper is incorrect, though their calibration results hold modulo subtle definition differences.
  • Under natural conditions—such as specific data distribution structures and loss geometry—some surrogate losses achieve ${\mathscr{H}}$-consistency for generalized linear models and one-layer neural networks.
  • Empirical results on simulated data confirm that many ${\mathscr{H}}$-calibrated surrogate losses are not ${\mathscr{H}}$-consistent, validating the theoretical assumptions and findings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.