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

正则化向量量化用于令牌化图像合成

Regularized Vector Quantization for Tokenized Image Synthesis

Nanyang Technological University(南洋理工大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Jiahui Zhang, Fangneng Zhan, Christian Theobalt, Shijian Lu

AI总结:

本文提出正则化向量量化框架,通过先验分布正则化和随机掩码正则化解决码本崩溃、利用率低及推理不对齐问题,并引入概率对比损失,在自回归和扩散模型中持续优于现有方法。

摘要:

将图像量化为离散表示一直是统一生成建模中的一个基本问题。主流方法要么通过选择最佳匹配令牌以确定性方式学习离散表示,要么通过从预测分布中采样以随机方式学习离散表示。然而,确定性量化存在严重的码本崩溃以及与推理阶段的不对齐问题,而随机量化则存在码本利用率低和重建目标受扰动的问题。本文提出了一种正则化向量量化框架,通过从两个角度应用正则化来有效缓解上述问题。第一种是先验分布正则化,它度量先验令牌分布与预测令牌分布之间的差异,以避免码本崩溃和码本利用率低的问题。第二种是随机掩码正则化,它在量化过程中引入随机性,以在推理阶段不对齐和未受扰动的重建目标之间取得良好平衡。此外,我们设计了一种概率对比损失,作为校准度量,以进一步缓解受扰动的重建目标。大量实验表明,所提出的量化框架在包括自回归模型和扩散模型在内的不同生成模型中,持续优于主流的向量量化方法。

英文摘要:

Quantizing images into discrete representations has been a fundamental problem in unified generative modeling. Predominant approaches learn the discrete representation either in a deterministic manner by selecting the best-matching token or in a stochastic manner by sampling from a predicted distribution. However, deterministic quantization suffers from severe codebook collapse and misalignment with inference stage while stochastic quantization suffers from low codebook utilization and perturbed reconstruction objective. This paper presents a regularized vector quantization framework that allows to mitigate above issues effectively by applying regularization from two perspectives. The first is a prior distribution regularization which measures the discrepancy between a prior token distribution and the predicted token distribution to avoid codebook collapse and low codebook utilization. The second is a stochastic mask regularization that introduces stochasticity during quantization to strike a good balance between inference stage misalignment and unperturbed reconstruction objective. In addition, we design a probabilistic contrastive loss which serves as a calibrated metric to further mitigate the perturbed reconstruction objective. Extensive experiments show that the proposed quantization framework outperforms prevailing vector quantization methods consistently across different generative models including auto-regressive models and diffusion models.

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

↑