Not All Noise Is Harmful: Towards Perception-Aware and Controllable Joint RAW Image Denoising and Demosaicing

Qianjun Huang, Qingguo Liu, Hui Zeng, Kai Zhang, Jian YangNeurIPS 2026

TL;DR

Ever taken a low-light smartphone photo where faces look like melted wax? That happens because image restoration algorithms aggressively wipe out fine textures along with sensor noise. JDD-PRO solves this by embracing a counterintuitive truth—not all noise is bad—giving users a real-time "grain slider" that strips away ugly color blotches while keeping pleasing, film-like luminance texture intact.

What Problem Does This Paper Address?

Every digital camera sensor captures the world through a grid of colored filters (usually a Bayer pattern), meaning each pixel only records red, green, or blue light—never all three. Turning this noisy, incomplete RAW sensor readout into a crisp photograph requires two early steps: denoising (cleaning up random photon and electronic noise) and demosaicing (interpolating the missing colors).

Doing these steps one after the other compounds errors, so modern deep learning tackles them simultaneously via Joint Denoising and Demosaicing (JDD). However, standard JDD models are trained strictly to map "noisy" inputs to "perfectly clean" targets. Under low light and limited compute budgets, aiming for zero noise forces the network to average out uncertainty—resulting in plastic-looking, smeared textures. Conversely, naively dialing back the denoiser leaves behind ugly artifacts. Furthermore, standard models bake in a single, rigid denoising strength, ignoring the fact that some photographers want silky-smooth images while others crave authentic, film-like grain.

Comparison showing how standard JDD smears textures or creates artifacts when adjusted, whereas JDD-PRO preserves realistic detail.

Methods

The authors introduce JDD-PRO, a perception-aware, controllable JDD framework built on three clever innovations over a standard NAFNet restoration backbone:

  1. Controllable JDD Training (CTRL-JDD): Instead of only showing the model clean targets, the authors introduce a control factor $\omega$ during training. Half the time, the model learns standard clean demosaicing. The other half, they scale down the input noise-level map by $(1 - \omega)$ and intentionally inject a fraction $\omega$ of the original RAW noise back into the ground-truth target. Crucially, this noisy supervision is evaluated directly on the raw Bayer grid (via re-mosaicing) so interpolation math doesn't corrupt the noise statistics. At inference, $\omega$ acts as a continuous dial between smooth ($\omega=0$) and textured.
  2. HVS-Inspired Perceptual Adapter: Retaining raw noise leaves colorful speckles. Drawing on the Human Visual System (HVS)—which hates chromatic (color) noise far more than luminance (brightness) grain—the authors freeze their trained JDD network and attach a lightweight ControlNet-style adapter. By passing outputs through a differentiable camera pipeline into YUV color space, the adapter is trained to preserve the textured brightness channel ($Y$) while scrubbing the color channels ($U, V$) clean—all in a single forward pass.
  3. Degradation-Aware Convolution (DAConv): Because RAW shot noise scales with light intensity and demosaicing is much harder along sharp edges than flat skies, fixed convolution filters struggle. DAConv uses the sensor's noise-level map to dynamically predict spatially varying $3 \times 3$ convolution weights across the image.
Stage I of JDD-PRO's training pipeline, illustrating how the control factor modulates both the input noise map and the Bayer-domain target.

Datasets

  • Training: Clean internet images from DIV2K, Flickr2K, and the Waterloo Exploration Database are passed backward through a parameterized, differentiable Image Signal Processing (ISP) pipeline to synthesize realistic degraded RAW data. (Baseline JDD models were retrained on Pixel-Shift200).
  • Evaluation: Tested on the standard DND benchmark (with ground truth) and real-world, uncalibrated low-light smartphone captures from OPPO Find X7 Ultra, iPhone 13 Pro, Xiaomi 12, and Huawei Mate 30. No new benchmark datasets are formally introduced.

Key Insights and Ideas

  • Luminance noise is a feature, chromatic noise is a bug: Treating all noise as an enemy causes over-smoothing. Separating brightness grain from color blotches lets a smaller network produce sharp, realistic textures without hallucinating details.
  • Supervise noise in its native habitat: If you want a network to retain a specific fraction of sensor noise, you cannot supervise it in 3-channel RGB space without introducing demosaicing blur into the noise itself. Re-mosaicing the output back to the Bayer pattern during loss calculation keeps the physics honest.
  • Out-of-bounds generalization: Even though the control knob $\omega$ is only sampled between $[0, 0.6]$ during training, scaling the physical noise map allows users to smoothly extrapolate outside that range (e.g., $\omega = -0.1$ or $0.8$) at test time.

Key Results

JDD-PRO hits a rare sweet spot of top-tier visual quality and blistering speed:

  • Quantitative Quality: On the DND benchmark, JDD-PRO ($\omega=0$) achieves 39.986 dB PSNR and 0.9606 SSIM in sRGB, beating state-of-the-art joint models (like TENet++ at 39.733 dB) and two-stage denoisers. On real smartphone photos, tuning $\omega$ yields the highest no-reference perceptual scores (MUSIQ, HyperIQA, MANIQA).
  • Efficiency: With just 6.57M parameters, JDD-PRO processes a $2048 \times 2048$ image in 0.235 seconds—roughly $3\times$ to $14\times$ faster than competing JDD networks. At $4096 \times 4096$ resolution, where rival JDSR runs out of memory and FBI takes 71 seconds, JDD-PRO finishes in 1.08 seconds.
  • Human Preference: In a blind user study of 30 vision researchers and photographers, JDD-PRO won 69% of the votes, dwarfing the runner-up Noise2VST (14.3%).
Figure 1: Quantitative comparison of RAW image denoising and JDD methods on the OPPO Find X7 Ul- tra. Circle size indicates the model parameters. † indicates the AHD (5) demosaicing algorithm is applied.

Limitations and Future Work

Because $\omega$ controls the percentage of retained noise rather than an absolute noise floor, heavily corrupted night shots require a smaller $\omega$ than mildly noisy indoor shots. Currently, a human has to dial in $\omega$ manually to suit the scene and their aesthetic taste. For future work, the authors aim to build an adaptive, content-aware controller that automatically picks the perceptual sweet spot for any given image.

Summary updated

Abstract

RAW image denoising and demosaicing play a critical role in the early stages of the image signal processing (ISP) pipeline. Previous methods handle them sequentially, which can introduce error propagation. Unified restoration, such as joint denoising and demosaicing (JDD), has become a widely adopted paradigm and achieves impressive performance. Nonetheless, under constraints of model capacity and low-light conditions, these methods tend to apply overly aggressive denoising, causing notable smearing effects and the erosion of fine textures. Researchers attempt to moderate the denoising strength to better preserve details, but this often results in noticeable artifacts. These observations suggest a key insight: Not All Noise is Harmful—retaining an appropriate amount of noise can be preferable to over-smoothing and is often aligned with user aesthetics. Moreover, most existing methods are mainly trained on paired clean–degraded data, yielding fixed, hard-to-control denoising behavior that fails to meet evolving user demands. In this paper, we propose $\textbf{JDD-PRO}$, a $\textbf{P}$erception-awa$\textbf{R}$e and contr$\textbf{O}$llable framework for RAW image JDD. Built on a controllable JDD training scheme and a HVS-inspired perceptual adapter, our method allows users to tune the denoising strength at inference to strike their desired balance between noise removal and detail preservation. Comprehensive experiments on real-world datasets validate the effectiveness and robustness of our proposed method.
BibTeX
@inproceedings{huang2026not,
  author = {Qianjun Huang and Qingguo Liu and Hui Zeng and Kai Zhang and Jian Yang},
  title = {{Not All Noise Is Harmful: Towards Perception-Aware and Controllable Joint RAW Image Denoising and Demosaicing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=65RYxUOsF9},
}
Figure