Skip to main content
QUICK REVIEW

[Paper Review] Trust Region Based Adversarial Attack on Neural Networks

Zhewei Yao, Amir Gholami|arXiv (Cornell University)|Dec 16, 2018
Adversarial Robustness in Machine LearningComputer Science9 references7 citations
TL;DR

This paper proposes a trust region (TR)-based adversarial attack framework that efficiently generates small, targeted perturbations for fooling deep neural networks. By leveraging first- and second-order TR optimization, the method achieves attack performance comparable to the Carlini-Wagner (CW) attack but with up to 37.5× faster inference time on VGG-16, while reducing perturbation magnitude by up to 3.9× compared to DeepFool.

ABSTRACT

Deep Neural Networks are quite vulnerable to adversarial perturbations. Current state-of-the-art adversarial attack methods typically require very time consuming hyper-parameter tuning, or require many iterations to solve an optimization based adversarial attack. To address this problem, we present a new family of trust region based adversarial attacks, with the goal of computing adversarial perturbations efficiently. We propose several attacks based on variants of the trust region optimization method. We test the proposed methods on Cifar-10 and ImageNet datasets using several different models including AlexNet, ResNet-50, VGG-16, and DenseNet-121 models. Our methods achieve comparable results with the Carlini-Wagner (CW) attack, but with significant speed up of up to $37 imes$, for the VGG-16 model on a Titan Xp GPU. For the case of ResNet-50 on ImageNet, we can bring down its classification accuracy to less than 0.1\% with at most $1.5\%$ relative $L_\infty$ (or $L_2$) perturbation requiring only $1.02$ seconds as compared to $27.04$ seconds for the CW attack. We have open sourced our method which can be accessed at [1].

Motivation & Objective

  • To develop a faster, more efficient adversarial attack method that reduces the computational cost of generating adversarial examples.
  • To improve attack success by minimizing perturbation magnitude while maintaining high transferability and targetability.
  • To explore the use of trust region optimization in adversarial attacks, leveraging both first- and second-order information for improved convergence and robustness.
  • To evaluate the method across diverse architectures (e.g., ResNet, VGG, DenseNet) and datasets (CIFAR-10, ImageNet) under multiple L2 and Linfty norms.
  • To demonstrate that TR-based attacks can match or exceed state-of-the-art performance (e.g., CW) while significantly reducing time and perturbation size.

Proposed method

  • The attack is formulated as a trust region optimization problem, where a local quadratic model approximates the loss landscape within a bounded region (trust region) around the current input.
  • A first-order TR method uses gradient information and adaptively adjusts the trust region radius to balance convergence speed and accuracy.
  • An adaptive variant dynamically tunes the trust region radius based on model approximation quality, eliminating the need for manual hyperparameter tuning.
  • A second-order TR variant incorporates Hessian information to better capture curvature in non-convex loss surfaces, especially beneficial for models with non-linear activations like Swish.
  • The method solves a quadratically constrained quadratic program (QCQP) at each iteration to find the optimal perturbation within the trust region.
  • The framework is applied to white-box attacks on DNNs, with perturbations computed via backpropagation and projected to maintain norm constraints.

Experimental results

Research questions

  • RQ1Can trust region optimization be effectively adapted to generate adversarial examples with lower perturbation magnitude and higher efficiency?
  • RQ2How does the performance of TR-based attacks compare to state-of-the-art methods like CW and DeepFool in terms of perturbation size and computation time?
  • RQ3Does incorporating second-order information (Hessian) improve attack strength, especially on models with non-linear activation functions?
  • RQ4Can adaptive trust region radius selection eliminate the need for manual hyperparameter tuning while maintaining or improving attack performance?
  • RQ5To what extent does the TR-based attack generalize across different architectures and datasets, including ImageNet?

Key findings

  • The TR-based attack achieves up to 37.5× speedup over the Carlini-Wagner (CW) attack on the VGG-16 model, reducing attack time from 27.04 seconds to 1.02 seconds on a Titan Xp GPU.
  • For ResNet-50 on ImageNet, the TR attack reduces model accuracy to below 0.1% with only 1.5% relative Linfty or L2 perturbation, matching CW performance but in significantly less time.
  • The TR method reduces perturbation magnitude by up to 3.9× compared to DeepFool, particularly in worst-case class attacks on WResNet under L2 norm.
  • On VGG-16 with Linfty norm, the TR perturbation is 1.9× smaller and more targeted than DeepFool’s, demonstrating improved precision and stealth.
  • The second-order TR variant outperforms the first-order version, reducing model accuracy by an additional 1.2% on AlexNet with 2–3 iterations, though at higher computational cost.
  • The adaptive TR variant achieves similar performance to the non-adaptive version but without manual tuning, with only a slight trade-off in perturbation size due to conservative default parameters.

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.