Color illusions also deceive CNNs for low-level vision tasks: Analysis and implications

The study of visual illusions has proven to be a very useful approach in vision science. In this work we start by showing that, while convolutional neural networks (CNNs) trained for low-level visual tasks in natural images may be deceived by brightness and color illusions, some network illusions can be inconsistent with the perception of humans. Next, we analyze where these similarities and differences may come from. On one hand, the proposed linear eigenanalysis explains the overall similarities: in simple CNNs trained for tasks like denoising or deblurring, the linear version of the network has center-surround receptive fields, and global transfer functions are very similar to the human achromatic and chromatic contrast sensitivity functions in human-like opponent color spaces. These similarities are consistent with the long-standing hypothesis that considers low-level visual illusions as a by-product of the optimization to natural environments. Specifically, here human-like features emerge from error minimization. On the other hand, the observed differences must be due to the behavior of the human visual system not explained by the linear approximation. However, our study also shows that more 'flexible' network architectures, with more layers and a higher degree of nonlinearity, may actually have a worse capability of reproducing visual illusions. This implies, in line with other works in the vision science literature, a word of caution on using CNNs to study human vision: on top of the intrinsic limitations of the L + NL formulation of artificial networks to model vision, the nonlinear behavior of flexible architectures may easily be markedly different from that of the visual system.

[1]  E. G. Heinemann,et al.  Simultaneous brightness induction as a function of inducing and test-field luminances. , 1955, Journal of experimental psychology.

[2]  Alexei A. Efros,et al.  The Unreasonable Effectiveness of Deep Features as a Perceptual Metric , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[3]  Donald I. A. MacLeod,et al.  Color discrimination, color constancy and natural scene statistics , 2002 .

[4]  S. P. Lloyd,et al.  Least squares quantization in PCM , 1982, IEEE Trans. Inf. Theory.

[5]  Qasim Zaidi,et al.  Cortical Balance Between ON and OFF Visual Responses Is Modulated by the Spatial Properties of the Visual Stimulus , 2018, Cerebral cortex.

[6]  A. Fairhall,et al.  Timescales of Inference in Visual Adaptation , 2009, Neuron.

[7]  M Martinez-Garcia,et al.  Derivatives and inverse of cascaded linear+nonlinear neural models , 2017, PloS one.

[8]  M. J. Morgan,et al.  Evidence for a subtractive component in motion adaptation , 2011, Vision Research.

[9]  David H. Brainard,et al.  The Relation Between Color Discrimination and Color Constancy: When Is Optimal Adaptation Task Dependent? , 2007, Neural Computation.

[10]  D. Purves,et al.  Why we see what we do : an empirical theory of vision , 2003 .

[11]  D. Jameson,et al.  Mach bands : quantitative studies on neural networks in the retina , 1966 .

[12]  J A Solomon,et al.  Model of visual contrast gain control and pattern masking. , 1997, Journal of the Optical Society of America. A, Optics, image science, and vision.

[13]  G. Mather,et al.  The motion aftereffect reloaded , 2008, Trends in Cognitive Sciences.

[14]  M. McCourt A spatial frequency dependent grating-induction effect , 1982, Vision Research.

[15]  Lei Zhang,et al.  Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising , 2016, IEEE Transactions on Image Processing.

[16]  S. Shevell,et al.  Brightness contrast and assimilation from patterned inducing backgrounds , 2004, Vision Research.

[17]  Jian Yang,et al.  Selective Kernel Networks , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[18]  H. B. Barlow,et al.  Possible Principles Underlying the Transformations of Sensory Messages , 2012 .

[19]  D. Macleod,et al.  Optimal nonlinear codes for the perception of natural colours , 2001, Network.

[20]  W. Cowan,et al.  Changes in perceived color due to chromatic interactions , 1982, Vision Research.

[21]  M. White,et al.  A New Effect of Pattern on Perceived Lightness , 1979, Perception.

[22]  Valero Laparra,et al.  Nonlinearities and Adaptation of Color Vision from Sequential Principal Curves Analysis , 2016, Neural Computation.

[23]  Aapo Hyvärinen,et al.  Natural Image Statistics - A Probabilistic Approach to Early Computational Vision , 2009, Computational Imaging and Vision.

[24]  D. Jameson,et al.  An opponent-process theory of color vision. , 1957, Psychological review.

[25]  Nicole C. Rust,et al.  Do We Know What the Early Visual System Does? , 2005, The Journal of Neuroscience.

[26]  Alexander Gómez Villa,et al.  Convolutional Neural Networks Can Be Deceived by Visual Illusions , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[27]  Valero Laparra,et al.  Visual aftereffects and sensory nonlinearities from a single statistical framework , 2015, Front. Hum. Neurosci..

[28]  David J. Field,et al.  How Close Are We to Understanding V1? , 2005, Neural Computation.

[29]  M. Morgan,et al.  Predicting the motion after-effect from sensitivity loss , 2006, Vision Research.

[30]  K. Mullen The contrast sensitivity of human colour vision to red‐green and blue‐yellow chromatic gratings. , 1985, The Journal of physiology.

[31]  Zhaoping Li,et al.  Understanding Retinal Color Coding from First Principles , 1992, Neural Computation.

[32]  Qasim Zaidi,et al.  Neural Locus of Color Afterimages , 2012, Current Biology.

[33]  Simon Haykin,et al.  Neural Networks and Learning Machines , 2010 .

[34]  Francesc J. Ferri,et al.  Regularization operators for natural images based on nonlinear perception models , 2006, IEEE Transactions on Image Processing.

[35]  Michael J. Berry,et al.  The Neural Code of the Retina , 1999, Neuron.

[36]  J M Loomis,et al.  The photopigment bleaching hypothesis of complementary after-images: a psychophysical test. , 1972, Vision research.

[37]  Marcelo Bertalmío,et al.  In Praise of Artifice Reloaded: Caution With Natural Image Databases in Modeling Vision , 2019, Front. Neurosci..

[38]  James M. Hillis,et al.  Do common mechanisms of adaptation mediate color discrimination and appearance? Contrast adaptation. , 2007, Journal of the Optical Society of America. A, Optics, image science, and vision.

[39]  David J. Field,et al.  Emergence of simple-cell receptive field properties by learning a sparse code for natural images , 1996, Nature.

[40]  Peter Dayan,et al.  Cortical Surround Interactions and Perceptual Salience via Natural Scene Statistics , 2012, PLoS Comput. Biol..

[41]  David H. Krantz,et al.  The Poggendorff illusion: Amputations, rotations, and other perturbations , 1971 .

[42]  David H Brainard,et al.  Do common mechanisms of adaptation mediate color discrimination and appearance? Uniform backgrounds. , 2005, Journal of the Optical Society of America. A, Optics, image science, and vision.

[43]  D. Hubel,et al.  Receptive fields of single neurones in the cat's striate cortex , 1959, The Journal of physiology.

[44]  Felix A Wichmann,et al.  Testing the role of luminance edges in White's illusion with contour adaptation. , 2015, Journal of vision.

[45]  T. Sejnowski,et al.  Color opponency is an efficient representation of spectral properties in natural scenes , 2002, Vision Research.

[46]  Zhaoping Li,et al.  What does post-adaptation color appearance reveal about cortical color representation? , 1993, Vision Research.

[47]  Gerald Westheimer,et al.  Illusions in the spatial sense of the eye: Geometrical–optical illusions and the neural representation of space , 2008, Vision Research.

[48]  A. Kitaoka,et al.  Illusory Motion Reproduced by Deep Neural Networks Trained for Prediction , 2018, Front. Psychol..

[49]  G. Buchsbaum,et al.  Trichromacy, opponent colours coding and optimum colour information transmission in the retina , 1983, Proceedings of the Royal Society of London. Series B. Biological Sciences.

[50]  Leon A. Gatys,et al.  Deep convolutional models improve predictions of macaque V1 responses to natural images , 2017, bioRxiv.

[51]  T. W. Lee,et al.  Chromatic structure of natural scenes. , 2001, Journal of the Optical Society of America. A, Optics, image science, and vision.

[52]  A. Hyvärinen,et al.  Spatio-Chromatic Adaptation via Higher-Order Canonical Correlation Analysis of Natural Images , 2014, PloS one.

[53]  Yi Wang,et al.  Scale-Recurrent Network for Deep Image Deblurring , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[54]  J. Robson,et al.  Application of fourier analysis to the visibility of gratings , 1968, The Journal of physiology.

[55]  Geoffrey E. Hinton,et al.  ImageNet classification with deep convolutional neural networks , 2012, Commun. ACM.

[56]  J. Ross,et al.  Contrast adaptation and contrast masking in human vision , 1991, Proceedings of the Royal Society of London. Series B: Biological Sciences.

[57]  M. Webster,et al.  Visual adaptation: Neural, psychological and computational aspects , 2007, Vision Research.

[58]  C Blakemore,et al.  On the existence of neurones in the human visual system selectively sensitive to the orientation and size of retinal images , 1969, The Journal of physiology.

[59]  C. Clifford Perceptual adaptation: motion parallels orientation , 2002, Trends in Cognitive Sciences.

[60]  Simon Barthelmé,et al.  Spatial statistics and attentional dynamics in scene viewing. , 2014, Journal of vision.

[61]  John M. Foley,et al.  Analysis of the effect of pattern adaptation on pattern pedestal effects: A two-process model , 1997, Vision Research.

[62]  C. Clifford,et al.  A functional angle on some after-effects in cortical vision , 2000, Proceedings of the Royal Society of London. Series B: Biological Sciences.

[63]  M. Carandini,et al.  Normalization as a canonical neural computation , 2011, Nature Reviews Neuroscience.

[64]  P. Bressan Explaining Lightness Illusions , 2001, Perception.

[65]  F. Attneave Some informational aspects of visual perception. , 1954, Psychological review.