TL;DR
This paper proposes a novel hybrid video coding framework that combines the strengths of traditional block-based hybrid coding (discrete optimization) and modern end-to-end learned coding (continuous optimization). By leveraging both approaches, the authors aim to achieve more efficient and refined video compression that avoids local optima, outperforming pure learned methods and achieving comparable performance to HEVC.
What Problem Does This Paper Address?
Video coding is fundamentally an optimization problem: minimizing distortion while constraining the bit rate. Traditional block-based hybrid video coding (like HEVC) tackles this by discretely searching through a vast number of coding modes (e.g., motion estimation, transform types) to find the best option for each block. While this offers many starting points for optimization, the search process can be computationally expensive and may not find the absolute best solution.
On the other hand, end-to-end learned video coding, powered by deep neural networks and gradient descent, offers continuous optimization. This approach is efficient and can achieve refined parameter tuning. However, it typically relies on a single starting point, making it prone to getting stuck in local optima, thus limiting its performance compared to state-of-the-art hybrid codecs. The paper addresses the challenge of bridging this gap by proposing a hybrid approach that combines the discrete search capabilities of traditional methods with the efficient, continuous optimization of deep learning.
Methods
The core contribution is a hybrid optimization framework for video coding. This framework is built upon deep neural networks, enabling continuous optimization, but also incorporates discrete modes to provide multiple starting points.
The proposed method involves two main stages:
- Offline Hybrid Optimization:
- The authors first define a continuous optimization space using deep neural networks for various modules (motion estimation, compensation, transform, entropy coding, etc.).
- This continuous space is then divided into multiple non-overlapping subspaces, each representing a discrete mode.
- Initial parameters for these discrete modes are obtained by optimizing the continuous framework over a large dataset. This provides multiple "discrete starting points" for the subsequent online optimization.
- Online Hybrid Optimization:
- For each frame to be coded, the framework performs continuous numerical optimization (gradient descent) around each of the pre-defined discrete starting points to find local optima.
- Subsequently, a discrete search is performed among these local optima to select the globally best coding mode for the current frame.
- This hybrid approach aims to leverage the efficiency of continuous optimization for local refinement and the global search capability of discrete methods to avoid local minima.
The framework incorporates several novel components, including:
- Multi-mode motion representation: Combining motion vector (MV) mode, temporal merge (TMerge) mode, and temporal scale (TScale) mode to handle diverse motion patterns.
- Variable block partition: Similar to HEVC, allowing for adaptive block sizes.
- Residual skip mode: To efficiently code regions with minimal residual information.
- Adaptive kernel-based motion compensation: Utilizing learned kernels for more accurate prediction.
- Wavelet transform: For residual coding, offering good correspondence between coefficients and pixels for rate-distortion optimization.
- Context-based entropy coding: Employing CNNs to predict probability distributions for efficient bitstream generation.
Datasets
The paper mentions using the SJTU-4k dataset for training. For evaluation, they use HEVC common test sequences, including those from Classes B, C, and D, which are standard benchmarks for video coding research.
Key Insights and Ideas
- Bridging the Discrete-Continuous Gap: The paper convincingly argues that the limitations of both purely discrete (search-based) and purely continuous (gradient-based) optimization in video coding can be overcome by combining them.
- Multiple Starting Points for Refined Optimization: Providing multiple discrete starting points allows the continuous optimization process to explore a wider range of solutions and avoid getting trapped in poor local optima.
- Hybridization for Enhanced Performance: The proposed hybrid approach demonstrates significant improvements over pure end-to-end learned methods and achieves performance comparable to HEVC, suggesting a promising direction for future video coding standards.
- Modularity and Adaptability: The framework's modular design allows for the integration of advanced techniques from both traditional and learned coding paradigms, making it adaptable and extensible.
Key Results
- Comparable to HEVC: The proposed hybrid optimization method achieves comparable performance to the HEVC reference software (HM16.10) in terms of PSNR.
- Outperforms Pure Learned Methods: Compared to pure end-to-end learned video coding methods, the proposed framework shows significant improvements, with BD-rate savings of over 45% compared to HLVC and over 30% compared to FVC.
- Ablation Studies Validate Components: Experiments show that each proposed mode (TScale, MV, VBlock, ResiSkip) contributes to performance improvement, and online gradient-based optimization further reduces BD-rate by an average of 4.1%.
- Mode Selection Insights: The paper provides detailed analysis of mode selection ratios, revealing how different modes are chosen based on QP, resolution, and content, and how these choices contribute to efficiency.
Limitations and Future Work
- Computational Complexity: While the encoder time increases slightly compared to HM, the decoder time increases significantly. The authors attribute this to the extensive mode comparison and network computations. They suggest that custom hardware or optimized CNN inference could further reduce this.
- Mode Coverage: The authors acknowledge that their framework currently uses only a subset of HEVC's advanced modes. Incorporating more modes (e.g., intra mode, multi-type tree partition, affine mode) could further enhance performance.
- Uni-directional Inter-prediction: The paper mentions studying uni-directional inter-prediction for low-delay configurations as a future direction.
- Network Structure Optimization: Finding better network structures for both high compression efficiency and low complexity is an ongoing area for research.
Summary updated