Skip to content
Open access

Analysis of adversarial examples in neural network image classifiers

Aug 2026 · PeerJ Computer Science · 0 citations · 19 references

TL;DR

This work explores different neural network architectures, including fully connected networks, classical convolutional networks, and residual networks, under four types of adversarial attacks constrained by different L p norms, and investigates how adversarial examples affect the internal representations of networks by analyzing the nearest neighbors and class manifold proximity across layers.

Abstract

Deep learning models have achieved remarkable success across various domains, yet they remain vulnerable to adversarial examples, small carefully crafted perturbations of input images that cause models to make incorrect predictions. These adversarial examples are usually indistinguishable from the original input, yet the model classifies them incorrectly, which implies the lack of robustness of trained models. This work explores different neural network architectures, including fully connected networks, classical convolutional networks, and residual networks, under four types of adversarial attacks constrained by different L p norms. We evaluated attack success rates across multiple datasets and observed how different models behave when faced with various adversarial examples. All attacks are remarkably effective across all models and lead to misclassification almost every time. Next, we investigate how adversarial examples affect the internal representations of networks by analyzing the nearest neighbors and class manifold proximity across layers. Our results show that misclassification often occurs in the last couple of layers of the models, with variations depending on the dataset and the model used. In order to use a large model such as Residual Network 18 (ResNet-18), we apply principal component analysis to reduce unnecessary dimensions and to lower time complexity. We also analyzed how this reduction affects the results. This work highlights the importance of understanding not only if a model fails under a given attack but also how and where these failures occur within the network architecture.

Read PDF

Similar papers

Aug 2026

Multi-layer Adversarial Robustness Analysis of Neural Networks: Visual and Metric-based Approaches

A method to analyze ANNs designed for image classification from an adversarial robustness perspective and implemented an ablation and fine-tuning strategy that successfully boosted the robustness of the ANNs against a variant of the Auto-PGD attack under different threat models.

Inês Valentim, Nuno Antunes, Nuno Lourenço · 0 citations
Open access Aug 2026

Enhanced Robustness in Neural Network Models against Adversarial Attacks and their Performance Analysis

Among the evaluated models, CNNs exhibit the highest baseline robustness, whereas DNNs and RNNs rely more heavily on defense mechanisms to maintain performance, whereas DNNs and RNNs rely more heavily on defense mechanisms to maintain performance.

Surekha M., A. K. Sagar, Vineeta Khemchandani · 0 citations
Conference Open access 2026

Wavelet scattering networks for stable classification in adversarial settings

Deep neural networks achieve impressive performance in image and speech recognition, yet they are sensitive to small input perturbations known as adversarial examples that can cause critical misclassifications. This vulnerability motivates classification systems that are inherently stable and robust. In this work, we first demonstrate the susceptibility of conventional convolutional neural networks (CNNs) to adversarial attacks generated via the Fast Gradient Sign Method (FGSM) on the MNIST dataset. We then propose an alternative based on the wavelet scattering transform, which provides translation-invariant and deformation-stable representations through predefined wavelet filters. The scattering network outputs are subsequently used as features for a downstream classifier. Experiments on the full MNIST test set (10,000 samples) show that CNN accuracy deteriorates drastically as the perturbation magnitude ε increases under FGSM attacks, while the scattering-based model preserves significantly higher accuracy across the tested range. Although our proposed technique has only been tested using the MNIST dataset under FGSM attacks, the results obtained can thus lay down a great basis for future studies in evaluating the method's generalizability across more complicated datasets and various types of attacks.

Israe El Ghizi, Abdellah Ait Omar, Khawla Hamouichou et al. · 0 citations
Review Aug 2026

A Comprehensive Review on Adversarial Attacks and Detection Techniques in Deep Learning Models for Image Analysis

The research methodology involved a systematic literature review using the Scopus database, adhering to Preferred Reporting Items for Systematic Reviews and Meta-Analyses guidelines, and focusing on recent advancements in attack and defence techniques.

Reeti Jaswal, Vikas Khullar, Surya Narayan Panda · 0 citations
Open access Jul 2026

Comparative Analysis of Adversarial Robustness Across CNN, VGG19, and Vision Transformer Architectures Using Multiple Defense Strategies

The study concluded that adversarial resilience is largely determined by the interaction between model architecture and defense strategy, highlighting the need for architecture-specific defense selection when developing secure medical image classification systems.

Y. Heryadi, I. Sonata, Bambang Krismono Triwijoyo · 0 citations
Preprint Aug 2026

Adversarial Training Without Input Gradients via Low-Rank Householder Expansions

This work concerns adversarial training against the small-norm adversarial examples that arise from the inherent input instability of a trained deep neural network. Examples in this class are small as measured in the relative $\ell^2$-norm, and therefore lie in the neighborhood of the input on which the model acts approximately linearly, the regime in which the perturbation remains imperceptible. We first show that such examples can be computed directly from the trained network parameters, without input gradient iterations, by means of a linearization called the low-rank Householder expansion (LRHE). The expansion describes the composed affine map rather than any individual layer, and the directions it identifies are read from the activation pattern already available in the forward pass. We then propose a simple adversarial training scheme built on this construction. No differentiation with respect to the input is performed at any point: training requires only additional forward evaluations, with weight parameters updated by the standard backward pass, and the inner maximization of the usual min-max formulation is eliminated entirely. That such a regularizer exists is our main finding: the methods that dispense with the inner search all obtain their local geometry by differentiating with respect to the input, and we show this is not necessary. The regularizer costs the equivalent of $2.8$ PGD steps per epoch, an $8.7\times$ reduction relative to 40-step adversarial training on MNIST and below the cost of 3-step training. The resulting models match three-step PGD adversarial training for relative $\ell^2$ budgets $\varepsilon \le 0.02$ and 40-step training for $\varepsilon \le 0.012$, falling away beyond, consistent with the locality of the expansion.

T. C. Johnson, Donsub Rim · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.