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: The Gap Between Human and Machine Vision

Deep Neural Networks (DNNs) have revolutionized pattern recognition, achieving near-human performance on visual benchmarks like ImageNet. However, their internal logic remains largely opaque. While previous research demonstrated that "adversarial examples"—real images with imperceptible perturbations—could cause misclassification, this study explores a more profound vulnerability. The authors demonstrate that it is possible to generate images that are completely unrecognizable to humans but are classified by state-of-the-art DNNs as familiar objects with over 99.99% confidence. These "fooling images" highlight a fundamental disconnect between how humans and machines perceive the world.

Methods: Evolving Nonsense into "Certainty"

To discover these fooling images, the researchers utilized two main optimization strategies: Evolutionary Algorithms (EAs) and Gradient Ascent.

The evolutionary approach employed the MAP-Elites algorithm to search for images that maximize a DNN's output for specific classes. Two types of image encoding were tested:

  1. Direct Encoding: Each pixel's color and intensity are evolved independently, typically resulting in images that look like static or white noise.
  2. Indirect Encoding (CPPNs): Compositional Pattern-Producing Networks were used to generate images. Because CPPNs are biased toward symmetry and regularity, they produce abstract, geometric patterns.
Conceptual overview of how DNNs can be fooled by evolved images compared to real images.

Additionally, Gradient Ascent was used to iteratively modify a neutral image to increase the model's confidence for a target class by following the gradient of the network's output.

High-Confidence Misclassifications

The results across ImageNet (using AlexNet) and MNIST (using LeNet) were striking. In many cases, the models assigned near-absolute certainty to images that contain no recognizable features to a human observer.

Examples of fooling images for ImageNet. The top rows show direct encoding (noise), while the bottom rows show indirect encoding (patterns). All were classified with high confidence.

On the MNIST dataset, directly encoded noise was classified as digits with 99.99% confidence. On ImageNet, indirectly encoded patterns reached a median confidence of 88.11% across all 1,000 classes. For instance, a repeating pattern of orange and blue was identified as a "starfish" with >99% confidence, likely because the model latched onto local color and texture features rather than global structure.

Why Are DNNs Easily Fooled?

The study suggests several reasons for this phenomenon:

  • Discriminative Nature: DNNs are trained to find boundaries between classes ($p(y|X)$). This creates vast regions in high-dimensional space where the model is highly confident, even if those regions are far from the actual training data distribution.
  • Local Feature Reliance: Instead of understanding the holistic shape of an object, DNNs often rely on "discriminative features"—small patches of texture or color that are unique to a class. If an evolved image contains these patches, the model triggers a high-confidence detection.
  • Robustness Challenges: Attempts to "fix" the models by retraining them with fooling images (labeled as a "fooling" class) were only partially successful. The evolutionary algorithm simply found new, different types of fooling images for the updated models, suggesting that the problem is deeply rooted in current architectures.

Conclusion and Future Outlook

The existence of fooling images raises significant questions about the generality and security of computer vision. If a security system based on a DNN can be triggered by unrecognizable noise, it is vulnerable to exploitation.

The authors suggest that moving toward generative models—which learn the actual distribution of the data ($p(X)$)—might provide a path to more robust vision. Such models could potentially recognize that a noise-filled image does not belong to the distribution of natural objects, regardless of its local features. Until then, the "confidence" of a DNN should be interpreted with caution, as it does not always correlate with human-like understanding.

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