Skip to main content
QUICK REVIEW

[Paper Review] Evaluating the Robustness of Geometry-Aware Instance-Reweighted Adversarial Training

Dorjan Hitaj, Giulio Pagnotta|arXiv (Cornell University)|Mar 2, 2021
Adversarial Robustness in Machine LearningComputer Science7 references7 citations
TL;DR

This paper evaluates Geometry-Aware Instance-Reweighted Adversarial Training (GAIRAT), a recent defense method that assigns instance-dependent loss weights based on adversarial robustness estimates. Despite achieving state-of-the-art accuracy on CIFAR-10 under standard attacks, GAIRAT is highly vulnerable to logit scaling attacks, which reduce its robust accuracy from 53.76% to 43.89% under PGD-20 and 50.32% to 43.27% under PGD+, indicating a critical flaw in its robustness and a false sense of security.

ABSTRACT

In this technical report, we evaluate the adversarial robustness of a very recent method called "Geometry-aware Instance-reweighted Adversarial Training"[7]. GAIRAT reports state-of-the-art results on defenses to adversarial attacks on the CIFAR-10 dataset. In fact, we find that a network trained with this method, while showing an improvement over regular adversarial training (AT), is biasing the model towards certain samples by re-scaling the loss. Indeed, this leads the model to be susceptible to attacks that scale the logits. The original model shows an accuracy of 59% under AutoAttack - when trained with additional data with pseudo-labels. We provide an analysis that shows the opposite. In particular, we craft a PGD attack multiplying the logits by a positive scalar that decreases the GAIRAT accuracy from from 55% to 44%, when trained solely on CIFAR-10. In this report, we rigorously evaluate the model and provide insights into the reasons behind the vulnerability of GAIRAT to this adversarial attack. The code to reproduce our evaluation is made available at https://github.com/giuxhub/GAIRAT-LSA

Motivation & Objective

  • To rigorously evaluate the robustness of GAIRAT, a recently proposed adversarial defense method that reweights adversarial examples based on geometric proximity to class boundaries.
  • To investigate whether GAIRAT's instance-reweighting mechanism introduces hidden vulnerabilities not apparent under standard adversarial attacks.
  • To assess whether gradient masking effects in GAIRAT can be exposed using logit scaling attacks, which alter the magnitude of model logits without changing predictions.
  • To compare GAIRAT's performance under various attack settings, including PGD-20, PGD+, and logit-scaled PGD, to identify weaknesses in its robustness.

Proposed method

  • GAIRAT estimates the geometric distance of a natural data point to the decision boundary using the minimum number of PGD iterations (κ) required to generate an adversarial example from that point.
  • It assigns higher loss weights to data points closer to the decision boundary (less robust) and lower weights to those farther away (more robust), using a function ω(x, y, κ) to modulate the cross-entropy loss.
  • The method trains a deep neural network by minimizing a reweighted adversarial risk, where the loss is scaled based on the estimated robustness of each training sample.
  • The authors apply a logit scaling attack by multiplying the model’s logits by a scalar α before computing the PGD adversarial example, effectively altering gradient flow and exposing gradient masking.
  • They evaluate the model under multiple threat models: PGD-20, PGD+, and PGD with logit scaling (α = 10), using 40 iterations, step size λ = 0.01, and 5 random restarts.
  • The evaluation is conducted on a WRN-32-10 model trained solely on the CIFAR-10 training split, with robust accuracy reported under standard and modified attack settings.

Experimental results

Research questions

  • RQ1Does GAIRAT maintain robustness under logit scaling attacks, which can expose gradient masking in adversarial defenses?
  • RQ2Why does GAIRAT’s robust accuracy decrease significantly under logit scaling, despite its high performance under standard PGD attacks?
  • RQ3To what extent does the instance-reweighting mechanism in GAIRAT lead to gradient masking, making the model vulnerable to simple input transformations?
  • RQ4How does the performance of GAIRAT compare to standard adversarial training (AT) and friendly adversarial training (FAT) under both standard and modified PGD attacks?
  • RQ5Can the worst-case robust accuracy of GAIRAT be identified across different logit scaling factors, and does it occur at α = 10 as observed in the experiments?

Key findings

  • GAIRAT’s robust accuracy drops from 53.76% to 43.89% under PGD-20 when the logits are scaled by α = 10, indicating a significant vulnerability to this simple attack.
  • Under PGD+, the robust accuracy of GAIRAT decreases from 50.32% to 43.27% with α = 10, showing that the vulnerability persists even under more robust attack settings.
  • The worst-case robust accuracy for GAIRAT occurs at α = 10, whereas for standard AT and FAT, the worst case occurs at α = 1, indicating a fundamental difference in model sensitivity.
  • The logit scaling attack reveals that GAIRAT exhibits gradient masking, as the model’s robustness degrades significantly under this input transformation, despite high performance under standard attacks.
  • The performance drop under logit scaling is not due to a failure in the attack itself, but rather due to the model’s reliance on specific gradient magnitudes, which are altered by the scaling.
  • The results suggest that GAIRAT may be susceptible to AutoAttack, especially given its sensitivity to logit scaling, and raise concerns about the reliability of current robustness evaluation protocols.

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.