TL;DR
ProGIC is a lightweight generative image compression codec that uses Residual Vector Quantization (RVQ) to enable progressive (coarse-to-fine) decoding and rapid image previews from partial bitstreams. By pairing this quantization strategy with a highly optimized, depthwise-separable convolutional backbone, it delivers state-of-the-art perceptual compression performance while running over 10× faster than existing methods on GPUs and operating efficiently on mobile CPUs.
What Problem Does This Paper Address?
Generative Image Compression (GIC) has recently revolutionized the field by using GANs and diffusion models to synthesize realistic details at extremely low bitrates, avoiding the blurry artifacts typical of traditional codecs like JPEG or standard MSE-optimized learned models.
However, current GIC models face two major practical bottlenecks:
- Rigidity under bandwidth constraints: They typically require the entire bitstream to be downloaded before generating an image. In ultra-low bandwidth scenarios, users want a rapid, coarse preview that refines over time (progressive transmission), which current generative codecs do not support.
- Heavy computational costs: Most state-of-the-art GICs rely on massive models with hundreds of millions or even billions of parameters, making real-time deployment on edge devices or CPU-only mobile phones impossible.
ProGIC addresses these challenges by answering a key question: How can we build a flexible, generative image codec optimized for both bandwidth- and compute-limited environments?
Methods
The authors introduce ProGIC (Progressive Generative Image Compression), which relies on three core architectural innovations:
- Residual Vector Quantization (RVQ) in Latent Space: Instead of using a single large codebook or multi-scale architectures, ProGIC models the image latent space as a sum of quantized residual vectors across a sequence of $N$ codebooks. The first codebook captures a coarse base representation, and subsequent codebooks sequentially quantize the remaining residual errors. This naturally produces a progressive bitstream where decoding only the first few stages yields a viable preview that sharpens as more data arrives.
- Lightweight Backbone with Attention: To minimize computational complexity, the encoder and decoder discard heavy residual blocks in favor of depthwise-separable convolutions and compact Feed-Forward Networks (FFNs). To compensate for the reduced spatial aggregation of smaller layers, they inject small attention blocks to capture long-range dependencies at a fraction of the computational cost.
- Stage-Specific Feature Modulation: To optimize the network for progressive decoding, the synthesis transform (decoder) incorporates a feature modulation mechanism. Before the residual connections in the FFNs and convolution blocks, the features are scaled and biased using parameters unique to each progressive stage $i$.
Datasets
The model was trained on the full ImageNet dataset using $256 \times 256$ random crops.
Evaluation was performed across four standard benchmark datasets to demonstrate generalization:
- Kodak (24 images, $768 \times 512$ resolution)
- Tecnick (100 images, $1200 \times 1200$ resolution)
- DIV2K (100 images, ~ $2048 \times 1024$ resolution)
- CLIC 2020 Professional (250 images, up to 2K resolution)
Perceptual quality was primarily measured using LPIPS and DISTS metrics.
Key Insights and Ideas
- RVQ is a Natural Fit for Progressive Images: While RVQ has seen success in discrete speech representation (e.g., SoundStream), this paper elegantly ports it to generative image coding, proving that quantization error decomposition is an efficient way to achieve coarse-to-fine image reconstruction without complex multi-scale networks.
- Entropy Coding is Overkill for RVQ Indices: Surprisingly, the authors discovered that applying range coding to the quantized indices yielded a mere 0.9% bitrate reduction. Because the residual indices show very little statistical redundancy, they can be transmitted directly, eliminating a major computational bottleneck common in learned compression.
- Smart Training Balances Previews and Final Quality: By introducing a weighting hyperparameter $p$ to balance the loss across different stages during training, the authors found a sweet spot ($p=0.5$) that ensures high-quality early previews without degrading the final full-bitstream reconstruction.
Key Results
ProGIC achieves an exceptional trade-off between decoding speed, model size, and perceptual quality.
- Perceptual Quality Gains: On the Kodak dataset, ProGIC achieved bitrate savings of up to 57.57% on DISTS and 58.83% on LPIPS compared to the established MS-ILLM baseline. It also consistently outperformed recent heavy diffusion-based methods like DiffEIC and OSCAR across all datasets.
- Massive Speedups: ProGIC delivers over 10× faster encoding and decoding on GPUs compared to MS-ILLM.
- Compact Footprint: The base ProGIC model requires only 33.11M parameters, while a smaller variant, ProGIC-s, uses just 14.44M parameters. This stands in stark contrast to diffusion codecs like OSCAR (1009.3M) and DiffEIC (1379.5M), which suffered from out-of-memory errors on high-resolution datasets like DIV2K during testing.
- Edge Deployment: On a standard laptop CPU (AMD Ryzen 7840HS), ProGIC-s decodes a $512 \times 512$ image in just 184 ms. On mobile phone CPUs (Snapdragon 870), it achieves feasible decoding times (~3.8 seconds for $512 \times 512$), proving its real-world utility.
Limitations and Future Work
The authors note a fundamental trade-off regarding the number of codebooks ($N$). While increasing $N$ allows the codec to cover a wider bitrate range, it inherently degrades the quality of the intermediate reconstructions (the early previews) at very low bitrates. The paper settles on $N=5$ as a balanced compromise, but future work could explore adaptive codebook selection or dynamic architectures to widen the bitrate range without sacrificing preview fidelity.
Summary updated