# Evaluating the Robustness of Bayesian Neural Networks Against Different Types of Attacks

Source: [Evaluating the Robustness of Bayesian Neural Networks Against Different Types of Attacks](<https://www.sota2.com/research/paper/68fa6a271e209131cea26695>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-25T23:17:37.192Z

Authors: Yutian Pang, Sheng Cheng, Jueming Hu, Yongming Liu

Published: 2021-06-17T03:18:59.000Z

## Abstract

To evaluate the robustness gain of Bayesian neural networks on image classification tasks, we perform input perturbations, and adversarial attacks to the state-of-the-art Bayesian neural networks, with a benchmark CNN model as reference. The attacks are selected to simulate signal interference and cyberattacks towards CNN-based machine learning systems. The result shows that a Bayesian neural network achieves significantly higher robustness against adversarial attacks generated against a deterministic neural network model, without adversarial training. The Bayesian posterior can act as the safety precursor of ongoing malicious activities. Furthermore, we show that the stochastic classifier after the deterministic CNN extractor has sufficient robustness enhancement rather than a stochastic feature extractor before the stochastic classifier. This advises on utilizing stochastic layers in building decision-making pipelines within a safety-critical domain.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2106.09223>)

[PDF](<https://arxiv.org/pdf/2106.09223.pdf>)
