MMVC: Learned Multi-Mode Video Compression with Block-based Prediction Mode Selection and Density-Adaptive Entropy Coding

Bowen Liu, Yu Chen, Rakesh Chowdary Machineni, Shiyu Liu, Hun-Seok KimCVPR 2023 · DOI

Introduction

MMVC (Multi-Mode Video Compression) is a novel deep-learning framework that brings the "macroblock" logic of traditional codecs into the neural domain. By dynamically selecting the best prediction mode for individual blocks and using a density-adaptive entropy coding scheme, it significantly outperforms HEVC and achieves results competitive with the latest VVC standard.

Traditional video codecs like H.264 and H.265 rely on partitioning frames into blocks (macroblocks) and choosing the best prediction strategy for each. In contrast, many recent deep-learning-based video compression models adopt a "one-size-fits-all" approach, using a single neural network to predict subsequent frames. This often fails to account for the diverse nature of video content—ranging from static backgrounds to complex, high-motion sequences.

Furthermore, the "residuals" (the difference between the predicted and actual frames) produced by these models vary significantly in density. Standard entropy coding often fails to exploit the extreme sparsity found in certain regions, leading to inefficient bit allocation. MMVC addresses these challenges by introducing block-level flexibility and adaptive coding.

Methods

The MMVC framework is built around two primary innovations: Multi-Mode Feature Prediction and Density-Adaptive Entropy Coding.

Architecture of the MMVC framework showing the Feature Prediction and Entropy Coding modules.

1. Block-wise Mode Selection

Instead of applying a uniform prediction strategy across the entire frame, MMVC partitions the feature space into blocks and selects the optimal mode for each:

  • Skip Mode (S): Designed for static areas, this mode reuses data from the previous frame, requiring minimal bits.
  • Feature Prediction (FP): Utilizes a ConvLSTM to capture general temporal correlations within the video sequence.
  • Optical Flow Conditioned (OFC): Employs optical flow to warp previous frames, providing the prediction network with a spatial "hint" to improve accuracy in scenes with motion.
  • Feature Propagation (FPG): Directly copies the previous feature block when changes are detected but neural prediction is deemed inefficient.

2. Density-Adaptive Entropy Coding

Residuals are not uniformly dense across a frame. MMVC implements a dual-path entropy coder to optimize for this:

  • Sparse Path: Employs run-length coding for non-zero positions, which is significantly more efficient for blocks where residuals are mostly zero.
  • Dense Path: Uses a learned entropy model or standard arithmetic coding for regions with higher information density. A binary "density map" is transmitted to the decoder to indicate which path was used for each block.

3. Adaptive Channel Removal

To further optimize the bitrate, MMVC evaluates the importance of individual feature channels. It selectively prunes less critical channels, provided the reconstruction quality (measured by PSNR) remains within acceptable limits.

Datasets and Evaluation

The model was trained on a large-scale dataset comprising Vimeo-90k, Kinetics, and UGC (User Generated Content). Performance was evaluated using industry-standard benchmarks: UVG (Ultra Video Group), MCL-JCV, and HEVC Class B, representing a wide variety of resolutions and content types.

Key Insights

  • The "Macroblock" Revival: MMVC demonstrates that the block-based logic of traditional codecs remains highly relevant in the deep learning era. By moving mode selection into the feature domain, the model achieves a hybrid approach that leverages the strengths of both neural and traditional methods.
  • Sparsity as a Signal: Explicitly handling sparse residuals allows for significant bitrate reductions that outweigh the overhead of transmitting a density map.
  • Mode Complementarity: Ablation studies indicate that FP and OFC modes are complementary; FP handles generic textures effectively, while OFC is superior at tracking specific objects across frames.

Key Results

MMVC shows substantial quantitative and qualitative improvements over existing standards:

  • Bitrate Savings: Compared to VVC in low-delay P mode, MMVC achieved BD-Bitrate savings of 16.73% on MCL-JCV and 28.28% on HEVC Class B.
  • Visual Quality: MMVC preserves finer textures and exhibits fewer artifacts than HEVC, particularly at low bitrates.
Visual result of MMVC at 0.06bpp, demonstrating high-quality reconstruction of complex textures.
  • Efficiency Gains: The multi-mode ensemble, including the "Skip" mode, resulted in a 44.5% bitrate saving on the UVG dataset compared to a single-mode baseline.

Conclusion and Future Work

While MMVC is highly effective, the requirement to evaluate multiple prediction modes increases encoding complexity. Future work could explore extending this logic to B-frames (bi-directional prediction) and optimizing for real-time inference on mobile devices.

Summary updated

BibTeX
@inproceedings{liu2023mmvc,
  author = {Bowen Liu and Yu Chen and Rakesh Chowdary Machineni and Shiyu Liu and Hun-Seok Kim},
  title = {{MMVC: Learned Multi-Mode Video Compression with Block-based Prediction Mode Selection and Density-Adaptive Entropy Coding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01773},
}
Figure