Skip to main content
QUICK REVIEW

[논문 리뷰] Boosting Adversarial Transferability by Achieving Flat Local Maxima

Zhijin Ge, Hongying Liu|arXiv (Cornell University)|2023. 06. 08.
Adversarial Robustness in Machine LearningComputer Science인용 수 13
한 줄 요약

이 논문은 Penalizing Gradient Norm (PGN)을 제안합니다. 이 공격은 gradient-norm penalty와 finite-difference Hessian approximation을 사용하여 평평한 로컬 영역에서 적대적 예제를 찾아 모델 간 전달성을 높입니다.

ABSTRACT

Transfer-based attack adopts the adversarial examples generated on the surrogate model to attack various models, making it applicable in the physical world and attracting increasing interest. Recently, various adversarial attacks have emerged to boost adversarial transferability from different perspectives. In this work, inspired by the observation that flat local minima are correlated with good generalization, we assume and empirically validate that adversarial examples at a flat local region tend to have good transferability by introducing a penalized gradient norm to the original loss function. Since directly optimizing the gradient regularization norm is computationally expensive and intractable for generating adversarial examples, we propose an approximation optimization method to simplify the gradient update of the objective function. Specifically, we randomly sample an example and adopt a first-order procedure to approximate the curvature of Hessian/vector product, which makes computing more efficient by interpolating two neighboring gradients. Meanwhile, in order to obtain a more stable gradient direction, we randomly sample multiple examples and average the gradients of these examples to reduce the variance due to random sampling during the iterative process. Extensive experimental results on the ImageNet-compatible dataset show that the proposed method can generate adversarial examples at flat local regions, and significantly improve the adversarial transferability on either normally trained models or adversarially trained models than the state-of-the-art attacks. Our codes are available at: https://github.com/Trustworthy-AI-Group/PGN.

연구 동기 및 목표

  • 모델 간에 평평한 로컬 영역에서의 적대적 예제가 더 잘 전달된다는 가설을 동기부여합니다.
  • 적대적 교란 생성을 수행하는 동안 평평한 로컬 최대를 찾기 위한 실용적인 방법(PGN)을 제안합니다.
  • gradient-norm penalization이 일반적으로 훈련된 모델과 adversarially trained 모델 모두의 전달성을 향상시킨다는 것을 보입니다.
  • PGN이 기존의 gradient-based 공격 및 입력 변환 공격과 통합되어 전달성을 높일 수 있음을 보여줍니다.

제안 방법

  • 적대적 예제의 로컬 이웃에서 최대 그래디언트를 패널라이즈하는 그래디언트 정규화 항을 도입합니다.
  • 정규화에 필요한 Hessian/벡터 곱을 유한 차분 방식과 두 인접 그래디언트를 보간(interpolating)하여 근사합니다.
  • 작은 이웃 내에서 랜덤 샘플링으로 로컬 그래디언트를 추정하고 여러 샘플에 걸쳐 평균화하여 분산을 줄입니다.
  • 패널라이즈된 그래디언트를 바탕으로 한 1차 절차로 적대적 교란을 갱신하여 효율적인 최적화를 가능하게 합니다.
  • 패널티를 표준 반복 공격(I-FGSM/MI-FGSM) 및 입력 변환과 결합한 구체적인 알고리즘(PGN)을 제공합니다.

실험 결과

연구 질문

  • RQ1로컬 이웃에서 최대 그래디언트 패널티를 부과하는 것이 더 나은 교차 모델 전달성을 가진 적대적 예제를 초래합니까?
  • RQ2유한 차분 및 그래디언트 보간을 통한 Hessian의 실용적 근사가 적대적 공격을 위한 평평한 영역 최적화를 가능하게 합니까?
  • RQ3PGN은 일반적으로 훈련된 모델과 adversarially trained 모델에서 기존의 gradient-based 및 입력 변환 공격에 비해 어떤 성능을 보입니다?
  • RQ4PGN은 앙상블 공격 및 기타 전달성 강화 기법들과의 조합에 호환됩니까?

주요 결과

  • 평평한 로컬 영역에 위치한 적대적 예제는 모델 간 전달성이 향상됨을 보였습니다.
  • PGN은 일반 모델 및 adversarially trained surrogate 모델에서 MI-/NI-/VMI-/EMI-/RAP FGSM 변형과 같은 기준치에 비해 전달성을 크게 향상시켰습니다.
  • 단일 모델 및 앙상블 모델 설정에서 PGN은 더 높은 공격 성공률을 달성하며(보고된 결과에서 몇 퍼센트 포인트 수준의 평균 이익 등 눈에 띄는 여유가 있음) 최상의 기준치를 능가할 수 있습니다.
  • PGN은 입력 변환 공격(DIM, TIM, SIM, Admix, SSA)과의 결합에서도 전달성 향상의 실질적 이점을 제공합니다.
  • 유한 차분 기반의 Hessian 근사 방식은 계산 속도를 높이고 직접 Hessian 최적화에 비해 높은 공격 성능을 유지합니다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.