[Paper Review] Deep Learning Defenses Against Adversarial Examples for Dynamic Risk Assessment
This paper proposes two novel defenses—dimensionality reduction using autoencoders and prediction similarity based on image history—against adversarial attacks in deep learning models for dynamic risk assessment. It demonstrates that these defenses enhance model robustness while preserving accuracy, with prediction similarity achieving 99.5% detection of new adversarial examples.
Deep Neural Networks were first developed decades ago, but it was not until recently that they started being extensively used, due to their computing power requirements. Since then, they are increasingly being applied to many fields and have undergone far-reaching advancements. More importantly, they have been utilized for critical matters, such as making decisions in healthcare procedures or autonomous driving, where risk management is crucial. Any mistakes in the diagnostics or decision-making in these fields could entail grave accidents, and even death. This is preoccupying, because it has been repeatedly reported that it is straightforward to attack this type of models. Thus, these attacks must be studied to be able to assess their risk, and defenses need to be developed to make models more robust. For this work, the most widely known attack was selected (adversarial attack) and several defenses were implemented against it (i.e. adversarial training, dimensionality reduc tion and prediction similarity). The obtained outcomes make the model more robust while keeping a similar accuracy. The idea was developed using a breast cancer dataset and a VGG16 and dense neural network model, but the solutions could be applied to datasets from other areas and different convolutional and dense deep neural network models.
Motivation & Objective
- To address the critical risk posed by adversarial attacks in deep learning models used for high-stakes applications such as healthcare and autonomous driving.
- To evaluate and compare existing defenses, particularly adversarial training, against new adversarial examples.
- To propose and validate two new proactive defenses—dimensionality reduction and prediction similarity—for improved robustness and risk detection.
- To integrate these defenses into dynamic risk assessment frameworks for real-time decision-making in safety-critical systems.
Proposed method
- Applied adversarial attacks (FGSM, PGD) to a VGG16 and dense neural network model trained on a breast cancer dataset.
- Implemented adversarial training by retraining the model with generated adversarial examples to improve classification robustness.
- Integrated autoencoder-based dimensionality reduction by inserting encoder-decoder layers to filter noise and reduce input perturbations.
- Developed a prediction similarity defense using historical image embeddings and similarity metrics (SSIM) to detect adversarial inputs.
- Used mean squared error (MSE) and peak signal-to-noise ratio (PSNR) as baseline similarity metrics, with SSIM as the primary metric for detection.
- Evaluated defenses on both known (initial) and newly generated adversarial examples to assess robustness and detection capability.
Experimental results
Research questions
- RQ1How effective are adversarial training, dimensionality reduction, and prediction similarity in defending against known adversarial examples?
- RQ2Can dimensionality reduction using autoencoders make adversarial noise perceptible and thus reduce model vulnerability?
- RQ3To what extent can prediction similarity detect new adversarial examples without modifying the base model architecture?
- RQ4How do these defenses perform in terms of accuracy retention and robustness against newly generated adversarial attacks?
- RQ5Can prediction similarity serve as a viable input for dynamic risk assessment in safety-critical AI systems?
Key findings
- Adversarial training achieved 92.0% success in defending against known adversarial examples but failed to generalize to new adversarial examples.
- Dimensionality reduction using the middle autoencoder layer reduced adversarial success to 39.6% (60.4% defense rate), with noise becoming visually perceptible in generated adversarials.
- The prediction similarity defense detected 99.5% of new adversarial examples by measuring image similarity using the SSIM metric.
- The encoder-based defense achieved a 64.3% defense rate against initial adversarials, outperforming the initial autoencoder (70.5%) and adversarial training (92.0%) in new attack detection.
- Prediction similarity provided a non-intrusive, external layer for attack detection that could be integrated into risk assessment workflows.
- The proposed defenses maintained model accuracy while significantly improving robustness, with prediction similarity showing the highest detection performance for novel attacks.
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.