[Paper Review] Comment on "Adv-BNN: Improved Adversarial Defense through Robust Bayesian Neural Network"
This paper critiques the robustness claims of Adv-BNN, a Bayesian neural network defense against $l_∞$ adversarial attacks, by demonstrating that its reported superiority stems from an inadequate attack method. The authors propose an averaged PGD (A-PGD) attack that stabilizes gradient estimation across stochastic weight samples, revealing that Adv-BNN is not more robust than standard adversarially trained networks when evaluated with a stronger attack; retraining with A-PGD-generated examples restores robustness, showing the original evaluation was biased by gradient instability.
A recent paper by Liu et al. combines the topics of adversarial training and Bayesian Neural Networks (BNN) and suggests that adversarially trained BNNs are more robust against adversarial attacks than their non-Bayesian counterparts. Here, I analyze the proposed defense and suggest that one needs to adjust the adversarial attack to incorporate the stochastic nature of a Bayesian network to perform an accurate evaluation of its robustness. Using this new type of attack I show that there appears to be no strong evidence for higher robustness of the adversarially trained BNNs.
Motivation & Objective
- To evaluate the robustness of Adv-BNN, a Bayesian neural network defense, under more accurate adversarial attack conditions.
- To identify flaws in the attack methodology used in the original Adv-BNN paper, particularly its failure to account for the stochasticity of Bayesian networks.
- To demonstrate that the reported robustness gains of Adv-BNN are artifacts of an inadequate attack, not genuine robustness improvements.
- To propose and validate a stronger attack method—averaged PGD (A-PGD)—that properly accounts for weight distribution stochasticity.
- To show that retraining Adv-BNN on adversarial examples generated by A-PGD yields a more robust model, confirming the importance of attack fidelity in defense evaluation.
Proposed method
- Proposes an averaged PGD (A-PGD) attack that estimates the expected gradient over multiple stochastic weight samples $\bm{\epsilon}$ to stabilize gradient ascent.
- Modifies the standard PGD update rule by replacing the single-sample gradient with an expectation over $\bm{\epsilon}$, improving convergence and attack reliability on Bayesian networks.
- Uses the same network architecture and training setup as the original Adv-BNN paper, with an ensemble size of 40 for inference to approximate the expected output.
- Employs $l_\infty$-bounded perturbations with radii $\gamma = 0.035$ and $\gamma = 0.07$, and runs attacks for 150 steps, confirming convergence.
- Reimplements the original Adv-BNN and adversarially trained standard CNN on the STL-10 dataset, using publicly available models and code.
- Retrains the Adv-BNN using adversarial examples generated by the A-PGD attack to evaluate whether improved robustness can be achieved.
Experimental results
Research questions
- RQ1Does the reported robustness of Adv-BNN against $l_\infty$ attacks hold when evaluated with a more accurate, gradient-stabilized attack method?
- RQ2Is the performance gain of Adv-BNN over standard adversarially trained networks due to genuine robustness or an artifact of the attack's inability to handle weight stochasticity?
- RQ3Can a Bayesian neural network be made more robust by adversarial training using the proposed A-PGD attack?
- RQ4How does the choice of attack method affect the perceived robustness of Bayesian neural networks?
- RQ5What is the impact of gradient instability in stochastic networks on the reliability of adversarial robustness evaluations?
Key findings
- The original Adv-BNN defense appears significantly more robust than standard adversarially trained networks when evaluated with the naive PGD attack, achieving 37.6% accuracy at $\gamma = 0.035$.
- When evaluated with the proposed A-PGD attack, the Adv-BNN's accuracy drops to 30.3% at $\gamma = 0.035$, indicating that its robustness was overestimated due to gradient instability in the original attack.
- The standard adversarially trained CNN outperforms Adv-BNN under A-PGD evaluation, achieving 38.2% accuracy at $\gamma = 0.035$, showing that Adv-BNN does not offer a consistent robustness advantage.
- Retraining Adv-BNN using adversarial examples generated by A-PGD increases its robustness, achieving 31.2% accuracy at $\gamma = 0.035$, surpassing the original Adv-BNN and matching the standard CNN.
- The A-PGD attack is more effective than the naive PGD attack in revealing the true robustness of Bayesian networks, proving that gradient averaging is essential for accurate evaluation.
- The study concludes that the robustness of Bayesian neural networks is highly sensitive to attack method fidelity, and that naive attacks can lead to misleading conclusions about model performance.
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.