Abstract
Smartphone image sensors often produce high levels of noise that standard compression algorithms struggle to handle, leading to "bit misallocation" where storage is wasted on reconstructing unwanted noise. This paper proposes a novel two-branch neural network architecture that jointly performs image denoising and compression. By utilizing a "guidance branch" during training to provide feature-level supervision, the model learns to filter noise in the latent space. Experimental results demonstrate that this joint approach achieves superior rate-distortion performance and visual quality while being significantly faster than sequential denoising and compression pipelines.
Introduction
The proliferation of smartphone photography has brought the challenge of sensor noise to the forefront of image processing. Small sensors and apertures inherently capture more noise, especially in low-light conditions. When these images are compressed using traditional or modern learned codecs, the encoder treats noise as high-frequency detail, wastefully allocating bits to its reconstruction.
Existing solutions typically involve sequential processing: either denoising before compression or after decompression. Denoising before compression (pre-processing) can inadvertently remove fine textures or introduce artifacts that complicate the compression task. Denoising after decompression (post-processing) is inherently inefficient because the bits have already been spent on the noise. This paper addresses these issues by integrating denoising directly into the compression bottleneck.
Proposed Methodology
The authors introduce a weight-sharing, two-branch architecture designed to optimize the compression process by learning noise-free representations.
Two-Branch Architecture
The system consists of two primary components:
- The Denoising Branch: Active during both training and inference, this branch processes the noisy input image $\tilde{\mathbf{x}}$. It incorporates "Feature Denoisers" ($d_i$) between encoding blocks ($g_{a_i}$) to clean the data in the latent space before it reaches the quantization and entropy coding stages.
- The Guidance Branch: Used only during training, this branch takes the ground-truth clean image $\mathbf{x}$ as input. It generates "guiding features" ($\mathbf{z}_i^{gt}$) that serve as the target for the denoising branch.
Feature-Level Supervision
Unlike image-space denoising, this method operates in the high-dimensional feature space. The model is trained using a multi-scale guidance loss, calculated as the $L_1$ distance between the features of the noisy branch ($\mathbf{z}_i$) and the clean branch ($\mathbf{z}_i^{gt}$). This explicit supervision "teaches" the encoder to ignore noise patterns while preserving essential structural information.
The total training objective is a joint loss function that balances the bitrate ($R$), reconstruction distortion ($D$), and the feature-level guidance loss. By denoising in the feature space rather than the image space, the model effectively filters noise before the entropy model determines bit allocation.
Experimental Results
The model was evaluated using both synthetic noise (Flicker 2W, Kodak, CLIC datasets) and real-world noise (SIDD dataset).
Performance and Efficiency
- Rate-Distortion: The joint model consistently outperformed sequential baselines (e.g., combining DeamNet with the Cheng2020 compressor). It achieved higher PSNR and MS-SSIM scores at lower bits-per-pixel (bpp), indicating more efficient bit allocation.
- Computational Speed: One of the most significant advantages is efficiency. The joint architecture is approximately 10 times faster than sequential pipelines. In testing, the joint method required ~7.9 seconds per image, whereas the sequential approach took ~75.3 seconds due to the overhead of running two separate deep models.
- Visual Quality: Qualitatively, the method preserves sharp edges and fine details (such as text) that are often blurred by standard denoisers or obscured by noise in standard compressors.
Conclusion
By performing denoising in the latent space and using a guidance branch for training, the proposed method solves the bit misallocation problem inherent in noisy image compression. This joint learning approach not only improves image quality and compression efficiency but also offers a substantial speedup over traditional sequential methods. Future work may explore extending this joint learning framework to other tasks like super-resolution or demosaicing.
Summary updated