Robust long-tailed recognition with distribution-aware adversarial example generation.

Journal: Neural networks : the official journal of the International Neural Network Society
PMID:

Abstract

Confronting adversarial attacks and data imbalances, attaining adversarial robustness under long-tailed distribution presents a challenging problem. Adversarial training (AT) is a conventional solution for enhancing adversarial robustness, which generates adversarial examples (AEs) in a generation phase and subsequently trains on these AEs in a training phase. Existing long-tailed adversarial learning methods follow the AT framework and rebalance the AE classification in the training phase. However, few of them realize the impact of the long-tailed distribution on the generation phase. In this paper, we delve into the generation phase and uncover its imbalance across different classes. We evaluate the generation quality for different classes by comparing the differences between their generated AEs and natural examples. Our findings reveal that these differences are less pronounced in tail classes compared to head classes, indicating their inferior generation quality. To solve this problem, we propose the novel Distribution-Aware Adversarial Example Generation (DAG) method, which balances the AE generation for different classes using a Virtual Example Creator (VEC) and a Gradient-Guided Calibrator (GGC). The VEC creates virtual examples to introduce more adversarial perturbations for different classes, while the GGC calibrates the creation process to enhance the focus on tail classes based on their generation quality, effectively addressing the imbalance problem. Extensive experiments on three long-tailed adversarial benchmarks across five attack scenarios demonstrate DAG's effectiveness. On CIFAR-100-LT, DAG outperforms the previous RoBal by 4.0 points under the projected gradient descent (PGD) attack, highlighting its superiority in adversarial scenarios.

Authors

  • Bo Li
    Electric Power Research Institute, Yunnan Power Grid Co., Ltd., Kunming, Yunnan, China.
  • Yongqiang Yao
    Sensetime Research, No. 1900 Hongmei Road, Shanghai, 201103, Shanghai, China.
  • Jingru Tan
    Central South University, No. 932 South Lushan Road, Changsha, 410083, Hunan, China. Electronic address: tanjingru@csu.edu.cn.
  • Dandan Zhu
    East China Normal University, No. 3663, Zhongshan North Road, Shanghai, 200333, Shanghai, China.
  • Ruihao Gong
    Sensetime Research, No. 1900 Hongmei Road, Shanghai, 201103, Shanghai, China.
  • Ye Luo
    School of Software Engineering, Tongji University, Shanghai, People's Republic of China. yeluo@tongji.edu.cn.
  • Jianwei Lu
    Department of Cardiology Qufu People's Hospital Qufu Shandong 273100 China.