Abstract
Ambient Lighting Normalization (ALN) is a critical task in computer vision aimed at restoring images captured under uneven or complex lighting conditions. Traditional shadow removal techniques often face significant hurdles, including the scarcity of realistic training data and a heavy reliance on explicit shadow masks during inference. This paper introduces a novel approach developed by researchers at the University of Science and Technology of China (USTC) for the NTIRE 2025 Ambient Lighting Normalization Challenge. By integrating a mask-free U-Net restorer with a diffusion-based shadow generator, the proposed "LightWorker" framework achieves state-of-the-art performance in neutralizing complex real-world shadows. The method secured the highest PSNR score and the Runner-Up Award in the competition, demonstrating superior generalization and efficiency.
Introduction
Ambient Lighting Normalization (ALN) involves "neutralizing" shadows to reveal the underlying scene, a process essential for downstream tasks like object detection and scene understanding. However, real-world ALN is challenging due to two primary factors. First, existing datasets often use simplified shadow models that fail to capture the complexity of self-shadows and multi-light source environments. Second, many state-of-the-art models require binary shadow masks to function, yet generating accurate masks in the wild is often as difficult as the restoration task itself.
To address these issues, this research proposes a high-throughput, mask-free system designed to handle high-resolution images in complex, real-world scenarios without the need for auxiliary shadow information during deployment.
Methodology
The LightWorker framework employs a two-pronged strategy to overcome data limitations and architectural inefficiencies.
Diffusion Shadow Generation
To combat data scarcity, the team developed a compact diffusion model specifically for generating diverse and realistic shadow masks. Unlike static datasets, this generative approach allows for an iterative learning loop. During the training of the primary restoration network, synthetic shadows are dynamically overlaid onto clean images. This constant exposure to new, complex lighting challenges significantly enhances the restorer's ability to generalize to unseen real-world environments.
Mask-free Shadow Removal U-Net
The restoration architecture is a modified U-Net optimized for high-resolution processing and efficiency. Key architectural innovations include:
- Removal of Global Residual Connections: While common in denoising tasks where degradation is additive, the authors found that global skip connections hindered performance in ALN. Removing them allows the model to better handle the non-additive nature of lighting changes, effectively reconstructing the scene rather than just subtracting a noise layer.
- Simplified Gated Modules: To maintain high throughput, heavy attention mechanisms were replaced with a Simple Gate Module (SGM) and Simple Channel Attention (SCA), drawing inspiration from the NAFNet architecture.
- Multi-Stage Optimization: The model undergoes a three-stage training process, progressing from pixel-level and frequency domain losses to structural similarity (SSIM) and finally perceptual loss (LPIPS) to ensure natural-looking results.
Experimental Results
The proposed method was evaluated using the NTIRE 2025 ALN Dataset (based on Ambient6K) and the WSRD+ dataset. LightWorker demonstrated exceptional performance, achieving the highest PSNR score of 26.50 dB among all participants in the NTIRE 2025 competition.
In head-to-head comparisons on the ntire25-test dataset, LightWorker outperformed established models such as NAFNet (25.95 dB) and HirFormer (25.39 dB). An ablation study further confirmed the importance of the diffusion-based augmentation; removing the shadow generation component resulted in a significant PSNR drop of approximately 0.55 dB.
Conclusion and Future Work
The LightWorker framework represents a significant advancement in mask-free ambient lighting normalization. By leveraging generative augmentation and a residual-free U-Net architecture, the model effectively handles complex real-world shadows with high efficiency. While the training process is computationally intensive due to the diffusion loop, the inference remains highly optimized for high-resolution images. Future research may explore the application of this residual-free architecture to other non-additive restoration tasks, such as low-light enhancement or heavy rain removal.
Summary updated