Skip to main content
QUICK REVIEW

[Paper Review] How is Contrast Encoded in Deep Neural Networks?

Arash Akbarinia, Karl R. Gegenfurtner|arXiv (Cornell University)|Sep 5, 2018
Advanced Neural Network ApplicationsComputer Science12 references5 citations
TL;DR

This paper investigates how deep neural networks achieve contrast invariance by analyzing kernel activation patterns across convolutional layers under varying input contrast levels. It finds that networks with multiple convolutional layers before the first max-pooling—like VGG and Inception—achieve robustness by having the last such layer absorb contrast variation, preventing its propagation to higher layers, mirroring biological visual processing mechanisms.

ABSTRACT

Contrast is a crucial factor in visual information processing. It is desired for a visual system - irrespective of being biological or artificial - to "perceive" the world robustly under large potential changes in illumination. In this work, we studied the responses of deep neural networks (DNN) to identical images at different levels of contrast. We analysed the activation of kernels in the convolutional layers of eight prominent networks with distinct architectures (e.g. VGG and Inception). The results of our experiments indicate that those networks with a higher tolerance to alteration of contrast have more than one convolutional layer prior to the first max-pooling operator. It appears that the last convolutional layer before the first max-pooling acts as a mitigator of contrast variation in input images. In our investigation, interestingly, we observed many similarities between the mechanisms of these DNNs and biological visual systems. These comparisons allow us to understand more profoundly the underlying mechanisms of a visual system that is grounded on the basis of "data-analysis".

Motivation & Objective

  • To understand the mechanisms by which deep neural networks (DNNs) achieve contrast invariance under varying illumination conditions.
  • To investigate whether architectural design, particularly the number of convolutional layers before max-pooling, influences contrast robustness.
  • To compare the behavior of DNNs with biological visual systems in handling contrast variation.
  • To identify specific layers responsible for mitigating contrast changes in input images.

Proposed method

  • The study analyzed eight prominent DNNs with diverse architectures, including VGG and Inception, on the ImageNet validation set.
  • Each network was tested with 11 contrast levels of the same input image, ranging from 100% down to 5% contrast.
  • For each of the first five convolutional layers, the most activated kernel at each spatial location was recorded across contrast levels.
  • The proportion of identical winning kernels across contrast levels was computed per layer to assess sensitivity to contrast variation.
  • The analysis focused on identifying layers where kernel identity changed significantly with contrast, particularly the last convolutional layer before the first max-pooling.
  • Comparative analysis was performed between contrast-invariant networks (e.g., VGG, Inception) and non-invariant ones (e.g., GoogLeNet, AlexNet).

Experimental results

Research questions

  • RQ1How do different DNN architectures respond to variations in input image contrast?
  • RQ2What architectural features distinguish contrast-invariant networks from those that are sensitive to contrast changes?
  • RQ3Which convolutional layer is most responsible for mitigating contrast variation in the input image?
  • RQ4To what extent do DNNs emulate the contrast-invariant mechanisms observed in biological visual systems?

Key findings

  • Networks with more than one convolutional layer before the first max-pooling, such as VGG and Inception, maintained high classification accuracy across all contrast levels, including down to 5% contrast.
  • The last convolutional layer before the first max-pooling showed the highest sensitivity to contrast variation, indicating it acts as a primary mitigator of contrast changes.
  • In contrast, networks with max-pooling immediately after the first convolutional layer—like GoogLeNet and AlexNet—exhibited sharp performance drops at low contrast levels.
  • The proportion of identical winning kernels dropped significantly in the last pre-max-pooling layer as contrast decreased, suggesting dynamic adaptation to input contrast.
  • In Inception-V3, over two-thirds of the most activated kernels changed at 10% contrast in the final pre-pooling layer, yet classification accuracy remained stable, indicating robustness through early adaptation.
  • The pattern was consistent across contrast-invariant networks: the highest sensitivity to contrast was observed in the last convolutional layer before max-pooling, not in deeper layers.

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.