Interpolation Variable Rate Image Compression

Zhenhong Sun, Zhiyu Tan, Xiuyu Sun, Fangyi Zhang, Yichen Qian, Dongyang Li, Hao Li

TL;DR

Researchers from Alibaba Group have developed the Interpolation Variable-Rate (IVR) network, a single neural image codec that provides ultra-fine bitrate control without the usual performance trade-offs. By introducing a novel "Interpolation Channel Attention" (InterpCA) module, the system can navigate 9,000 distinct bitrates and becomes the first variable-rate learned method to outperform the state-of-the-art traditional standard, VTM 9.0 (VVC intra), in both PSNR and MS-SSIM.

What Problem Does This Paper Address?

In the world of learned image compression, there is a persistent "storage tax." Most high-performance models are "single-rate," meaning if you want to support ten different quality levels (bitrates), you have to train and store ten separate, massive neural networks.

While "variable-rate" models exist to solve this by using a single network for all rates, they typically face two hurdles:

  1. Performance Degradation: They often fail to match the quality of their single-rate counterparts.
  2. Coarse Control: They usually only support a few discrete quality levels. If a user needs a specific bitrate between two levels, the model can't easily provide it.

The authors aim to create a "best of both worlds" scenario: a single model that is as efficient as specialized networks but offers a nearly continuous "slider" for quality control.

Methods

The core innovation is the Interpolation Variable-Rate (IVR) network. Its architecture is built upon the standard autoregressive and hierarchical framework (Minnen et al., 2018) but introduces three key upgrades:

  • Interpolation Channel Attention (InterpCA): This is a lightweight "plug-in" module inserted into the Encoder and Decoder. It uses two hyperparameters: $j$ (to select a coarse rate range) and $\alpha$ (an interpolation factor). By linearly interpolating between learned weights for different Lagrange multipliers ($\lambda$), the module "morphs" the network's behavior to target specific bitrates.
  • Quantization-Based Training: Traditional models often use additive uniform noise during training to simulate quantization. The authors found that replacing this with actual quantization operations for latents reduces the discrepancy between training and inference, leading to more accurate entropy estimation.
  • Unet Post-Network: To further polish the final image, a separable Unet is added at the end of the pipeline. Crucially, this post-processor is shared across all bitrates, keeping the storage footprint low.

Datasets

The authors utilized standard, high-quality benchmarks for training and evaluation:

  • Training: A collection of ~30,000 color PNG images from the CVPR CLIC training dataset and various web sources.
  • Evaluation:
    • Kodak Dataset: 24 lossless images (the gold standard for image compression benchmarks).
  • CLIC Validation Dataset: 102 high-resolution images.
  • Baselines: The model was compared against traditional codecs like BPG (HEVC) and VTM 9.0 (VVC), as well as several state-of-the-art learned compression models.

Key Insights and Ideas

  • Latent Stability: By analyzing the histograms of "latents" (the compressed representation of the image), the authors noticed that while the primary latents change significantly across bitrates, the "hyper-latents" (the metadata used to describe the primary latents) remain remarkably stable. This suggests that the high-level structure of the compression remains consistent even as the bitrate changes.
  • The Power of Interpolation: Instead of forcing the network to learn a single set of weights that works for all rates, InterpCA allows the network to navigate a "parameter space." By interpolating between discrete learned states, the model can achieve bitrates it was never explicitly trained on.
  • Fine-Grained Precision: The IVR network achieves a PSNR interval of just 0.001 dB and a rate interval of 0.0001 Bits-Per-Pixel (BPP). This level of granularity is virtually unheard of in neural compression.

Key Results

  • Beating the Standard: The IVR network is the first variable-rate learned method to outperform VTM 9.0 (the reference software for the VVC/H.266 standard) in both PSNR and MS-SSIM metrics.
  • Efficiency: Compared to the baseline "Minnen" model, the IVR approach saves approximately 13.11% in bit savings.
  • Massive Rate Range: The model supports 9,000 effective variable-rate points. This allows for extremely precise rate control, which is vital for real-world applications where bandwidth might be strictly capped.
  • Visual Quality: Qualitative results show that the IVR method produces fewer artifacts and better texture reconstruction compared to BPG and VTM 9.0 at similar bitrates.

Limitations and Future Work

While the paper demonstrates a major leap in performance, a few areas remain for exploration:

  • Computational Complexity: The addition of the Unet post-network and the autoregressive context model increases the computational load (TFLOPs). While the authors argue the complexity is on par with other state-of-the-art models, it may still be too heavy for real-time use on low-power mobile devices.
  • Decoding Speed: Autoregressive models are notoriously slow to decode because they process pixels/latents sequentially. Future work could involve adapting this interpolation method to "parallel" context models to speed up inference.
  • Subjective Metrics: While PSNR and MS-SSIM are standard, they don't always perfectly align with human perception. Further studies on perceptual loss functions within this variable-rate framework could be beneficial.

Summary updated

BibTeX
@inproceedings{sun2021interpolation,
  author = {Zhenhong Sun and Zhiyu Tan and Xiuyu Sun and Fangyi Zhang and Yichen Qian and Dongyang Li and Hao Li},
  title = {{Interpolation Variable Rate Image Compression}},
  booktitle = {ACM Multimedia},
  year = {2021},
  url = {https://openreview.net/forum?id=Ct98RJmRps},
}

Loading related content...

Figure