arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06870cs.LG
收藏

先连续后离散:无需维度坍缩的VQ-VAE

Continuous First, Discrete Later: VQ-VAEs Without Dimensional Collapse

MIT(麻省理工学院);University of Pennsylvania(宾夕法尼亚大学);Google(谷歌)

Xinyu Zhao, Nikita Karagodin, Hamed Hassani, Sinan Hersek, Paul Pu Liang, Yury Polyanskiy

AI总结:

本文探讨了VQ-VAE中维度坍缩问题,提出通过预训练无量化自编码器缓解该问题,提升表示维度和重建质量。

摘要:

尽管许多改进VQ-VAE性能的方法关注代码表大小和利用率,但维度坍缩——即训练的VQ-VAE表示生活在极低维子空间(1-2%的全秩)——仍未被解决。我们理论和实证表明,维度坍缩导致一个硬损失下界,各种代码表改进技术无法超越。我们的分析框架扩展了Saxe等人[2014]的序列学习效应,引入了率-失真理论的概念,并解释了潜在坍缩是由VQ抑制低方差方向引起的。我们的理论证明了一个简单解决方案:一个“预热阶段”,在引入VQ之前将模型训练为(未量化)自编码器。在合成实验和大规模图像(VQGAN)和音频(WavTokenizer)VQ-VAE上,我们显示AE预热成功恢复了表示维度,导致在相同训练预算下重建和感知损失降低。在代码表大小K∈{2^10, 2^14, 2^16},AE预热将VQGAN代码表有效维度从3-5提升到17-19,rFID减少17-35%;在WavTokenizer中K∈{2^13, 2^14},它将代码表维度从4提升到17-19,PESQ提升11-14%。我们实证刻画了预热持续时间如何影响最终损失。与实验一致,我们的理论分析预测下游性能作为预热长度的函数,使能够自适应地切换从AE预热到VQ-VAE训练。

英文摘要:

While many approaches to improve VQ-VAE performance focus on codebook size and utilization, the effect of dimensional collapse, where trained VQ-VAE representations live in an extremely low-dimensional subspace (1-2% of full rank), remains unaddressed. We show theoretically and empirically that dimension collapse causes a hard loss lower bound that various codebook improvement techniques fail to surpass. Our analytic framework extends the sequential learning effect of Saxe et al. [2014] by introducing ideas from rate-distortion theory and explains how the latent collapse is caused by the VQ suppressing lower-variance directions. Our theory justifies a simple solution: a "warm-up phase" that trains the model as an (unquantized) autoencoder before introducing VQ. On both synthetic experiments and large-scale image (VQGAN) and audio (WavTokenizer) VQ-VAEs, we show that AE Warm-Up successfully restores representation dimension, leading to lower reconstruction and perceptual loss at the same training budget. Across codebook sizes $K \in$ {$2^{10}, 2^{14}, 2^{16}$}, AE warm-up raises VQGAN codebook effective dimension from 3-5 to 17-19 and reduces rFID by 17-35%; on WavTokenizer at $K \in$ {$2^{13}, 2^{14}$}, it raises codebook dimension from 4 to 17-19 and improves PESQ by 11-14%. We empirically characterize how warm-up duration governs the achievable final loss. In agreement with experiment, our theoretical analysis predicts downstream performance as a function of warm-up length, enabling an adaptive criterion for switching from AE Warm-up to VQ-VAE training.

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

↑