TL;DR
This paper introduces a fast Coding Unit (CU) partition algorithm for Versatile Video Coding (VVC) intra coding that drastically reduces encoding complexity without relying on heavy machine learning models. By analyzing the gradient and content differences between potential sub-blocks, the algorithm intelligently skips unnecessary horizontal and vertical partition modes, slashing encoding time by over 41% on average with a negligible impact on video quality.
What Problem Does This Paper Address?
Versatile Video Coding (VVC) offers massive compression gains over its predecessor, HEVC, but at a steep computational cost. A major bottleneck is the Quadtree with nested Multi-type Tree (QTMT) structure. While HEVC only allowed square quadtree splits, VVC introduces binary (BT) and ternary (TT) tree splits in both horizontal and vertical directions.
This flexibility allows the encoder to perfectly match the block shapes to the actual textures in a video frame. However, finding the optimal partition requires calculating the Rate-Distortion (R-D) cost for every single combination—a brute-force approach that dramatically increases encoding time. While recent learning-based solutions (using CNNs or SVMs) try to predict these splits, they suffer from heavy training workloads and depend heavily on classifier accuracy. The authors address this by designing a lightweight, deterministic, non-learning-based approach to quickly prune the partition search space.
Methods
The authors propose a fast CU partition scheme based on cross-block differences. Instead of evaluating the R-D cost for every split, the algorithm looks at the characteristics of the potential sub-blocks resulting from a split to see if they are actually different from one another.
The core technique relies on two metrics:
-
Gradient Difference: Using the Sobel operator, the algorithm calculates average gradients in four directions (horizontal, vertical, diagonal, and anti-diagonal). The cross-block difference is defined as the ratio of the maximum and minimum gradients between sub-blocks: $$M(p_1, p_2) = \frac{\max(p_1, p_2)}{\min(p_1, p_2)}$$ If the sub-blocks have very similar gradients ($M \approx 1$), the split is deemed redundant and skipped.
-
Content Difference: For binary tree splits, if the gradient differences are large, the algorithm further checks the content difference based on mean pixel intensity variance. If the contents are highly similar, the split is skipped.
For the computationally heavier Ternary Tree (TT) splits, the authors use a relaxed threshold-based approach focusing on the most relevant gradient directions (e.g., vertical gradients for horizontal splits) to aggressively skip unnecessary TT modes.
The binary tree decision flow is formalized in the paper's decision framework:
Datasets
The algorithm was evaluated using standard JVET test video sequences across Classes A1, A2, B, C, D, and E (including sequences like Campfire, ParkScene, RaceHorses, and FourPeople). To ensure a comprehensive evaluation, 100 frames of each sequence were compressed under the All-Intra (AI) configuration across four Quantization Parameters (QPs: 22, 27, 32, 37).
Key Insights and Ideas
- Texture Homogeneity as a Shortcut: Smooth, homogeneous regions don't benefit from complex multi-type tree splits. By defining a simple ratio metric, the authors quantify "difference" in a way that directly maps to whether a split adds actual coding value.
- Directional Gradient Relevance: The authors discovered that specific split types are highly sensitive to specific gradient directions. For instance, Ternary Tree Horizontal Splitting (THS) shows the most significant difference when analyzing vertical gradients. This allowed them to ignore other directional gradients for TT decisions, saving valuable compute cycles.
- Ditching the AI Overhead: Unlike recent trends utilizing heavy deep learning frameworks that require massive offline training and hardware overhead, this method relies entirely on pixel-level mathematical operations (Sobel filters and averages), making it highly practical for real-world, real-time encoders.
Key Results
- Time Savings: The proposed method saves an average of 41.64% of encoding time when integrated into the VVC reference software (VTM-9.3).
- Coding Efficiency: This massive speedup comes at a tiny cost to compression efficiency, with an average Bjontegaard Delta Rate (BD-rate) increase of only 0.97%.
- Comparison with State-of-the-Art: Tested against a prominent learning-based method (ADSD) on VTM-5.0, the proposed method achieved higher time savings (37.13% vs. 33.41%) while maintaining a lower BD-rate increase (0.96% vs. 0.99%), proving that handcrafted statistical methods can still outperform machine learning in this domain.
Limitations and Future Work
The authors do not explicitly detail limitations, but a clear challenge is that the thresholds ($T_1, T_2, T_3$) used to determine whether to skip a split are empirically derived constants. While they demonstrate excellent robustness across different versions of the VVC test model (VTM-5.0 and VTM-9.3), these thresholds might need manual recalibration for radically different video characteristics or future encoder updates.
Future work could explore adaptive thresholding techniques that automatically adjust to varying video content dynamically during encoding.
Summary updated