Abstract
Progressive image compression allows a single bitstream to be truncated at any point to achieve varying bitrates, a feature essential for bandwidth-constrained applications. However, modern deep-learning-based codecs often struggle to implement effective context models within a progressive framework. This paper introduces Context-based Trit-plane Coding (CTC), which utilizes two novel modules—Context-based Rate Reduction (CRR) and Context-based Distortion Reduction (CDR)—to bridge this gap. CTC achieves a 14.84% bitrate saving over previous state-of-the-art progressive methods while maintaining high computational efficiency.
Introduction
In the world of image compression, "progressive" means an image can be viewed almost immediately in a blurry state and then sharpened as more data arrives. While traditional codecs like JPEG2000 support this, most high-performance neural codecs are "fixed-rate," requiring separate models or bitstreams for different quality levels.
Recent progressive neural codecs have utilized trit-plane coding, where latent variables are represented in base-3 (ternary). However, these models typically lack the powerful context models that drive efficiency in non-progressive codecs. The challenge lies in the fact that during progressive decoding, full spatial context (neighboring pixels) is unavailable at intermediate steps, making traditional autoregressive models impossible to use. CTC overcomes this by exploiting "significance context"—using already decoded, more significant planes to predict the details of less significant ones.
Methodology
The proposed CTC framework addresses the context gap through three primary innovations integrated into a parallelized architecture:
- Context-based Rate Reduction (CRR): This module acts as a ternary classifier. Before entropy encoding a trit-plane, CRR analyzes previously decoded planes and global entropy parameters to predict trit probabilities more accurately. By "sharpening" these estimates, it reduces the total bits required.
- Context-based Distortion Reduction (CDR): Operating after decoding, CDR refines partially reconstructed latent tensors by regressing residual noise. This "cleans up" the data before it is passed to the final image decoder.
- Decoder Retraining: The authors introduced a retraining scheme where the decoder is specifically taught to reconstruct high-quality images from the refined, partial latent tensors produced by CDR across various significance levels.
Results and Discussion
Evaluated on standard benchmarks including the Kodak, CLIC, and JPEG-AI datasets, CTC demonstrates a significant leap in performance. It achieves a -14.84% BD-rate reduction on the Kodak dataset compared to the previous state-of-the-art progressive baseline. Remarkably, this progressive codec matches or exceeds the performance of several fixed-rate codecs that do not offer bitstream truncation.
Qualitatively, CTC produces much sharper edges and superior texture preservation in complex regions compared to traditional progressive methods. Despite the added complexity of the CRR and CDR modules, the decoding time remains practical, increasing only marginally from 1.40s to 1.55s on the Kodak dataset due to the parallel nature of the convolutional context modules.
Conclusion
CTC represents a major advancement in progressive image compression, successfully integrating context modeling into a trit-plane framework. By leveraging significance context rather than just spatial context, it achieves state-of-the-art bitrate savings without the heavy computational penalty of serial autoregressive models. Future work may extend this approach to video compression or more complex latent representations beyond ternary planes.
Summary updated