Abstract
Image restoration, which aims to recover high-quality images from their corrupted counterparts, often faces the challenge of being an ill-posed problem that allows multiple solutions for a single input. However, most deep learning based works simply employ $\ell_1$ loss to train their network in a deterministic way, resulting in over-smoothed predictions with inferior perceptual quality. In this work, we propose a novel method that shifts the focus from a deterministic pixel-by-pixel comparison to a statistical perspective, emphasizing the learning of distributions rather than individual pixel values. The core idea is to introduce spatial entropy into the loss function to measure the distribution difference between predictions and targets. To make this spatial entropy differentiable, we employ kernel density estimation (KDE) to approximate the probabilities for specific intensity values of each pixel with their neighbor areas. Specifically, we equip the entropy with diffusion models and aim for superior accuracy and enhanced perceptual quality over $\ell_1$ based noise matching loss. In the experiments, we evaluate the proposed method for low light enhancement on two datasets and the NTIRE challenge 2024. All these results illustrate the effectiveness of our statistic-based entropy loss.
1. Introduction
Low-light image enhancement is fundamentally an ill-posed problem: a single dark, noisy input can theoretically correspond to multiple valid high-quality outputs. Traditional deep learning models typically address this using pixel-wise losses like $\ell_1$ or $\ell_2$. While these metrics ensure high fidelity in terms of Peak Signal-to-Noise Ratio (PSNR), they often lead to over-smoothing. By forcing the model to predict the statistical mean of all possible solutions, fine textures are lost, resulting in images that appear unnaturally blurry or "plastic."
While Generative Adversarial Networks (GANs) and perceptual losses (e.g., LPIPS) offer alternatives, they often require complex auxiliary networks and can be unstable. This research introduces a self-sufficient statistical approach to capture image texture without external dependencies.
2. Methodology: Differentiable Spatial Entropy
The proposed method shifts the restoration objective from deterministic pixel matching to statistical distribution matching.
2.1 From Pixels to Distributions
Instead of asking if a pixel matches the target exactly, the model evaluates whether the distribution of intensities in a local neighborhood aligns with the target. Spatial entropy captures the structural "vibe" and texture by considering a pixel in the context of its neighbors.
2.2 Differentiability via Kernel Density Estimation (KDE)
Standard entropy calculations involve non-differentiable operations like histogram binning. To enable backpropagation, the authors utilize Kernel Density Estimation (KDE), replacing hard counts with smooth Gaussian-like kernels. This allows the spatial entropy loss to be integrated directly into the training of diffusion models.
2.3 Integration with Diffusion Models
The entropy loss is integrated into a diffusion framework (specifically the Refusion model), replacing the standard $\ell_2$ noise-matching loss. To further enhance the model's ability to learn complex textures, Shuffle Weights are introduced for neighboring pixels during training, serving as a form of spatial data augmentation.
3. Experiments and Results
The model was evaluated on the LOL-v1, LOL-v2-real, and NTIRE 2024 Challenge datasets.
3.1 Quantitative Performance
The method, termed Entropy-SDE, demonstrates a significant improvement in perceptual metrics:
- LOL-v1: Achieved a Fréchet Inception Distance (FID) of 37.20, significantly outperforming the state-of-the-art DiffLL (48.11).
- NTIRE 2024: Outperformed all top 10 teams in terms of LPIPS (Learned Perceptual Image Patch Similarity), highlighting its superior perceptual similarity to ground truth images.
3.2 Qualitative Analysis
Visual results confirm that Entropy-SDE excels at recovering fine details—such as hair, fabric, and background textures—that traditional methods often blur.
4. Conclusion
By equipping diffusion models with differentiable spatial entropy, this work provides a robust framework for high-fidelity, perceptually pleasing image restoration. The shift toward statistical matching represents a promising direction for overcoming the over-smoothing inherent in deterministic pixel-wise training. Future work will explore generalizing this loss to other restoration tasks like deblurring.
Summary updated