Language Guided Adversarial Purification

Himanshu Singh, A V Subramanyam
9/19/2023
cs.LGcs.CRcs.CV

Official code: Visual-Conception-Group/LGAP (4 stars, last commit 2023-10-10).

Abstract

Adversarial purification using generative models demonstrates strong adversarial defense performance. These methods are classifier and attack-agnostic, making them versatile but often computationally intensive. Recent strides in diffusion and score networks have improved image generation and, by extension, adversarial purification. Another highly efficient class of adversarial defense methods known as adversarial training requires specific knowledge of attack vectors, forcing them to be trained extensively on adversarial examples. To overcome these limitations, we introduce a new framework, namely Language Guided Adversarial Purification (LGAP), utilizing pre-trained diffusion models and caption generators to defend against adversarial attacks. Given an input image, our method first generates a caption, which is then used to guide the adversarial purification process through a diffusion network. Our approach has been evaluated against strong adversarial attacks, proving its effectiveness in enhancing adversarial robustness. Our results indicate that LGAP outperforms most existing adversarial defense techniques without requiring specialized network training. This underscores the generalizability of models trained on large datasets, highlighting a promising direction for further research.

View on arXivView PDF

Code Implementations(1)

41Shell, PythonOct 10, 20233 years ago

Similar Papers

Cite this paper

@article{singh2023language,
  title  = {Language Guided Adversarial Purification},
  author = {Himanshu Singh and A V Subramanyam},
  year   = {2023},
  eprint = {2309.10348},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.10348v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.10348.svg)](https://codeofpaper.com/paper/2309.10348)

Discussion