GroupedMixer:一种用于学习型图像压缩的具有分组Token混合器的熵模型
GroupedMixer: An Entropy Model with Group-wise Token-Mixers for Learned Image Compression
AI总结:
本文提出GroupedMixer熵模型,通过空间-通道分组自回归和组内/跨组token-mixer分解全局注意力,并结合上下文缓存优化,在提升学习型图像压缩率失真性能的同时显著加快编码速度。
摘要:
近年来,基于Transformer的熵模型因其在概率分布估计中相比基于卷积的方法具有更优越的长程依赖捕捉能力而受到广泛关注。然而,以往的基于Transformer的熵模型由于逐像素自回归或推理过程中的重复计算,导致编码过程缓慢。在本文中,我们提出了一种新颖的基于Transformer的熵模型,称为GroupedMixer,它比以往的基于Transformer的方法具有更快的编码速度和更好的压缩性能。具体而言,我们的方法建立在分组自回归的基础上,首先沿空间-通道维度将潜变量划分为若干组,然后使用所提出的基于Transformer的熵模型对各组进行熵编码。全局因果自注意力被分解为更高效的分组交互,通过组内token-mixer和跨组token-mixer实现。组内token-mixer整合组内的上下文元素,而跨组token-mixer与先前已解码的组进行交互。两种token-mixer的交替排列实现了全局上下文参考。为了进一步加速网络推理,我们为GroupedMixer引入了上下文缓存优化,该优化缓存跨组token-mixer中的注意力激活值,避免复杂且重复的计算。实验结果表明,所提出的GroupedMixer在快速压缩速度下实现了最先进的率失真性能。
英文摘要:
Transformer-based entropy models have gained prominence in recent years due to their superior ability to capture long-range dependencies in probability distribution estimation compared to convolution-based methods. However, previous transformer-based entropy models suffer from a sluggish coding process due to pixel-wise autoregression or duplicated computation during inference. In this paper, we propose a novel transformer-based entropy model called GroupedMixer, which enjoys both faster coding speed and better compression performance than previous transformer-based methods. Specifically, our approach builds upon group-wise autoregression by first partitioning the latent variables into groups along spatial-channel dimensions, and then entropy coding the groups with the proposed transformer-based entropy model. The global causal self-attention is decomposed into more efficient group-wise interactions, implemented using inner-group and cross-group token-mixers. The inner-group token-mixer incorporates contextual elements within a group while the cross-group token-mixer interacts with previously decoded groups. Alternate arrangement of two token-mixers enables global contextual reference. To further expedite the network inference, we introduce context cache optimization to GroupedMixer, which caches attention activation values in cross-group token-mixers and avoids complex and duplicated computation. Experimental results demonstrate that the proposed GroupedMixer yields the state-of-the-art rate-distortion performance with fast compression speed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。