TL;DR
In 1977, Edwin Land proposed Retinex theory—the idea that what your eye sees is simply an object’s intrinsic surface multiplied by the lighting hitting it. The authors of GRUN realize this simple split applies far beyond lighting: any ruined photo can be untangled into "clean scene content" and "environmental mess" (whether that's rain, haze, motion blur, or murky water). By baking this philosophy into an iterative neural network, they achieve top-tier image restoration across seven distinct tasks using a single unified architecture.
What Problem Does This Paper Address?
Cameras in the wild deal with a chaotic world: sensor noise, fog, rain streaks, shaky hands, dark rooms, and underwater color shifts. Traditionally, fixing these requires bespoke physics equations—like atmospheric scattering models for haze, or point spread functions for motion blur. While physically grounded, a dehazing model has no idea how to remove rain.
On the flip side, pure deep learning models can learn to fix anything given enough data, and deep unfolding networks (which turn step-by-step mathematical optimization loops into neural network layers) offer a nice middle ground. However, these general networks still struggle to cleanly separate an underlying scene’s sharp geometry from diverse, complex degradations without bespoke structural guidance.
Methods
The authors bridge this gap with three core ideas:
- Generalized Retinex Formulation: Classical Retinex models an image as Reflectance $\odot$ Illumination ($I = R \odot L$). The authors generalize $R$ into a content-dominant response (sharp edges, textures, true colors) and $L$ into an environment-side response (haze thickness, rain occlusion, blur strength, or shadow modulation), each subject to task-dependent operators.
- GRUN (Deep Unfolding via Half-Quadratic Splitting): To solve for $R$ and $L$ without knowing the exact physics equations in advance, they unroll an iterative optimization algorithm into a $K=3$ stage network. Each stage alternates between updating three distinct modules, each built with an inductive bias matching its job:
- Reflectance operator: A multi-scale Restormer-style attention network to preserve crisp edges and fine textures.
- Illumination operator: A lightweight network using large convolutions ($31\times31$) and spectral pooling to capture smooth, low-frequency environmental shifts.
- Progressive Degradation Estimator: A GRU-based module that looks at the current error residual and queries a learnable 64-prototype codebook, generating a continuous vector that tells the other two networks how to adapt at each stage.
- Degradation-aware Coupling Regularizer (DCR): When multiplying two learned variables ($R \odot L$), neural networks love to cheat—either putting the whole image into $R$ and setting $L=1$, or duplicating edges in both. DCR prevents this during training by minimizing mutual information (via a neural estimator called MINE), penalizing aligned edge gradients, and anchoring the average value of $L$ near 1.
Datasets
No new datasets are introduced; instead, GRUN is tested across 18 standard benchmarks spanning seven tasks:
- Denoising: SIDD, DND
- Deblurring: GoPro, HIDE
- Deraining: Rain100H, Rain100L, Test100, Test1200, Test2800
- Dehazing: RESIDE (SOTS-Indoor/Outdoor), RTTS
- Low-light Enhancement: LOL-v1, LOL-v2 (real & synthetic), plus zero-shot real-world tests on DICM, VV, and MEF, and object detection on ExDark.
- Underwater & Backlit Enhancement: UIEB and BAID.
Key Insights and Ideas
- "Illumination" is a universal sponge for bad weather and bad cameras: Even for non-lighting problems like motion blur or rain, giving the network a dedicated, low-frequency multiplicative pathway ($L$) lets it summarize spatially varying degradation strength or visibility loss, leaving the content branch ($R$) free to focus purely on sharp textures.
- Division is a secret weapon: Passing element-wise quotients (dividing the image estimate by $L$ to help $R$, and vice versa) outperforms generic feature fusion, proving the mathematical Retinex coupling is doing real heavy lifting rather than just acting as a two-branch network.
- Plug-and-play priors: The Generalized Retinex head, degradation codebook, and DCR loss aren't locked to GRUN. Dropping them into six existing, unrelated architectures (including diffusion and state-space models) boosted performance across the board.
Key Results
Using the exact same 21.54M-parameter architecture (retrained per task) running at ~40 ms per $256\times256$ image, GRUN sets competitive or state-of-the-art marks across benchmarks:
- Denoising & Deblurring: Hits 40.19 dB PSNR on SIDD and 34.30 dB on GoPro, outperforming recent transformers and unfolding nets like DeepSN-Net.
- Deraining & Dehazing: Reaches 39.64 dB on Rain100L (using less than a quarter of the FLOPs of MambaIR and DeepSN-Net) and 42.60 dB on SOTS-Indoor.
- Enhancement & Downstream Vision: Achieves 24.82 dB on underwater (UIEB) and 24.98 dB on backlit (BAID) images. When used to pre-process dark images for a YOLO object detector on ExDark, it boosts mean Average Precision from a 66.4 baseline to 80.9 (+1.2 over the next best enhancer).
Limitations and Future Work
Not discussed in the paper. (Note: While not framed as a limitation section by the authors, GRUN trains task-specific weights for each degradation rather than operating as a single "all-in-one" blind model out of the box, and relies on an auxiliary critic network during training to estimate mutual information.)
Summary updated