Abstract
Recently, DNN models for lossless image coding have surpassed their traditional counterparts in compression performance, reducing the previous lossless bit rate by about ten percent for natural color images. But even with these advances, mathematically lossless image compression (MLLIC) ratios for natural images still fall short of the bandwidth and cost-effectiveness requirements of most practical imaging and vision systems at present and beyond. To overcome the performance barrier of MLLIC, we question the very necessity of MLLIC. Considering that all digital imaging sensors suffer from acquisition noises, why should we insist on mathematically lossless coding, i.e., wasting bits to preserve noises? Instead, we propose a new paradigm of joint denoising and compression called functionally lossless image compression (FLLIC), which performs lossless compression of optimally denoised images (the optimality may be task-specific). Although not literally lossless with respect to the noisy input, FLLIC aims to achieve the best possible reconstruction of the latent noise-free original image. Extensive experiments show that FLLIC achieves state-of-the-art performance in joint denoising and compression of noisy images and does so at a lower computational cost.
Introduction: Moving Beyond the "Noise Tax"
In high-fidelity imaging domains such as medical diagnostics and remote sensing, Mathematically Lossless Image Compression (MLLIC) is traditionally mandated to ensure that decompressed data is bit-for-bit identical to the original sensor output. However, this requirement imposes a significant "noise tax." Because all digital sensors introduce stochastic acquisition noise, MLLIC forces systems to expend a large portion of their bit budget on preserving random fluctuations that contain no physical information.
As shown in Figure 1, traditional methods either retain noise (wasting bits), use inefficient cascaded workflows (denoising then compressing), or accept lossy artifacts. Functionally Lossless Image Compression (FLLIC) shifts the objective from literal bit-reproduction of noisy data to the optimal reconstruction of the latent clean signal. By integrating denoising and compression into a single workflow, FLLIC achieves higher efficiency and lower latency.
The FLLIC Framework
FLLIC is an end-to-end deep learning framework designed for joint denoising and compression. Unlike cascaded systems that suffer from error propagation between independent modules, FLLIC optimizes both tasks simultaneously.
The architecture, detailed in Figure 4, relies on several key innovations:
- Clean Entropy Estimation: A regression module estimates the entropy ($H(I)$) of the latent clean image directly from the noisy input. This serves as a global prior, guiding the entropy model to focus on the signal rather than the noise.
- Content-Adaptive Quantization: Instead of uniform quantization, the network generates a spatial Quantization Step Map. This allows the model to allocate more bits to structurally complex regions (like edges) while using coarser quantization for noisy or smooth areas.
- Dual Training Strategies: The framework supports both supervised training (using clean ground truth) and weakly supervised training (using estimated source entropy), making it adaptable to various data availability scenarios.
Performance and Efficiency
Evaluations on standard benchmarks like Kodak24 and real-world datasets like the Smartphone Image Denoising Dataset (SIDD) demonstrate that FLLIC consistently outperforms state-of-the-art lossless and lossy compressors.
Information-theoretically, the "Entropy Gap" caused by noise fundamentally limits traditional compression. FLLIC bridges this gap by denoising at the source. In terms of computational efficiency, FLLIC is highly optimized for modern hardware. On an NVIDIA RTX 4090, it can encode and decode 512×512 images in approximately 120ms, which is nearly ten times faster than complex cascaded pipelines.
Conclusion
FLLIC represents a paradigm shift in high-fidelity image coding. By recognizing that mathematical losslessness is often counterproductive in the presence of sensor noise, FLLIC provides a more practical and efficient path for next-generation imaging systems. It offers a simplified workflow that delivers superior image quality at lower bitrates, meeting the rigorous demands of modern data-intensive applications.
Summary updated