원시데이터 수집 시스템
선정목록으로

Deep neural networks trained for estimating reflectance and illumination achieve lightness constancy differently than human observers

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Alban Flachot — Department of Psychology and Centre for Vision Research, York University, Toronto, Ontario, Canada|||flachot.alban@gmail.com
  2. Jaykishan Patel — Department of Psychology and Centre for Vision Research, York University, Toronto, Ontario, Canada|||jaykishanpatel96@gmail.com
  3. Thomas SA Wallis — Center for Mind, Brain and Behavior (CMBB), Universities of Marburg, Giessen, and Darmstad, Darmstadt, Germany|||Centre for Cognitive Science and Institute for Psychology, Technical University of Darmstadt, Germany|||thomas.wallis@tu-darmstadt.de
  4. Marcus A. Brubaker — Department of Electrical Engineering and Computer Science, York University, Toronto, Ontario, Canada|||mab@eecs.yorku.ca
  5. David H. Brainard — Department of Psychology, University of Pennsylvania, Philadelphia, Pennsylvania, USA|||brainard@psych.upenn.edu
  6. Richard F. Murray — Department of Electrical Engineering and Computer Science, York University, Toronto, Ontario, Canada|||Department of Psychology and Centre for Vision Research, York University, Toronto, Ontario, Canada|||rfm@yorku.ca
DOI
10.1167/jov.26.2.11
저널
Journal of Vision
발행년도
2026
발행기관
Association for Research in Vision and Ophthalmology
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1167/jov.26.2.11
토픽
Color Science and Applications
OpenAlex ID
W7130407039

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Lightness constancy, the ability to create perceptual representations that are strongly correlated with surface reflectance despite variations in lighting and context, is a challenging computational problem. Indeed, it has proven difficult to develop image-computable models of how human vision achieves a substantial degree of lightness constancy in complex scenes. Recently, convolutional neural networks have been developed that are proficient at estimating reflectance, but little is known about how they achieve this, or whether they are good models of human vision. We examined this question by training a convolutional neural network to estimate reflectance and illumination in a computer-rendered virtual world, and evaluating both the convolutional neural network and human observers in a lightness matching task. In several conditions, we eliminated cues potentially supporting lightness constancy: local contrast, shading, shadows, and all contextual cues. We found that the network achieved a high degree of lightness constancy, outperforming human observers. However, we also found that eliminating cues affected the convolutional neural network and humans very differently. Humans were most affected when local contrast cues were made uninformative, whereas the convolutional neural network mostly relied on shading and shadows. In a follow-up experiment, we found that the convolutional neural network could learn to exploit noise artifacts typically associated with ray tracing and correlated with illuminance, with potential implications for the many studies relying on ray-traced images. We conclude that convolutional neural networks can learn an effective, global strategy of estimating lightness, which is closer to an optimal strategy for the ensemble of scenes we studied than the computation used by human vision.

본문 70,377자

본문 펼치기
## 1 Deep neural networks trained for estimating albedo and illumination 2 achieve lightness constancy differently than human observers 3 Alban Flachot <sup>1</sup>, Jaykishan Patel <sup>1</sup>, Thomas S. A. Wallis <sup>2,3</sup>, Marcus A. Brubaker <sup>4</sup>, David H. Brainard <sup>5</sup>, and 4 Richard F. Murray <sup>1,4</sup> 5 1Department of Psychology and Centre for Vision Research, York University 6 2Centre for Cognitive Science and Institute for Psychology, Technical University of Darmstadt, Germany 7 3Center for Mind, Brain and Behavior (CMBB), Universities of Marburg, Giessen, and Darmstadt 8 4Department of Electrical Engineering and Computer Science, York University 9 5Department of Psychology, University of Pennsylvania 10 Abstract 11 Lightness constancy, the ability to create perceptual representations that are strongly correlated with surface albedo 12 despite variations in lighting and context, is a challenging computational problem. Indeed, it has proven difficult 13 to develop image-computable models of how human vision achieves a substantial degree of lightness constancy 14 in complex scenes. Recently, convolutional neural networks (CNNs) have been developed that are proficient at 15 estimating albedo, but little is known about how they achieve this, or whether they are good models of human vision. 16 We examined this question by training a CNN to estimate albedo and illumination in a computer-rendered virtual 17 world, and evaluating both the CNN and human observers in a lightness matching task. In several conditions, we 18 eliminated cues potentially supporting lightness constancy: local contrast, shading, shadows, and all contextual 19 cues. We found that the network achieved a high degree of lightness constancy, outperforming three classic models, 20 and substantially outperforming human observers as well. However, we also found that eliminating cues affected 21 the CNN and humans very differently. Humans had much worse constancy when local contrast cues were made 22 uninformative, but were minimally affected by elimination of shading or shadows. The CNN was unaffected by 23 local contrast, but relied on shading and shadows. These results suggest that the CNN followed an effective strategy 24 of integrating global image cues, whereas humans used a more local strategy. In a follow-up experiment, we 25 found that the CNN could learn to exploit noise artifacts that were correlated with illuminance in ray-traced scenes, 26 whereas humans did not. We conclude that CNNs can learn an effective, global strategy of estimating lightness, 27 which is closer to an optimal strategy for the ensemble of scenes we studied than the computation used by human 28 vision. #### 29 1 Introduction 30 Lightness constancy is the ability to create perceptual representations that are strongly correlated with the achromatic surface 31 reflectance of objects, across a wide range of lighting conditions and contexts. Like color constancy, this feature of our visual 32 system helps us to build a stable and robust representation of our environment (Anderson, 2011), which is essential for high level 33 tasks such as object recognition (Murray, 2021; Hurlbert, 2007; Foster, 2011). However, despite a long tradition of empirical 34 and theoretical studies, it remains unclear what strategy the visual system uses to perform this feat, and for a simple reason: 35 lightness perception is complex and depends on many different features, from low to high-level, and from local to global. 36 Some studies have shown the importance of local contrast in human lightness constancy (Gilchrist, 2006; Wallach, 1948, 1963; 37 Adelson, 2000; Arend et al., 1991; Arend & Spehar, 1993; Foster, 2011; Kraft & Brainard, 1999; Wedge-Roberts et al., 2020). 38 Others have shown that global contextual features can greatly influence human lightness and color judgment, including scene 39 complexity (Kraft et al., 2002), object shading and shadows (Szafir et al., 2015), luminance and chromaticity range (Adelson, 40 1993; Webster & Mollon, 1995), and specular highlights (Wedge-Roberts et al., 2020). Additional studies have shown the 41 relevance of high-level features such as memory and familiarity, particularly in the natural world (Tsuda et al., 2020; Granzier 42 & Gegenfurtner, 2012). A consequence is that despite many attempts (Land & McCann, 1971; Funt et al., 2000; Dakin & Bex, 43 2003; Murray, 2021), an accurate and image computable model of this phenomenon has yet to be successfully developed. 44 Recent studies have shown that deep-learning neural networks (DNNs) are a promising approach to performing many visual 45 tasks (Krizhevsky et al., 2012; Yao et al., 2020; Storrs et al., 2021). In particular, DNNs have made tremendous progress towards 46 solving illumination estimation for complex and naturalistic images (Afifi et al., 2022; Ulucan et al., 2024). Furthermore, deep 47 learning models for intrinsic image decomposition have been successful at extracting the physical surface albedo of objects 48 in complex scenes (Heidari-Gorji & Gegenfurtner, 2023; Z. Li & Snavely, 2018b; Z. Li et al., 2020; Wang et al., 2021; Fan 49 et al., 2018; Yu & Smith, 2019). DNNs trained for color classification and color constancy have also been shown to develop 50 supra-human levels of constancy and human-like representations of color (Flachot et al., 2022). And recently, Murray et al. 51 (2023) showed how these models can be tested for lightness constancy on the same images as human observers, allowing 52 for a direct and behaviorally relevant comparison. DNNs are therefore interesting candidates for producing a useful, image 53 computable model of human lightness constancy. 54 In this study, we aim to extend our understanding of human lightness constancy via a series of experiments, while exploring 55 the potential of a recent and promising family of deep learning algorithms as models of human lightness constancy. We aim to 56 answer three main questions: (1) What features do human observers rely on for lightness constancy in complex scenes? (2) Can 57 DNNs, and in particular those trained for intrinsic image decomposition, achieve human levels of lightness constancy on the 58 same images? (3) And perhaps most importantly, do these models use the same features as human observers? 59 To answer these questions, we devised a lightness matching experiment and rendered images of three-dimensional scenes 60 to test both human participants and DNNs trained for intrinsic image decomposition. In several different conditions, we 61 manipulated cues in the rendered scenes that previous work has found to be relevant to lightness and color constancy for human 62 observers (Gilchrist, 2006; Szafir et al., 2015; Kraft & Brainard, 1999). This allowed us to identify what features human 63 observers and DNNs rely on for lightness constancy. 64 We found that the models were able to achieve a high degree of lightness constancy in complex scenes. However, the 65 features the models most relied on differed substantially from those used by human observers. Furthermore, the features used 66 by DNNs varied depending on the rendering engine used to generate training and test images, but did not vary in this way for 67 human observers. #### 68 2 Experiment with human observers 69 2.1 Methods 70 2.1.1 Observers 71 Nine observers participated in the experiment. All were naive except one, who was the first author. Five were male, four were 72 female, and ages ranged from 25 to 34 years. All reported normal or corrected-to-normal vision, and gave written informed 73 consent. All procedures were approved by the Office of Research Ethics at York University. 74 2.1.2 Stimuli 75 We rendered 256 × 256 pixel images with three color channels (RGB) using the EEVEE engine in Blender 2.92 (Fig. 1(A)) 76 (Blender 2.92 Documentation Team, 2021). When describing rendered stimuli, we use the term ‘RGB albedo’ to mean the triplet 77 of simulated reflectances assigned to a surface in the three color channels, in the scene description provided to the renderer, and 78 ‘achromatic albedo’ or simply ‘albedo’ to mean the simulated reflectance in a single channel. The rendered scenes had two walls 79 and a floor, with 14 objects of different shapes, RGB albedos, sizes, and positions, randomly sampled from the distribution we 80 used for training deep learning networks (see Section 3.1). Each image showed the same arrangement of geometric objects. The 81 RGB albedo assigned to each object was the same in all images, except for a small number of test objects, where it varied from 82 image to image as described below. In order to speed rendering and introduce some variability into the stimuli, we rendered 83 RGB images with different randomly chosen albedos in the three color channels, and used each channel of the rendered image as 84 a separate achromatic stimulus in the experiment. As a result, there were three subsets of stimulus images that showed objects 85 with different achromatic albedos (Fig. 1(A)). We refer to each single-channel image as a ‘luminance’ image, since it was used 86 to generate the on-screen luminance. (Thus the luminance image was not a weighted sum of the color channels, as is sometimes 87 the case.) For each RGB image, Blender also rendered an image that gave the RGB albedo at each pixel. _Illuminance_ is incident 88 luminous flux per unit area (e.g., lumens/m <sup>2</sup> in SI units), and for a Lambertian surface it is proportional to the ratio of luminance 89 and reflectance (McCluney, 2014). For each stimulus we calculated an ‘illuminance image’ that indicated the amount of incident 90 light at each location, by taking the ratio of the luminance and achromatic albedo images at each pixel. 91 Each scene had two achromatic light sources: an ambient light, with intensity fixed at 0.35 in Blender’s intensity units (IU), 92 and a point light located above and outside the visible scene, with intensity set to 0.00, 0.35, 0.75, 1.50 or 3.00 IU, as shown 93 in Fig. 1(B). The cube under the large sphere was the _reference cube_, and the one to the right was the _match cube_ . On top of 94 the reference cube was the _reference patch_, and on top of the match cube was the _match patch_ . The reference patch albedo was 95 0.20, 0.40 or 0.60. The match patch albedo ranged from 0.00 to 1.00, in increments of 0.025. We rendered stimuli with all 96 combinations of these scene parameters: five point light intensities, three reference patch albedos, and 41 match patch albedos. 97 To vary the availability of cues that could potentially support lightness constancy, we created six variations of these stimuli 98 (Fig. 1(B). (1) In the Normal condition, the stimuli were rendered as described above. (2) In the Contrast condition, the albedo 99 of the match cube was chosen such that the average luminance of the top face of the match cube (surrounding the match patch) 100 was the same in every image, and equal to the average luminance of the top face of the reference cube (surrounding the reference 101 patch). As a result, matches based on local contrast would equate the luminance of the reference and match patches, not their 102 albedos. This manipulation silenced local contrast as a cue to albedo. 103 In the remaining four conditions, the stimuli were created by taking images from the Normal condition, and replacing a 104 subset of pixels by corresponding pixels from Normal images where only ambient light illuminated the scene (Fig. 1(B), top 105 left image, labelled Normal and 0.00). The white pixels in the black-and-white images on the right in Fig. 1(B) indicate which 106 pixels were replaced in each condition. The values of the inserted pixels were scaled so that their mean was the same as that 107 of the pixels they replaced. (3) In the Shading condition, pixels depicting the 14 random geometric objects were replaced by 108 pixels from ambient-illuminated images. This eliminated shading and shadows on the 14 objects. Cast shadows on the walls 109 and floor were preserved. (4) In the Shadows condition, all pixels depicting the floor were replaced by corresponding pixels 110 from ambient-illuminated images. This eliminated cast shadows on the floor. (5) In the the Shading & Shadows condition, all 111 pixels depicting the 14 geometric objects and the floor were replaced by pixels from ambient-illuminated images. Only pixels 112 depicting the reference and match cubes and the walls were left unchanged. Finally, (6) in the No-cue condition, all pixels except 113 those depicting the reference and match patches were replaced by corresponding pixels from ambient-illuminated images. This 114 was a limiting condition, where there were no cues to the simulated lighting, and in this condition we expected observers to 115 simply match luminance instead of albedo, i.e., to show no lightness constancy. The average luminance around the reference 116 and match patches was the same in the Contrast and No-cue conditions. 117 The stimuli were back-projected onto a 100 cm wide × 70 cm high screen with a ProPixx 1440 Hz projector in a dark room. 118 Observers sat 120 cm from the screen, and head position was stabilized with a chinrest. The projected stimulus image was 25 cm 119 square, and subtended 11.9 degrees of visual angle, horizontally and vertically. The image was surrounded by a grey background 120 projected onto the screen. We made luminance characterization measurements from the display using an Xrite i1Display Pro 121 colorimeter, fitted a gamma-correction model, and transformed the stimuli using custom software so that displayed luminance 122 was proportional to rendered luminance (Brainard et al., 2002). We scaled the rendered stimuli before display so that luminance # A Lighting conditions # B 0.00 0.35 0.75 1.50 3.0 Figure 1: Stimulus images in the lightness matching experiment. (A) A typical image, rendered in RGB and converted into three achromatic images, one from each color channel. (B) Lighting and cue manipulations. Each column shows stimuli in a single lighting condition, with the indicated value of point light intensity. Each row shows stimuli in a different cue condition, where we manipulated contrast, shadow, and shading cues. The black-and-white images to the right of the bottom four rows are masks that we used to create the stimuli in these conditions, as described in the main text. 123 ranged up to 125.4 cd/m <sup>2</sup> . We created the experiment using Python 3.8 and PsychoPy 2024.1.4 (Pierce et al., 2019). Python 124 code for generating stimuli, running the experiment, and analyzing the results can be found in our GitHub repository <sup>1</sup> . 125 2.1.3 Procedure 126 On each trial, the observer viewed an achromatic stimulus randomly chosen from one of the six cue conditions (Normal, 127 Contrast, Shading, Shadows, Shading & Shadows, and No-cue). Images from the three rendered color channels were randomly 128 interleaved. The simulated point light intensity was randomly set to 0.00, 0.35, 0.75, 1.50 or 3.00 IU. The reference patch 129 albedo was randomly set to 0.20, 0.40, or 0.60. The match patch albedo was randomly set to an initial value between 0.00 and 130 1.00. The observer was instructed to match the appearance of the match patch to that of the reference patch. The observer used 131 a mouse scroll wheel to adjust the albedo of the match patch, in steps of 0.025 albedo units, until it appeared to have the same 132 albedo as the reference patch. For each albedo of the match patch, the software loaded and displayed a new rendered image. 133 There was no limit on response time, although the observer was told they would be evaluated based on both accuracy and speed, 134 so they were incentivized to make quick, visual match settings instead of cognitively inferred settings. When the observer was 135 satisfied with the match, they clicked the mouse, and after a brief pause (0.3 s) the next trial began. 136 There were six conditions, five point light intensities, three reference albedos, and three color-channel to grayscale conver 137 sions, for a total of 6 × 5 × 3 × 3 = 270 trials. These trials were interleaved with additional trials showing similar stimuli rendered 138 with the Cycles engine in Blender 2.92, for a comparison we describe below; see Section 4. Despite the inter-trial interval of 139 0.3 s, it occasionally happened that the mouse button press that ended one trial had not been released when the next trial began, 140 in which case the initial, randomly chosen match albedo was saved as a match, with a response time near zero. These trials 141 amounted to 1.5% of the total, and were not included in the analyses. On average, valid trials had a response time of 7.1 s, and 142 the whole experiment took 42 minutes. 143 2.1.4 Analysis 144 We quantified lightness constancy using the Thouless ratio (Thouless, 1931), defined as follows. Let _?_ 1 be the albedo of the 145 reference patch in a matching task, and let _?_ be the albedo that the observer chooses at the match patch. Let _?_ 1 and _?_ be the 146 illuminances at the reference and match patches, respectively. An observer who simply matches luminance (i.e., has no lightness 147 constancy) chooses the match albedo _?_ 0 where _?_ 0 _?_ = _?_ 1 _?_ 1, which implies _?_ 0 = _?_ 1 _?_ 1/ _?_ . The Thouless ratio _?_ is defined as _?_ = <sup><u>log</u></sup> <sup>_?_</sup> <sup>−</sup> <sup><u>log</u></sup> <sup>_?_</sup> <sup><u>0</u></sup> log _?_ 1 − log _?_ 0 _._ (1) 148 A perfectly lightness-constant observer ( _?_ = _?_ 1) has a Thouless ratio _?_ = 1, and a luminance-matching observer ( _?_ = _?_ 0) has 149 _?_ = 0. The logarithms in this definition reflect the fact that perceived lightness is a monotonic, compressive function of physical 150 albedo. The Thouless ratio is similar to the color constancy index that is often used to quantify constancy in a multi-dimensional 151 color space (Arend et al., 1991; Brainard, 1998). 1 `[https://github.com/AlbanFlachot/IID4constancy/tree/main](https://github.com/AlbanFlachot/IID4constancy/tree/main)` 152 Equation (1) can be rewritten as log _?_ = ( _?_ - 1)(log _?_ - log _?_ 1) + log _?_ 1 _._ (2) 153 This shows that for an observer with a fixed Thouless ratio _?_, log match albedo (log _?_ ) is an affine function of log match 154 illuminance (log _?_ ), with slope _?_ - 1. When the observer’s albedo match is invariant across different illumination intensities 155 (perfect constancy, _?_ = 1) the slope is 0. When the observer matches luminance (no constancy, _?_ = 0), the slope is −1. We 156 estimated each observer’s Thouless ratio in each condition from the slope of a least-squares linear regression line fitted to the 157 logarithm of the match albedo settings as a function of the logarithm of illuminance at the match patch. 158 2.2 Results 159 Fig. 2(A) shows results for a typical observer in all conditions. Each panel plots match albedo against match illuminance 160 (represented as a multiple of the illuminance at the reference patch), both on a log scale. Each color shows results for a single 161 reference albedo. Log match albedo was an approximately linear function of log illuminance: across all observers, conditions, 162 and reference albedos, the matches were well fit by linear regression, with an average coefficient of determination R <sup>2</sup> = 0.92. 163 The bracketed values on each line are the Thouless ratios estimated from the line’s slope as in equation (2). 164 Constancy was approximately the same for the three reference albedos. A one-way repeated measures ANOVA testing for 165 an effect of reference albedo on Thouless ratio did not reach significance ( _?_ (2 _,_ 12) = 0 _._ 53 _, ?_ = 0 _._ 69). However, matches were 166 slightly different for images from the three color channels. A one-way repeated-measures ANOVA of the effect color channel on 167 match reflectance was significant ( _?_ (2 _,_ 12) = 69 _._ 8 _, ?<_ 10 <sup>−6</sup> ). Nevertheless, the differences were small: the average matches 168 for the R, G and B channel stimuli were 0 _._ 25, 0 _._ 26, and 0 _._ 28, respectively. Small differences in lightness matches between these 169 groups of stimuli are not surprising, as they had different albedos assigned to walls and objects. 170 Fig. 2(B) shows Thouless ratios for all observers in all conditions. Light grey lines show results for individual observers, 171 averaged over reference albedos, and the heavy black line shows the average over observers and reference albedos. The two 172 dotted lines show results for two observers we excluded from the analysis. The lower dotted line indicates poor constancy in 173 all conditions, and so the observer may not have understood the task. The upper dotted line was from the first author, a highly 174 practised and non-naive observer who had unusually good constancy in some conditions (but nevertheless a qualitatively similar 175 profile across conditions, compared to the other observers). 176 Overall, Thouless ratios were relatively low, with an average of 0.32 in the Normal condition. It is not unusual to find weak 177 constancy when stimuli are not rich, naturalistic scenes (Katz, 1935). Here the stimuli were artificial Lambertian scenes, with 178 simple lighting conditions, shown on a 2D display, and these factors may have contributed to relatively weak constancy. 179 The pattern of Thouless ratios across conditions was quite consistent across observers: highest constancy in the Normal 180 condition; little change in the Shading, Shadows, and Shading & Shadows conditions, suggesting that observers were largely 181 indifferent to object shading and shadows (after the experiment, several observers reported being unaware that shadows were 182 sometimes absent); lowest constancy in the No-cue condition, as expected, with an average Thouless ratio of 0.04; and low 183 constancy in the Contrast condition, with an average Thouless ratio of 0.09. These observations strongly suggest that, for our 184 stimuli, the perceived color of the match patch is mostly influenced by local contrast. The asterisks in Fig. 2(B) show the results 185 of paired _?_ -tests that compared each condition to the Normal condition, which support these qualitative observations. 186 Although there were individual differences, most observers exhibited a similar behavioral pattern, namely low sensitivity to 187 shading and shadows, and high sensitivity to local contrast. In the following section, we test whether the same results can be 188 found with a deep neural network trained to estimate the albedo of objects independently of lighting conditions and context. #### 189 3 Deep learning models 190 We trained a deep learning network for intrinsic image decomposition, and evaluated it for lightness constancy by simulating 191 its performance on same task we studied with human observers. 192 3.1 Training images 193 We rendered 121K training images and 7K validation images using the EEVEE engine in Blender 2.92 (Blender 2.92 Docu 194 mentation Team, 2021). Each scene included 17 randomly chosen geometric shapes (spheres, rectangular prisms, cylinders, 195 tori, and icosahedra), with randomized locations, orientations, and sizes (Figure 3). Each object was rendered with a surface 196 pattern that was randomly chosen to be (a) a solid colour, with an albedo uniformly sampled between 0.05 and 0.9, which is 197 approximately the range of albedos found in natural scenes (Gilchrist, 2006), (b) a Voronoi pattern, (c) a low-pass noise pattern 198 or (c) a random composite of filled-in rectangles and ellipses, again with albedo uniformly sampled between 0.05 and 0.9. The 199 scenes were illuminated by an ambient light source with a random intensity and a directional light source with random direction 200 and intensity. Both light sources had randomized colours. The virtual camera was placed at a randomly chosen location and 201 was directed at the centre of the scene. We also rendered ground-truth albedo images of each scene, and calculated illuminance 202 images as the pixelwise ratio of luminance and albedo images. Images were saved in EXR format with 32-bit floating point 203 precision. The Supporting Information includes Python code that generates these images and provides further details about 204 randomized parameters. 205 We rendered the images in colour, but used the three colour channels as separate achromatic training images. We also 206 augmented the training data using vertical and horizontal flips. These augmentations produced a training set with 121K × 3 207 channels × 4 flips = 1.45M achromatic images for each of luminance, albedo, and illuminance. 208 3.2 Model, loss, and training 209 The network had a modified U-Net architecture with one encoder, and two separate decoders for albedo and illuminance (Fig. 210 3(B)) (Z. Li et al., 2020). The encoder had 2240 convolutional filters split over six convolutional layers. Both decoders had 211 1408 convolutional filters, also split over six convolutional layers. Each layer of the encoder sent its output to the next encoder 212 layer in a feedforward manner, and also to the decoders via direct skip connections. A B Normal Contrast : Ref 0.2 : Ref 0.4 : Ref 0.6 Shadows Shading & Shadows Shading No Cue : Individual observer : Average observer : Individual observer excluded from analysis * ns ns - * Figure 2: (A) Results for a typical observer in all conditions. Log match albedo declined as an approximately linear function of log match illuminance. Bracketed values show Thouless ratios estimated from the fitted lines. (B) Thouless ratios for individual observers (grey lines) and the mean across observers (black line). Significance levels are the results of paired _?_ -test comparisons to the Normal condition. (∗ for _?<_ 0 _._ 05, ∗∗ for _?<_ 0 _._ 01 and ∗∗∗ for _?<_ 0 _._ 001) . Training Dataset Architecture and Loss : MSE Loss Rendering prediction Encoder Decoder albedo Decoder illum × Figure 3: Training procedure for the convolutional neural network. Left: Examples of training images. Right: Architecture and loss. 213 We trained the model to map training images to their corresponding ground-truth albedo and illuminance images. The cost 214 function for each estimate was L _?_ = <sup><u>1</u></sup> _?_ _?_ ∑︁ _?_ =1 - _??,?_ - _??,?_ - 2 _,_ (3) 215 where _?_ is the model’s prediction, _?_ is the ground-truth image, _?_ stands for either _albedo_ or _illuminance_, and _?_ is the number 216 of pixels in the image. 217 Because the scenes depicted Lambertian surfaces, each input image _?_ was the product of its two intrinsic components, 218 albedo and illuminance. As a regulatory term, we imposed a reconstruction cost by penalizing any discrepancy between the 219 input image and the pointwise product of the model’s albedo and illuminance predictions. We defined the reconstruction loss as L _???_ = <sup><u>1</u></sup> _?_ _?_ ∑︁ _?_ =1 - _?_ ˜ _?_ - _??_ - 2 _._ (4) 220 where _?_ <sup>˜</sup> is the pixelwise product of the model’s estimates of albedo and illuminance, _?_ is the input image, and the sum is over 221 image pixels. 222 The total loss L _?_ was a combination of three terms: L _?_ = _?_ L _??????_ + _?_ L _???????????_ + _?_ L _???,_ (5) 223 where _?_, _?_, and _?_ are scalars. Because we evalauted models on their ability to estimate albedo, we favored learning albedo 224 estimation over the other criteria by setting _?_ = 4 and _?_ = _?_ = 1. The illuminance and reconstruction losses served as regulatory 225 cost functions. 226 Training lasted for 60 epochs, and in each epoch the network was trained on 125K images × 3 channels = 375K images. 227 Each image was flipped horizontally and vertically with probability 0.5 for each direction. We used the Adam optimizer with a 228 learning rate that started at 5 × 10 <sup>−5</sup> and decayed by a factor of two every ten epochs. The loss flattened out around the 50th Input Ground Truth Retinex ODOG Dakin-Bex Figure 4: Example of an image from the validation set, its ground-truth albedo, and the predictions from the models tested. The deep neural network’s prediction were the closest to the ground truth, and it was the only model able to largely eliminate shading and shadows. 229 epoch. The Supporting Information provides code that implements the network and training routines. 230 Because the training procedure included several random steps, such as the initialization of the weights and the order in which 231 images were shown, different training runs resulted in different learned weights. We performed three training runs, resulting in 232 three different training instances. 233 3.3 Validation 234 After training, we evaluated the network’s ability to estimate albedo on the validation set, which consisted of images that were 235 generated by the same random procedure that created the training images, but that were not used during training. We found that 236 the albedo output of the network largely removed shading and shadows from input images (Fig. 4). Furthermore, the network 237 produced generally good pixelwise albedo estimates, with a median absolute error of 0.028, measured in albedo units that range 238 from 0 to 1 (Fig. 5). 239 For comparison, we also evaluated a number of alternative models. There are few image-computable lightness models in 240 the psychophysics literature, so we evaluated models of both lightness (perceived albedo) and brightness (perceived luminance). Luminance (baseline) Optimized Luminance Retinex ODOG Dakin-Bex Figure 5: Scatter plots of models’ albedo estimates against the ground-truth albedo. The DNN model had the best performance of the models tested. The reported errors are the median absolute prediction error across pixels. 241 We evaluated ODOG, which is a brightness model (Blakeslee & McCourt, 1999), retinex, which is a lightness model (Land 242 & McCann, 1971; Funt et al., 2000), and the Dakin-Bex normalization model, which has been described in both ways (Dakin 243 & Bex, 2003). These models do not give outputs in albedo units, so we optimized their performance by finding the affine 244 transformation that minimized each model’s median absolute error when predicting albedo in the training set, as follows. We 245 applied each model to the 128K images in the training set. We found the affine transformation that gave each model the lowest 246 median absolute error when predicting albedo at 10 <sup>3</sup> pixels randomly sampled from each training image, for a total of 1 _._ 28 × 10 <sup>8</sup> 247 pixels. We then used these optimal affine transformations, estimated from the training set, to map model outputs to predicted 248 albedos on the validation set. As baselines, we also tested two null models whose outputs were in one case simply the luminance 249 input, and in the other case the luminance output modified by an optimal affine transform as with the other models. 250 Unlike the deep learning network, the outputs of these alternative models generally did not remove shading and shadows 251 (Fig. 4). Furthermore, even after an optimal affine transform of their outputs, they had substantially higher prediction error than 252 the deep learning network (Fig. 5). In fact, the three lightness/brightness models (ODOG, Dakin-Bex, and retinex) gave albedo 253 estimates whose median absolute errors were even higher than that of the optimized luminance model, whose output was simply 254 an affine transformation of the luminance input. Patel et al. (submitted) found similar results for a trained network and classical 255 models, using a similar but not identical network and training set. 256 The validation results show that training was successful, in that the network was able to decompose rich 3D scenes into their 257 albedo and illuminance intrinsic image components, at least when the scene was typical of the training distribution. We also 258 found that the network performed better than classical models of lightness and brightness. As such, the network is an interesting 259 candidate for a model of human lightness constancy. In the following section we evaluate the network in the same matching 260 task we used with human observers, for a more direct comparison. 261 3.4 Lightness constancy in a matching task 262 To further evaluate the network’s degree of lightness constancy, we ran it in a simulation of the matching task performed by 263 human observers in the behavioural experiment reported above. In each condition of the simulated experiment, and for each 264 lighting configuration and reference albedo, we found the network’s match setting as follows. We applied the network to the 265 same stimuli viewed by human observers, with a fixed reference patch albedo and with a range of match patch albedos. We took 266 the network’s match setting to be the match patch albedo for which the network’s mean output was the same at the reference 267 patch and the match patch. For the finite set of test stimuli, the model’s output was never exactly the same at the reference and 268 match patches, so we found the match setting by interpolation or extrapolation. We then calculated a Thouless ratio for the 269 network, just as we did for human observers, from a fit of equation (2) to the logarithm of the network’s match albedo setting as 270 a function of log illuminance at the match patch. 271 In all stimulus conditions, the networks’ log match albedo was an approximately linear function of log illuminance (Fig. 272 6A). This is itself a noteworthy finding, and an important similarity to human observers that did not have to be the case for such 273 a complex and highly nonlinear network. This linearity also means that the Thouless ratio is a meaningful metric for describing A B Normal Contrast : Ref 0.2 : Ref 0.4 : Ref 0.6 Shadows Shading & Shadows Shading No Cue ns ns * * *** : Single training instance : Average Figure 6: (A) Results for one training instance of the network in all conditions. (B) Thouless ratios for single training runs (grey lines, N = 3) and the average across training runs (black line). Results from different training runs were similar, and tend to overlap in the figure. Significance levels are the results of paired _?_ -test comparisons to the Normal condition. 274 the network’s performance in the matching task. The Thouless ratio for each condition is shown in brackets on each fitted line. 275 Fig. 6(A) also shows that this training instance’s match settings were largely constant as a function of illuminance in 276 the Normal and Contrast conditions, and that they varied with illuminance in the remaining conditions. This differs from 277 what we found for human observers. Additionally, the Thouless ratios varied markedly with the reference albedo (a one-way 278 repeated measures ANOVA revealed an effect of albedo on match reflectance; _?_ (2 _,_ 12) = 102 _._ 3 _, ?_ = 0.0003), with much weaker 279 constancy when the reference albedo was 0.6. A partial explanation of this difference can be found in the network’s illumination 280 predictions (not shown here). When the reference albedo was 0.6, the model assigned an unusually high illuminance to the 281 reference cube. What led the network to make this mistake, however, is unclear. 282 Fig. 6(B) shows the mean Thouless ratio for each condition, averaged across reference albedos for each training instance 283 (grey lines) and averaged across training instances and reference albedos (bold black line). As was the case for human observers, 284 the network’s constancy was affected by the contextual cue manipulations: a one-way repeated measures ANOVA revealed a 285 significant effect of cue condition on Thouless ratio ( _?_ (5 _,_ 10) = 138 _._ 7 _, ?_ ≪ 0 _._ 01). However, the similarity ends there, as some 286 differences clearly emerge. First, in the Normal condition, the Thouless ratio was much higher for the network (mean 0.79) than 287 for human observers (0.38), indicating that the network had markedly better lightness constancy than humans in the realistic 288 baseline condition. (Note that the _?_ -axis ranges are different in Figures 2B and 6B.) Second, the network’s performance did not 289 suffer in the Contrast condition, in which the local contrast cue was silenced (a _?_ -test comparison of Thouless ratios in the Normal 290 and Contrast conditions gave _?_ = 0.23), whereas human observers’ lightness constancy was dramatically worse in the Contrast 291 condition. Third, the network’s performance was substantially worse in the Shadows and Shading & Shadows conditions than in 292 the Normal condition, whereas human observers performed similarly and only mildly worse, respectively, in those conditions. 293 Fourth, differences across training instances were smaller than individual differences between human observers. 294 Visual inspection of the model’s output supports some of these findings, and gives insight into the model’s performance. 295 Fig. 7 shows typical stimuli in all conditions, in a lighting configuration with strong cast shadows. The figure also shows 296 ground-truth and network predictions for albedo and illuminance. There are clear differences in the model’s output across 297 conditions. In the Normal and Contrast conditions, the model correctly inferred lower illuminance at the reference cube (which 298 was in shadow) than at the match cube, and correctly assigned approximately the same albedo to the reference and match 299 patches. In the Shadows and Shading & Shadows conditions, however, the network assigned approximately equal illuminance 300 to the reference and match cubes, and assigned a much higher albedo to the match patch than to the reference patch. Finally, 301 in the No-cue condition, as expected, the model inferred almost uniform illuminance everywhere, and again attributed a much 302 higher albedo to the match patch than to the reference patch. 303 These results suggest that the network had some ability to model relationships over large image regions, for example using 304 cast shadows to infer albedo at the reference and match patches. The network seemed not to rely on local contrast to estimate 305 reflectance, but instead was able to estimate local lighting conditions, taking into account features such as shading and cast 306 shadows. As a result, the network was susceptible to some stimulus manipulations in ways that human observers largely were 307 not. For example, when we eliminated the shadows on the floor in the Shadows condition, the network’s estimate of local ##### Normal Contrast Shading Shadows ##### Shading & shadows No cue Figure 7: Examples of the network’s output in all six conditions. Except for the match cube in the No-cue condition, the ground-truth albedo is the same in all conditions, unlike illuminance. The model misjudged albedo in the physically inconsistent conditions. This is particularly obvious in the No-cue condition, where the model attributed the high luminance of the match patch to a high albedo instead of a high illuminance. 308 lighting conditions changed, and so did its estimates of albedo. 309 Overall, these results show that the network learned to use cues such as shading and shadows to disentangle the albedo and 310 illuminance components of its input. By doing so, it achieved a much higher level of lightness constancy than human observers 311 on the same images. It also managed to learn the non-trivial relationship between distant objects (such as the large sphere) 312 and the shadows they cast on other objects (such as the floor and reference cube). This last feature, however, is fragile: small 313 changes in the image can disrupt it, as when we removed the sphere’s shading in the Shading condition or the sphere’s shadow 314 in the Shadows condition. 315 Most importantly, the image features that the network relies on differed from those used by human observers: while the 316 network mostly relied on shadows, human observers’ judgements in these scenes were mostly modulated by local contrast. Thus, 317 while the network can use naturalistic cues, its strategy for inferring albedo is quite unlike that of human observers on these 318 images. This is consistent with the findings reported in the next section, where we demonstrate some pitfalls to be mindful of 319 when using deep learning models of human behaviour. #### 320 4 Deep learning networks can exploit artifacts in rendered images 321 In the previous section, we saw that it is possible to train a convolutional network to disentangle the contributions of albedo 322 and illuminance to a luminance image, relying on naturalistic features such as shading and shadows. These networks effectively 323 learned a strategy for lightness constancy based on physically relevant cues, and one that differs from the strategy used by 324 human observers. This was only possible due to (1) the care we took in training the models using images that, to the best of 325 our knowledge, do not contain information other than the stipulated cues that the models could use to solve the task and (2) 326 using test images that were novel, in the sense that these exact images were not seen by the model in training, but fell within the 327 training distribution (i.e., they were novel, independent and identically distributed samples). 328 However, deep learning models, and in particular those trained via supervised learning, are prone to learn undesirable 329 shortcuts, e.g., based on biases or artifacts in the training set (Geirhos et al., 2020). In the following section, we document that 330 such artifacts can be present in datasets rendered with ray tracing, a popular rendering method, and how these artifacts can lead 331 to undesirable consequences for models trained for intrinsic image decomposition. 332 4.1 Ray-tracing noise as a confounding factor 333 Ray tracing methods more realistic than rasterization methods because they simulate physical light transport (Shirley & Morley, 334 2008). They tend to be the default rendering methods used to generate photorealistic images, and in particular images used 335 to train computer vision models. In fact, a large number of the large scale synthetic datasets available for training models for 336 intrinsic image decomposition were rendered using ray tracing methods (Z. Li et al., 2021; W. Li et al., 2018; Zhu et al., 2022; 337 Roberts et al., 2021). These methods’ advantage over rasterization is that they include a model of virtual light rays, _traced_ back 338 from the virtual camera to the virtual light source. However, their probabilistic nature is such that image regions with a more Figure 8: Example of image noise typically associated with ray tracing that can be a confounding factor for intrinsic image decomposition. The large squares on the right are zoomed-in views of the smaller squares in the rendered scene on the left. The two extracted patches in the image have roughly the same luminance, yet the patch in shadow (orange border) is noisier than the patch in direct light (green border). Even without a broader contextual context, this is enough local information to conclude that the patch on the left is less strongly illuminated, and thus shows an object with a higher albedo. 339 indirect path to the light source (e.g., regions in shadow) are less likely to be traced back, and thus tend to appear noisier. This is 340 the case with Cycles, Blender’s ray-tracing algorithm (Blender 2.92 Documentation Team, 2021), but also many other standard 341 ray-tracing algorithms. While there are ways to reduce the amount of noise in an image, for example by increasing the ‘sample 342 count’ (the number of rays sampled in each pixel), areas in shadow will often nevertheless appear noisier. This correlation 343 between illuminance and image noise is a potential confounding factor for lightness constancy, and is illustrated in Fig. 8. Thus 344 we tested for an effect of this rendering noise in a lightness matching task, both for human observers and for the network that 345 we examined above. 346 We rendered the same stimuli described in section 2.1, except that we used the Cycles renderer of Blender 2.92 instead of 347 EEVEE. We used a sample count of 128, small enough that the rendering noise remains visible to the naked eye in shadowed 348 areas. We will call this new image set the _Cycles image set_ . 349 4.2 Experiment with human observers 350 We tested the same human participants as in the previous section, but here with the Cycles image set. As mentioned in Section 351 2.1, the Cycles images were interleaved with a larger number of images rendered with EEVEE, for which results are reported 352 above. In the Cycles conditions, we tested participants only in the Normal and No-cue conditions. However, each condition 353 included the same number of reference albedos (3), light intensities (5) and color channels converted to achromatic luminance 354 images (3) as in the EEVEE image set. This provides a control for the main experiment: if human observers can exploit the 355 rendering noise to perform the matching task, then there should be a significant improvement in the measured Thouless ratios 356 in the two Cycles conditions. 357 That is not what we observed. There was a significant difference between the Thouless ratios measured for EEVEE and 358 Cycles images (as shown by a repeated-measures ANOVA, _?_ (1 _,_ 166) = 6 _._ 1 _, ?_ = 0 _._ 014), but the effect was small and in the 359 opposite of the hypothesized direction. Average Thouless ratios were 0.29 and 0.00 in the Normal and No-cue conditions, 360 respectively, for Cycles images, compared to 0.32 and 0.04 for the EEVEE images (Fig. 9). This suggests that, if anything, the 361 rendering noise in Cycles made the task slightly more difficult for human observers. Still, the differences are in any case very 362 small in overall magnitude. 363 4.3 Deep learning models 364 We also tested whether DNNs trained for intrinsic image decomposition can exploit rendering noise as a cue to estimate albedo. 365 We rendered 128K new training images and 7K new validation images with the same rendering parameters as described in 366 Section 3.1, now using Cycles instead of EEVEE. For consistency, we used a sample count of 128. We also made three training 367 runs of the network described above on this new image set, resulting in three training instances. We will refer to the models 368 trained on the EEVEE images as the _EEVEE models_, and the models trained on the Cycles images as the _Cycles models_ . 369 We tested the Cycles models on the matching task in all conditions. We found a highly significant effect of the choice 370 of renderer on Thouless ratios (repeated-measures ANOVA, _?_ (1 _,_ 106) = 19 _._ 5 _, ?_ ≪ 0 _._ 01; Fig. 9). Thouless ratios were Human Obs. Network models ##### *** : Single observer or instance : Average : Average on EEVEE ##### ns * ns * Figure 9: Thouless ratios, measured with the Cycles image set, for the seven human observers (left) and three training instances of the Cycles-trained model (right). Significance levels are the results of paired _?_ -test comparisons to the Normal condition. The faint dashed lines are the average previously found for the EEVEE dataset, shown here for comparison purposes. 371 consistently higher for Cycles images. Additionally, although we also found a significant effect of condition on mean Thouless 372 ratio (repeated-measures ANOVA, _?_ ≪ 0 _._ 01), the Cycles models seemed to rely on different cues than the EEVEE models, 373 as shown by the significance levels in Fig. 9 (paired _t_ -test comparisons with the Normal condition). In the Normal, Contrast, 374 and Shadows conditions, the Cycles models were essentially at perfect constancy, with average Thouless ratios of 0.97, 1.01 375 and 0.95, respectively, and no significant difference between them. The average Thouless ratios in the Shading and Shading 376 & Shadows conditions were significantly lower, at 0.87 and 0.78 respectively. This suggests that the Cycles models relied 377 on object shading, and less so on shadows, to disentangle the albedo and illuminance contribution to luminance, unlike the 378 EEVEE models. Finally, the average Thouless ratio in the No-cue condition (0.07) was significantly greater than 0 (paired _t_ -test, 379 _?_ ≪ 0 _._ 01). This last observation is particularly interesting, as in this condition there was no cue other than rendering noise that 380 the model could use to estimate illuminance and albedo. Taken together, these findings support the hypothesis that the Cycles 381 models learned to exploit rendering noise in order to achieve lightness constancy. #### 382 5 General discussion 383 Lightness perception is a long-standing area of research, and many studies have discovered important principles of lightness 384 constancy (Gilchrist, 2006; Arend & Spehar, 1993; Wedge-Roberts et al., 2020; Adelson, 1993; Granzier & Gegenfurtner, 2012; 385 Szafir et al., 2015; Murray, 2021). This research reveals lightness constancy to be a complex visual ability dependent on multiple 386 factors, including local contrast, adaptation to the luminance range, and specular highlights, to name a few. Yet, despite these 387 insights, few image-computable models of lightness perception exist. 388 Prior studies suggest that deep neural networks (DNNs) are promising candidates for such models, as they can match or even 389 surpass human constancy levels on images of rich 3D scenes (Flachot et al., 2022; Murray et al., 2023). Our work supports this 390 view, as our model achieved supra-human levels of constancy. However, we identified critical differences in how humans and 391 the model solve the task. In the scenes we used, human observers relied predominantly on local contrast to judge patch colors, 392 whereas DNNs leveraged physically relevant cues like shadows, shading, and, when present, rendering noise that was correlated 393 with illuminance. 394 One could argue from these findings that unconstrained DNNs are simply too powerful to be good models of human 395 performance in this task. Our model learned to use physically relevant features of the scenes we showed, and in order to worsen 396 its constancy, we had to break the underlying physics by using composite scenes that silenced lighting cues from shadows and 397 object shading. Human observers, not trained with these stimuli and possibly more limited in their capacity, relied on less 398 computationally demanding cues like local contrast. On this view, in order to make the DNNs ‘more human’ we would have to 399 limit their capacity, either by reducing their computational power (Kubilius et al., 2018) or by introducing additional constraints 400 (Geirhos et al., 2018). 401 However, several other factors may explain the divergence between humans and the model. First, we deliberately limited 402 the realism and complexity of the training set, in order to explore the role of generic features such as shading and occlusion. 403 This resulted in a limited set of scene configurations (indoor), material types (Lambertian), object shapes (geometric), lighting 404 configurations (two light sources), and shadow boundaries (sharp). Furthermore, the luminance range was limited, and in 405 particular, specular highlights, motion, and disparity were excluded. This simplified environment made many naturalistic cues 406 unavailable, which may have been the reason we observed low Thouless ratios for human observers. These same factors may 407 have made shadows and shading into more reliable cues that could exploited by the network model, which was specifically 408 trained on these scenes. One avenue for constraining networks to rely less on shadows and shading would be to make these 409 cues more difficult to exploit, for example by increasing the complexity of the lighting, or by blurring or removing shadow 410 boundaries. Under these conditions the network might rely more heavily on local contrast, as we found for human observers. 411 Second, full supervision during training is fundamentally different from how people learn to see the world (Anderson, 2015; 412 Hoffman et al., 2015). Our visual system does not have access to the ground truth about the properties of objects and surfaces. 413 It has been shown that fully supervised DNNs tend to develop non-human strategies, more so than weakly or unsupervised 414 training methods (Storrs et al., 2021). It is possible that a model trained in an unsupervised manner on the same images, using 415 for example a contrastive loss (Chopra et al., 2005), would lead to more human-like strategies. This is a promising avenue for 416 future work. 417 Finally, the human visual system must solve a much broader range of complex visual tasks than just learning correlates of 418 albedo and illuminance, such as object recognition, face recognition, and depth. Local contrast, while a valuable cue for human 419 lightness constancy due to its invariance across changes in illuminance (Foster, 2011), is also crucial to some of these other 420 visual functions. Indeed, early stages of the human visual system contain many contrast-sensitive cells, which are crucial for 421 tasks like shape and object recognition (Derrington et al., 1984; Wachtler et al., 2003). Contrast-sensitive cells are also thought 422 to be necessary for the biological system to accommodate the high dynamic range of natural images, within the smaller dynamic 423 range of neural synapses (Shapley & Victor, 1978, 1981; Brenner et al., 2000; Gaudry & Reinagel, 2007). Contrast-sensitive 424 cells thus form the basis of human visual processing (Hoyer & Hyv¨arinen, 2000). From this point of view, our observers’ 425 sensitivity to local contrast manipulations is unsurprising. This is very different from the training environment of our network 426 model, which was optimized solely for albedo-illuminance separation in artificial scenes where shadows and shading were highly 427 diagnostic. Perhaps a better image-computable model of human lightness constancy would emerge from training simultaneously 428 on a broader range of tasks, including shape and object recognition. Training such a model would require a large dataset of 429 object-labeled naturalistic images taken under varying and known lighting conditions. 430 Another notable finding of the present work was the Cycles models’ reliance on ray-tracing noise which, within an image, 431 is correlated with illuminance. In a different modeling context, Ding et al. (2019) reported the related result that if care is not 432 taken, rendering noise can elevate the performance of trained classifiers. Given that ray-tracing is considered the most realistic 433 rendering method (Shirley & Morley, 2008), it is the most commonly used method for generating large synthetic datasets (Z. Li 434 et al., 2021; W. Li et al., 2018; Zhu et al., 2022; Roberts et al., 2021). As a result, many models trained for inverse rendering and 435 intrinsic image decomposition are trained on ray-traced datasets (Z. Li & Snavely, 2018a; Z. Li et al., 2020; Wang et al., 2021; 436 Zhu et al., 2022) and may be susceptible to similar artifacts. This could limit their performance when they are applied to natural 437 images, in which such artificial noise is not present. This issue is particularly relevant for models of human lightness and color 438 constancy. To mitigate it, we suggest avoiding ray-tracing algorithms in favor of methods like rasterization, or potentially mixing 439 ray-traced and rasterized images in training. Alternatively, recent years have seen the development of powerful de-noising 440 methods (Bako et al., 2017; Chopra et al., 2005) and these methods might silence rendering noise as a cue for disentangling 441 albedo and illuminance. Regardless, in experiments that evaluate network performance, particularly when trained and evaluated 442 on rendered scenes, we recommend including control conditions where good performance should be impossible, like our No-cue 443 condition, as a test for the presence of unwanted cues. 444 Overall, our results show deep learning networks to be a promising avenue for developing models of human lightness 445 constancy. There are few image-computable models of human lightness perception, and the ones that have been developed 446 fail often in complex scenes (Figure 4). Here we find the opposite problem: DNNs can succeed even where human observers 447 fail. However, this does not discredit the potential of DNNs to model human lightness constancy, and human vision in general. 448 DNNs remain a powerful class of image computable models, and our findings show that when images are carefully selected 449 to exclude artifacts, DNNs can exploit relevant, naturalistic cues like shadows and shading. There are several factors that may 450 explain the divergence we found between the network model and human observers, including network capacity, the realism of 451 the training set, the kind of training, and the need to simultaneously learn several visual tasks. Exploring these factors is a 452 promising approach for future work. #### 453 6 Acknowledgements 454 This work was funded by the following sources. (a) A postdoctoral fellowship to AF from the Canada First Research Excellence 455 Fund, through the Vision: Science to Applications program at York University. (b) NSERC Canada Graduate Scholarship 456 - Doctoral to JP. (c) European Union funding to TSAW (ERC, SEGMENT, 101086774). Views and opinions expressed are 457 however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research 458 Council. Neither the European Union nor the granting authority can be held responsible for them. This research was co 459 funded by Research Cluster “The Adaptive Mind”, funded by the Excellence Program of the Hessian Ministry of Higher 460 Education, Science, Research and the Arts. (d) An NSERC Discovery Grant to RFM. (e) Computing resources were provided 461 by SHARCNET (www.sharcnet.ca) and the Digital Research Alliance of Canada (alliancecan.ca). #### 462 References 463 Adelson, E. H. (1993). Perceptual organization and the judgment of brightness. _Science_, _262_ (5142), 2042–2044. 464 Adelson, E. H. (2000). Lightness perception and lightness illusions. In M. Gazzaniga (Ed.), _The new cognitive neurosciences_ 465 (p. 339-351). The MIT Press. 466 Afifi, M., Brubaker, M. A., & Brown, M. S. (2022). Auto white-balance correction for mixed-illuminant scenes. In _Proceedings_ 467 _of the IEEE/CVF Winter Conference on Applications of Computer Vision_ (pp. 1210–1219). 468 Anderson, B. L. (2011). Visual perception of materials and surfaces. _Current Biology_, _21_ (24), R978–R983. 469 Anderson, B. L. (2015). Can computational goals inform theories of vision? _Topics in Cognitive Science_, _7_ (2), 274–286. 470 Arend, L. E., Reeves, A., Schirillo, J., & Goldstein, R. (1991). Simultaneous color constancy: papers with diverse Munsell 471 values. _Journal of the Optical Society of America A_, _8_, 661-672. 472 Arend, L. E., & Spehar, B. (1993). Lightness, brightness, and brightness contrast. 1. Illuminance variation. _Perception_ _&_ 473 _Psychophysics_, _54_ (4), 446–456. 474 Bako, S., Vogels, T., McWilliams, B., Meyer, M., Nov´ak, J., Harvill, A., . . . Rousselle, F. (2017). Kernel-predicting 475 convolutional networks for denoising monte carlo renderings. _ACM Trans. Graph._, _36_ (4), 97–1. 476 Blakeslee, B., & McCourt, M. E. (1999). A multiscale spatial filtering account of the white effect, simultaneous brightness 477 contrast and grating induction. _Vision Research_, _39_ (26), 4361–4377. 478 Blender 2.92 Documentation Team. (2021). Blender [Computer software manual]. Blender Foundation, Amsterdam. Retrieved 479 from `[https://docs.blender.org/manual/en/2.92](https://docs.blender.org/manual/en/2.92)` 480 Brainard, D. H. (1998). Color constancy in the nearly natural image. 2. Achromatic loci. _Journal_ _of_ _the_ _Optical_ _Society_ _of_ 481 _America A_, _15_, 307-325. 482 Brainard, D. H., Pelli, D. G., & Robson, T. (2002). Display characterization. In J. Hornak (Ed.), _Encyclopedia_ _of_ _imaging_ 483 _science and technology_ (p. 172-188). Wiley. 484 Brenner, N., Bialek, W., & Van Steveninck, R. d. R. (2000). Adaptive rescaling maximizes information transmission. _Neuron_, 485 _26_ (3), 695–702. 486 Chopra, S., Hadsell, R., & LeCun, Y. (2005). Learning a similarity metric discriminatively, with application to face verification. 487 In _2005 ieee computer society conference on computer vision and pattern recognition (cvpr’05)_ (Vol. 1, pp. 539–546). 488 Dakin, S. C., & Bex, P. J. (2003). Natural image statistics mediate brightness ‘filling in’. _Proceedings of the Royal Society of_ 489 _London. Series B: Biological Sciences_, _270_ (1531), 2341–2348. 490 Derrington, A. M., Krauskopf, J., & Lennie, P. (1984). Chromatic mechanisms in lateral geniculate nucleus of macaque. _The_ 491 _Journal of physiology_, _357_ (1), 241–265. 492 Ding, X., Radonjic, A., Cottaris, N. P., Jiang, H., Wandell, B. A., & Brinard, D. H. (2019). Computational-observer analysis of 493 illumination discrimination. _Vision Research_, _19_ (7), 11. 494 Fan, Q., Yang, J., Hua, G., Chen, B., & Wipf, D. (2018). Revisiting deep intrinsic image decompositions. In _Proceedings of the_ 495 _IEEE Conference on Computer Vision and Pattern Recognition_ (pp. 8944–8952). 496 Flachot, A., Akbarinia, A., Sch¨utt, H. H., Fleming, R. W., Wichmann, F. A., & Gegenfurtner, K. R. (2022). Deep neural models 497 for color classification and color constancy. _Journal of Vision_, _22_ (4), 17–17. 498 Foster, D. H. (2011). Color constancy. _Vision Research_, _51_ (7), 674–700. 499 Funt, B., Ciurea, F., & McCann, J. J. (2000). Retinex in MATLAB. In _Proceedings_ _of_ _the_ _IS&T/SID_ _Eighth_ _Color_ _Imaging_ 500 _Conference_ (p. 112-121). Scottsdale, AZ, November 2000. 501 Gaudry, K. S., & Reinagel, P. (2007). Benefits of contrast normalization demonstrated in neurons and model cells. _Journal of_ 502 _Neuroscience_, _27_ (30), 8071–8079. 503 Geirhos, R., Jacobsen, J.-H., Michaelis, C., Zemel, R., Brendel, W., Bethge, M., & Wichmann, F. A. (2020). Shortcut learning 504 in deep neural networks. _Nature Machine Intelligence_, _2_ (11), 665–673. 505 Geirhos, R., Rubisch, P., Michaelis, C., Bethge, M., Wichmann, F. A., & Brendel, W. (2018). Imagenet-trained cnns are 506 biased towards texture; increasing shape bias improves accuracy and robustness. In _International_ _conference_ _on_ _learning_ 507 _representations._ 508 Gilchrist, A. (2006). _Seeing black and white_ . Oxford University Press. 509 Granzier, J. J., & Gegenfurtner, K. R. (2012). Effects of memory colour on colour constancy for unknown coloured objects. 510 _i-Perception_, _3_ (3), 190–215. 511 Heidari-Gorji, H., & Gegenfurtner, K. R. (2023). Object-based color constancy in a deep neural network. _Journal of the Optical_ 512 _Society of America A_, _40_ (3), A48–A56. 513 Hoffman, D. D., Singh, M., & Prakash, C. (2015). The interface theory of perception. _Psychonomic_ _bulletin_ _&_ _review_, _22_, 514 1480–1506. 515 Hoyer, P. O., & Hyv¨arinen, A. (2000). Independent component analysis applied to feature extraction from colour and stereo 516 images. _Network:_ _computation in neural systems_, _11_ (3), 191–210. 517 Hurlbert, A. (2007). Colour constancy. _Current Biology_, _17_ (21), R906–R907. 518 Katz, D. (1935). _The world of colour_ . London: Kegan Paul. 519 Kraft, J. M., & Brainard, D. H. (1999). Mechanisms of color constancy under nearly natural viewing. _Proceedings_ _of_ _the_ 520 _National Academy of Sciences_, _96_ (1), 307–312. 521 Kraft, J. M., Maloney, S. I., & Brainard, D. H. (2002). Surface-illuminant ambiguity and color constancy: Effects of scene 522 complexity and depth cues. _Perception_, _31_ (2), 247–263. 523 Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. 524 _Advances in neural information processing systems_, _25_ . 525 Kubilius, J., Schrimpf, M., Nayebi, A., Bear, D., Yamins, D. L., & DiCarlo, J. J. (2018). Cornet: Modeling the neural 526 mechanisms of core object recognition. _BioRxiv_, 408385. 527 Land, E. H., & McCann, J. J. (1971). Lightness and retinex theory. _Journal of the Optical Society of America_, _61_ (1), 1–11. 528 Li, W., Saeedi, S., McCormac, J., Clark, R., Tzoumanikas, D., Ye, Q., . . . Leutenegger, S. (2018). Interiornet: Mega-scale 529 multi-sensor photo-realistic indoor scenes dataset. _arXiv preprint arXiv:1809.00716_ . 530 Li, Z., Shafiei, M., Ramamoorthi, R., Sunkavalli, K., & Chandraker, M. (2020). Inverse rendering for complex indoor scenes: 531 Shape, spatially-varying lighting and svbrdf from a single image. In _Proceedings of the IEEE/CVF Conference on Computer_ 532 _Vision and Pattern Recognition_ (pp. 2475–2484). 533 Li, Z., & Snavely, N. (2018a). Cgintrinsics: Better intrinsic image decomposition through physically-based rendering. In 534 _Proceedings of the European Conference on Computer Vision (ECCV)_ (pp. 371–387). 535 Li, Z., & Snavely, N. (2018b). Learning intrinsic image decomposition from watching the world. In _Proceedings of the IEEE_ 536 _Conference on Computer Vision and Pattern Recognition_ (pp. 9039–9048). 537 Li, Z., Yu, T.-W., Sang, S., Wang, S., Song, M., Liu, Y., . . . others (2021). Openrooms: An open framework for photorealistic 538 indoor scene datasets. In _Proceedings of the ieee/cvf conference on computer vision and pattern recognition_ (pp. 7190–7199). 539 McCluney, R. (2014). _Introduction to radiometry and photometry, second edition_ . Artech House, Inc. 540 Murray, R. F. (2021). Lightness perception in complex scenes. _Annual Review of Vision Science_, _7_ (1), 417–436. 541 Murray, R. F., Brainard, D. H., Flachot, A., & Patel, J. Y. (2023). An intrinsic image network evaluated as a model of human 542 lightness perception. _Electronic Imaging_, _35_, 1–6. 543 Pierce, J. W., Gray, J. R., Simpson, S., MacAskill, M. R., H¨ochenberge, R., Sogo, H., . . . Lindløv, J. (2019). Psychopy 2: 544 experiments in behavior made easy. _Behavior Research Methods_, _51_, 195-203. 545 Roberts, M., Ramapuram, J., Ranjan, A., Kumar, A., Bautista, M. A., Paczan, N., . . . Susskind, J. M. (2021). Hypersim: A 546 photorealistic synthetic dataset for holistic indoor scene understanding. In _International conference on computer vision (iccv)_ 547 _2021._ 548 Shapley, R. M., & Victor, J. D. (1978). The effect of contrast on the transfer properties of cat retinal ganglion cells. _The Journal_ 549 _of physiology_, _285_ (1), 275–298. 550 Shapley, R. M., & Victor, J. D. (1981). How the contrast gain control modifies the frequency responses of cat retinal ganglion 551 cells. _The Journal of physiology_, _318_ (1), 161–179. 552 Shirley, P., & Morley, R. K. (2008). _Realistic ray tracing_ . AK Peters, Ltd. 553 Storrs, K. R., Anderson, B. L., & Fleming, R. W. (2021). Unsupervised learning predicts human perception and misperception 554 of gloss. _Nature Human Behaviour_, _5_ (10), 1402–1417. 555 Szafir, D. A., Sarikaya, A., & Gleicher, M. (2015). Lightness constancy in surface visualization. _IEEE_ _Transactions_ _on_ 556 _Visualization and Computer Graphics_, _22_ (9), 2107–2121. 557 Thouless, R. (1931). Phenomenal regression to the real object. _British Journal of Psychology_, _21_ (4), 339-359. 558 Tsuda, H., Fujimichi, M., Yokoyama, M., & Saiki, J. (2020). Material constancy in perception and working memory. _Journal_ 559 _of Vision_, _20_ (10), 10–10. 560 Ulucan, O., Ulucan, D., & Ebner, M. (2024). Multi-scale color constancy based on salient varying local spatial statistics. _The_ 561 _Visual Computer_, _40_ (9), 5979–5995. 562 Wachtler, T., Sejnowski, T. J., & Albright, T. D. (2003). Representation of color stimuli in awake macaque primary visual 563 cortex. _Neuron_, _37_ (4), 681–691. 564 Wallach, H. (1948). Brightness constancy and the nature of achromatic colors. _Journal_ _of_ _Experimental_ _Psychology_, _38_ (3), 565 310. 566 Wallach, H. (1963). The perception of neutral colors. _Scientific American_, _208_ (1), 107–117. 567 Wang, Z., Philion, J., Fidler, S., & Kautz, J. (2021). Learning indoor inverse rendering with 3d spatially-varying lighting. In 568 _Proceedings of the IEEE/CVF International Conference on Computer Vision_ (pp. 12538–12547). 569 Webster, M. A., & Mollon, J. (1995). Colour constancy influenced by contrast adaptation. _Nature_, _373_ (6516), 694–698. 570 Wedge-Roberts, R., Aston, S., Beierholm, U., Kentridge, R., Hurlbert, A., Nardini, M., & Olkkonen, M. (2020). Specular 571 highlights improve color constancy when other cues are weakened. _Journal of Vision_, _20_ (12), 4–4. 572 Yao, R., Lin, G., Xia, S., Zhao, J., & Zhou, Y. (2020). Video object segmentation and tracking: A survey. _ACM Transactions_ 573 _on Intelligent Systems and Technology (TIST)_, _11_ (4), 1–47. 574 Yu, Y., & Smith, W. A. P. (2019). InverseRenderNet: Learning single image inverse rendering. In _2019 IEEE/CVF Conference_ 575 _on Computer Vision and Pattern Recognition._ IEEE. doi: 10.1109/cvpr.2019.00327 576 Zhu, J., Luan, F., Huo, Y., Lin, Z., Zhong, Z., Xi, D., . . . Tang, R. (2022). Learning-based inverse rendering of complex indoor 577 scenes with differentiable monte carlo raytracing. In _Siggraph asia 2022 conference papers_ (pp. 1–8).

섹션 본문

섹션 본문이 없습니다.

참고문헌 47건

  1. The Interface Theory of Perception Psychonomic Bulletin & Review · Springer Science+Business Media · 2015 10.3758/s13423-015-0890-8
  2. Surface-Illuminant Ambiguity and Color Constancy: Effects of Scene Complexity and Depth Cues Perception · SAGE Publishing · 2002 10.1068/p08sp
  3. Color constancy in the nearly natural image 2 Achromatic loci Journal of the Optical Society of America A · Optica Publishing Group · 1998 10.1364/josaa.15.000307
  4. Chromatic mechanisms in lateral geniculate nucleus of macaque. The Journal of Physiology · Wiley · 1984 10.1113/jphysiol.1984.sp015499
  5. Benefits of Contrast Normalization Demonstrated in Neurons and Model Cells Journal of Neuroscience · Society for Neuroscience · 2007 10.1523/jneurosci.1093-07.2007
  6. Colour constancy influenced by contrast adaptation Nature · Nature Portfolio · 1995 10.1038/373694a0
  7. Brightness constancy and the nature of achromatic colors. Journal of Experimental Psychology · American Psychological Association · 1948 10.1037/h0053804
  8. The Perception of Neutral Colors Scientific American · Springer Nature · 1963 10.1038/scientificamerican0163-107
  9. Mechanisms of color constancy under nearly natural viewing Proceedings of the National Academy of Sciences · National Academy of Sciences · 1999 10.1073/pnas.96.1.307
  10. Simultaneous color constancy: papers with diverse Munsell values Journal of the Optical Society of America A · Optica Publishing Group · 1991 10.1364/josaa.8.000661
  11. Natural image statistics mediate brightness ‘filling in’ Proceedings of the Royal Society B Biological Sciences · Royal Society · 2003 10.1098/rspb.2003.2528
  12. The effect of contrast on the transfer properties of cat retinal ganglion cells. The Journal of Physiology · Wiley · 1978 10.1113/jphysiol.1978.sp012571
  13. Effects of Memory Colour on Colour Constancy for Unknown Coloured Objects i-Perception · SAGE Publishing · 2012 10.1068/i0461
  14. A multiscale spatial filtering account of the White effect, simultaneous brightness contrast and grating induction Vision Research · Elsevier BV · 1999 10.1016/s0042-6989(99)00119-4
  15. Lightness, brightness, and brightness contrast: 1. Illuminance variation Perception & Psychophysics · Springer Science+Business Media · 1993 10.3758/bf03211767
  16. A Bayesian model of lightness perception that incorporates spatial variation in the illumination Journal of Vision · Association for Research in Vision and Ophthalmology · 2013 10.1167/13.7.18
  17. Representation of Color Stimuli in Awake Macaque Primary Visual Cortex Neuron · Cell Press · 2003 10.1016/s0896-6273(03)00035-7
  18. Adaptive Rescaling Maximizes Information Transmission Neuron · Cell Press · 2000 10.1016/s0896-6273(00)81205-2
  19. Visual perception of materials and surfaces Current Biology · Elsevier BV · 2011 10.1016/j.cub.2011.11.022
  20. Perceptual Organization and the Judgment of Brightness Science · American Association for the Advancement of Science · 1993 10.1126/science.8266102
  21. Independent component analysis applied to feature extraction from colour and stereo images Network Computation in Neural Systems · Taylor & Francis · 2000 10.1088/0954-898x_11_3_302
  22. Learning a Similarity Metric Discriminatively, with Application to Face Verification 2005 10.1109/cvpr.2005.202
  23. How the contrast gain control modifies the frequency responses of cat retinal ganglion cells. The Journal of Physiology · Wiley · 1981 10.1113/jphysiol.1981.sp013856
  24. Can Computational Goals Inform Theories of Vision? Topics in Cognitive Science · Wiley · 2015 10.1111/tops.12136
  25. Lightness and Retinex Theory Journal of the Optical Society of America · Optica Publishing Group · 1971 10.1364/josa.61.000001
  26. Lightness Constancy in Surface Visualization IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tvcg.2015.2500240
  27. Kernel-predicting convolutional networks for denoising Monte Carlo renderings ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073708
  28. PsychoPy2: Experiments in behavior made easy Behavior Research Methods · Springer Science+Business Media · 2019 10.3758/s13428-018-01193-y
  29. InverseRenderNet: Learning Single Image Inverse Rendering 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00327
  30. Shortcut learning in deep neural networks Nature Machine Intelligence · Nature Portfolio · 2020 10.1038/s42256-020-00257-z
  31. Video Object Segmentation and Tracking ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2020 10.1145/3391743
  32. A model of lightness perception guided by probabilistic assumptions about lighting and reflectance Journal of Vision · Association for Research in Vision and Ophthalmology · 2020 10.1167/jov.20.7.28
  33. Material constancy in perception and working memory Journal of Vision · Association for Research in Vision and Ophthalmology · 2020 10.1167/jov.20.10.10
  34. Specular highlights improve color constancy when other cues are weakened Journal of Vision · Association for Research in Vision and Ophthalmology · 2020 10.1167/jov.20.12.4
  35. Unsupervised learning predicts human perception and misperception of gloss Nature Human Behaviour · Nature Portfolio · 2021 10.1038/s41562-021-01097-6
  36. Lightness Perception in Complex Scenes Annual Review of Vision Science · Annual Reviews · 2021 10.1146/annurev-vision-093019-115159
  37. Color constancy Vision Research · Elsevier BV · 2010 10.1016/j.visres.2010.09.006
  38. Deep neural models for color classification and color constancy Journal of Vision · Association for Research in Vision and Ophthalmology · 2022 10.1167/jov.22.4.17
  39. Seeing Black and White 2006 10.1093/acprof:oso/9780195187168.001.0001
  40. Colour constancy Current Biology · Elsevier BV · 2007 10.1016/j.cub.2007.08.022
  41. Display Characterization 2002 10.1002/0471443395.img011
  42. Learning-based Inverse Rendering of Complex Indoor Scenes with Differentiable Monte Carlo Raytracing 2022 10.1145/3550469.3555407
  43. Empirical evaluation of computational models of lightness perception Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-22395-7
  44. Object-based color constancy in a deep neural network Journal of the Optical Society of America A · Optica Publishing Group · 2023 10.1364/josaa.479451
  45. An intrinsic image network evaluated as a model of human lightness perception Electronic Imaging · 2023 10.2352/ei.2023.35.10.hvei-247
  46. Multi-scale color constancy based on salient varying local spatial statistics The Visual Computer · Springer Science+Business Media · 2023 10.1007/s00371-023-03148-7
  47. A deep convolutional neural network trained for lightness constancy is susceptible to lightness illusions bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2025 10.1101/2025.11.10.687742