TL;DR
DualDn is a novel learning-based image denoising framework that combines the strengths of raw-domain and sRGB-domain denoising using a differentiable Image Signal Processor (ISP) as a bridge. Trained entirely on synthetic data, DualDn achieves exceptional generalizability, allowing it to be deployed as a plug-and-play module that outperforms commercial on-camera denoisers on unseen smartphone architectures.
What Problem Does This Paper Address?
Image denoising typically happens at one of two places in a camera's Image Signal Processing (ISP) pipeline: directly on the raw sensor data (raw domain) or on the final processed image (sRGB domain). Both approaches suffer from a fundamental trade-off:
- Raw-domain denoising handles sensor-specific noise well because the noise physics are well-understood. However, any tiny amount of residual noise left behind gets amplified and distorted by subsequent ISP steps (like demosaicing and tone-mapping), leading to visible artifacts like color blotches or "zipper" patterns around edges.
- sRGB-domain denoising operates at the end of the pipeline, so it can clean up these ISP-induced artifacts. However, because the ISP performs highly non-linear transformations, the clean, predictable noise distribution from the sensor becomes incredibly complex and spatially varying, making it difficult for an sRGB denoiser to generalize across different lighting conditions or camera models.
As a result, most deep-learning denoisers are locked into specific camera sensors or fixed ISP configurations. DualDn addresses this limitation by tackling noise in both domains simultaneously.
Methods
DualDn consists of two denoising networks—a raw denoiser and an sRGB denoiser—connected by a custom-built differentiable ISP.
- End-to-End Training with a Differentiable Bridge: During training, the differentiable ISP acts as a bridge, allowing gradients to flow through the entire pipeline. This enables the raw and sRGB denoisers to optimize collaboratively. During inference, the differentiable ISP is discarded, and the denoisers are plugged directly into the target camera's actual hardware or software ISP.
- Noise Map Propagation: To help the sRGB denoiser understand where noise has been amplified, the authors introduce a novel mechanism: they pass the raw noise level map through the differentiable ISP alongside the image signal. This creates an sRGB-domain noise map that accurately predicts the intensity of residual impairments.
- Domain Generalization via Randomization: To ensure the network doesn't overfit to a specific camera, the training pipeline heavily randomizes both the synthetic noise parameters (shot and read noise) and the ISP characteristics (specifically, a mutable global tone-mapping curve).
Datasets
The authors evaluated DualDn using a mix of synthetic and real-world datasets:
- MIT-Adobe FiveK: Used to generate synthetic training and testing pairs. The authors selected 220 low-ISO, noise-free raw images, using 200 for training and 20 for testing.
- In-the-wild Smartphone Evaluation Dataset: A real-world testing set collected by the authors using flagship devices from Xiaomi, iPhone, and Huawei across 10 different scenes with random ISO settings.
- Darmstadt Noise Dataset (DND): A standard public benchmark consisting of 50 real-world noisy-clean image pairs.
Key Insights and Ideas
- The "Discardable" ISP: The most elegant aspect of DualDn is that the differentiable ISP is only a training tool. By simulating the non-linear transformations of an ISP during training, the networks learn domain-specific roles without requiring the actual deployment pipeline to be differentiable.
- Collaborative Roles: The raw denoiser acts as a coarse filter, adapting to sensor-specific noise levels, while the sRGB denoiser acts as a fine-tuner, adapting to ISP variations and removing correlated residual noise.
- sRGB Noise Maps Work: Historically, noise maps were restricted to the raw domain. Proving that a raw noise map can be mapped through an ISP to guide an sRGB denoiser is a major win for hybrid pipeline designs.
Key Results
DualDn was tested using three popular network backbones (SwinIR, MIRNet-v2, and Restormer) and consistently outperformed single-domain alternatives.
- Robustness to Noise & ISP Amplification: In synthetic tests, DualDn achieved a significant PSNR improvement (often >1 dB) over single-domain denoisers, with the performance gap widening as noise levels ($K$) and tone-mapping amplification ($\alpha$) increased.
- Generalization to Unseen Modules: When non-differentiable blocks like Sharpen or Local Tone-Mapping (CLAHE) were added to the evaluation pipeline, DualDn maintained high image quality, whereas single-domain denoisers suffered from severe color artifacts.
- Real Smartphone Performance: Despite being trained purely on synthetic data, DualDn successfully generalized to commercial black-box smartphone ISPs, delivering cleaner details and fewer artifacts than the phones' native, highly tuned commercial denoising algorithms.
Limitations and Future Work
While DualDn demonstrates remarkable zero-shot generalization, the authors note a few limitations:
- Simplified Noise Model: The training pipeline currently ignores device-specific noise anomalies like fixed pattern noise (FPN), which can occur in extreme low-light conditions.
- Benchmark Constraints: On the DND benchmark, the performance gain was more modest because DND utilizes an over-simplified, fixed black-box ISP, which doesn't fully exploit DualDn's capacity to handle highly variable, complex real-world ISPs.
Future work could involve expanding the differentiable ISP to model more complex local image adjustments and incorporating more sophisticated sensor degradation models.
Summary updated