Multi-rate adaptive transform coding for video compression

Lyndon Duong, Bohan Li, Cheng Chen, Jingning HanICASSP 2022

Abstract

Contemporary lossy image and video coding standards rely on transform coding, the process through which pixels are mapped to an alternative representation to facilitate efficient data compression. Despite impressive performance of end-to-end optimized compression with deep neural networks, the high computational and space demands of these models has prevented them from superseding the relatively simple transform coding found in conventional video codecs. In this study, we propose learned transforms and entropy coding that may either serve as (non)linear drop-in replacements, or enhancements for linear transforms in existing codecs. These transforms can be multi-rate, allowing a single model to operate along the entire rate-distortion curve. To demonstrate the utility of our framework, we augmented the DCT with learned quantization matrices and adaptive entropy coding to compress intra-frame AV1 block prediction residuals. We report substantial BD-rate and perceptual quality improvements over more complex nonlinear transforms at a fraction of the computational cost.

Introduction

Video compression faces a "complexity wall" between classical codecs and emerging neural codecs. Classical codecs like AV1 are computationally efficient but rely on static, hand-engineered linear transforms. Conversely, neural codecs achieve superior compression ratios using deep learning but typically require separate, massive models for every point on the rate-distortion (R-D) curve, leading to prohibitive memory and storage requirements. This research introduces a multi-rate machine learning framework designed to bridge this gap by providing high-performance compression with a low computational footprint and a single unified model.

Methods: Multi-rate Adaptive Framework

The proposed framework introduces a generalized multi-rate transform and entropy coding architecture. The core innovation lies in the separation of parameters into two categories:

  1. $\lambda$-independent parameters: A base model (e.g., standard DCT or a base neural network) that remains constant across all bitrates.
  2. $\lambda$-dependent parameters: A small set of adaptive parameters that fine-tune the model for specific rate-distortion tradeoffs ($\lambda$). In linear implementations, these function as learned quantization matrices.
Architecture of the multi-rate adaptive transform coding framework.

The architecture also incorporates a forward-adaptive hyperprior. Unlike the serial entropy coding in AV1, this hyperprior network provides side-channel information that allows the decoder to predict data probability distributions, enabling efficient and parallelizable arithmetic coding. By interpolating the $\lambda$-dependent parameters, a single trained model can operate continuously at any point along the R-D curve.

Experimental Setup

The framework was evaluated using luma-channel intra-frame block prediction residuals extracted from the AOM Video Model (AVM) codec, following the AV2 Common Test Conditions (CTC). Training was conducted on the a3 (720p) and a4 (360p) datasets, with testing performed on the a2 (1080p) dataset.

Results and Discussion

The "DCT-hyper" model, which augments the standard DCT with a learned hyperprior, demonstrated significant gains in compression efficiency.

Rate-Distortion curves (PSNR vs. Rate) comparing the proposed DCT-hyper model against factorized baselines.

Key findings include:

  • Compression Efficiency: The DCT-hyper model achieved a 39.3% reduction in BD-rate compared to a standard DCT baseline.
  • Superiority over Nonlinear Models: Surprisingly, the augmented linear transform outperformed a more complex nonlinear convolutional autoencoder (AE-factorized) by 22.8%.
  • Computational Efficiency: The learned linear transforms require approximately 600 FLOPs per pixel, significantly lower than the 10,000+ FLOPs typical of fully nonlinear neural codecs.
  • Perceptual Quality: Evaluation using the SSIM metric showed a 36.4% improvement over the baseline, indicating better preservation of visual structures.

Conclusion

This work demonstrates that augmenting standard transforms like the DCT with adaptive, learned components can yield substantial compression gains while maintaining computational feasibility. The multi-rate capability allows for a single, compact model to replace multiple bitrate-specific models. Future research will focus on extending this framework to inter-frame residuals and further optimizing for real-time hardware implementation.

Summary updated

BibTeX
@inproceedings{duong2022multi,
  author = {Lyndon Duong and Bohan Li and Cheng Chen and Jingning Han},
  title = {{Multi-rate adaptive transform coding for video compression}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
}
Figure