LCCM-VC: Learned Conditional Coding Modes for Video Compression

Hadi Hadizadeh, Ivan V. Bajic

TL;DR

LCCM-VC introduces a novel "Mode Generator" to end-to-end learned video compression, allowing the model to dynamically choose between multiple predictors without extra signaling overhead. By leveraging conditional coding instead of traditional residual coding, it achieves state-of-the-art performance among learned codecs and competes favorably with HEVC (HM 16.22), especially at high bitrates.

What Problem Does This Paper Address?

In traditional video compression (like HEVC or VVC), the encoder chooses from dozens of "coding modes"—different ways to predict a block of pixels—to find the one that uses the fewest bits. In contrast, many early end-to-end learned video codecs relied on a single method: residual coding. They would create one prediction, subtract it from the original frame, and compress the remaining "residual."

Recent research has suggested that conditional coding (modeling the probability of the current frame given a predictor) is theoretically more efficient than residual coding. However, most learned conditional codecs still only use a single predictor. The authors of LCCM-VC set out to bridge this gap by creating a learned framework that can handle multiple candidate predictors (modes) to further drive down the bitrate.

Methods

The core of LCCM-VC is the Mode Generator, which produces two weight maps, $\alpha_t$ and $\beta_t$. These maps allow the system to create a flexible, pixel-wise mixture of predictors.

  1. Motion Coder: Uses PWC-Net to estimate optical flow, which is then compressed and used to create a motion-compensated frame ($\bar{X}_t$).
  2. Mode Generator: A simple CNN that takes the previous reconstructed frame, the motion-compensated frame, and the decoded flow map as inputs. Crucially, it only uses data already available at the decoder, meaning the weight maps $\alpha_t$ and $\beta_t$ can be reconstructed perfectly without sending any extra "mode bits."
  3. Predictor Blending: The map $\beta_t$ blends the previous frame and the motion-compensated frame to create a refined predictor $\tilde{X}_t$.
  4. Conditional Inter-frame Coder: Based on Conditional Augmented Normalizing Flows (CANF), this module codes the current frame $X_t$ conditioned on the blended predictor $\tilde{X}_t$. The map $\alpha_t$ acts as a "gate," allowing the system to skip coding for certain pixels if the prediction is already good enough (similar to a "SKIP" mode in traditional codecs).
The block diagram of the LCCM-VC system, showing the motion coder, mode generator, and inter-frame coder.

Datasets

  • Training: The model was trained on the VIMEO-90K Setuplet dataset, which contains over 91,000 7-frame sequences.
  • Evaluation: Performance was tested on three standard benchmarks:
  • UVG (7 sequences)
    • MCL-JCV (30 sequences)
    • HEVC Class B (5 sequences)
  • Benchmarks: LCCM-VC was compared against x265 (very slow), HEVC Test Model (HM 16.22), and other leading learned codecs like M-LVC, DCVC, and CANF-VC.

Key Insights and Ideas

  • The Entropy Advantage: The authors provide a theoretical justification showing that conditional entropy $H(X|Y)$ is always less than or equal to residual entropy $H(X-Y)$. Furthermore, they show that adding more candidate predictors can only decrease (or keep equal) the conditional entropy, proving that "more modes are better" even in a learned context.
  • Zero-Overhead Signaling: In traditional codecs, telling the decoder which mode was used costs bits. LCCM-VC generates its "modes" (the $\alpha$ and $\beta$ maps) from previously decoded information. This provides the flexibility of multiple modes with zero additional bitrate overhead.
  • High-Bitrate Excellence: The model is particularly effective in high-quality/high-bitrate scenarios. This is a known weak spot for many learned codecs, making LCCM-VC a strong candidate for broadcast and VOD applications.

Key Results

LCCM-VC consistently outperformed other learned codecs across the test sets.

  • MS-SSIM: LCCM-VC achieved the best results overall. On the MCL-JCV dataset, it showed a staggering 49.7% BD-rate reduction compared to the x265 anchor.
  • RGB-PSNR: It outperformed all other learned codecs and was highly competitive with the HEVC reference software (HM 16.22). In fact, on the UVG and MCL-JCV datasets, it beat HM 16.22 at higher bitrates.
  • Comparison to CANF-VC: By adding the mode generator to the existing CANF-VC framework, the authors achieved significant gains, proving that the multi-mode approach is a meaningful upgrade.
Rate-Distortion curves for HEVC Class B, showing LCCM-VC (blue) competing strongly with HM (black) and outperforming other learned methods.

Limitations and Future Work

While LCCM-VC shows that multiple predictors are beneficial, the authors note that the "optimal" way to combine them—multi-conditional coding—requires estimating conditional probabilities in very high-dimensional spaces. This is computationally expensive and was not fully explored in this paper.

Future work could involve more sophisticated mode generation architectures or extending the framework to include even more diverse predictor types (e.g., internal spatial predictors) to further push the boundaries of learned video compression.

Summary updated

BibTeX
@inproceedings{hadizadeh2023lccm,
  author = {Hadi Hadizadeh and Ivan V. Bajic},
  title = {{LCCM-VC: Learned Conditional Coding Modes for Video Compression}},
  booktitle = {Workshops @ ICASSP},
  year = {2023},
  url = {https://openreview.net/forum?id=HRMPwURWbv},
}
Figure