Implicit Saliency in Deep Neural Networks

Yutong Sun, Mohit Prabhushankar, Ghassan AlRegib

TL;DR

Standard deep neural networks trained for image recognition already implicitly understand what humans find interesting in a scene. By intentionally feeding these networks conflicting labels (like calling a car an "airplane") and backpropagating the resulting "confusion" gradients, the authors extract highly accurate, noise-robust human visual saliency maps without using any eye-tracking training data.

What Problem Does This Paper Address?

When we look at a photo, our eyes are naturally drawn to specific regions—a property known as visual saliency. Traditional computer vision models predict these regions using supervised networks trained on expensive human eye-tracking datasets.

However, cognitive science tells us that human attention is heavily driven by the expectancy-mismatch hypothesis: our brains suppress predictable background information and focus on things that violate our expectations. The authors of this paper ask a clever question: Do standard deep learning models (trained purely to recognize objects, without ever seeing eye-tracking data) already possess an implicit understanding of human visual saliency? If so, how can we trick the network into revealing it?

Methods

The authors introduce a fully unsupervised method to extract implicit saliency from off-the-shelf pre-trained networks (such as ResNet and VGG) by artificially creating an expectancy mismatch.

Fig. 1. Implicit Saliency Generation Process: We give an input image to a pretrained network and get an output vector based on prior knowledge of the network. We provide an unexpected stimuli which is a vector conflict to the output vector. We use a loss function to encode the error based on the output vector and the conflict vector. Backpropagating this error to a semantic convolutional layer results in pseudo saliency maps. We combine the resultant pseudo saliency maps using statistical methods to obtain the final saliency map.

The pipeline works as follows:

  1. Generate a Prediction: An input image is passed through the network to get a standard prediction vector ($y_{pred}$).
  2. Introduce Conflict: The authors deliberately feed the network a series of "unexpected stimuli" ($y_{unexp}$)—one-hot vectors representing every possible class in the dataset, forcing a conflict with what the network actually sees.
  3. Backpropagate the Confusion: They calculate the CrossEntropy loss between the network's actual prediction and these conflicting labels. Backpropagating these error gradients to a specific semantic convolutional layer generates $N$ distinct "pseudo-saliency maps."
  4. Statistical Aggregation: To get the final saliency map, they average these pseudo-maps across the class dimension and weight them by negating their variance, which effectively filters out background noise and reduces uncertainty.
Fig. 2. Conflicting feature generation

Datasets

  • For Pre-training (Expectation Generation): ImageNet (for ResNet-18/34/50/101 and VGG16) and PASCAL VOC 2007+2012 (for Faster R-CNN). Crucially, none of these models were trained on saliency or eye-tracking data.
  • For Evaluation: The MIT1003 dataset, a standard benchmark containing 1,003 real-world images paired with actual human eye-tracking fixation data.

Key Insights and Ideas

  • Mismatches Trump Features: Standard feed-forward activations (what the network expects to see) tend to highlight generic edges, textures, and backgrounds. In contrast, expectancy-mismatch gradients (the network's reaction to conflict) generate highly localized, object-oriented saliency maps that closely match human fixations.
  • The Brain-AI Parallel: This method computationally mirrors how error neurons in the human visual cortex encode prediction errors and pass them back to representational neurons when sensory input conflicts with prior experience.
  • Unsupervised Robustness: While state-of-the-art supervised models (trained directly on eye-tracking data) perform exceptionally well on clean images, they are fragile. The proposed implicit saliency method relies on robust, high-level semantic features, making it incredibly stable even when the input data is heavily corrupted.

Key Results

  • Better than Standard Explanations: The proposed implicit saliency method outperforms popular unsupervised explainability methods like Grad-CAM and Guided Backpropagation (GBP) across all tested ResNet architectures in both Normalized Scanpath Saliency (NSS) and Correlation Coefficient (CC) metrics.
  • Incredible Noise Robustness: To test robustness, the authors added severe Gaussian blur to the evaluation images. While top-tier supervised models like SalGan and DeepGazeII suffered massive performance drops (up to 34%), the proposed implicit saliency method dropped the least (only 17.93% for NSS), outperforming the supervised models under noisy conditions.
Fig. 3. Saliency map visualization. (a) Input image (b) Groudtruth (c) Proposed Method (d) Feed-forward feature (e) SalGan [21] (f) ML- Net [5] (g) DeepGazeII [22] (h) ShallowDeep [23]

Limitations and Future Work

Because this method relies entirely on pre-trained networks, it is inherently bound by the semantic scope of the underlying model. If a network was trained on ImageNet, its implicit saliency is derived from those specific 1,000 classes. If an image contains complex, abstract, or out-of-distribution contexts that don't align with the network's original training taxonomy, the saliency map's accuracy may degrade.

The authors suggest that future work could explore bridging this gap further by applying the expectancy-mismatch framework to self-supervised models or alternative architectures to better map the intersection of computer vision and human neuroscience.

Summary updated

BibTeX
@inproceedings{sun2020implicit,
  author = {Yutong Sun and Mohit Prabhushankar and Ghassan AlRegib},
  title = {{Implicit Saliency in Deep Neural Networks}},
  booktitle = {ICIP},
  year = {2020},
  url = {https://openreview.net/forum?id=HzQyX65vhio},
}
Figure