[Paper Review] On the Robustness of Randomized Ensembles to Adversarial Perturbations
This paper proposes BARRE, a boosting algorithm for training randomized ensemble classifiers (RECs) that achieve robustness comparable to adversarial training (AT) and deterministic ensembles like MRBoost, but with significantly lower computational cost. By deriving theoretical bounds on REC robustness and using an adaptive, randomized attack (ARC-R) for evaluation, BARRE enables efficient, high-accuracy RECs resistant to strong ℓ∞-bounded adversaries across multiple architectures and datasets.
Randomized ensemble classifiers (RECs), where one classifier is randomly selected during inference, have emerged as an attractive alternative to traditional ensembling methods for realizing adversarially robust classifiers with limited compute requirements. However, recent works have shown that existing methods for constructing RECs are more vulnerable than initially claimed, casting major doubts on their efficacy and prompting fundamental questions such as: "When are RECs useful?", "What are their limits?", and "How do we train them?". In this work, we first demystify RECs as we derive fundamental results regarding their theoretical limits, necessary and sufficient conditions for them to be useful, and more. Leveraging this new understanding, we propose a new boosting algorithm (BARRE) for training robust RECs, and empirically demonstrate its effectiveness at defending against strong $\ell_\infty$ norm-bounded adversaries across various network architectures and datasets. Our code can be found at https://github.com/hsndbk4/BARRE.
Motivation & Objective
- To resolve fundamental questions about when and how randomized ensembles (RECs) provide robustness against adversarial perturbations.
- To identify theoretical limits, necessary and sufficient conditions, and optimal sampling probabilities for RECs.
- To develop a training algorithm that achieves high robustness with minimal computational overhead.
- To validate the effectiveness of the proposed method across diverse network architectures and datasets.
Proposed method
- Derives theoretical bounds on the robustness of randomized ensemble classifiers (RECs), establishing necessary and sufficient conditions for their utility.
- Proposes BARRE, a boosting algorithm that trains RECs by iteratively adding classifiers using adaptive PGD during training for improved generalization.
- Introduces ARC-R, a modified version of the ARC adversary that uses randomized classifier ordering to more effectively evaluate REC robustness.
- Employs an adaptive step size and direction estimation strategy in ARC-R to target decision boundaries across multiple classifiers simultaneously.
- Uses ℓ∞-norm bounded adversaries with ε = 8/255 for evaluation and training, ensuring consistency with standard robustness benchmarks.
- Trains RECs with a fixed first classifier (adversarially trained via PGD) and sequentially adds subsequent classifiers using BARRE with adaptive PGD.
Experimental results
Research questions
- RQ1Under what conditions is randomization in ensembles truly beneficial for adversarial robustness?
- RQ2What are the theoretical limits of randomized ensemble classifiers in terms of robustness and sampling probability?
- RQ3How can one efficiently train RECs to achieve robustness comparable to deterministic ensembles or adversarial training?
- RQ4Why does using the ARC adversary during training lead to poor generalization, and how can this be mitigated?
- RQ5Can a boosting-based approach for RECs outperform existing deterministic ensembles in both robustness and inference efficiency?
Key findings
- BARRE-trained RECs achieve robust accuracy on CIFAR-10 that matches or exceeds that of MRBoost and adversarial training, while using only 1/4 to 1/5 the FLOPs.
- On ResNet-20, BARRE achieves 19.13% robust accuracy with M=1 and 21.41% with M=4, outperforming MRBoost’s 17.69% and 21.36% respectively, with only 81M FLOPs.
- For MobileNetV1, BARRE achieves 27.12% robust accuracy with M=3 and 312M FLOPs, compared to MRBoost’s 26.63% with 936M FLOPs.
- The use of ARC as a training attack leads to poor generalization, as BARRE with ARC achieves higher training-set robust accuracy but lower test-set accuracy than with adaptive PGD.
- ARC-R outperforms standard PGD, FGSM, and CW attacks in evaluating REC robustness, demonstrating its effectiveness as a stronger adversary for RECs.
- Theoretical analysis reveals that optimal sampling probabilities and ensemble diversity are critical for REC robustness, and that randomization alone is insufficient without proper training.
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.