8000 GitHub - tokaka22/CVPR24-Focus-on-Hiders: [CVPR2024]Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial Training
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tokaka22/CVPR24-Focus-on-Hiders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HFAT-Pytorch Implementation

The official implementation of our CVPR 2024 paper "Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial Training" [Arxiv] [CVPR]

Abstract

Adversarial training is often formulated as a min-maxproblem, however, concentrating only on the worst adver-sarial examples causes alternating repetitive confusion ofthe model, i.e., previously defended or correctly classifiedsamples are not defensible or accurately classifiable in sub-sequent adversarial training. We characterize such non-ignorable samples as “hiders”, which reveal the hiddenhigh-risk regions within the secure area obtained throughadversarial training and prevent the model from finding thereal worst cases. We demand the model to prevent hiderswhen defending against adversarial examples for improv-ing accuracy and robustness simultaneously. By rethink-ing and redefining the min-max optimization problem foradversarial training, we propose a generalized adversar-ial training algorithm called Hider-Focused AdversarialTraining (HFAT). HFAT introduces the iterative evolutionoptimization strategy to simplify the optimization problemand employs an auxiliary model to reveal hiders, effectivelycombining the optimization directions of standard adversar-ial training and prevention hiders. Furthermore, we intro-duce an adaptive weighting mechanism that facilitates themodel in adaptively adjusting its focus between adversarialexamples and hiders during different training periods. Wedemonstrate the effectiveness of our method based on exten-sive experiments, and ensure that HFAT can provide higherrobustness and accuracy.

Usage

The experiments are conducted using with a single GeForce RTX 4090 24GB.

  • Create a virtual environment in terminal: conda create -n HFAT python=3.8.
  • Install necessary packages: pip install -r requirements.txt.
  • Download CIFAR-10 dataset and put it in ./datasets.
  • Use the .sh file in ./scripts to train.

BibTeX

@InProceedings{Li_2024_CVPR, 
	author = {Li, Qian and Hu, Yuxiao and Dong, Yinpeng and Zhang, Dongxiao and Chen, Yuntian}, 
	title = {Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial Training}, 
	booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, 
	mont
549B
h = {June}, 
	year = {2024}, 
	pages = {24442-24451}
}
@article{li2023focus,
  title={Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial Training},
  author={Li, Qian and Hu, Yuxiao and Dong, Yinpeng and Zhang, Dongxiao and Chen, Yuntian},
  journal={arXiv preprint arXiv:2312.07067},
  year={2023}
}

About

[CVPR2024]Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial Training

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0