[Paper Review] Autoencoder based image compression: can the learning be quantization independent?
This paper demonstrates that a single deep autoencoder can achieve competitive image compression performance across multiple rate-distortion points by learning a shared transform and quantization step sizes per feature map, eliminating the need to train separate models for each rate. The key contribution is quantization-independent learning, where test-time quantization step sizes vary without performance degradation.
This paper explores the problem of learning transforms for image compression via autoencoders. Usually, the rate-distortion performances of image compression are tuned by varying the quantization step size. In the case of autoen-coders, this in principle would require learning one transform per rate-distortion point at a given quantization step size. Here, we show that comparable performances can be obtained with a unique learned transform. The different rate-distortion points are then reached by varying the quantization step size at test time. This approach saves a lot of training time.
Motivation & Objective
- To investigate whether a single learned autoencoder transform can support multiple rate-distortion points without retraining.
- To determine if explicit learning of quantization step sizes per feature map enables test-time rate adaptation.
- To compare the performance of quantization-independent learning against conventional methods requiring per-rate model training.
- To evaluate whether joint learning of transform and quantization parameters improves compression efficiency.
- To assess if the learned representation maintains performance when tested with quantization step sizes different from those used during training.
Proposed method
- Train a single deep autoencoder with convolutional layers and non-linearities, avoiding fully connected layers to ensure size-invariance.
- Introduce learnable quantization step sizes $\delta_i$ for each of the $m$ feature maps in the latent representation $\mathbf{Y}$, replacing fixed normalization-based bit allocation.
- Formulate the rate-distortion objective as $\min_{\theta, \varphi_e, \varphi_d, \phi} \mathbb{E}[\|\mathbf{X} - \overline{g}_d(\mathcal{Q}(\overline{g}_e(\mathbf{X}; \theta, \varphi_e)); \varphi_d, \phi)\|_F^2 + \gamma \sum_i H_i]$, where $H_i$ is the entropy of the $i$-th feature map.
- Approximate the non-differentiable quantization via a uniform noise injection trick to enable gradient-based optimization.
- Train the autoencoder on 24,000 ImageNet images of size $256 \times 256$, then evaluate on Kodak 24 luminance images using varying test-time quantization step sizes.
- Estimate rate via empirical entropy of quantized coefficients, with lossless coding used to validate rate estimates (difference < 0.04 bpp).
Experimental results
Research questions
- RQ1Can a single learned autoencoder transform achieve competitive rate-distortion performance across multiple bitrates without retraining?
- RQ2Does explicitly learning quantization step sizes per feature map enable effective rate adaptation at test time?
- RQ3How does the performance of joint transform and quantization learning compare to conventional methods with fixed quantization during training?
- RQ4Is the learned latent representation robust to quantization step size variations during inference?
- RQ5Can the model outperform standard codecs like JPEG2000 and H.265 in rate-distortion performance with a single model?
Key findings
- A single autoencoder trained with learnable quantization step sizes per feature map achieves rate-distortion performance comparable to training one model per rate-distortion point.
- The performance of the quantization-independent model is nearly identical to that of a model using learned normalizations with fixed quantization step size (1.0), despite using only 128 parameters for quantization vs. 33,024 for normalization.
- The learned latent representation exhibits a linear relationship between quantization step size and rate, with entropy scaling predictably across feature maps.
- The model outperforms JPEG2000 across all tested rates, demonstrating superior rate-distortion efficiency.
- Test-time rate adaptation using different quantization step sizes (from $\beta = 1.0$ to $10.0$) yields consistent performance, confirming robustness to quantization variation.
- The difference between estimated and actual rate via lossless coding is less than 0.04 bpp, validating the accuracy of the entropy-based rate estimation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.