Abstract
Image-based relighting of indoor rooms creates an immersive virtual understanding of the space, which is useful for interior design, virtual staging, and real estate. Relighting indoor rooms from a single image is especially challenging due to complex illumination interactions between multiple lights and cluttered objects featuring a large variety in geometrical and material complexity. Recently, generative models have been successfully applied to image-based relighting conditioned on a target image or a latent code, albeit without detailed local lighting control. In this paper, we introduce ScribbleLight, a generative model that supports local fine-grained control of lighting effects through scribbles that describe changes in lighting. Our key technical novelty is an Albedo-conditioned Stable Image Diffusion model that preserves the intrinsic color and texture of the original image after relighting and an encoder-decoder-based ControlNet architecture that enables geometry-preserving lighting effects with normal map and scribble annotations. We demonstrate ScribbleLight's ability to create different lighting effects (e.g., turning lights on/off, adding highlights, cast shadows, or indirect lighting from unseen lights) from sparse scribble annotations.
Introduction
Relighting an indoor scene from a single photograph is a "holy grail" problem in computer vision with massive applications in real estate, virtual staging, and interior design. However, it is notoriously difficult because indoor environments feature complex light interactions: multiple light sources (lamps, windows, ceiling lights), intricate shadows, and diverse materials. Existing solutions usually fall into two camps: 3D-based methods that require dense scene captures, and generative methods that often offer only global control and frequently "hallucinate" changes to the room's actual furniture or wall textures. ScribbleLight fills this gap by providing fine-grained local control through a user-friendly interface that doesn't require 3D expertise.
Methodology
The ScribbleLight framework utilizes a two-stage pipeline based on Diffusion Models to ensure both realistic lighting and identity preservation.
Albedo-conditioned Stable Image Diffusion
To ensure the relit image doesn't change the room's actual colors or textures, the model uses a Stable Diffusion v2 backbone fine-tuned to be conditioned on an albedo map (the "true" color of surfaces without lighting). A key technical innovation is "Albedo Noise Injection"—adding a fixed amount of noise to the albedo latent during training. This makes the model robust to errors in predicted albedo and encourages it to rely on its internal lighting priors to generate realistic effects.
ScribbleLight ControlNet
This module guides the diffusion process using binary scribbles (indicating areas to brighten or darken) and surface normals to provide a sense of the room's 3D geometry. To ensure the ControlNet's latent features capture sufficient information, the authors jointly train a decoder that reconstructs target shading and normals from the latent code, forcing the network to learn the relationship between user intent and light behavior.
Key Results and Insights
ScribbleLight treats user scribbles as high-level intent rather than ground truth. If a user scribbles "brighten" on a wall, the model synthesizes a physically plausible light source—like a lamp or window—and renders the resulting soft glow and shadows. By conditioning directly on the albedo, the model solves the common generative problem of "identity drift," ensuring bedspread patterns and wood grains remain consistent even as lighting shifts.
In quantitative evaluations using the BigTime time-lapse dataset, ScribbleLight significantly outperformed baselines like LightIt and RGB↔X across standard metrics (RMSE, PSNR, SSIM, and LPIPS). Furthermore, a user study revealed that 95.6% of participants preferred ScribbleLight’s results, citing superior preservation of scene geometry and texture.
Conclusion
ScribbleLight demonstrates a powerful approach to intuitive scene editing. While current limitations include a bias toward common indoor light colors and potential inconsistencies when provided with physically impossible scribbles, the model represents a major step forward. Future work will focus on automating scribble generation and expanding the interface to support explicit color control.
Summary updated