arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.06626cs.LGcs.CV
收藏

掩码向量量化

Masked Vector Quantization

David D. Nguyen, David Leibowitz, Surya Nepal, Salil S. Kanhere

AI总结:

提出掩码向量量化(MVQ)框架,通过多重假设丢弃机制学习掩码配置以增加每个码向量的表示能力,显著降低FID并加速采样,同时识别可迁移的视觉表示。

摘要:

具有离散潜在表示的生成模型最近展示了学习复杂高维数据分布的令人印象深刻的能力。然而,它们的性能依赖于每个实例的长 token 序列和大量的码本条目,导致采样时间长且需要大量计算来拟合分类后验。为了解决这些问题,我们提出了掩码向量量化(Masked Vector Quantization, MVQ)框架,该框架通过一种称为多重假设丢弃(Multiple Hypothese Dropout, MH-Dropout)的随机赢者通吃训练机制学习掩码配置,从而增加每个码向量的表示能力。在 ImageNet 64x64 上,MVQ 在现有向量量化架构中,将每个实例 2 个 token 时的 FID 降低了高达 68%,5 个 token 时降低了 57%。这些改进随着码本条目的减少而扩大,并允许在推理期间将 token 采样速度提高 7 到 45 倍。作为额外的好处,我们发现更小的潜在空间使 MVQ 能够识别可迁移的视觉表示,其中多个表示可以被平滑地组合。

英文摘要:

Generative models with discrete latent representations have recently demonstrated an impressive ability to learn complex high-dimensional data distributions. However, their performance relies on a long sequence of tokens per instance and a large number of codebook entries, resulting in long sampling times and considerable computation to fit the categorical posterior. To address these issues, we propose the Masked Vector Quantization (MVQ) framework which increases the representational capacity of each code vector by learning mask configurations via a stochastic winner-takes-all training regime called Multiple Hypothese Dropout (MH-Dropout). On ImageNet 64$\times$64, MVQ reduces FID in existing vector quantization architectures by up to $68\%$ at 2 tokens per instance and $57\%$ at 5 tokens. These improvements widen as codebook entries is reduced and allows for $7\textit{--}45\times$ speed-up in token sampling during inference. As an additional benefit, we find that smaller latent spaces lead to MVQ identifying transferable visual representations where multiple can be smoothly combined.

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

↑