Manuscript Offprint
arXiv:2609.10787Shedding Light: A Benchmark for Evaluating Lighting Understanding in Generative Image Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
JUSTINE GIROUX and JACK OLIVER HILLIARD , Université Laval, Canada
YANNICK HOLD-GEOFFROY, Adobe Research, USA
JAVIER VAZQUEZ-CORRAL, Computer Vision Center & Universitat Autònoma de Barcelona, Spain
JEAN-FRANÇOIS LALONDE, Université Laval, Canada

Fig. 1. Can generative image models accurately understand the lighting conditions of a scene? To answer this question, we put 16 state-of-the-art models to the test in our novel benchmark, which evaluates their physical lighting accuracy. Our key insight is to rely on inpainting: we prompt models to insert simple objects such as diffuse spheres serving as “light probes”, which can subsequently be used to robustly estimate illumination properties.
Accurate modelling of illumination is central to realistic image synthesis and scene understanding. Yet, there is little exploration into whether image generative models are good at this task or whether physical plausibility remains a key challenge for them. Clearly, significant progress has been made in realistic image synthesis, but do models truly understand lighting in a physically accurate manner? To answer this question, this work proposes a benchmark to assess the lighting understanding and harmonisation capabilities of generative models. Our key insight is that evaluating lighting understanding for such models only requires testing how well they insert novel objects into real photographs whilst maintaining consistent illumination. To do so, we use a multi-illumination dataset with images containing simple objects serving as “light probes”, and prompt models to inpaint the same object onto the original image, then compare the generated results against the ground-truth light probes. We then estimate the lighting direction, colour and radiance distribution from the inpainted probes, providing a quantitative measure of illumination accuracy and photometric realism. Our work establishes a scalable evaluation protocol to systematically assess how well generative models capture and reproduce real-world lighting, offering a foundation for benchmarking the photometric accuracy of any future models. All code and data are available at https://lvsn.github.io/SheddingLight/.
CCS Concepts: • Computing methodologies → Scene understanding; Spatial and physical reasoning; Perception.
Additional Key Words and Phrases: Image Diffusion Models, Lighting, Benchmark, Physical Accuracy
ACM Reference Format:
Justine Giroux, Jack Oliver Hilliard, Yannick Hold-Geoffroy, Javier Vazquez-Corral, and Jean-François Lalonde. 2026. Shedding Light: A Benchmark for Evaluating Lighting Understanding in Generative Image Models. ACM Trans. Graph. 45, 6, Article 227 (December 2026), 25 pages. https://doi.org/10.1145/3842579
Both authors contributed equally to this research.
1 Introduction
Modern generative image and video models produce visually compelling results with unprecedented quality and realism. Despite this rapid progress, it remains unclear whether these models correctly reason about one of the fundamental components of image formation: illumination. Lighting strongly influences perceived geometry, material appearance, and scene realism, where inconsistencies in illumination often reveal synthetic content even when generated imagery appears otherwise photorealistic. Recent studies have begun evaluating the physical understanding of generative models in areas such as gravity [Thozhiyoor et al. 2026], rigid and soft-body dynamics [Wiedemer et al. 2025], and projective geometry and shadows [Sarkar et al. 2024]. In contrast, illumination remains comparatively under-explored despite its central role in visual realism. One reason is that lighting is inherently difficult to evaluate:
Authors' Contact Information: Justine Giroux, justine.giroux.2@ulaval.ca; Jack Oliver Hilliard, Université Laval, Québec, Québec, Canada, jack-oliver.hilliard.1@ulaval.ca; Yannick Hold-Geoffroy, Adobe Research, San Jose, CA, USA, holdgeof@adobe.com; Javier Vazquez-Corral, Computer Vision Center & and Universitat Autònoma de Barcelona, Barcelona, Catalonia, Spain, javier.vazquez@cvc.uab.cat; Jean-François Lalonde, Université Laval, Québec, Québec, Canada, jean-francois.lalonde@ulaval.ca.

This work is licensed under a Creative Commons Attribution 4.0 International License. © 2026 Copyright held by the owner/author(s). ACM 1557-7368/2026/12-ART227 https://doi.org/10.1145/3842579
227:2
Giroux et al.
illumination effects are deeply entangled with scene geometry, material reflectance, exposure, and semantics, making direct photometric comparison challenging. Existing approaches, therefore, remain fragmented, ranging from VLM-based assessments such as PhyBench [Meng et al. 2024] to methods that rely on environment map supervision [Giroux et al. 2024] and manual or domain-specific evaluations [Farid 2022]. As a result, there is currently no standardised framework for quantitatively evaluating illumination consistency in generative models.
In this work, we introduce a physically-grounded benchmark for evaluating illumination consistency in image-editing models by inserting synthetic objects into real scenes. Our insight is to prompt generative models to insert simple objects into images, which can then be used to robustly infer lighting properties. This isolates the model's ability to infer and reproduce scene illumination from other aspects such as geometry, reflectance, and scene semantics. This enables direct quantitative assessment of photometric consistency in generated imagery. To this end, our benchmark leverages a multi-illumination dataset with calibrated light probes [Murmann et al. 2019]. Given an image, models are prompted to inpaint a grey diffuse sphere, from which we estimate illumination direction and colour by fitting a physically rendered sphere to the generated result. These estimates are compared against the real-world light probe counterparts to obtain a quantitative measure of photometric consistency. Additionally, this benchmark introduces an optimisation-free measure by directly comparing the ground truth and inpainted spheres based on their radiance distributions.
In short, we propose two main contributions. First, we propose an evaluation protocol based on physically-grounded light estimation to assess lighting accuracy in image synthesis. Second, we leverage this protocol to analyse a comprehensive range of state-of-the-art generative models with varied architectures, revealing their strengths and limitations in reproducing real-world illumination in indoor environments, with a single point light source. Our experiments provide several insights into the behaviour of current generative models. Surprisingly, lighting accuracy has not improved over time, even as models have become more complex (parameter-wise) and trained on more data. In addition, models tend to prefer front-facing lighting directions, and error increases as the azimuth and elevation of the incoming light deviate from this central position. Moreover, most models show understanding of the spatial variation of lighting, which indicates that they are not only doing local harmonisation and have a deeper understanding of the lighting in space. All code and data are available to facilitate reproducibility, support further research, and enable the inclusion of newer models in our evaluation framework.
Image editing. Editing images dates back to classical statistical and PDE-based formulations for propagating image structures and textures into missing regions [Bertalmio et al. 2000; Elharrouss et al. 2020]. The advent of generative modelling transformed this task by introducing learned image priors. Early GAN-based methods [Radford et al. 2016] demonstrated relatively low realism, but this was later refined through architectural improvements such as StyleGAN [Karras et al. 2020], which enabled high-quality semantic completion [Richardson et al. 2021]. Task-specific designs such as contextual attention [Yu et al. 2018] and gated convolutions [Yu et al. 2019] further improved structural consistency and mask handling.
More recently, diffusion-based models have become the dominant paradigm for image synthesis and editing (see [Huang et al. 2025] for a survey), demonstrating impressive inpainting performance [Avrahami et al. 2023, 2022; Lugmayr et al. 2022] and attracting interest in fixing artefacts and colour shifts [Wang et al. 2025]. These models also enable richer pipelines for conditional object insertion and scene manipulation, as demonstrated by Paint by Inpaint [Wasserman et al. 2025]. Building on the same principle, Phongthawee et al. [2024] leveraged the harmonisation properties of diffusion models to inpaint probe regions for environment map estimation. Models like Vision Banana [Gabeur et al. 2026] suggest that generative imaging models have 3D understanding. In this work, we build on these advances to evaluate the physical plausibility of illumination produced during inpainting by state-of-the-art diffusion models.
Evaluation/benchmarking of image editing models. Most evaluations of recent text-to-image models focus on text-image alignment (e.g., DrawBench [Saharia et al. 2022], PartiPrompts [Yu et al. 2022], CLIPScore [Hessel et al. 2021]). Whilst some benchmarks assess multiple aspects of image quality [Cho et al. 2024; Giakoumoglou et al. 2025; Lee et al. 2023; Ma et al. 2024], such as colour accuracy (ColorBench [Liang et al. 2025b], GenColorBench [Butt et al. 2026]), few specifically address physical accuracy. PhyBench [Meng et al. 2024] evaluates physical understanding through prompts related to optical principles, but relies on VLM scoring using GPT-4o [OpenAI et al. 2024] that only checks for the presence of phenomena rather
227:3

Fig. 2. Diagram of the pipeline applied to an image from the Multi-Illumination dataset [Murmann et al. 2019]. Reference light probes are first masked and the image given to the generative model along with a text prompt. The generated light probe is detected in the image [Carion et al. 2025], cropped (sec. 3.4), and the light direction is estimated using inverse rendering (sec. 3.5). Finally, we perform various analyses to assess the model's understanding of the scene's lighting.
than their physical correctness. Closer to our work, the metric proposed by Giroux et al. [2024] targets lighting accuracy but requires ground-truth environment maps, which are typically unavailable for images generated by diffusion-based models. LumosBench [Liu et al. 2025] evaluates relighting methods across six illumination attributes—direction, type, intensity, temperature, dynamics, and optics—but relies on VLM scoring rather than direct measurements, thereby inheriting the ambiguity inherent in natural-language lighting descriptions.
To assess lighting coherence, Farid [2022] analysed garden spheres generated by DALL·E 2 [Ramesh et al. 2022] using spherical harmonics [Ramamoorthi and Hanrahan 2001b]. He found that the estimated lighting properties were broadly consistent with those in real photographs, but exhibited noticeable deviations in multi-sphere scenes. However, the analysis was restricted to outdoor environments and relied on manual inspection, limiting its scalability and suitability for systematic benchmarking.
Lighting estimation. Earlier single-image lighting estimation methods relied on specific light cues such as sky, cast shadows, and surface shading to determine the scene's lighting [Barron and Malik 2015; Lalonde et al. 2012, 2010]. Later, deep learning methods were used to replace the handcrafted features with implicitly learnt representations [Dastjerdi et al. 2023; Gardner et al. 2019, 2017; Garon et al. 2019; Hold-Geoffroy et al. 2017; LeGendre et al. 2019; Li et al. 2023; Wang et al. 2022, 2021; Weber et al. 2022; Zhang et al. 2019]. Nowadays, generative models are used for lighting estimation, with methods such as DiffusionLight [Chinchuthakun et al. 2026; Phongthawee et al. 2024] and LuxDiT [Liang et al. 2025a] leveraging learnt priors to improve their estimations.
These methods are usually evaluated by comparing a sphere rendered with the predicted lighting against a reference sphere, either photographed in the real scene [Karsch et al. 2011; LeGendre et al. 2019] or rendered with the ground-truth lighting, and computing common Image Quality Assessment (IQA) metrics (e.g., RMSE, PSNR [Horé and Ziou 2010], LPIPS [Zhang et al. 2018], FID [Heusel et al. 2017], and RGB angular error [LeGendre et al. 2019]) to obtain a measure of accuracy. Giroux et al. [2024] proposed a perceptual metric specifically designed to evaluate the accuracy and plausibility of the lighting predicted by these methods. We draw inspiration from these established evaluation practices: we ask a generative model to inpaint a diffuse light probe into the images and compare it against a ground-truth reference probe.
Recent work has also used generative models to relight images [Jin et al. 2024; Zeng et al. 2024; Zhang et al. 2025; Zheng et al. 2026] and videos [Gao et al. 2025; He et al. 2025; Peng et al. 2026; Zhou et al. 2025] directly; whereas these methods make illumination an explicit control signal, we ask whether general-purpose image editing models handle it correctly without being trained for that task specifically.
3 Methodology
Our objective is to evaluate the physical lighting accuracy of generative inpainting and image-editing models. Our idea relies on inpainting: we ask generative models to render a simple object in an image and compare the generated object to its real counterpart captured in the same scene under the same lighting conditions. This design provides a controlled proxy for illumination evaluation, as it fixes scene geometry and reflectance whilst isolating the model's ability to infer and reproduce scene lighting.
3.1 Overview
We propose the pipeline illustrated in fig. 2. First, we require a reference dataset of scenes captured under various illumination conditions (sec. 3.2). We assume images contain a simple object that can be used to robustly estimate lighting properties of the image (a “light probe” [Debevec 1998]). Here, we propose leveraging diffuse grey spheres, since all incoming light directions can be recovered by the Lambertian terminator and shading gradient, which are observable within the hemisphere of visible surface normals.
We provide these images (sec. 3.2) to a generative image model and prompt it to insert a diffuse light probe within the image (sec. 3.3). Next, we detect and extract the generated light probe (sec. 3.4). Finally, lighting parameters are acquired from the real and rendered probes using an inverse rendering approach (sec. 3.5). We then systematically analyse the model's illumination understanding (sec. 4) using several measures (sec. 3.6).
3.2 Dataset
We leverage the Multi-Illumination dataset [Murmann et al. 2019], a collection of 1015 indoor scenes, each captured in HDR under 25 lighting directions originating from a fixed flash, whose orientation is controlled by a servo motor. This dataset provides a pair of real
227:4 • Giroux et al.
diffuse and chrome light probes in each image, which serve as measurements of the scene's lighting. Here, only the diffuse light probe is used. We filter the dataset to remove images where the probes are overexposed, too noisy, or contain multiple dominant specular highlights, resulting in a final ground-truth dataset of 23 023 images across 1006 scenes and 24 lighting directions. Since the dataset does not include ground-truth light directions for each light probe, we inferred light direction vectors by detecting the centre of mass of the specular highlight (the real probe is slightly glossy) on the HDR image, and assigned it as the halfway vector between the view and light directions.
3.3 Inpainting probes
We prompt the generative model to inpaint two grey matte spheres:
“Inpaint two perfectly round light grey matte spheres, fully visible, with smooth, uniform Lambertian shading that accurately responds to the existing scene lighting. The spheres are directly in front of the camera and appear in front of everything. There should be two spheres over the two circular grey masks in the image.”
In the image provided to the model, we replace the light probes with two uniform grey circles, preventing the model from “cheating” by simply reproducing the ground-truth probes. For inpainting models that accept a mask alongside the input image, we also provide the locations of the grey circles as binary masks. Examples of the spheres generated into scenes by various models are shown in fig. 3 and fig. 17 in the supp. mat.
When specifying the sphere albedo in the prompt, we found that the models did not show significant variations in the generated probe intensity and therefore struggle to overcome the light/albedo ambiguity.
3.4 Probe detection
There is no guarantee that the generative image models will correctly place the generated probes at the exact same location and size as the masked region. Therefore, the generated probes are first detected and segmented using SAM3 [Carion et al. 2025], and the probe that overlaps with the ground-truth diffuse probe is selected as reference. Probes near the image boundaries often appear elongated due to perspective distortion; we rectify them to a circular shape. To validate that the model has correctly inpainted the required diffuse sphere, the gradient energy score, radial consistency, and relative colour variance of pixels within the segmentation mask are computed. These measures are compared to predefined thresholds (>25, <0.991, <0.5 resp.), and detected probes that fail to meet any threshold are discarded. This procedure ensures that the probes are spherical, fully contained within the image borders, unoccluded by scene elements, and that the model has produced a shaded sphere. Examples of the extracted probes are shown in fig. 3. See sec. A.3 of the supp. mat. for more details.
3.5 Light parameters estimation
Once probes are detected and extracted, we estimate the lighting parameters. Specifically, we focus on the dominant light direction and colour (as light intensity cannot be disentangled from the albedo).

Fig. 3. Examples of generated images (top row) from the Multi-Illumination dataset [Murmann et al. 2019] for different inpainting and editing models (columns) with the diffuse probe outlined in blue and the reference probe in orange. The extracted probe (bottom row) is shown with the estimated light direction blue and the reference light direction in orange. The first column corresponds to the reference image and probe.
Colour is measured directly on the probe by averaging pixel values in CIE Lab space.
To obtain the dominant light direction, we use inverse rendering and fit a rendered sphere using the Cook-Torrance BRDF model [Cook and Torrance 1982], lit by a combination of directional and ambient lighting. We minimise the pixelwise distance between the rendered and target probe images, similar to Poirier-Ginter et al. [2024]. The Cook-Torrance model was selected for its ability to model both specular and Lambertian shading. Whilst the generative models are prompted to produce a sphere with Lambertian shading, they occasionally generate spheres exhibiting more complex reflectance properties. This microfacet model demonstrates greater robustness to such variations. The shading model optimises the material (albedo, roughness, metallicity and Fresnel coefficient) and the lighting parameters (light direction and intensity, and an ambient term) for each probe. Note, however, that only the light direction parameter is used for the analysis.
Given that this inverse rendering task is ill-posed, we initialise the shading model parameters to encourage convergence. Specifically, the initial light direction is calculated by assuming the brightest pixel is the centre of the specular highlight, and therefore the half-vector of the light and view directions. The ambient term is calculated from the intensity of the darkest pixel. The remaining parameters are initialised heuristically using median values from optimising
227:5
on a synthetic test set and are further verified during testing of the generative image models. The Adam optimiser [Kingma and Ba 2015] is used for 1500 steps with an initial learning rate of . Additional details of the light parameter optimisation are provided in sec. A.4 of the supp. mat.
3.6 Evaluation measures
As mentioned in sec. 3.5, we cannot assume the generative model has rendered a perfectly diffuse sphere. We therefore focus our evaluation on the estimated dominant light direction, which is robust to the underlying material generated by the evaluated model, and compute the angular error between the ground truth and the inpainted light directions. In addition, we also compute the colour difference between the ground truth and inpainted probes, computed in the chroma channels of Lab space to mitigate the albedo/intensity ambiguity (sec. 4.3). We cannot evaluate light intensity as it is conflated with the sphere reflectance, which can vary at each model inference (see supp. mat.). Finally, we evaluate the similarity between the radiance distributions of the ground truth and the inpainted spheres using the Kullback-Leibler divergence (sec. 4.4).
4 Benchmarking generative models for lighting accuracy
We now proceed to analyse the performance of a variety of generative models (sec. 4.1) on light direction (sec. 4.2), colour accuracy (sec. 4.3), and radiance distribution (sec. 4.4).
4.1 Generative models
We evaluate 16 generative image models released over the past four years, spanning both inpainting models (SD 1.0 Inpaint [Rombach et al. 2022], SD 2.0 Inpaint [Rombach et al. 2022], Kolors [Team 2024], SD 3.5 [Esser et al. 2024], FLUX.1 Fill [dev] [Labs 2024b], Hunyuan 2.1 [Team 2025], Z-Image Turbo [Team et al. 2025], Photoshop [Adobe 2025]) and image-editing models (HiDream [Cai et al. 2025], Nano Banana 1 [Team 2023], Qwen Edit [Wu et al. 2025], Firefly 5 [Adobe 2025], FLUX.2 [dev], FLUX.2 [klein] 4B, FLUX.2 [klein] 9B [Labs 2025], Nano Banana 2 [Team 2023]), and including both open-weight and closed (API-only) systems. We selected these models to evaluate a variety of architecture types (U-Net-based diffusion, Diffusion Transformers (DiTs), rectified flow models, scalable single-stream diffusion models, …), purposes (inpainting/image-editing, photo-realism, general purpose), and number of parameters (1.3B to 32B for open models) to understand how they affect lighting estimation accuracy. It should be noted that Z-Image Turbo is a text-to-image model, so a ControlNet is used to allow image-to-image inference. Due to API access limitations for some of the closed models (Nano Banana 1, Nano Banana 2, Firefly 5), we were unable to test them on the full dataset. The full list, release dates, parameter counts, and inference settings are summarised in tab. 3 (supp. mat.). For each model, we use a fixed seed and the prompt of sec. 3.3; further per-model hyperparameters are reported in the supp. mat. Default published inference settings are used unless otherwise noted.
4.2 Light direction
We analyse how well the dominant light direction is captured by generative models and compare their abilities with their angular error distributions (sec. 4.2.1). We then explore model generation bias in terms of distribution per ground-truth light direction (sec. 4.2.2) and in azimuth and elevation (sec. 4.2.3).
4.2.1 Light direction angular error distribution. The distribution of angular error between the light direction of the ground truth and inpainted probes for each model is shown in fig. 4. The distributions reveal how accurately the different generative models infer and reproduce the correct light direction in a scene using the generated light probe. The following observations are made.
Best and worst models. Drawing conclusions from the median angular error value for each model, we observe that FLUX.1 Fill [dev] (11.38°) and Z-Image Turbo (11.92°) reproduce the most accurate lighting, compared to SD 3.5 (34.84°), Hunyuan 2.1 (28.17°) and HiDream (24.77°), which have much higher second moments, as illustrated by the height of the quantiles.
It is important to note that not all distributions contain the same amount of data (N, displayed above each model in fig. 4), since generative models generate acceptable light probes with varying degrees of success (fig. 19 in the supp. mat.). However, a bootstrap equalisation analysis, performed with a sample corresponding to the model with the smallest N (Firefly 5, N = 867), indicates that the model with the largest equalised mean variation (Kolors) is 0.049° (computed on 1000 bootstrap samples), therefore showing this number is sufficient for robust statistics.
Lighting accuracy has stayed mostly constant with time. Models appear in time-of-publication order in fig. 4, showing that there is no clear improvement in lighting accuracy over time. Even though FLUX.1 Fill [dev] was released in November 2024, it remains the most accurate model for lighting direction.
Later models from the same family do not outperform previous generations. For example, SD 2.0 Inpaint improves over SD 1.0 Inpaint, but SD 3.5 is significantly worse. We also observe that FLUX.1 Fill [dev] has considerably different performances than the later versions (FLUX.2 [dev], FLUX.2 [klein] 4B, and FLUX.2 [klein] 9B), which all perform similarly. This seems to indicate that models do not train specifically for lighting accuracy—it rather comes as a by-product of training on their respective tasks, with varying degrees of success.
Closed models do not outperform open models. On average, closed models (identified with a lighter shade in fig. 4) have lower angular error in the light direction than most open models. The best closed models (Nano Banana 1 and Nano Banana 2) perform similarly, but are still slightly worse than the best open models (FLUX.1 Fill [dev] and Z-Image Turbo).
There is no superior image editing approach. The median value of the median angular error of the light direction for the inpainting models is (6 models, when excluding the outliers Hunyuan 2.1 and SD 3.5, for all 8 models) and for the editing models (8 models), which results in only a difference of , indicating
227:6
Giroux et al.

Fig. 4. Distributions of the angular error of the light directions for each model, sorted by release date (displayed above each distribution). The middle line in the box and the value displayed on the distribution correspond to the median. Each step corresponds to quantiles of the distribution. The distributions are coloured by type (inpainting or editing) and availability (open or closed). The number of probes (N) used to compute each distribution is displayed at the top of the distribution. The tails of the distribution, containing the outliers (above 90°), are cropped out of the figure, to better see the distributions. The Lopez-Moreno et al. [2010] (synthetic) line at 30° represents their threshold where observers started being above chance level on their synthetic stimuli, and the 30–40° range was determined by their psychophysical study using real images, identified by the (real) range. The Tan et al. [2015] (real) line at 40° is the suggested limit based on their study on complex outdoor images with multiple light features conflated.
that there is no clear correlation between either task and their light direction accuracy.
Model complexity does not reflect lighting accuracy. Considering all models, there is no correlation between their number of parameters and median angular error. A good example is the performances of FLUX.2 [klein] 4B (16.74°) and FLUX.2 [klein] 9B (15.68°), yet only a difference of 1.06° can be observed. Furthermore, FLUX.2 [dev] (15.80°) has 32B parameters, yet performs worse than FLUX.2 [klein] 9B by 0.12°. The number of parameters for each model is listed tab. 3 and their relationship in fig. 20, in the supp. mat.
General observations and human perception. The lack of global temporal improvement in lighting accuracy and the fact that closed models are not necessarily the most accurate could indicate that the models are being trained to generate aesthetically pleasing rather than physically accurate images. This is consistent with the fact that images are usually produced to be consumed by humans, who are not particularly good at detecting physical inaccuracies [Cavanagh 2005]. As also indicated by Giroux et al. [2024], the physical accuracy and perceptual realism of lighting in humans can differ.
To support this, the perceptual sensibility thresholds for humans to lighting incoherences, as determined by Lopez-Moreno et al. [2010] and Tan et al. [2015], are shown in fig. 4. The “synthetic” line corresponds to rendered stimuli of abstract globally convex shapes, asking observers to select the object lit differently, which resembles the task of computing the angular error. For the “real” thresholds, the stimuli consisted of real objects lit incoherently in complex scenes, which closely resembles the task humans would perform when consuming the images generated by these inpainting models. However, these studies differ—in terms of geometry and materials—from the Multi-Illumination dataset [Murmann et al. 2019] and were conducted on a limited number of scenes with coarse light direction sampling. Therefore, these lines are a guide to suggest that, for the majority of inpainted probes, the scale of the light direction error produced may not be perceptible to the human visual system, especially given the consensus in the literature that humans are not sensitive to minor lighting incoherencies [Ostrovsky et al. 2005].
4.2.2 Angular error distribution per ground-truth light direction. We refine the analysis by examining the light direction angular error as a function of the ground-truth light directions. We define coarse light direction bins such as “front”, “left”, “top-left”, etc. (see the supp. mat. for more details) to indicate incoming light directions. Note that there are no “down” or “back” directions since the Multi-Illumination dataset does not contain such images.
The angular error distributions for each incoming light direction bin are shown in fig. 5. Here, results from all but the 3 worst models from fig. 4 (namely SD 3.5, HiDream and Hunyuan 2.1) are aggregated. We observe that generative models tend to struggle when the light comes from the “top back,” with an average median value of 41.94°. Comparatively, the “front” and “top” directions have average median values of 11.51° and 11.90°, respectively, which indicate that they are the directions the most easily handled by the models. Models handle images with a relative left-right symmetry, as shown by average median values of 22.70° and 19.96° for the “left” and “right” directions respectively, and similarly for the “top left” and “top right” (22.88° and 22.67°).
227:7

Fig. 5. Angular error distribution, per coarse incoming ground-truth light direction, separated in ranges of in azimuth and in elevation. Here, the distributions are computed by aggregating results from all models, except the 3 worst from fig. 4 (SD 3.5, HiDream, and Hunyuan 2.1). The middle line in the box and the value displayed on the distribution correspond to the median. Each step corresponds to quantiles of the distribution. The total number of inpainted probes (N) for each cluster is displayed above each distribution.
4.2.3 Azimuth & elevation. We further explore potential differences between the azimuth and elevation components of the lighting by computing errors for each of them separately. The comparisons between the ground truth and inpainted azimuth and elevation are shown in fig. 6. For the azimuth, only the interval is kept for analysis.
General observations. The median slope for all models, obtained by linear regression, is 1.79 in azimuth and 1.55 in elevation. Globally, all models exhibit a slope > 1. For the azimuth, this implies that models tend to predict lighting that is biased towards the frontal direction over more extreme left/right directions. For elevation, models struggle to predict lighting from above (consistent with the findings from sec. 4.2.2) and are also biased towards lower elevations.
Some models exhibit an S-shape for azimuth. We observe in fig. 6 that some models (e.g., SD 1.0 Inpaint, FLUX.2 [klein] 4B, Nano Banana 2) exhibit an S-shape in their predictions. The S-shape indicate a flatter slope around , showing models have lower errors when the light comes straight from the front. However, at the inflexion point (around ), the models tend to plateau and struggle to match the ground truth. This further illustrates the central bias of models: greater precision in matching the correct azimuth is achieved when approximately. This is in contrast to the top-performing models (such as FLUX.1 Fill [dev] and Z-Image Turbo), which exhibit a much straighter trend, with the S-shape less noticeable. These models can span a wider range of azimuth angles (as shown by their slope ) and better match the ground truth.
4.2.4 Spatially varying lighting. To validate that the models understand lighting direction rather than merely performing local harmonisation, we further measure the spatial variation in lighting direction. To do so, we leverage the two ground-truth probes present in the Multi-Illumination dataset. The dominant light direction of the second ground-truth probe (chrome) is obtained by detecting its specular highlight (see sec. 3.2). Since both diffuse and chrome probes are masked when being inpainted, the generative models already produce an image with two inpainted diffuse probes (fig. 17). We then apply the same estimation algorithm (sec. 3.5) to compute the light direction for both inpainted probes. Images lacking two inpainted probes are excluded from evaluation.
Qualitative examples, along with the measured light directions, are shown in fig. 17 (supp. mat.). We measure the difference between the light directions of the generated probe and the ground-truth, and present the distributions of these spatial variations of the lighting direction for each model in fig. 7. A difference of 0 indicates that the model perfectly reproduces the ground-truth variation in spatial lighting direction. Positive (negative) values indicate that the model has over(under)-estimated how much the lighting direction should vary. The distributions of the angular differences for each models and the ground truth are shown in the supp. mat. in fig. 22.
General observations. Fig. 7 shows a median discrepancy below for all models, and at or below for 12/16, indicating that most evaluated models can successfully modulate lighting spatially in the image, mostly consistent with the ground truth. Z-Image Turbo performs remarkably well at understanding spatially varying lighting, with a nearly identical angle between the light directions of its probes and the ground-truth probes. SD 3.5 and SD 2.0 Inpaint fail in opposite directions. SD 3.5 exaggerates lighting variations ( , a variance failure), whereas SD 2.0 Inpaint has the most negative angle difference ( , a bias failure), in which the spatially varying aspect of light is largely absent. We hypothesise that the reason lies in how each architecture propagates spatial context. SD 2.0 Inpaint restricts attention to coarse resolutions and, being otherwise fully convolutional, carries no absolute position signal; long-range cues must pass through a heavily pooled representation, which favours a single scene-level illumination estimate applied regardless of probe position. SD 3.5, by contrast, applies full joint attention with explicit positional embeddings, so any patch can attend to any light source in the scene, but nothing constrains those attention weights to be photometrically correct, and spurious long-range associations translate directly into large, confident errors.
4.2.5 Spherical harmonics coefficients. Inspired by Farid [2022], we extend our analysis using a spherical harmonics (SH) based comparison. Since second-order SH capture over 99% of the energy of the irradiance signal on Lambertian surfaces [Ramamoorthi and Hanrahan 2001a,b], we compute the second-order SH coefficients for both the generated and ground-truth probes in RGB, then convert the coefficients to greyscale.
The zeroth-order coefficient corresponds to the ambient term of the SH; however, since the probes’ albedo is unknown, it conflates irradiance with surface reflectance and cannot be interpreted as a lighting parameter on its own. We therefore normalise each probe by dividing its coefficients ( ) by the magnitude of the zeroth-order term ( ), which factors out this intensity ambiguity and leaves the lighting shape as the quantity under analysis. We discard the probes with for stability, which removes 9.23% of the data.
227:8
Giroux et al.

(a) azimuth

(b) elevation
Fig. 6. Comparison of the (a) azimuth and (b) elevation errors, where each plot illustrates the angle of the inpainted probe (x-axis) against the ground truth (y-axis). The theoretical slope = 1 (black line) indicates perfect performance. A linear regression (orange line) is fitted on the data, with the slope displayed in black near it. For azimuth, only the range is considered. Data points are coloured by the residual error from the fit (c.f. sec. 3.5). The number of data points N included for each model is displayed, and for the azimuth, the number of data points included in the range is also shown.
General observations. Fig. 8 shows the median relative SH coefficients for each model, compared with the median of the ground-truth probes. The variation among the data points lies mainly along the x-axis, showing the various models' biases. The values of the ground truth (y-axis) vary slightly between each models; this is due to the fact that the set of scenes for which the generated probes are valid varies per model, thus each has a different set of associated ground truth probes. Overall, across all coefficients, the models' medians align well with the ground-truth values, clustering around the unit-slope line (black line). There does not seem to be any clear trend between the type of model (inpainting or editing) and their availability (open or closed).
First-order coefficients. The component corresponds to the front/back axis, which is the direction along which our probes are least reliable: small departures from the uniform Lambertian assumption—specular response, spatially varying texture, interreflections—redistribute energy between the constant and first-order term , so and are readily conflated when observing only the front hemisphere. In addition, for hemispherical observations, there is crosstalk between the coefficients as the SH bases are not orthogonal on the hemisphere ( ). Variation reported along this axis should therefore be interpreted with more caution than the lateral components.
The first-order component (azimuth) shows median values near 0, coherent with the findings from fig. 5 and fig. 6(a) that the models do not have a left/right directional bias. The first-order component (elevation) leans towards the positive side, indicating that the models tend to predict that the lighting comes from above more often than the ground truth. This corroborates the results in fig. 6(b) and fig. 24, which show that there are no ground-truth probes lit from below. The same crosstalk phenomenon between and appears between the second-order and coefficients, and this pair captures the skew towards lighting from above. This crosstalk is a direct consequence of our partial observation setup: the SH basis is orthonormal over the full sphere, but our probes expose only a hemisphere facing the camera; within that domain, the inner products between basis functions no longer all vanish. The projection is therefore no longer a diagonal system, and coefficients that both encode vertical variation— and in particular—absorb part of each other's energy, with the split between them depending on the estimator rather than on the lighting itself. This ambiguity is an intrinsic weakness of SH coefficients as a lighting representation under hemispherical observation, and motivates our use of the specular highlight to recover light direction on the ground-truth probes (sec. 3.2).
227:9

Fig. 7. Distributions of the difference in spatial variation of light direction for each model. Models are sorted by release date (above) and coloured by type (inpainting or editing) and availability (open or closed). The median is shown on middle line, and each step corresponds to distribution quantiles. The number of probes (N) used to compute each distribution is displayed at the top of the distribution. The tails containing the outliers ( ) are cropped out for legibility. A value of 0 means the generated probes reproduces the ground-truth angles exactly.
Second-order coefficients. Several models — SD 1.0 Inpaint, Kolors, FLUX.1 Fill [dev], Qwen Edit, FLUX.2 [klein] 9B — show median second-order coefficients (orange, ) close to the ground-truth values, and this group does not coincide perfectly with the models that best recover the dominant lighting direction (fig. 4). The two measurements are not redundant: the first-order band encodes the dominant direction, whereas the second-order band reflects the angular spread of the incident lighting and the presence of secondary sources. A model may therefore reproduce the higher-frequency structure of realistic illumination while incorrectly placing the dominant source, and vice versa. We note two limits on this reading. First, fig. 8 reports medians across probes; agreement in aggregate does not imply per-probe agreement, and a model whose errors are symmetric about the ground truth will appear well calibrated here. Second, for a probe lit by a single distant source, the second-order coefficients are largely determined by the first-order ones through the Lambertian transfer kernel, so the two bands are only partially independent.
4.3 Colour
Our framework further enables evaluation of the colour-accurate illumination capabilities of generative models across the diverse lighting conditions in the Multi-Illumination dataset. Since we prompt models to generate a “grey” sphere, we assume that any resulting colour in the generated probes is due to the estimated lighting. To measure the colour accuracy, we use , which is computed on the a and b (chroma) channels in Lab space. This avoids accounting for luminance, which could introduce uncontrolled factors (e.g., light intensity, albedo).
General observations. Results from this colour analysis are reported in fig. 9, which plots the distribution of errors in and highlights 3 zones: the Just Noticeable Difference (JND) of human perception ( ), when an error is deemed noticeable ( ) and when it is significant ( ). All tested models have median errors less than , with many either very close (SD 1.0 Inpaint, HiDream, Nano Banana 2) or less (FLUX.1 Fill [dev], Hunyuan 2.1) than . This strong overall performance could be due to the similarity between light colour estimation and harmonisation: image editing and inpainting models are likely trained to harmonise inserted objects with their backgrounds. Nevertheless, we note that luminance is not considered in this measure, as it cannot be disentangled from the sphere's albedo; as a result, achieving values closer to non-significant differences may be somewhat easier.
Comparing light direction and colour. When plotting both light direction and colour in fig. 10, we observe that most models follow the trend that a high error in direction is correlated with a higher error in colour, with FLUX.1 Fill [dev] performing best at both tasks. We note outliers to this trend, however. On the one hand, HiDream and SD 1.0 Inpaint, which have relatively poor performance in light direction, perform comparatively better in colour. On the other hand, Z-Image Turbo shows competitive performance in terms of light direction accuracy compared to FLUX.1 Fill [dev], yet performs considerably worse in terms of colour accuracy.
4.4 Probe intensity distribution
The analyses in secs. 4.2 and 4.3 both rely on optimising a shading model (see sec. 3.5). Whilst this approach recovers interpretable physical quantities such as dominant light direction, it also introduces uncertainties and potential sources of error. A natural concern is whether the conclusions drawn in secs. 4.2 and 4.3 reflect genuine
227:10 • Giroux et al.

Fig. 8. Median relative spherical harmonic coefficients of the generated probes (x-axis) compared to the ground truth (y-axis) for each model. The coefficients are divided by the value. The probes with are filtered out for stability. The error bars correspond to the 25th and 75th quantile of the distribution. The direction each coefficient represents is displayed in the legend, where the blue points correspond to the first-order coefficients and orange are the second-order coefficients. The model's names and number of probes used to compute the statistics are displayed at the top of each figure. The theoretical slope = 1 (black line) indicates perfect performance.
differences in lighting accuracy across models, or instead reflect biases of the inverse rendering procedure itself.
To verify this, we treat the probe region as a two-dimensional distribution of pixel intensities and compare the inpainted and ground-truth probes using a Kullback-Leibler (KL) divergence. We normalise both the inpainted and ground-truth probes to unit sum, treating each as a discrete probability distribution over angular position on the visible hemisphere of the sphere.
General observations. Fig. 11 presents the KL divergence analysis for each model. The models with the most accurate light direction and colour estimates in figs. 4 and 9 also have the lowest distributional divergence: FLUX.1 Fill [dev], Z-Image Turbo, and the Nano Banana family lead the ranking. The two measures are obtained independently: one uses inverse rendering, the other a model-free distribution comparison. Yet their rankings closely match, suggesting that our optimisation genuinely captures the illumination conditions.
5 Discussion
Local harmonisation. Our analysis investigates whether generative models are merely performing local harmonisation or have a more global understanding of the lighting in the space. Our results reveal that successful generative models achieve both. The colour experiments (sec. 4.3) are closely related to harmonisation: matching scene chromaticity is a simple yet effective prior that does not require reasoning about the full lighting. However, the light direction analysis (sec. 4.2) goes beyond, since matching local colour statistics cannot produce a probe with the correct light direction. Finally, sec. 4.2.4 demonstrates that models reproduce the correct spatially varying light differences across image locations: a behaviour that cannot be explained by local harmonisation since it requires inferring a consistent scene-level lighting.
Approximating the measurement error. Assuming a probe is correctly generated and segmented, quantifying the exact measurement error of our pipeline is difficult since we do not know the material properties of the generated probes. As a proxy for evaluation, we generated a physics-based rendering (PBR) dataset of spheres of varying material properties and known light directions, resembling those created by the generative models (more details in sec. B.1). Our inverse rendering algorithm from sec. 3.5 achieves median error on this PBR data. In addition, we do not know the material properties of the real probes either. Real images may also contain other artefacts, such as multiple light sources, noise, or interreflections with nearby surfaces, which may affect the estimate of the dominant light direction. Here, our inverse rendering algorithm obtained a median angular error of compared to our specular highlight detection. We consider this to be an upper bound on the measurement error of our pipeline.
Survivorship bias. Correctly generated diffuse spheres are required to obtain robust lighting estimates, but filtering the probes (c.f. sec. 3.4) may induce a bias. Fig. 14 (see supp. mat.) provides insights into this bias by comparing the same model and prompt across seeds, which results in varying survival rates. We further observe in fig. 19 (supp. mat.) that lower rates tend to accompany higher median angular error models, including Hunyuan 2.1 and SD 3.5. Therefore, the bias works against these models as they are penalised for producing fewer usable probes, since their surviving probes tend to be worse than those of other models. Note that this value takes into account the probes that have been filtered because they were of too low quality (see fig. 13 in the supp. mat.) and the images where the model did not generate a probe.
Fig. 12 illustrates this relationship more directly by plotting the light direction median angular error for each model as a function of the percentage of generated probes that survive the quality filtering. The slope of fig. 12 indicates that the models with the lowest number of valid probes have higher median angular errors. We therefore observe a bias: models that yield a low number of valid probes tend to have lower accuracy. This indicates that these models struggle to inpaint a probe (rightmost category in fig. 19), and when they succeed, many are low-quality and filtered out. These models are left with a small yield of probes of lower quality than those from models that perform well on the task.
Limitations. Our benchmark assumes a single dominant light source, which, along with the ambient term, accounts for about
227:11

Fig. 9. Distributions of the for each model, sorted by release date (displayed above each distribution). The middle line and value displayed on the distribution corresponds to the median. Each step corresponds to quantiles of the distribution. The distributions are coloured by type (inpainting or editing) and availability (open or closed). The number of probes (N) used to compute each distribution is displayed at the top of the distribution. The line corresponds to the Just Noticeable Difference (JND) of human perception (when colours are shown next to each other), colour differences start to be noticeable between and appear as different colours for [Fairchild 2013].

Fig. 10. Median colour error as a function of median light direction angular error, for all models evaluated. Models are coloured by type (inpainting or editing) and availability (open or closed), as in fig. 4.
87% of the energy on a Lambertian sphere [Ramamoorthi and Hanrahan 2001a]. This is a reasonable estimate, but it may overlook energy contributions from more complex illumination conditions. The Multi-Illumination dataset varies lighting by rotating a flash, which is useful but incomplete: it excludes backlighting, is limited to indoor scenes, and provides a single dominant light direction. We therefore cannot draw conclusions about the capacity of generative models to understand light in outdoor scenes, nor in the presence of multiple lighting sources. While we tested for the models' capacity to model spatially-varying lighting (sec. 4.2.4), we only did so at two locations in the scene. A more detailed, 3D analysis is left as future work. No single prompt is optimal across models; despite our efforts to ensure robustness (sec. B.2.2 in the supp. mat.), per-model tuning could improve results. Additionally, the calibration object used for this analysis was a simple grey sphere, thus it is not possible to conclude on the quality of the lighting produced by these models for objects with more complex geometry and materials. However, we believe that using a simple sphere as a proxy for more complex objects is a good indication that the model shows understanding of the lighting, especially that the models have demonstrated coherency with the ground-truth lighting (sec. 4.2) and spatial variation (sec. 4.2.4).
6 Conclusion
This paper introduces a physically grounded benchmark for quantitatively evaluating the accuracy of lighting in image-editing models. By leveraging a dataset containing calibrated light probes in various indoor scenes and exploiting the inpainting capabilities of modern generative models, our benchmark isolates lighting inference from confounding factors such as geometry, material properties, and scene semantics, enabling a direct and principled assessment of photometric consistency.
Our benchmark computes three complementary measures: angular error in light direction, colour error, and divergence between radiance distributions. Our results reveal several key findings: lighting accuracy has shown little improvement over time despite rapid gains in overall visual quality; closed models do not exhibit a consistent advantage over open ones; explicit image-editing models do not outperform general inpainting models; and model scale alone is not a reliable predictor of accuracy. Additionally, we study how well models can recreate spatially varying lighting by matching the generated probes to the ground truth at two locations.
227:12 • Giroux et al.

Fig. 11. Distributions of Kullback-Leibler divergence between the estimated and ground-truth light probes. Here, the pixel intensities are normalised and treated as 2D distributions before comparison. The middle line in the box and the value displayed on the distribution correspond to the median. Each step corresponds to quantiles of the distribution. The distributions are coloured by type (inpainting or editing) and availability (open or closed). The number of probes (N) used to compute each distribution is displayed at the top of the distribution, as well as the model's release date. The tails of the distribution, containing the outliers (above 0.05 bits) are cropped out of the figure, to better see the distributions.

Fig. 12. Median light direction angular error as a function of the percentage of quality filtered probes. A linear regression (black line) is fitted to the data, with the displayed at the top, with the fit uncertainty around the line. Models are coloured by type (inpainting or editing) and availability (open or closed), as in fig. 4.
in the images, which shows that most models are not simply doing local harmonisation.
Interestingly, when contrasting the results of our benchmark with findings from the human perception literature, we observe that most predicted errors fall below typical perceptual detection thresholds and are therefore likely to go unnoticed by human observers. This suggests that current generative models prioritise perceptual plausibility over physical correctness, implicitly learning to produce lighting that appears realistic without explicitly reasoning about the underlying physics. In this sense, high-quality image synthesis appears sufficient to achieve visually convincing lighting, even in the absence of physically accurate light estimation. While such perceptual realism may be appropriate for images produced for human consumption, it may be insufficient for other applications where physical accuracy is key. Examples are the generation of training data for autonomous vehicles or other physically grounded simulations.
We hope this benchmark paves the way for a deeper understanding of how generative models represent and reproduce illumination, serving as a diagnostic tool for future research and encouraging further work toward synthesising physically accurate lighting conditions.
Acknowledgements. This research was supported by NSERC grant RGPIN 2020-04799 and an NSERC PhD scholarship to JG. JVC was supported by Grants PID2024-162555OB-I00, AIA2025-163919-C52 funded by MCIN/AEI/10.13039/501100011033 and by ERDF “A way of making Europe”, the Generalitat de Catalunya CERCA Program, and the 2025 Leonardo Grant for Scientific Research and Cultural Creation from the BBVA Foundation. The BBVA Foundation accepts no responsibility for the opinions, statements and contents included in the project and/or the results thereof, which are entirely the responsibility of the authors. Compute support was provided by Digital Research Alliance of Canada (RRG 5299).
References
Adobe. 2025. Adobe Firefly - Free Generative AI for Creatives. https://www.adobe.com/products/firefly.html
Pontus Andersson, Jim Nilsson, Tomas Akenine-Möller, Magnus Oskarsson, Kalle Åström, and Mark D. Fairchild. 2020. FLIP: A Difference Evaluator for Alternating Images. Proc. ACM Comput. Graph. Interact. Tech. 3, 2 (2020), 15:1–15:23.
Omri Avrahami, Ohad Fried, and Dani Lischinski. 2023. Blended Latent Diffusion. ACM Trans. Graph. 42, 4, Article 149 (jul 2023), 11 pages. doi:10.1145/3592450
Omri Avrahami, Dani Lischinski, and Ohad Fried. 2022. Blended Diffusion for Text-Driven Editing of Natural Images. In IEEE/CVF Conf. Comput. Vis. Pattern Recog.
227:13
IEEE, New Orleans, LA, USA, 18208–18218.
Kobus Barnard, Lindsay Martin, Adam Coath, and Brian Funt. 2002. A comparison of computational color constancy algorithms. II. Experiments with image data. IEEE Trans. Image Process. 11, 9 (Sept. 2002), 985–996.
Jonathan T Barron and Jitendra Malik. 2015. Shape, illumination, and reflectance from shading. IEEE Trans. Pattern Anal. Mach. Intell. 37, 8 (2015), 1670–1687.
Marcelo Bertalmio, Guillermo Sapiro, Vincent Caselles, and Coloma Ballester. 2000. Image inpainting. In ACM SIGGRAPH Conf. ACM Press, New York, NY, USA, 417–424.
Muhammad Atif Butt, Alexandra Gomez-Villa, Tao Wu, Javier Vazquez-Corral, Joost Van De Weijer, and Kai Wang. 2026. GenColorBench: A Color Evaluation Benchmark for Text-to-Image Generation Models. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Denver, CO, USA.
Qi Cai, Yehao Li, Yingwei Pan, Ting Yao, and Tao Mei. 2025. HiDream-I1: An Open-Source High-Efficient Image Generative Foundation Model. In ACM Int. Conf. Multimedia. Association for Computing Machinery, New York, NY, USA, 13636–13639.
Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath, Ronghang Hu, Didac Suris, Chaitanya Ryali, Kalyan Vasudev Alwala, Haitham Khedr, Andrew Huang, Jie Lei, Tengyu Ma, Baishan Guo, Arpit Kalla, Markus Marks, Joseph Greer, Meng Wang, Peize Sun, Roman Rädle, Triantafyllos Afouras, Efrosyni Mavroudi, Katherine Xu, Tsung-Han Wu, Yu Zhou, Liliane Momeni, Rishi Hazra, Shuangrui Ding, Sagar Vaze, Francois Porcher, Feng Li, Siyuan Li, Aishwarya Kamath, Ho Kei Cheng, Piotr Dollár, Nikhila Ravi, Kate Saenko, Pengchuan Zhang, and Christoph Feichtenhofer. 2025. SAM 3: Segment Anything with Concepts. arXiv:2511.16719 [cs.CV]
Patrick Cavanagh. 2005. The artist as neuroscientist. Nature 434, 7031 (2005), 301–307.
Worameth Chinchuthakun, Pakkapon Phongthawee, Amit Raj, Varun Jampani, Pramook Khungurn, and Supasorn Suwajanakorn. 2026. DiffusionLight-Turbo: Accelerated Light Probes for Free via Single-Pass Chrome Ball Inpainting. IEEE Trans. Pattern Anal. Mach. Intell. 48, 6 (June 2026), 6948–6961.
Jaemin Cho, Yushi Hu, Roopal Garg, Peter Anderson, Ranjay Krishna, Jason Baldridge, Mohit Bansal, Jordi Pont-Tuset, and Su Wang. 2024. Davidsonian Scene Graph: Improving Reliability in Fine-grained Evaluation for Text-to-Image Generation. In Int. Conf. Learn. Represent. OpenReview.net, Vienna, Austria, 15625–15645.
Min Jin Chong and David Forsyth. 2020. Effectively unbiased fid and inception score and where to find them. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 6070–6079.
Comfy. 2026. Comfy – Professional Control of Visual AI. https://www.comfy.org/ Accessed 2 August 2026.
Blender Online Community. 2018. Blender - a 3D modelling and rendering package. Blender Foundation, Stichting Blender Foundation, Amsterdam.
R. L. Cook and K. E. Torrance. 1982. A Reflectance Model for Computer Graphics. ACM Trans. Graph. 1, 1 (Jan. 1982), 7–24. doi:10.1145/357290.357293
Mohammad Reza Karimi Dastjerdi, Jonathan Eisenmann, Yannick Hold-Geoffroy, and Jean-François Lalonde. 2023. EverLight: Indoor-Outdoor Editable HDR Lighting Estimation. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Paris, France, 7420–7429.
Paul Debevec. 1998. Rendering synthetic objects into real scenes: bridging traditional and image-based graphics with global illumination and high dynamic range photography. In ACM SIGGRAPH Conf. Association for Computing Machinery, New York, NY, USA, 189–198.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. 2009. ImageNet: A large-scale hierarchical image database. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Miami, FL, USA, 248–255.
Omar Elharrouss, Noor Almaadeed, Somaya Al-Maadeed, and Younes Akbari. 2020. Image inpainting: A review. Neural Processing Letters 51, 2 (2020), 2007–2028.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. 2024. Scaling Rectified Flow Transformers for High-Resolution Image Synthesis. In Int. Conf. Mach. Learn., Vol. 235. PMLR, Vienna, Austria, 12606–12633.
Mark D. Fairchild. 2013. Color Appearance Models. In Color Appearance Models. John Wiley & Sons, Ltd, Chichester, UK, 199–212. https://onlinelibrary.wiley.com/doi/abs/10.1002/9781118653128.ch10
Hany Farid. 2022. Lighting (In)consistency of Paint by Text.
Valentin Gabeur, Shangbang Long, Songyou Peng, Paul Voigtlaender, Shuyang Sun, Yanan Bao, Karen Truong, Zhicheng Wang, Wenlei Zhou, Jonathan T Barron, Kyle Genova, Nithish Kannen, Sherry Ben, Yandong Li, Mandy Guo, Suhas Yogin, Yiming Gu, Huizhong Chen, Oliver Wang, Saining Xie, Howard Zhou, Kaiming He, Thomas Funkhouser, Jean-Baptiste Alayrac, and Radu Soricut. 2026. Image Generators are Generalist Vision Learners.
Wenshuo Gao, Junyi Fan, Jiangyue Zeng, and Shuai Yang. 2025. FlowPortal: Residual-Corrected Flow for Training-Free Video Relighting and Background Replacement. http://arxiv.org/abs/2511.18346
Marc-André Gardner, Yannick Hold-Geoffroy, Kalyan Sunkavalli, Christian Gagné, and Jean-François Lalonde. 2019. Deep parametric indoor lighting estimation. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Seoul, Korea (South), 7174–7182.
Marc-André Gardner, Kalyan Sunkavalli, Ersin Yumer, Xiaohui Shen, Emiliano Gambaretto, Christian Gagné, and Jean-François Lalonde. 2017. Learning to predict indoor illumination from a single image. ACM Trans. Graph. 36, 6 (2017), 176:1–176:14.
Mathieu Garon, Kalyan Sunkavalli, Sunil Hadap, Nathan Carr, and Jean-François Lalonde. 2019. Fast spatially-varying indoor lighting estimation. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Long Beach, CA, USA, 6908–6917.
Paschalis Giakoumoglou, Dimitrios Karageorgiou, Symeon Papadopoulos, and Panagiotis C. Petrantonakis. 2025. SAGI: Semantically Aligned and Uncertainty Guided AI Image Inpainting. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Honolulu, HI, USA, 16090–16101.
Justine Giroux, Mohammad Reza Karimi Dastjerdi, Yannick Hold-Geoffroy, Javier Vazquez-Corral, and Jean-François Lalonde. 2024. Towards a Perceptual Evaluation Framework for Lighting Estimation. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 4410–4419.
Kai He, Ruofan Liang, Jacob Munkberg, Jon Hasselgren, Nandita Vijaykumar, Alexander Keller, Sanja Fidler, Igor Gilitschenski, Zan Gojcic, and Zian Wang. 2025. UniRelight: Learning Joint Decomposition and Synthesis for Video Relighting. In Adv. Neural Inform. Process. Syst. Curran Associates, Inc., Red Hook, NY, USA, 25 pages.
Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. 2021. CLIPScore: A Reference-free Evaluation Metric for Image Captioning. In Conf. Empirical Meth. Nat. Lang. Proc. Association for Computational Linguistics, Online and Punta Cana, Dominican Republic, 7514–7528.
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. 2017. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In Adv. Neural Inform. Process. Syst., Vol. 30. Curran Associates, Inc., Red Hook, NY, USA, 6626–6637.
Yannick Hold-Geoffroy, Kalyan Sunkavalli, Sunil Hadap, Emiliano Gambaretto, and Jean-François Lalonde. 2017. Deep outdoor illumination estimation. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Honolulu, HI, USA, 7312–7321.
Alain Horé and Djemel Ziou. 2010. Image Quality Metrics: PSNR vs. SSIM. In Int. Conf. Pattern Recog. IEEE, Istanbul, Turkey, 2366–2369.
Yi Huang, Jiancheng Huang, Yifan Liu, Mingfu Yan, Jiaxi Lv, Jianzhuang Liu, Wei Xiong, He Zhang, Liangliang Cao, and Shifeng Chen. 2025. Diffusion Model-Based Image Editing: A Survey. IEEE Trans. Pattern Anal. Mach. Intell. 47, 6 (June 2025), 4409–4437.
Haian Jin, Yuan Li, Fujun Luan, Yuanbo Xiangli, Sai Bi, Kai Zhang, Zexiang Xu, Jin Sun, and Noah Snavely. 2024. Neural Gaffer: Relighting Any Object via Diffusion. In Adv. Neural Inform. Process. Syst. Curran Associates, Inc., Red Hook, NY, USA, 141129–141152.
Brian Karis. 2013. Real Shading in Unreal Engine 4. In ACM SIGGRAPH 2013 Courses: Physically Based Shading in Theory and Practice (SIGGRAPH '13). Association for Computing Machinery, New York, NY, USA, 21 pages. https://api.semanticscholar.org/CorpusID:14922512
Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. 2020. Analyzing and Improving the Image Quality of StyleGAN. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 8110–8119.
Kevin Karsch, Varsha Hedau, David Forsyth, and Derek Hoiem. 2011. Rendering Synthetic Objects into Legacy Photographs. ACM Trans. Graph. 30, 6, Article 157 (Dec. 2011), 12 pages. doi:10.1145/2024156.2024191
Diederik P. Kingma and Jimmy Ba. 2015. Adam: A Method for Stochastic Optimization. In Int. Conf. Learn. Represent. San Diego, CA, USA, 15 pages.
Black Forest Labs. 2024a. FLUX. https://github.com/black-forest-labs/flux.
Black Forest Labs. 2024b. FLUX.1 Fill: State-of-the-art open-source inpainting model. GitHub repository "black-forest-labs/flux" and Hugging Face model "black-forest-labs/FLUX.1-Fill-dev". https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev 12 B-parameter rectified flow transformer, FLUX.1-dev Non-Commercial License.
Black Forest Labs. 2025. FLUX.2: Frontier Visual Intelligence. https://bfl.ai/blog/flux-2.
Jean-François Lalonde, Alexei A Efros, and Srinivasa G Narasimhan. 2012. Estimating the natural illumination conditions from a single outdoor image. Int. J. Comput. Vis. 98, 2 (2012), 123–145.
Jean-François Lalonde, Srinivasa G Narasimhan, and Alexei A Efros. 2010. What do the sun and the sky tell us about the camera? Int. J. Comput. Vis. 88 (2010), 24–51.
Eric Larson and Damon Chandler. 2010. Most apparent distortion: Full-reference image quality assessment and the role of strategy. J. Electronic Imaging 19 (Jan. 2010), 011006.
Tony Lee, Michihiro Yasunaga, Chenlin Meng, Yifan Mai, Joon Sung Park, Agrim Gupta, Yunzhi Zhang, Deepak Narayanan, Hannah Teufel, Marco Bellagente, Minguk Kang, Taesung Park, Jure Leskovec, Jun-Yan Zhu, Fei-Fei Li, Jiajun Wu, Stefano Ermon, and Percy S. Liang. 2023. Holistic Evaluation of Text-to-Image Models. Adv. Neural Inform. Process. Syst. 36 (2023), 69981–70011.
Chloe LeGendre, Wan-Chun Ma, Graham Fyffe, John Flynn, Laurent Charbonnel, Jay Busch, and Paul Debevec. 2019. Deeplight: Learning illumination for unconstrained mobile mixed reality. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Long Beach, CA, USA, 5918–5928.
227:14 • Giroux et al.
Zhengqin Li, Li Yu, Mikhail Okunev, Manmohan Chandraker, and Zhao Dong. 2023. Spatiotemporally Consistent HDR Indoor Lighting Estimation. ACM Trans. Graph. 42, 3 (2023), 1–15.
Ruofan Liang, Kai He, Zan Gojcic, Igor Gilitschenski, Sanja Fidler, Nandita Vijaykumar, and Zian Wang. 2025a. LuxDiT: Lighting Estimation with Video Diffusion Transformer. http://arxiv.org/abs/2509.03680
Yijun Liang, Ming Li, Chenrui Fan, Ziyue Li, Dang Nguyen, Kwesi Cobbina, Shweta Bhardwaj, Jihuai Chen, Fuxiao Liu, and Tianyi Zhou. 2025b. ColorBench: Can VLMs See and Understand the Colorful World? A Comprehensive Benchmark for Color Perception, Reasoning, and Robustness. In Adv. Neural Inform. Process. Syst. Curran Associates, Inc., Red Hook, NY, USA, 36 pages.
Ropeway Liu, Hangjie Yuan, Bo Dong, Jiazheng Xing, Jinwang Wang, Rui Zhao, Yan Xing, Weihua Chen, and Fan Wang. 2025. UniLumos: Fast and Unified Image and Video Relighting with Physics-Plausible Feedback. In Adv. Neural Inform. Process. Syst. Curran Associates, Inc., Red Hook, NY, USA.
Jorge Lopez-Moreno, Veronica Sundstedt, Francisco Sangorrin, and Diego Gutierrez. 2010. Measuring the perception of light inconsistencies. In Symp. App. Percept. Graph. Vis. Association for Computing Machinery, New York, NY, USA, 25–32.
Andreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, and Luc Van Gool. 2022. Repaint: Inpainting using denoising diffusion probabilistic models. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, New Orleans, LA, USA, 11461–11471.
Yiwei Ma, Jiayi Ji, Ke Ye, Weihuang Lin, Zhibin Wang, Yonghan Zheng, Qiang Zhou, Xiaoshuai Sun, and Rongrong Ji. 2024. I2ebench: A comprehensive benchmark for instruction-based image editing. In Adv. Neural Inform. Process. Syst. Curran Associates, Inc., Red Hook, NY, USA, 41494–41516.
Fanqing Meng, Wenqi Shao, Lixin Luo, Yahong Wang, Yiran Chen, Quanfeng Lu, Yue Yang, Tianshuo Yang, Kaipeng Zhang, Yu Qiao, and Ping Luo. 2024. PhyBench: A Physical Commonsense Benchmark for Evaluating Text-to-Image Models.
Anish Mittal, Anush Krishna Moorthy, and Alan Conrad Bovik. 2012. No-Reference Image Quality Assessment in the Spatial Domain. IEEE Trans. Image Process. 21, 12 (2012), 4695–4708.
Anish Mittal, Rajiv Soundararajan, and Alan C. Bovik. 2013. Making a "Completely Blind" Image Quality Analyzer. IEEE Sign. Process. Letters 20, 3 (2013), 209–212.
Lukas Murmann, Michael Gharbi, Miika Aittala, and Fredo Durand. 2019. A Dataset of Multi-Illumination Images in the Wild. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Seoul, Korea (South), 4079–4088.
OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgium, Irwan Bello, Jake Berdine, Gabriel Bernadett-Shapiro, Christopher Berner, Lenny Bogdonoff, Oleg Boiko, Madelaine Boyd, Anna-Luisa Brakman, Greg Brockman, Tim Brooks, Miles Brundage, Kevin Button, Trevor Cai, Rosie Campbell, Andrew Cann, Brittany Carey, Chelsea Carlson, Rory Carmichael, Brooke Chan, Che Chang, Fotis Chantzis, Derek Chen, Sully Chen, Ruby Chen, Jason Chen, Mark Chen, and ... 2024. GPT-4 Technical Report.
Yuri Ostrovsky, Patrick Cavanagh, and Pawan Sinha. 2005. Perceiving Illumination Inconsistencies in Scenes. Perception 34, 11 (Nov. 2005), 1301–1314.
Yizuo Peng, Xuelin Chen, Kai Zhang, and Xiaodong Cun. 2026. LightCtrl: Training-free Controllable Video Relighting. In Int. Conf. Learn. Represent. OpenReview.net, Rio de Janeiro, Brazil.
Pakkapon Phongthawee, Worameth Chinchuthakun, Nontaphat Sinsunthithet, Varun Jampani, Amit Raj, Pramook Khungurn, and Supasorn Suwajanakorn. 2024. DiffusionLight: Light Probes for Free by Painting a Chrome Ball. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 98–108.
Y. Poirier-Ginter, A. Gauthier, J. Phillip, J.-F. Lalonde, and G. Drettakis. 2024. A Diffusion Approach to Radiance Field Relighting using Multi-Illumination Synthesis. Comput. Graph. Forum 43, 4 (July 2024), e15147.
Ekta Prashnani, Hong Cai, Yasamin Mostofi, and Pradeep Sen. 2018. PieAPP: Perceptual Image-Error Assessment Through Pairwise Preference. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Salt Lake City, UT, USA, 1808–1817.
Alec Radford, Luke Metz, and Soumith Chintala. 2016. Unsupervised representation learning with deep convolutional generative adversarial networks. In Int. Conf. Learn. Represent. San Juan, Puerto Rico, 16 pages.
Ravi Ramamoorthi and Pat Hanrahan. 2001a. An efficient representation for irradiance environment maps. In ACM SIGGRAPH Conf. Association for Computing Machinery, New York, NY, USA, 497–500.
Ravi Ramamoorthi and Pat Hanrahan. 2001b. On the relationship between radiance and irradiance: determining the illumination from images of a convex Lambertian object. J. Opt. Soc. Am. A 18, 10 (Oct. 2001), 2448–2459.
Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. 2022. Hierarchical Text-conditional Image Generation with CLIP Latents.
Elad Richardson, Yuval Alaluf, Or Patashnik, Yotam Nitzan, Yaniv Azar, Stav Shapiro, and Daniel Cohen-Or. 2021. Encoding in style: a stylegan encoder for image-to-image translation. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Nashville, TN, USA, 2287–2296.
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-resolution image synthesis with latent diffusion models. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, New Orleans, LA, USA, 10684–10695.
Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily Denton, Seyed Kamyar Seyed Ghasemipour, Burcu Karagol Ayan, S. Sara Mahdavi, Rapha Gontijo Lopes, Tim Salimans, Jonathan Ho, David J. Fleet, and Mohammad Norouzi. 2022. Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding. In Adv. Neural Inform. Process. Syst., Vol. 35. Curran Associates, Inc., Red Hook, NY, USA, 36479–36494.
Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. 2016. Improved Techniques for Training GANs. In Adv. Neural Inform. Process. Syst., Vol. 29. Curran Associates, Inc., Red Hook, NY, USA, 2226–2234.
Ayush Sarkar, Hanlin Mai, Amitabh Mahapatra, Svetlana Lazebnik, D.A. Forsyth, and Anand Bhattad. 2024. Shadows Don't Lie and Lines Can't Bend! Generative Models don't know Projective Geometry...for now. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 28140–28149.
Christophe Schlick. 1994. An Inexpensive BRDF Model for Physically-based Rendering. Comput. Graph. Forum 13, 3 (1994), 233–246.
Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, Patrick Schramowski, Srivatsa Kundurthy, Katherine Crowson, Ludwig Schmidt, Robert Kaczmarczyk, and Jenia Jitsev. 2022. LAION-5B: An open large-scale dataset for training next generation image-text models. In Adv. Neural Inform. Process. Syst., Vol. 35. Curran Associates, Inc., Red Hook, NY, USA, 25278–25294.
Hamid R. Sheikh, Alan C. Bovik, and Gustavo de Veciana. 2005. An information fidelity criterion for image quality assessment using natural scene statistics. IEEE Trans. Image Process. 14, 12 (2005), 2117–2128.
Shaolin Su, Qingsen Yan, Yu Zhu, Cheng Zhang, Xin Ge, Jinqiu Sun, and Yanning Zhang. 2020. Blindly Assess Image Quality in the Wild Guided by a Self-Adaptive Hyper Network. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Seattle, WA, USA, 3667–3676.
Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. 2015. Going Deeper with Convolutions. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Boston, MA, USA, 1–9.
Minghui Tan, Jean-François Lalonde, Lavanya Sharan, Holly Rushmeier, and Carol O'Sullivan. 2015. The perception of lighting inconsistencies in composite outdoor scenes. ACM Trans. Appl. Percept. 12, 4 (2015), 1–18.
Gemini Team. 2023. Gemini: A Family of Highly Capable Multimodal Models. arXiv:2312.11805 [cs.CL] https://arxiv.org/abs/2312.11805
Image Team, Huanqia Cai, Sihan Cao, Ruoyi Du, Peng Gao, Steven Hoi, Zhaohui Hou, Shijie Huang, Dengyang Jiang, Xin Jin, Liangchen Li, Zhen Li, Zhong-Yu Li, David Liu, Dongyang Liu, Junhan Shi, Qilong Wu, Feng Yu, Chi Zhang, Shifeng Zhang, and Shilin Zhou. 2025. Z-Image: An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer. arXiv:2511.22699 [cs.CV] https://arxiv.org/abs/2511.22699
Kolors Team. 2024. Colors: Effective Training of Diffusion Model for Photorealistic Text-to-Image Synthesis. https://github.com/Kwai-Kolors/Kolors/blob/master/images/Kolors_paper.pdf Technical report.
Tencent Hunyuan Team. 2025. HunyuanImage 2.1: An Efficient Diffusion Model for High-Resolution (2K) Text-to-Image Generation. https://github.com/Tencent-Hunyuan/HunyuanImage-2.1.
Varun Varma Thozhiyoor, Shivam Tripathi, Venkatesh Babu Radhakrishnan, and Anand Bhattad. 2026. Objects in Generated Videos Are Slower Than They Appear: Models Suffer Sub-Earth Gravity and Don't Know Galileo's Principle... for now. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Denver, CO, USA, 3830–3839.
Bruce Walter, Stephen R. Marschner, Hongsong Li, and Kenneth E. Torrance. 2007. Microfacet models for refraction through rough surfaces. In Proceedings of the 18th Eurographics Conference on Rendering Techniques (Grenoble, France) (EGSR'07). Eurographics Association, Goslar, DEU, 195–206.
Guangcong Wang, Yinuo Yang, Chen Change Loy, and Ziwei Liu. 2022. Stylelight: HDR panorama generation for lighting estimation and editing. In Eur. Conf. Comput. Vis. Springer, Cham, Switzerland, 477–492.
Yikai Wang, Chenjie Cao, Junqiu Yu, Ke Fan, Xiangyang Xue, and Yanwei Fu. 2025. Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Nashville, TN, USA, 23237–23248.
Zhou Wang, Alan C. Bovik, and Ligang Lu. 2002. Why is image quality assessment so difficult?. In ICASSP, Vol. 4. IEEE, Orlando, FL, USA, IV–3313–IV–3316.
Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli. 2004. Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13, 4 (2004), 600–612.
Zian Wang, Jonah Philion, Sanja Fidler, and Jan Kautz. 2021. Learning indoor inverse rendering with 3D spatially-varying lighting. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Montreal, QC, Canada, 12538–12547.
227:15
Navve Wasserman, Noam Rotstein, Roy Ganz, and Ron Kimmel. 2025. Paint by inpaint: Learning to add image objects by removing them first. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Nashville, TN, USA, 18313–18324.
Henrique Weber, Mathieu Garon, and Jean-François Lalonde. 2022. Editable Indoor Lighting Estimation. In Eur. Conf. Comput. Vis. Springer, Cham, Switzerland, 677–692.
Thaddäus Wiedemer, Yuxuan Li, Paul Vicol, Shixiang Shane Gu, Nick Matarese, Kevin Swersky, Been Kim, Priyank Jaini, and Robert Geirhos. 2025. Video models are zero-shot learners and reasoners.
Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, Yuxiang Chen, Zecheng Tang, Zekai Zhang, Zhengyi Wang, An Yang, Bowen Yu, Chen Cheng, Dayiheng Liu, Deqing Li, Hang Zhang, Hao Meng, Hu Wei, Jingyuan Ni, Kai Chen, Kuan Cao, Liang Peng, Lin Qu, Minggang Wu, Peng Wang, Shuting Yu, Tingkun Wen, Wensen Feng, Xiaoxiao Xu, Yi Wang, Yichang Zhang, Yongqiang Zhu, Yujia Wu, Yuxuan Cai, and Zenan Liu. 2025. Qwen-Image Technical Report. arXiv:2508.02324 [cs.CV] https://arxiv.org/abs/2508.02324
Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. 2018. Generative image inpainting with contextual attention. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Salt Lake City, UT, USA, 5505–5514.
Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. 2019. Free-form image inpainting with gated convolution. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Seoul, Korea (South), 4471–4480.
Jiahui Yu, Yuanzhong Xu, Jing Yu Koh, Thang Luong, Gunjan Baid, Zirui Wang, Vijay Vasudevan, Alexander Ku, Yinfei Yang, Burcu Karagol Ayan, Ben Hutchinson, Wei Han, Zarana Parekh, Xin Li, Han Zhang, Jason Baldridge, and Yonghui Wu. 2022. Scaling Autoregressive Models for content-Rich text-to-Image Generation. Trans. Mach. Learn. Research 2022 (2022).
Chong Zeng, Yue Dong, Pieter Peers, Youkang Kong, Hongzhi Wu, and Xin Tong. 2024. DiLightNet: Fine-grained Lighting Control for Diffusion-based Image Generation. In ACM SIGGRAPH Conf. (SIGGRAPH '24). Association for Computing Machinery, New York, NY, USA, 1–12.
Jinsong Zhang, Kalyan Sunkavalli, Yannick Hold-Geoffroy, Sunil Hadap, Jonathan Eisenmann, and Jean-François Lalonde. 2019. All-weather deep outdoor lighting estimation. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Long Beach, CA, USA, 10158–10166.
Lvmin Zhang, Anyi Rao, and Maneesh Agrawala. 2025. Scaling In-the-Wild Training for Diffusion-based Illumination Harmonization and Editing by Imposing Consistent Light Transport. In Int. Conf. Learn. Represent. OpenReview.net, Singapore, 10728–10745.
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. 2018. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. In IEEE/CVF Conf. Comput. Vis. Pattern Recog. IEEE, Salt Lake City, UT, USA, 586–595.
Weixia Zhang, Kede Ma, Guangtao Zhai, and Xiaokang Yang. 2021. Uncertainty-aware blind image quality assessment in the laboratory and wild. IEEE Trans. Image Process. 30 (2021), 3474–3486.
Haoze Zheng, Zihao Wang, Xianfeng Wu, Yajing Bai, Yexin Liu, Yun Li, Xiaogang Xu, and Harry Yang. 2026. Learning Latent Proxies for Controllable Single-Image Relighting.
Yujie Zhou, Jiazi Bu, Pengyang Ling, Pan Zhang, Tong Wu, Qidong Huang, Jinsong Li, Xiaoyi Dong, Yuhang Zang, Yuhang Cao, Anyi Rao, Jiaqi Wang, and Li Niu. 2025. Light-A-Video: Training-free Video Relighting via Progressive Light Fusion. In IEEE/CVF Int. Conf. Comput. Vis. IEEE, Honolulu, HI, USA, 13315–13325.
227:1
A Implementation details
A.1 Dataset: filtering and processing
The Multi-Illumination dataset does not include ground-truth masks for each probe. We generated the matte and mirror probe masks with SAM3 [Carion et al. 2025] and additionally smoothed them by fitting an ellipse.
We removed 2052 images from the dataset that were not suitable for our purposes. Several light probes were illuminated by multiple light sources due to the light directly from the flash or from mirror-reflective objects in the scene reflecting the flash at the probe, in addition to the intended light source from the flash aimed at a point in the scene. A few images in the dataset were overexposed, and their probes were captured with significant noise. Some probes had a significant portion of the background scene within the cropped image provided. Some probes were occluded from the light source by objects in the scene. Finally, some scenes lacked the correct material masks to identify the probes. Examples are shown in fig. 13.
We rectify the spheres to be circular by fitting an ellipse to the contours of the SAM3 [Carion et al. 2025] mask. We then apply a perspective transform to warp the sphere image so that the fitted ellipse is circular, retaining the spheres' normals.

Fig. 13. Examples of probes we removed from the Multi-Illumination dataset. From left to right: Probe cropped, too noisy, probe stand in view, background in image, probe partially occluded from the light source by an object in scene.
A.2 Inpainting: model inference
For each model, we used the default workflows provided by ComfyUI [Comfy 2026]. For open models, we select seed 608 313 082 563 526, and show that there is no significant differences between the seeds in fig. 14. The seeds for closed models are listed in tab. 3, and were unable test multiple seeds on these API models.
To ensure we had the correct hyperparameters for the open models, we tested different classifier-free guidance scales on a subset of the dataset tab. 1. Although Z-Image Turbo has a lower median angular error with the non-default CFG scale, it is marginal and results in a lower usable probe yield. FLUX.1 Fill [dev] performs marginally better at 3 than the default. The remaining models all perform best at their recommended CFG scale. Note that the CFG scale is not consistent across models; some prefer a smaller value (Z-Image Turbo, Qwen Edit, FLUX.1 Fill [dev]), others prefer a larger value (SD 2.0 Inpaint, Kolors).
We report GPU usage for each model at each pipeline stage in tab. 2. The probe detection (sec. 3.4) uses a 2g.20gb and the light parameters estimation (sec. 3.5) uses a 1g.10gb. Probe analysis is CPU-only and not included in GPU totals. The total GPU hours for the entire dataset is approximately 2395.8 H100-equivalent hours, which corresponds to about 100 H100-equivalent days. These estimates are based on timing measurements from the actual pipeline runs and may vary in practice due to factors like GPU availability, model performance variability, and potential optimisations. For API models, we did not report usage for the inpainting stage. Model checkpoints, hyperparameters, release date and other attributes are listed in tab. 3.
Table 1. Usable probe yield (% of GT-usable directions) and median angular error per model for varying CFG value. For each model, the default classifier-free guidance (CFG) scale is underlined, and the best median error and yield are highlighted in bold.
| Model | CFG | Yield [%]↑ | Median Ang Err [°]↓ |
|---|---|---|---|
| SD 1.0 Inpaint[Rombach et al. 2022] | 4 | 43.3 | 18.3 |
| 8 | 47.9 | 17.4 | |
| 12 | 47.6 | 18.0 | |
| FLUX.1 Fill [dev][Labs 2024b] | 1 | 88.5 | 12.2 |
| 3 | 94.5 | 11.9 | |
| 7 | 77.9 | 12.8 | |
| Qwen Edit[Wu et al. 2025] | 1 | 34.3 | 15.5 |
| 3 | 27.4 | 22.3 | |
| 7 | 23.8 | 35.7 | |
| Z-Image Turbo[Team et al. 2025] | 1 | 98.9 | 11.8 |
| 3 | 97.0 | 11.4 | |
| 7 | 6.8 | 49.4 | |
| Kolors[Team 2024] | 1 | 47.0 | 23.2 |
| 3 | 61.2 | 19.2 | |
| 7 | 38.3 | 28.0 |
Table 2. Estimated GPU hours for dataset generation, by stage, per model. GPU costs are normalised to H100-equivalent hours based on the GPU used per model ('Inpaint GPU') and the H100 MIG fractions. The last row is the sum of all the models.
| Model | Seeds | Inpainted | Probes | Inpaint GPU | Inpaint H100-eq [h] | Detection H100-eq [h] | Light Esti-mation H100-eq [h] |
|---|---|---|---|---|---|---|---|
| SD 1.0 Inpaint [Rombach et al. 2022] | 6 | 152100 | 65914 | 2g.20gb | 97.8 | 17.3 | 1.1 |
| SD 2.0 Inpaint [Rombach et al. 2022] | 6 | 152100 | 89975 | 1g.10gb | 38.7 | 26.3 | 1.5 |
| Kolors [Team 2024] | 6 | 152100 | 109927 | 3g.40gb | 129.6 | 18.0 | 1.8 |
| SD 3.5 [Esser et al. 2024] | 3 | 76050 | 29680 | 3g.40gb | 170.9 | 8.2 | 0.5 |
| FLUX.1 Fill [dev] [Labs 2024b] | 6 | 152100 | 142379 | 3g.40gb | 201.2 | 18.2 | 2.4 |
| HiDream [Cai et al. 2025] | 6 | 152100 | 76000 | h100 | 910.1 | 26.6 | 1.3 |
| Nano Banana 1 [Team 2023] | 1 | 2708 | 1775 | API | 0.0 | 0.4 | 0.0 |
| Qwen Edit [Wu et al. 2025] | 7 | 153475 | 117372 | 3g.40gb | 119.3 | 37.4 | 2.0 |
| Hunyuan 2.1 [Team 2025] | 3 | 76050 | 12055 | 3g.40gb | 61.9 | 5.3 | 0.2 |
| Firefly 5 [Adobe 2025] | 1 | 1484 | 1076 | API | 0.0 | 0.2 | 0.0 |
| FLUX.2 [dev] [Labs 2025] | 1 | 25350 | 24676 | h100 | 207.2 | 2.4 | 0.4 |
| Z-Image Turbo [Team et al. 2025] | 2 | 50700 | 48962 | 3g.40gb | 98.3 | 13.1 | 0.8 |
| FLUX.2 [klein] 4B [Labs 2025] | 1 | 25350 | 18905 | 3g.40gb | 60.1 | 2.9 | 0.3 |
| FLUX.2 [klein] 9B [Labs 2025] | 1 | 25350 | 25165 | 3g.40gb | 104.0 | 2.9 | 0.4 |
| Photoshop [Adobe 2025] | 1 | 25350 | 21633 | API | 0.0 | 2.8 | 0.4 |
| Nano Banana 2 [Team 2023] | 1 | 10538 | 9805 | API | 0.0 | 1.4 | 0.2 |
| Total | 1232905 | 795299 | 2199.1 | 183.4 | 13.3 |
227:2
Giroux et al.

Fig. 14. Comparison of 6 seeds on 10 different models on the whole dataset. For most models, there is no significant difference in which seed is chosen.
Table 3. Model parameters and details for the models evaluated in this work. The ELO scores are from https://arena.ai/leaderboard/image-edit.
| Model | Abbreviation | Release Date | Checkpoint | Architecture | No. Parameters | Precision | Base Resolution | No. Steps | CFG Scale | ELO | Category | Availability |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Stable Diffusion 2 Inpainting [Rombach et al. 2022] | SD 2 Inpaint | 2023-09 | 512-inpainting-ema_safetensors | U-Net | 1303623630 | fp32 | 512 | 20 | 8 | - | Inpainting | Open |
| SDXL 1.0 Inpainting 0.1 [Rombach et al. 2022] | SD 1.0 Inpaint | 2021-12 | sd_xl_base_1.0_inpainting_0.1.safetensors | U-Net | 3468852345 | fp16 | 1024 | 20 | 7 | - | Inpainting | Open |
| Kolors Inpainting [Team 2024] | Kolors | 2024-07 | kolors-inpainting_safetensors | U-Net | 2579473220 | fp16 | 1024 | 20 | 3 | - | Inpainting | Open |
| Stable Diffusion 3.5 [Esser et al. 2024] | SD 3.5 | 2024-10 | sd3.5_large_fp8_scaled_safetensors | mm-DiT | 8134104590 | fp8 | 1024 | 32 | 8 | - | Inpainting | Open |
| FLUX.1 Fill [dev] [Labs 2024a] | FLUX.1 Fill [dev] | 2024-11 | flux1-fill-dev.safetensors | mm-DiT | 11902391360 | bf16 | 1024 | 20 | 1 | - | Inpainting | Open |
| HiDream-E1.1 [Cai et al. 2025] | HiDream | 2025-07 | hidream_e1_1_bf16_safetensors | SDiT | 17105733184 | bf16 | 1024 | 20 | 3 | - | Editing | Open |
| Gemini 2.5 Flash Image Preview [Team 2023] | Nano Banana 1 | 2025-08 | - MoE + Diffusion | - | - | - | 1024 | - | - | 1300 | Editing | Closed |
| HunyuanImage 2.1 [Team 2025] | Hunyuan | 2025-09 | hunyuan image2.1_fp8_e4m3fn.safetensors | DiT | 17425795520 | fp8 | 2048 | 20 | 3.5 | - | Inpainting | Open |
| Qwen-Image-Edit-2509 [Wu et al. 2025] | Qwen Edit | 2025-09 | qwen_image_edit_2509_fp8_e4m3fn.safetensors | mm-DiT | 20430401088 | fp8 | 1024 | 4 | 1 | 1234 | Editing | Open |
| Adobe Firefly Image Model 5 [Adobe 2025] | Firefly 5 | 2025-10 | - | - | - | bf16 | 2240 | - | - | - | Editing | Closed |
| FLUX.2 [dev] [Labs 2025] | FLUX.2 [dev] | 2025-11 | flux2_dev_fp8mixed_safetensors | mm-DiT | 32223281408 | fp8 | 1024 | 20 | 5 | 1225 | Inpainting | Open |
| Z-Image-Turbo [Team et al. 2025] | Z-Image-Turbo | 2025-11 | z_image_turbo_bf16_safetensors | S3-DiT | 6154908736 | bf16 | 1024 | 20 | 1 | - | Editing | Open |
| FLUX.2 [klein] 4B Base [Labs 2025] | FLUX.2 [klein] 4B | 2026-01 | flux-2-klein-base-4b-fp8_safetensors | mm-DiT | 3875544732 | fp8 | 1024 | 20 | 5 | 1188 | Inpainting | Open |
| FLUX.2 [klein] 9B Base [Labs 2025] | FLUX.2 [klein] 9B | 2026-01 | flux-2-klein-base-9b-fp8_safetensors | mm-DiT | 9078581464 | fp8 | 1024 | 20 | 5 | 1224 | Inpainting | Open |
| Photoshop Generative Fill (Firefly Fill & Expand) [Adobe 2025] | Photoshop | 2026-01 | - | - | - | bf16 | 2048 | - | - | - | Inpainting | Closed |
| Gemini 3.1 Flash Image Preview [Team 2023] | Nano Banana 2 | 2026-02 | - MoE + Diffusion | - | - | - | 1024 | - | - | 1387 | Editing | Closed |
A.3 Probe detection: SAM3 inference and probe filtering
We use SAM3 [Carion et al. 2025] to detect and segment the generated probes with the prompt:
matte sphere not mirror reflective sphere
Generative image models do not strictly adhere to the prompt's instructions; we present a few common examples in fig. 15. Hunyuan 2.1 generated noisy probes regardless of the number of time steps used at inference. Qwen Edit and HiDream often generated multiple probes, with HiDream struggling to place them in front of the camera and often embedding them into the scene behind objects.
• 227:3

Fig. 15. Examples where the generative image models generated unusable probes.

Fig. 16. Two examples of the estimated probe optimising to a target light probe from FLUX.1 Fill [dev] [Labs 2024b] in our inverse rendering stage. Top: A light probe with a bright specular component. Bottom: A fully diffuse light probe. Our light feature estimation stage can accommodate a range of material types.
Some models, such as SD 3.5, would try to blend the probe's texture and colour with the surrounding scene.
A.4 Light features estimation: shading model details
The Cook-Torrence shading model we use is composed of the following approximations. The specular component of our shading model is modelled by the microfacet BRDF, with Trowbridge-Reitz GGX approximation of the normal distribution function [Walter et al. 2007], Schlick's approximation of the GGX Smith geometric shadowing function [Karis 2013; Walter et al. 2007] and Schlick's approximation of the Fresnel term [Schlick 1994]. The diffuse component is modelled using Lambertian lighting with an energy-conservation factor and Fresnel attenuation. The shading model uses material parameters (albedo, roughness, metallicity and Fresnel coefficient) and lighting parameters (light direction and intensity, and an ambient term). Examples of glossy and matte surface probes at different iterations of our optimisation are presented in fig. 16.
Additional examples of probes, for different models and scenes, are shown in fig. 17, showing the generated image, and both probes extracted, with their estimated light direction, as well as the reference image and probes to compare.
B Further evaluation
B.1 Light parameter optimisation evaluation
For the proxy evaluation of the estimated light direction from our light parameter optimisation stage, we created a physics-based rendering (PBR) dataset, shown in fig. 18, in Blender [Community 2018] of a sphere with varying material properties, illuminated by a single light source from different directions. By creating a synthetic test set, we can use ground-truth labels to evaluate our light direction estimation. We test our inverse rendering optimiser on the synthetic dataset in HDR and low-dynamic range (LDR), as the Multi-Illumination dataset provides probes in HDR and the generative image models output LDR. We also evaluate on the Multi-Illumination dataset, comparing against both the specular highlight labels and human-annotated labels on a small split of 575 images. Our results in tab. 4 show that our method is more accurate on HDR data than LDR, and that it outperforms human annotations on a sample of the real dataset.
Table 4. Performance of our light parameter optimisation stage on a synthetic PBR dataset and the Multi-Illumination dataset [Murmann et al. 2019]. Additionally, we provided results from a human annotator for comparison. We report the median and standard deviation of the angular error.
| LD Estimator | Dataset | LD Labels | Median Ang Err [°]↓ | σ [°]↓ |
|---|---|---|---|---|
| Vanilla | Synthetic HDR | Actual | 2.43 | 6.59 |
| Synthetic LDR | Actual | 2.55 | 6.72 | |
| Multi-Illumination HDR | Specular | 9.35 | 24.80 | |
| Annotated | Multi-Illumination [just annotated] | Specular | 8.70 | |
| Multi-Illumination [just annotated] | Specular | 9.40 |
B.2 Probe generation evaluation
B.2.1 Probe generation yield. At various stages in our pipeline, we evaluate whether a generated light probe was correctly placed and the quality of these probes. We report the number of usable probes generated by each model as a percentage of the images they were inferred on fig. 19. Of note, Qwen Edit generated high-quality probes that ranked 6th in median angular error; however, it struggles to generate probes at the requested position and often embeds them within the scene or partially outside the field-of-view of the image. The stable diffusion family of models, Hunyuan 2.1 and HiDream, had a low success rate of generating a probe in the correct location, which correlates with the lowest median angular errors. Examples of unsuitable probes are featured in fig. 15. There was no correlation between the remaining model's ability to generate a usable probe and to generate the correct lighting. Neither was there any correlation between inpainting and image-editing models and the percentage of usable probes generated.
B.2.2 Prompt adherence. To investigate how the text prompt influences the ability of generative image models to accurately recreate a scene's lighting, we test three additional prompts on a selection of models (FLUX.1 Fill [dev], Qwen Edit, Z-Image Turbo, and Kolors) using a subset of 55 scenes from the dataset. The prompts were designed with varying levels of complexity, from no discussion of the lighting task or the spheres' material properties to explicitly stating the task, geometric and material properties of the spheres, and the location to generate them:
227:4
Giroux et al.

Fig. 17. Examples inpainted images and their light probes across 16 models, sorted by release date. The first column is the reference image, with the diffuse probe circled in light orange and the chrome probe in light purple. The generated probes are circled in dark orange and dark blue (inpainted over the reference probes) in the generated images from different models (all other columns). The light direction is shown on the diffuse reference probe (second row) by the light orange cross and in the dark orange circle for the generated and for the chrome reference probe (third row), the reference light direction is indicated by a light purple cross and the generated light direction by a dark blue circle. The marker contour is white if the direction is towards the camera and black if it is away from the camera.
Simple. : "two grey spheres"
Medium. : "inpaint two round light grey matte spheres with shading matching the scene lighting"
Complex. : "Place two light grey Lambertian spheres over the circular grey mask regions. Each sphere is perfectly round, fully in frame, and shaded consistently with the existing scene lighting."
227:5

Fig. 18. Examples of probes from our PBR test set used to find the uncertainty of our inverse rendering stage. The test set was created in Blender [Community 2018] and contains a range of probe material types, light directions and intensities.

Fig. 19. Total number of images generated, probes generated, and usable probes generated by each model. This demonstrates each model's ability to adhere to the prompt by generating a probe into the scene.
Ours. : "Inpaint two perfectly round light grey matte spheres, fully visible, with smooth, uniform Lambertian shading that accurately responds to the existing scene lighting. The spheres are directly in front of the camera and appear in front of everything. There should be two spheres over the two circular grey masks in the image."
No statistically significant differences in light direction accuracy were found across the models when using different prompts. For some models, usable probe yield varied across prompts. Therefore, it was not possible to determine whether the prompt affected the probe generation or the model's understanding of lighting. We found our prompt to be sufficiently robust across all models for the task and included the necessary probe location information that image-editing models require.

Fig. 20. Median angular error of the light direction as a function of the number of parameters for each model. The markers are coloured by type (inpainting or editing) and availability (open or closed).

Fig. 21. Median angular error of the light direction as a function of the release date of each model. The markers are coloured by type (inpainting or editing) and availability (open or closed).
B.3 Model size analysis
Fig. 20 shows the relation between the number of parameters of the model and the median angular error in light direction estimation. As shown in the figure, no clear correlation emerges, with the best (FLUX.1 Fill [dev]) and worst (SD 3.5) models having similar numbers of parameters.
An alternative visualisation of fig. 4 to highlight the accuracy of the lighting direction generated by the models through the years is shown in fig. 21. The median angular error in light direction for all (quality-filtered) probes generated by the model is compared with the model release date. The lack of a discernible trend shows that improvements in inpainting and editing generative models over time (and increased parameter counts, c.f. fig. 20) do not predict light direction accuracy.
B.4 Spatially varying lighting analysis
Fig. 22 shows the distribution of the angle difference between two probes in different locations within the same image. Some models
227:6
Giroux et al.

Fig. 22. Distributions of the angular difference of the light directions measured in both probes (different locations) for each model and the ground-truth probes (last column). Models are sorted by release date (above) and coloured by type (inpainting or editing) and availability (open or closed). The median is shown on middle line, and each step corresponds to distribution quantiles. The horizontal line corresponds to the ground-truth median angular difference. The number of probes (N) used to compute each distribution is displayed at the top of the distribution. The tails containing the outliers ( ) are cropped out for legibility.
tend to predict less variation in their spatial light directions within a single image (i.e., they make the light direction similar in both probes), such as SD 2.0 Inpaint and FLUX.2 [klein] 9B. In contrast, some models vary the light direction more than expected, such as SD 3.5.
Note that this figure only shows the angle difference and does not take into account the direction of the dominant light vector, so the light direction could be wrong on the generated probes, but still have the same difference between both probes as the ground-truth probes. Also note that this measure does not compare the angular difference between a specific scene and its ground truth (unlike sec. 4.2.4) and only shows statistical trends, not direct accuracy for a given scene. However, these trends are similar to the ones observed in the comparison per scene, as in fig. 7.
B.5 Probe size analysis
In the Multi-Illumination dataset, the distances of the ground-truth probes from the camera vary across scenes. To analyse the impact of the relative size of the probe in the image to the surrounding objects and the potential artefacts caused by the lower resolution of smaller inpainted probes, we compare the distributions of light direction angular error of all models for each scene in fig. 23. The relative size of the ground-truth matte probe within the image is computed and clustered into balanced bins for each scene. This shows that smaller probes with fewer pixels do not hinder light-feature estimation, whereas larger probes closer to the camera do.
B.6 Angular error distribution
Fig. 25 shows the angular error distribution for each ground-truth light direction cluster, as defined in fig. 24, for each model. This represents a more detailed version of fig. 5, where each model is kept separate. The same global trends can be observed as the model aggregated version (fig. 5), where the “top back” direction is considerably harder for all the models. The “front” and “top” clusters have similar performances for most models and no significant bias for the “left” or “right” side.
B.7 Colour metrics
We further evaluate two other colour measures: CIE2000 (fig. 26) and hue angular error (fig. 27). These measures are not included in the main sections because they are more prone to capturing co-occurring factors beyond colour alone.
CIE2000 (fig. 26) considers errors not only in the chrominance channels of the Lab space, but also in the luminance channel. However, since our prompt only specifies a grey sphere, errors in the channel may also arise from differences in albedo. Having said this, we can see that FLUX.1 Fill [dev] and SD 1.0 Inpaint remain among the best methods, as was also the case for , whilst HiDream and Nano Banana 1 become much more strongly penalised when luminance is included in the error measure.
Hue angular error (fig. 27) is commonly used in setups such as ours because it measures the chromatic direction of a colour independently of both luminance and saturation. However, hue estimation for colours close to the achromatic axis is highly unstable. Therefore, given the original grey colour of the sphere, scenes in which the illumination colour is only weakly pronounced can yield large hue errors despite negligible perceptual differences. With this caveat in mind, we nevertheless observe that FLUX.1 Fill [dev] achieves the best performance, further highlighting the robustness of this model across multiple colour measures.
Fig. 28 is a complementary figure to fig. 12 in the survivorship bias discussion (c.f. sec. 5), displaying the relationship between the median and the number of probes remaining after the quality filtering. The absence of trend (shown by the value) indicates that
227:7

Fig. 23. Distributions of the light direction angular error as a function of the percentage of the image area the ground-truth matte probe occupies, for all models. The mask size ranges have been selected to be balanced, the number of probes (N) in each is displayed at the top of each distribution.

Fig. 24. Spatial distribution of the ground-truth light direction clusters, divided equally in space, in intervals of in azimuth and in elevation. Data in white is not considered because there are too few to be a statistically representative group.
models with fewer valid probes do not have better colour accuracy than models with more valid probes.
227:8
Giroux et al.

Fig. 25. Angular error distribution for each model, per coarse incoming ground-truth light direction, based on fig. 24. The middle line in the box corresponds to the median, and the edges of the box to the quartiles. The whiskers represent the confidence intervals. The number of inpainted probes (n) for each model in each ground-truth light direction cluster is displayed above the whisker. The total number of inpainted probes (N) and the year of model introduction are also shown above.

Fig. 26. Distributions of the CIE2000 for each model, sorted by release date (displayed at the top of the distribution). The range has been limited to to better see the distribution. The middle line and value displayed on the distribution corresponds to the median value. Each step corresponds to the quantiles of the distribution. The distributions are coloured by type (inpainting or editing) and availability (open or closed). The number of probes (N) used to compute each distribution is displayed at the top of the distribution. The purple line at corresponds to the Just Noticeable Difference (JND) of human perception, colour differences start to be noticeable between (pink regime) and appear as different colours for (light pink regime) [Fairchild 2013].
227:9

Fig. 27. Distributions of the hue angular error for each model, sorted by release date (displayed at the top of the distribution). The maximum possible error is given the circularity of hue values. The middle line and value displayed on the distribution corresponds to the median value. Each step corresponds to the quantiles of the distribution. The distributions are coloured by type (inpainting or editing) and availability (open or closed). The number of probes (N) used to compute each distribution is displayed at the top of the distribution.
227:10 • Giroux et al.

Fig. 28. Median as a function of the percentage of quality filtered probes. A linear regression (black line) is fitted on the data, with the displayed at the top, with the fit uncertainty around the line. Models are coloured by type (inpainting or editing) and availability (open or closed), as in fig. 4.