NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images

Anh Mai Nguyen, Jason Yosinski, Jeff Clune

Abstract

Deep neural networks (DNNs) have recently been achieving state-of-the-art performance on a variety of pattern-recognition tasks, most notably visual classification problems. Given that DNNs are now able to classify objects in images with near-human-level performance, questions naturally arise as to what differences remain between computer and human vision. A recent study revealed that changing an image (e.g. of a lion) in a way imperceptible to humans can cause a DNN to label the image as something else entirely (e.g. mislabeling a lion a library). Here we show a related result: it is easy to produce images that are completely unrecognizable to humans, but that state-of-the-art DNNs believe to be recognizable objects with 99.99% confidence (e.g. labeling with certainty that white noise static is a lion). Specifically, we take convolutional neural networks trained to perform well on either the ImageNet or MNIST datasets and then find images with evolutionary algorithms or gradient ascent that DNNs label with high confidence as belonging to each dataset class. It is possible to produce images totally unrecognizable to human eyes that DNNs believe with near certainty are familiar objects, which we call "fooling images" (more generally, fooling examples). Our results shed light on interesting differences between human vision and current DNNs, and raise questions about the generality of DNN computer vision.

Introduction

While Deep Neural Networks (DNNs) often achieve near-human performance on visual tasks, they see the world very differently than humans do. This research addresses a critical question: Can we generate images that are completely unrecognizable to humans but that a DNN believes are real objects with high confidence? By 2015, DNNs were dominating benchmarks like ImageNet, but previous work on "adversarial examples" suggested vulnerabilities. This paper pushes that boundary, demonstrating that models can be tricked into "seeing" objects in random noise or abstract patterns with near-certainty, suggesting they rely on local discriminative features rather than a holistic understanding of object structure.

Methodology

The authors utilized two primary techniques to generate "fooling images" for models trained on ImageNet (AlexNet) and MNIST (LeNet):

  1. Evolutionary Algorithms (EAs): Using the MAP-Elites algorithm, the researchers evolved populations of images to maximize the network's confidence for specific classes.
  2. Direct Encoding: Pixels were evolved independently, resulting in images resembling colorful static.
  3. Indirect Encoding (CPPNs): Compositional Pattern-Producing Networks evolved regular, symmetric, and repetitive patterns.
  4. Gradient Ascent: An optimization technique that iteratively modifies pixels to maximize the classification score for a target class.
Comparison of DNN performance on natural images vs. evolved images using an evolutionary algorithm.

Key Insights: Discriminative vs. Generative Logic

DNNs are primarily trained to be discriminative—they learn the boundaries between classes rather than the "essence" of an object. For instance, a network might learn that a specific texture distinguishes a "lion" from other categories. Consequently, it can be fooled by images containing these specific mathematical signatures, even if the global structure is absent.

In CPPN-evolved images, humans can sometimes discern the logic behind the error. A "school bus" fooling image might consist of horizontal yellow and black stripes; the network identifies the "essence" of the bus's texture while ignoring the lack of a vehicle shape. Crucially, this vulnerability is robust: retraining the models to reject fooling images often fails, as evolutionary algorithms simply find new "blind spots" in the high-dimensional pixel space.

Results

The study produced startling results across both ImageNet and MNIST datasets:

  • High Confidence in Noise: ImageNet-trained DNNs classified random-looking static as objects (e.g., "fox" or "remote control") with ≥ 99.6% certainty.
  • Abstract Success: CPPN-generated abstract patterns fooled MNIST-trained networks into seeing digits with 99.99% confidence.
  • Median Confidence: For ImageNet, the median confidence for these unrecognizable fooling images was 88.11%, comparable to the confidence levels for real, natural images.
Evolved images that fool ImageNet-trained DNNs. Top rows show direct encoding (noise-like); bottom rows show indirect encoding (pattern-like).

Conclusion and Security Implications

These findings highlight a significant gap between human and machine vision. The authors hypothesize that generative models, which learn the probability distribution of input data, might be more robust, as they could "realize" that a fooling image is highly improbable in the real world.

Furthermore, this work underscores the need for architectures that incorporate global geometric constraints. From a security perspective, the ability to trigger high-confidence misclassifications with abstract patterns poses risks for real-world applications like security cameras or autonomous vehicles, where a specific sticker or pattern could potentially bypass or trick the system.

Summary updated

BibTeX
@inproceedings{nguyen2015deep,
  author = {Anh Mai Nguyen and Jason Yosinski and Jeff Clune},
  title = {{Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=H1bQCAZ_Zr},
}
Figure