基于随机Hessian估计的全参考图像质量指标率失真优化
研究论文 · 2026/09/25
基于块的视频编解码器通过优化率失真权衡来选择编码参数。传统的失真选择,即误差平方和(SSE),简化了参数选择:SSE是块级SSE之和,因此率失真优化(RDO)可以独立处理块。然而,全参考图像质量评估(FR-IQA)指标如MS-SSIM或LPIPS通常比SSE更符合人类视觉系统,但无法在环路中使用:它们不能按块分解,并且通常需要完全解码的图像作为输入。基于度量二次化的现有结果,我们通过输入依赖的二次失真(IDQD)来近似一大类FR-IQA指标,其二次型矩阵由在源视频上评估的度量的Hessian导出。为了使失真可按块计算,我们提出了Hessian矩阵的两种近似:1)保留块对角,2)仅保留其对角。我们为两者提出了估计器,仅需通过自动微分获得的Hessian进行矩阵-向量乘积。在VVC中针对Kodak和CLIC的五个指标上,IDQD-RDO在目标指标下实现了14.2-36.7%的BD-rate节省,无需解码器更改,并带来10-30%的编码复杂度开销。
该研究解决了在视频编码中直接使用符合人类视觉系统的全参考图像质量指标进行率失真优化的难题,通过创新的二次失真近似和Hessian估计方法,在保持解码器不变的情况下显著提升编码效率,为实际视频编码系统提供了可行的改进方案。
Block-based video codecs select coding parameters based on the input by optimizing a rate-distortion trade-off. The conventional distortion choice, the sum of squared errors (SSE), simplifies parameter selection: the SSE is the sum of block-wise SSEs, so rate-distortion optimization (RDO) can treat blocks independently. Alternatively, full-reference image quality assessment (FR-IQA) metrics such as MS-SSIM or LPIPS often align better with the human visual system than SSE, but they cannot be used in-loop: they do not decompose block-wise and typically require the fully decoded image as input. Building on existing results in metric quadratization, we approximate a broad class of FR-IQA metrics by an input-dependent quadratic distortion (IDQD), whose quadratic form matrix is derived from the Hessian of the metric evaluated at the source video. To make the distortion computable block-wise, we propose two approximations of the Hessian matrix: 1) keeping the block-diagonal, and 2) keeping only its diagonal. We propose estimators for both that require only matrix-vector products with the Hessian obtained by automatic differentiation. Across five metrics for Kodak and CLIC in VVC, IDQD-RDO achieves 14.2-36.7 % BD-rate savings under the target metric with no decoder changes and incurs 10-30 % encoding complexity overhead.