Abstract
This paper presents a novel neural image compression framework that integrates a multi-scale lossy autoencoder with a parallelized lossless entropy coder. By extracting and quantizing features across multiple spatial resolutions and exploiting conditional independence for accelerated coding, the proposed architecture achieves state-of-the-art rate-distortion performance. Notably, the system maintains practical operational speeds, encoding standard-resolution images in approximately 70ms.
Introduction
Traditional image compression standards, such as JPEG, rely on hand-engineered linear transformations like the Discrete Cosine Transform (DCT). While robust, these methods often suffer from significant quality degradation at low bitrates, manifesting as "blocky" artifacts due to a lack of adaptation to the complex, multi-scale structures inherent in natural images.
Recent advancements in Convolutional Neural Networks (CNNs) have demonstrated that learned transformations can outperform traditional codecs. However, two primary challenges persist: the "bottleneck problem," where quantizing only the deepest layer loses fine-grained spatial detail, and the "speed problem," where high-performance autoregressive lossless components (e.g., PixelRNN) are too slow for real-time use due to sequential pixel processing.
Methodology
The proposed framework addresses these challenges through a dual-component architecture:
Multi-scale Lossy Autoencoder
Instead of a single bottleneck, the architecture utilizes connections at four distinct depths. The encoder (analyzer) extracts features at multiple scales, each of which is quantized and passed to the decoder (synthesizer). This multi-resolution approach allows the model to capture global structures at coarse scales while preserving local details, such as sharp edges, at finer scales.
Parallel Multi-scale Lossless Coder
To convert quantized features into a bitstream efficiently, the authors employ a modified PixelCNN. By assuming conditional independence between spatially distant pixels, the model can process groups of pixels in parallel. This significantly reduces computation time compared to sequential models without compromising compression efficiency.
Differentiable Quantization
To overcome the non-differentiable nature of rounding during training, a "soft" quantization function (a sine-based approximation) is used during the backward pass. This allows gradient flow for backpropagation while maintaining standard "hard" rounding during the forward pass.
Experimental Results
The model was trained on a subset of 95,000 high-resolution images from the Yahoo Flickr Creative Commons 100M (YFCC100M) dataset and evaluated on the Kodak and RAISE-1k benchmarks.
Rate-Distortion Performance
The proposed method achieved superior performance compared to JPEG, WebP, and BPG. It matched or exceeded the performance of contemporary state-of-the-art neural models across a wide range of bitrates.
Speed and Visual Quality
On a single GPU, the model encodes a 768 × 512 image in 70 ms and decodes it in approximately 200 ms. Visually, at extremely low bitrates (~0.05 bpp), the method maintains recognizable structures and textures where traditional codecs like JPEG and WebP exhibit severe artifacting.
Discussion and Conclusion
While the framework demonstrates significant improvements in speed and quality, several areas for future work remain. The current implementation optimizes the autoencoder and lossless coder separately; joint optimization could potentially yield even better rate-distortion trade-offs. Additionally, while 200ms decoding is fast for a neural network, it remains slower than highly optimized traditional formats. The reliance on GPU acceleration also suggests that CPU-based performance may be a bottleneck for broader deployment.
In conclusion, this multi-scale approach effectively bridges the gap between high-quality learned compression and practical execution speeds, offering a viable path forward for neural image codecs.
Summary updated