Skip to main content
QUICK REVIEW

[Paper Review] A Closer Look at the Adversarial Robustness of Deep Equilibrium Models

Zonghan Yang, Tianyu Pang|arXiv (Cornell University)|Jun 2, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper addresses the adversarial robustness of general deep equilibrium models (DEQs), which suffer from gradient obfuscation due to black-box solvers and misaligned forward/backward passes. The authors propose intermediate gradient estimation via simultaneous adjoint iteration and unrolling-based methods to enable fully white-box attacks and defenses, demonstrating that adversarially trained DEQs achieve robustness competitive with standard deep networks of similar size on CIFAR-10.

ABSTRACT

Deep equilibrium models (DEQs) refrain from the traditional layer-stacking paradigm and turn to find the fixed point of a single layer. DEQs have achieved promising performance on different applications with featured memory efficiency. At the same time, the adversarial vulnerability of DEQs raises concerns. Several works propose to certify robustness for monotone DEQs. However, limited efforts are devoted to studying empirical robustness for general DEQs. To this end, we observe that an adversarially trained DEQ requires more forward steps to arrive at the equilibrium state, or even violates its fixed-point structure. Besides, the forward and backward tracks of DEQs are misaligned due to the black-box solvers. These facts cause gradient obfuscation when applying the ready-made attacks to evaluate or adversarially train DEQs. Given this, we develop approaches to estimate the intermediate gradients of DEQs and integrate them into the attacking pipelines. Our approaches facilitate fully white-box evaluations and lead to effective adversarial defense for DEQs. Extensive experiments on CIFAR-10 validate the adversarial robustness of DEQs competitive with deep networks of similar sizes.

Motivation & Objective

  • To investigate the limitations of standard attacks in evaluating the true adversarial robustness of DEQs due to gradient obfuscation.
  • To address the misalignment between forward and backward passes in DEQs caused by black-box solvers.
  • To develop intermediate gradient estimation techniques that enable fully white-box evaluation and training for DEQs.
  • To benchmark the adversarial robustness of DEQs under white-box settings and compare them with standard deep networks.
  • To explore defense strategies that leverage intermediate states for improved robustness in DEQs.

Proposed method

  • Propose a simultaneous adjoint gradient estimation method that iteratively computes gradients during the forward pass of the DEQ solver.
  • Introduce an unrolling-based method to estimate intermediate gradients by backpropagating through the unrolled forward trajectory.
  • Integrate both gradient estimation methods into standard PGD attack pipelines to construct fully white-box adversaries.
  • Design defense strategies based on early exiting and ensemble inference using intermediate states to improve robustness.
  • Use PGD-AT with exact gradients to train large and extra-large DEQs on CIFAR-10, matching parameter sizes of ResNet-18 and WideResNet-34-10.
  • Validate the effectiveness of the proposed attacks and defenses through extensive ablation and robustness evaluation on standard and adversarially trained DEQs.
Figure 2: Challenges in benchmarking adversarial robustness of DEQs. (a) Gradient obfuscation issues arise in the DEQs trained with different configurations. With different iteration settings in the DEQ solver or different gradient formulations, the intermediate state always exhibit higher robustnes
Figure 2: Challenges in benchmarking adversarial robustness of DEQs. (a) Gradient obfuscation issues arise in the DEQs trained with different configurations. With different iteration settings in the DEQ solver or different gradient formulations, the intermediate state always exhibit higher robustnes

Experimental results

Research questions

  • RQ1Why do standard PGD attacks fail to evaluate the true robustness of DEQs, and what causes gradient obfuscation in this context?
  • RQ2How can intermediate gradients in DEQs be reliably estimated to enable white-box attacks and defenses?
  • RQ3What is the robustness performance of DEQs under fully white-box evaluation, and how does it compare to standard deep networks?
  • RQ4Does the intermediate state in the forward pass of a DEQ exhibit a robustness accumulation effect, and if so, under what conditions?
  • RQ5Can effective adversarial training be achieved in DEQs despite the challenges of black-box solvers and fixed-point convergence?

Key findings

  • Vanilla DEQs trained with standard backpropagation are highly vulnerable to standard PGD attacks, with robust accuracy dropping to 0.00% across all intermediate states on CIFAR-10.
  • Adversarially trained DEQs require more forward steps to reach equilibrium or may violate fixed-point structure, indicating training-induced instability.
  • The intermediate states of adversarially trained DEQs exhibit a robustness accumulation effect, with higher robustness than the final state under standard attacks.
  • The proposed white-box attacks—using simultaneous adjoint and unrolled intermediate gradients—successfully defeat standardly trained DEQs, achieving 1.31% robust accuracy under the strongest attack with early exiting defense.
  • Under white-box evaluation, the best defense strategy (ensemble of intermediate states) achieves 3.69% robust accuracy on the final state, while the best overall robustness is 1.31% with early exiting.
  • Adversarially trained DEQs achieve competitive or stronger robustness than deep networks of similar size, demonstrating that DEQs can be as robust as standard models when properly trained.
Figure 3: Ablation study on the gradient estimations at different intermediate states. (a) Different robustness performance under PGD-10 with different intermediate adjoint states $\bm{\mathrm{u}}_{n}$ as the surrogate gradient. For the approach in Sec. 4.1 , $\bm{\mathrm{u}}_{4}$ leads to the large
Figure 3: Ablation study on the gradient estimations at different intermediate states. (a) Different robustness performance under PGD-10 with different intermediate adjoint states $\bm{\mathrm{u}}_{n}$ as the surrogate gradient. For the approach in Sec. 4.1 , $\bm{\mathrm{u}}_{4}$ leads to the large

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.