量化全局自编码器:一种表征视觉数据的整体方法
Quantised Global Autoencoder: A Holistic Approach to Representing Visual Data
AI总结:
针对量化自编码器 token 局限于局部区域的问题,本文提出受谱分解启发的量化全局自编码器,通过学习码本对应的全局基函数并由解码器非线性组合,以高效转置实现视觉数据的全局表征与压缩。
摘要:
在量化自编码器中,图像通常被划分为局部图像块,每个图像块由一个 token 编码。这种表征是冗余的,因为无论某个区域中的视觉信息含量如何,每个区域都会花费相同数量的 token。四叉树等自适应离散化方案被用于为不同大小的图像块分配 token,但这只是改变了一个 token 的影响区域,而该 token 仍然是一个局部描述符。现代架构在自编码器中加入注意力机制,将某种程度的全局信息注入局部 token。尽管存在全局上下文,token 仍与局部图像区域相关联。相比之下,我们的方法受到谱分解的启发,谱分解将输入信号转换为全局频率的叠加。从数据驱动的角度出发,我们在 VQ-VAE 设置中学习与码本条目相对应的自定义基函数。此外,解码器以非线性方式组合这些基函数,超越了谱分解简单的线性叠加。我们可以通过在特征与通道之间进行高效的转置操作来实现这种全局描述,并在压缩任务上展示了我们的性能。
英文摘要:
In quantised autoencoders, images are usually split into local patches, each encoded by one token. This representation is redundant in the sense that the same number of tokens is spend per region, regardless of the visual information content in that region. Adaptive discretisation schemes like quadtrees are applied to allocate tokens for patches with varying sizes, but this just varies the region of influence for a token which nevertheless remains a local descriptor. Modern architectures add an attention mechanism to the autoencoder which infuses some degree of global information into the local tokens. Despite the global context, tokens are still associated with a local image region. In contrast, our method is inspired by spectral decompositions which transform an input signal into a superposition of global frequencies. Taking the data-driven perspective, we learn custom basis functions corresponding to the codebook entries in our VQ-VAE setup. Furthermore, a decoder combines these basis functions in a non-linear fashion, going beyond the simple linear superposition of spectral decompositions. We can achieve this global description with an efficient transpose operation between features and channels and demonstrate our performance on compression.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。