arXiv:2508.01852cs.CVcs.MM2025-08ICCV被引 4

用轻量变压器提升视频压缩熵建模效率与精度

Context Guided Transformer Entropy Modeling for Video Compression

  • 引入时空上下文引导的变压器结构,降低计算开销
  • 熵建模时间减少65%,编码率降低11%(BD-Rate)
  • 适合需要高效视频压缩的工业应用

条件熵模型能有效利用时空上下文减少视频冗余,但引入时序上下文常增加模型复杂度和计算成本。现有空间上下文模型缺乏对空间依赖顺序的显式建模,可能影响解码时相关上下文的获取。为此,我们提出上下文引导变压器(CGT)熵模型,通过重采样的时序上下文和依赖加权的空间上下文来估计当前帧的概率质量函数。时序上下文重采样器使用变压器编码器学习预定义的潜在查询,提取关键时序信息,降低下游计算负担。同时,采用师生网络作为依赖加权空间上下文分配器,显式建模空间依赖顺序:教师从随机掩码输入生成注意力图与熵图,指导学生选择依赖度最高的前k个令牌。推理时仅使用学生模型,基于高依赖上下文预测未解码令牌。实验表明,本模型将熵建模时间减少约65%,相比之前最优条件熵模型实现11%的BD-Rate降低。

原文摘要 · Abstract (English)

Conditional entropy models effectively leverage spatio-temporal contexts to reduce video redundancy. However, incorporating temporal context often introduces additional model complexity and increases computational cost. In parallel, many existing spatial context models lack explicit modeling the ordering of spatial dependencies, which may limit the availability of relevant context during decoding. To address these issues, we propose the Context Guided Transformer (CGT) entropy model, which estimates probability mass functions of the current frame conditioned on resampled temporal context and dependency-weighted spatial context. A temporal context resampler learns predefined latent queries to extract critical temporal information using transformer encoders, reducing downstream computational overhead. Meanwhile, a teacher-student network is designed as dependency-weighted spatial context assigner to explicitly model the dependency of spatial context order. The teacher generates an attention map to represent token importance and an entropy map to reflect prediction certainty from randomly masked inputs, guiding the student to select the weighted top-k tokens with the highest spatial dependency. During inference, only the student is used to predict undecoded tokens based on high-dependency context. Experimental results demonstrate that our CGT model reduces entropy modeling time by approximately 65% and achieves an 11% BD-Rate reduction compared to the previous state-of-the-art conditional entropy model.

视频压缩熵建模变压器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。