TL;DR
This paper introduces B-CANF, a novel framework for learned B-frame video compression that leverages Conditional Augmented Normalizing Flows (CANF). B-CANF achieves state-of-the-art performance by introducing frame-type adaptive coding and a new "B*-frame" concept, which allows for more flexible GOP structures without needing a separate P-frame codec.
What Problem Does This Paper Address?
The field of learned video compression has seen significant progress, primarily focusing on P-frames (predictive frames). However, B-frames (bi-predictive frames), which offer higher compression efficiency by referencing frames both before and after them, remain under-explored and more challenging. Existing B-frame coding methods often rely on residual coding or intra-based motion coding, which can be suboptimal. This paper aims to advance learned B-frame coding by developing a more efficient and flexible framework that can adapt to different B-frame types and GOP structures.
Methods
B-CANF builds upon the Conditional Augmented Normalizing Flows (CANF) architecture. Key novelties include:
- Conditional Augmented Normalizing Flows (CANF): Unlike standard ANF (Augmented Normalizing Flows) which model unconditional image distributions, CANF models conditional distributions of video frames. This is crucial for inter-frame prediction.
- Frame-Type Adaptive Coding: B-CANF dynamically adapts its feature distributions based on the B-frame type (reference B-frame, non-reference B-frame, or B*-frame). This is achieved through "frame-type adaptation (FA) modules" integrated into convolutional layers, which apply channel-wise affine transformations.
- B*-frames: This novel frame type allows B-CANF to mimic P-frame coding. By reusing the B-frame codec and only referencing a past frame, B*-frames offer flexibility in defining Group-of-Pictures (GOP) structures without requiring a separate P-frame codec, thus reducing model complexity.
- Bidirectional Joint Motion Coding: For B-frames, B-CANF jointly codes two optical flow maps (forward and backward) by concatenating them as input to the motion codec, leveraging correlations for better efficiency.
Datasets
- Training: Vimeo-90k dataset (91,701 7-frame sequences) was used for training.
- Evaluation: UVG, MCL-JCV, HEVC Class B, and CLIC'22 datasets were used for evaluation.
Key Insights and Ideas
- B-frames are harder but more rewarding: The paper highlights the under-exploration of B-frame coding and its potential for higher compression efficiency.
- Conditional coding is key for B-frames: Moving beyond residual coding, conditioning on predicted frames is shown to be more effective for B-frame compression.
- Adaptability is crucial: Frame-type adaptive coding is essential for efficient bit allocation among different B-frame types, leading to better overall quality.
- B*-frames simplify GOP structure: The introduction of B*-frames offers a clever way to achieve P-frame-like coding flexibility within a B-frame framework, reducing the need for separate codecs.
- Domain shift is a significant challenge: The discrepancy between training (short sequences) and testing (long GOPs) datasets poses a challenge for learned B-frame codecs, impacting generalization.
Key Results
- B-CANF achieves state-of-the-art compression performance compared to other learned B-frame codecs.
- It shows comparable BD-rate results to HM-16.23 (a standard codec) under the random access configuration in terms of PSNR.
- B*-frames achieve performance similar to using a separate P-frame codec, demonstrating their effectiveness.
- Frame-type adaptive coding significantly improves bit allocation and rate-distortion performance.
- The proposed B-CANF framework has lower buffering requirements and peak memory compared to some other approaches.
Limitations and Future Work
- Domain Shift: The paper acknowledges a performance gap with some state-of-the-art P-frame codecs (Li'22, Sheng'22), attributing it to a domain shift between training (short sequences) and testing (long GOPs). This impacts the generalization of ME-Net, motion prediction, and frame synthesis networks.
- Future Work: The authors suggest addressing the domain shift issue and reducing model complexity as future research directions.
Summary updated