Abstract
Lossless image compression is essential for applications requiring perfect data fidelity, such as medical imaging and archival. While deep learning has advanced lossy compression, lossless methods often struggle with high-frequency details. We introduce LC-FDNet, a framework that employs Adaptive Frequency Decomposition (AFD) to treat low- and high-frequency components as distinct sub-problems. By utilizing a coarse-to-fine architecture, LC-FDNet achieves state-of-the-art compression ratios, outperforming traditional codecs and existing neural models.
Introduction
Lossless compression is fundamentally a task of probability estimation: predicting the next pixel based on previous context. Modern neural networks often apply a uniform predictive strategy across an entire image, which frequently fails in regions of high complexity, such as sharp edges or fine textures. LC-FDNet addresses this by decomposing images into low-frequency (LF) and high-frequency (HF) components, allowing for specialized compression strategies that adapt to local image characteristics.
Methodology
The LC-FDNet pipeline utilizes a "divide and conquer" strategy consisting of several key stages:
- Reversible Color Transform: RGB images are converted to the YUV color space using an integer-reversible transform to prevent data loss.
- Subimage Splitting: Images are partitioned into 12 subimages based on color channel and spatial location (using a 2x2 grid).
- Adaptive Frequency Decomposition (AFD): For each subimage, the model predicts an error variance map. Regions with high variance are classified as HF, while low-variance regions are LF. A dynamic, image-specific threshold ($\tau$) is calculated to optimize this split.
- Coarse-to-Fine Compression:
- Low-Frequency Compressor (LFC): Processes the predictable LF regions first.
- High-Frequency Compressor (HFC): Compresses HF regions using the reconstructed LF data as a strong prior, significantly reducing entropy in complex areas.
Key Insights: Adaptive Thresholding and Frequency Priors
A core innovation of LC-FDNet is its ability to adapt to varying image content. Rather than using a static definition of frequency, the network learns to set an optimal threshold for every image. This ensures efficiency across diverse datasets, from smooth natural scenes to highly detailed technical images. Furthermore, the model demonstrates that LF information serves as a powerful predictor for HF details, effectively lowering the bits-per-pixel (bpp) required for complex textures.
Experimental Results
LC-FDNet was evaluated on benchmark datasets including DIV2K and CLIC.
- Compression Efficiency: On DIV2K, the model achieved 8.17 bpp, a 3.2% improvement over previous state-of-the-art learning-based models and a 3.9% improvement over JPEG-XL.
- Ablation Study: The coarse-to-fine strategy alone contributed a 5.8% performance gain compared to a baseline without frequency separation.
Conclusion and Future Work
LC-FDNet establishes a new state-of-the-art for learned lossless compression by rethinking the treatment of image frequencies. While the model is significantly faster than pixel-wise autoregressive models, inference speed remains a challenge, with arithmetic coding accounting for nearly 90% of processing time. Future research will focus on optimizing entropy coding and reducing model complexity for real-time applications.
Summary updated