[Paper Review] Adversarial Robustness under Long-Tailed Distribution
This paper introduces RoBal, a novel framework for improving adversarial robustness under long-tailed data distributions by combining a scale-invariant classifier with data re-balancing via margin engineering and boundary adjustment. It achieves state-of-the-art robust accuracy on long-tailed CIFAR-10 and ImageNet-LT benchmarks, demonstrating that balancing data distribution and reducing boundary error are critical for robustness in real-world scenarios.
Adversarial robustness has attracted extensive studies recently by revealing the vulnerability and intrinsic characteristics of deep networks. However, existing works on adversarial robustness mainly focus on balanced datasets, while real-world data usually exhibits a long-tailed distribution. To push adversarial robustness towards more realistic scenarios, in this work we investigate the adversarial vulnerability as well as defense under long-tailed distributions. In particular, we first reveal the negative impacts induced by imbalanced data on both recognition performance and adversarial robustness, uncovering the intrinsic challenges of this problem. We then perform a systematic study on existing long-tailed recognition methods in conjunction with the adversarial training framework. Several valuable observations are obtained: 1) natural accuracy is relatively easy to improve, 2) fake gain of robust accuracy exists under unreliable evaluation, and 3) boundary error limits the promotion of robustness. Inspired by these observations, we propose a clean yet effective framework, RoBal, which consists of two dedicated modules, a scale-invariant classifier and data re-balancing via both margin engineering at training stage and boundary adjustment during inference. Extensive experiments demonstrate the superiority of our approach over other state-of-the-art defense methods. To our best knowledge, we are the first to tackle adversarial robustness under long-tailed distributions, which we believe would be a significant step towards real-world robustness. Our code is available at: https://github.com/wutong16/Adversarial_Long-Tail .
Motivation & Objective
- To investigate the impact of long-tailed data distributions on adversarial robustness, as real-world data typically exhibits such imbalance.
- To identify intrinsic challenges in long-tailed recognition under adversarial training, particularly the magnified drop in natural accuracy for tail classes.
- To systematically evaluate existing long-tailed recognition methods in conjunction with adversarial training to uncover limitations and false gains in robustness evaluation.
- To propose a unified framework that simultaneously improves natural accuracy and robust accuracy by addressing data imbalance and boundary vulnerability.
Proposed method
- Proposes a scale-invariant classifier using cosine similarity to replace standard linear layers, reducing sensitivity to feature magnitude and improving robustness.
- Introduces class-aware and pair-aware margins during training to re-balance the loss and promote better separation between tail and head classes.
- Applies boundary adjustment at inference time to dynamically correct predictions near decision boundaries, reducing boundary error.
- Combines data re-balancing with margin engineering to mitigate prediction priors and reduce vulnerability of tail classes to adversarial attacks.
- Employs adversarial training with PGD and FGSM attacks under controlled ε settings to evaluate robustness on long-tailed datasets.
- Uses a curriculum-based evaluation with Auto Attack (APGD-CE and APGD-DLR) to ensure reliable and efficient robustness assessment.
Experimental results
Research questions
- RQ1How does long-tailed data distribution affect the natural and robust accuracy of deep neural networks under adversarial training?
- RQ2Why do existing long-tailed recognition methods fail to improve robustness uniformly across classes, especially for tail classes?
- RQ3To what extent does unreliable evaluation lead to a false gain in reported robust accuracy on long-tailed datasets?
- RQ4Can boundary error be reduced effectively through re-balancing and classifier design to improve adversarial robustness?
- RQ5Is it possible to simultaneously improve both natural accuracy and robust accuracy on long-tailed distributions through a unified framework?
Key findings
- Adversarial training magnifies the drop in natural accuracy for tail classes under long-tailed distributions, confirming a more severe trade-off than in balanced settings.
- On CIFAR-10-LT, RoBal achieves 78.4% natural accuracy and 68.2% robust accuracy under PGD-20 attack, outperforming baseline methods by over 5% in robust accuracy.
- On ImageNet-LT with ε=2/255, RoBal achieves 30.02% clean accuracy and 17.67% robust accuracy under PGD-20, surpassing the next best method by 4.4% in robust accuracy.
- The boundary error (R_bdy) is significantly higher for tail classes, and RoBal reduces it through margin engineering and inference-time boundary adjustment.
- Data re-balancing combined with a scale-invariant classifier leads to a 12.5% improvement in robust accuracy for tail classes compared to standard adversarial training.
- Experiments show that the combination of class-aware margins and inference-time boundary adjustment is more effective than re-balancing alone, validating the synergy of the two components.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.