Skip to main content
QUICK REVIEW

[Paper Review] Image Transformation can make Neural Networks more robust against Adversarial Examples

Dang Duy Thang, Toshihiro Matsui|arXiv (Cornell University)|Jan 10, 2019
Adversarial Robustness in Machine LearningComputer Science32 references8 citations
TL;DR

This paper proposes a simple yet effective defense against adversarial examples by applying image rotation to restore classification accuracy. Using FGSM-generated adversarial examples on MNIST, the authors show that rotating adversarial images by 30–40 degrees restores correct classification with over 99% accuracy, demonstrating that rotation disrupts adversarial perturbations while preserving natural image features.

ABSTRACT

Neural networks are being applied in many tasks related to IoT with encouraging results. For example, neural networks can precisely detect human, objects and animal via surveillance camera for security purpose. However, neural networks have been recently found vulnerable to well-designed input samples that called adversarial examples. Such issue causes neural networks to misclassify adversarial examples that are imperceptible to humans. We found giving a rotation to an adversarial example image can defeat the effect of adversarial examples. Using MNIST number images as the original images, we first generated adversarial examples to neural network recognizer, which was completely fooled by the forged examples. Then we rotated the adversarial image and gave them to the recognizer to find the recognizer to regain the correct recognition. Thus, we empirically confirmed rotation to images can protect pattern recognizer based on neural networks from adversarial example attacks.

Motivation & Objective

  • To investigate whether simple image transformations like rotation can mitigate the impact of adversarial examples on neural networks.
  • To evaluate the robustness of neural networks when subjected to adversarial perturbations and subsequent rotation.
  • To determine if rotation can restore correct classification of adversarial examples without requiring retraining or complex defenses.
  • To provide empirical evidence that geometric transformations can serve as a lightweight defense mechanism against adversarial attacks.

Proposed method

  • Crafted adversarial examples on MNIST using the Fast Gradient Sign Method (FGSM) with a perturbation size ε.
  • Applied rotational transformations to adversarial images at various angles (0° to 90°) to assess classification recovery.
  • Used a pre-trained LeNet-5 model to evaluate classification probabilities before and after rotation.
  • Measured classification accuracy for original, adversarial, and rotated images to compare performance.
  • Selected optimal rotation angles (e.g., 39°, 28°) where correct classification accuracy peaked.
  • Analyzed the change in predicted class probabilities to confirm that adversarial influence was neutralized.

Experimental results

Research questions

  • RQ1Can image rotation effectively restore correct classification of adversarial examples in neural networks?
  • RQ2At what rotation angle does classification accuracy peak for adversarial images?
  • RQ3Does rotation preserve the integrity of the original image's semantic content while neutralizing adversarial perturbations?
  • RQ4How does the performance of a neural network on adversarial images compare before and after rotation?
  • RQ5Can a simple geometric transformation like rotation serve as a viable defense mechanism against adversarial attacks?

Key findings

  • Rotation of adversarial images by approximately 39 degrees restored classification accuracy to 99.3% for a digit 1 misclassified as 8.
  • In the first experiment, 9 out of 10 adversarial examples were correctly reclassified after rotation, with accuracy recovering to over 99%.
  • For adversarial examples targeting digit 6 as digit 9, rotation at 28 degrees restored correct classification to 100%.
  • The classification probability for the targeted incorrect class dropped from 97.1% to 0.2% after optimal rotation.
  • The method achieved consistent performance across multiple adversarial examples, with minimal degradation in original image classification accuracy.
  • The approach successfully neutralized adversarial perturbations without requiring model retraining or complex architecture changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.