arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.01852cs.CVcs.MM
收藏

面向视频压缩的上下文引导Transformer熵建模

Context Guided Transformer Entropy Modeling for Video Compression

Shanghai Jiao Tong University(上海交通大学);Ningbo Key Laboratory of Spatial Intelligence and Digital Derivative(宁波空间智能与数字衍生关键实验室);Institute of Digital Twin(数字孪生研究院)

Junlong Tong, Wei Zhang, Yaohui Jin, Xiaoyu Shen

AI总结:

针对视频压缩中时间上下文引入高计算成本及空间依赖顺序缺乏显式建模的问题,提出Context Guided Transformer (CGT)熵模型,利用时间上下文重采样器与师生网络加权空间上下文,在保证性能的同时将熵建模时间减少约65%并实现11%的BD-Rate降低。

摘要:

条件熵模型有效利用时空上下文来减少视频冗余。然而,引入时间上下文通常会增加模型复杂度并提高计算成本。同时,许多现有的空间上下文模型缺乏对空间依赖顺序的显式建模,这可能限制解码期间相关上下文的可用性。为了解决这些问题,我们提出了Context Guided Transformer (CGT)熵模型,该模型基于重采样的时间上下文和依赖加权的空间上下文来估计当前帧的条件概率质量函数。时间上下文重采样器学习预定义的潜在查询,利用transformer编码器提取关键时间信息,从而降低下游计算开销。同时,设计了一个师生网络作为依赖加权的空间上下文分配器,以显式建模空间上下文顺序的依赖关系。教师网络生成注意力图以表示token重要性,并生成熵图以反映来自随机掩码输入的预测确定性,指导学生网络选择具有最高空间依赖性的加权top-k token。在推理期间,仅使用学生网络基于高依赖性上下文预测未解码的token。实验结果表明,我们的CGT模型将熵建模时间减少了约65%,并与之前最先进的条件熵模型相比实现了11%的BD-Rate降低。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑