Introduction
In the rapidly evolving field of Learned Image Compression (LIC), the standard pipeline typically involves transforming an image into latent representations, quantizing those latents, and finally applying entropy coding (such as Huffman coding or rANS) to compress them into a compact bitstream. While highly effective at reducing file sizes, entropy coding introduces a significant structural flaw: it is inherently sequential.
Because each symbol depends on the previous ones to be decoded, entropy coding is notoriously difficult to parallelize. Consequently, while the neural network components of a codec execute at lightning speed on a GPU, the entropy coding step often sits on the CPU, creating a massive latency bottleneck. Previous attempts to bypass entropy coding usually resulted in a severe "compression penalty," forcing a trade-off between speed and file size. To resolve this, researchers have introduced Entropy-Coding Free Learned Image Compression (EF-LIC), a framework that proves it is possible to achieve both high-speed, GPU-native execution and top-tier compression efficiency.
The EF-LIC Framework
The core innovation of EF-LIC lies in shifting the burden of compression from the backend (entropy coding) directly into the latent space itself. Entropy coding traditionally handles two types of redundancy, which EF-LIC addresses through novel architectural designs:
1. Eliminating Statistical Redundancy via Unconstrained VQ
Typical latents have non-uniform distributions, meaning some values appear more frequently than others. EF-LIC employs unconstrained Vector Quantization (VQ) to address this. The authors provide a theoretical proof demonstrating that as a VQ-based model is optimized for distortion, the distribution of its indices naturally approaches maximum entropy (uniformity). Because the indices become statistically uniform by design, the need for an entropy coder to "squeeze" them further is eliminated.
2. Eliminating Correlation Redundancy via Representation-Domain Decorrelation
Latents are often spatially dependent; for instance, neighboring pixels in a blue sky are highly correlated. Instead of relying on a context model to predict probabilities for an entropy coder, EF-LIC introduces Representation-Domain Decorrelation (RD). This technique utilizes a context-conditioned autoregressive transform to directly reparameterize the latents into a low-correlation space via affine projections.
Furthermore, to support multiple bitrates within a single model, EF-LIC utilizes Residual Vector Quantization (RVQ). This allows users to dynamically select their desired quality level at inference time simply by choosing how many codebooks to utilize.
Key Advantages
By forcing the network to learn a representation that is already statistically uniform and spatially independent, the final "coding" step becomes a simple, highly parallelizable bit-packing operation. This yields several major architectural benefits:
- GPU-Native Portability: By removing the complex CPU-side branching logic required by traditional entropy coders, the entire EF-LIC codec can be exported as a single, unified computation graph (e.g., ONNX or TorchScript). This drastically simplifies deployment on mobile devices and embedded systems.
- Numerical Robustness: Entropy-coded systems are notoriously fragile. A minuscule floating-point discrepancy between an encoder on an NVIDIA GPU and a decoder on a smartphone can desynchronize the bitstream, leading to total decoding failure. EF-LIC transmits fixed-length indices, making it inherently robust for cross-platform use.
Experimental Results
The model was trained on the ImageNet dataset and evaluated across four standard benchmarks: Kodak, Tecnick, DIV2K, and CLIC 2020 Professional.
- Compression Efficiency: On the Kodak dataset, EF-LIC achieved up to a 67.86% bitrate reduction over MS-ILLM (a popular generative codec) when measured by the perceptual metric LPIPS.
- Speed and Latency: Compared to MS-ILLM, EF-LIC is over 9× faster at encoding and 10× faster at decoding. At 4K resolution, the decoding speed advantage scales to nearly 15×.
- Ablation Performance: When compared against a variant of itself that does use entropy coding, EF-LIC matched the compression performance while achieving over 3× faster encoding and 5× faster decoding. This proves that the proposed decorrelation transform is just as effective as traditional probability-based context modeling.
Limitations and Future Work
While EF-LIC represents a significant breakthrough for speed and perceptual quality, the authors acknowledge a few areas for future refinement:
- PSNR Performance: Like many generative and perceptual codecs, EF-LIC is optimized for human visual perception (LPIPS) rather than mathematical pixel-perfect identity. Consequently, it is less competitive when measured by traditional pixel-wise metrics like PSNR.
- Manual Codebook Design: The codebook sizes for the VQ layers are currently hand-designed. Automating this selection process could yield further optimizations.
- RVQ Latency: Although vastly faster than entropy coding, the Residual Vector Quantization step still carries a non-negligible runtime that could benefit from dedicated hardware-level implementation.
Ultimately, EF-LIC successfully demonstrates that learned image compression can entirely bypass the sequential bottleneck of entropy coding, paving the way for ultra-fast, robust, and highly portable neural codecs.
Summary updated