arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.06207cs.CVcs.AIcs.LG
收藏

平抑熵崖:用于自回归视觉生成的变量码本大小量化

Taming the Entropy Cliff: Variable Codebook Size Quantization for Autoregressive Visual Generation

The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));hi-Lab, Xiaohongshu Inc(小红书实验室)

Bowen Zheng, Weijian Luo, Guang Yang, Colin Zhang, Tianyang Hu

AI总结:

本文提出变量码本大小量化(VCQ),通过动态增加码本大小以解决固定码本设计导致的熵崖问题,提升自回归视觉生成性能。

摘要:

大多数离散视觉分词器采用默认设计:序列中的每个位置共享同一个码本。研究人员尝试通过增加码本大小K来提高重建性能。这种固定码本设计遇到了信息论的根本限制。我们发现训练集的每个位置条件熵沿序列迅速下降,使得在少数位置后,条件分布几乎确定性。在ImageNet上,当K=16384时,这种情况在仅2个位置内发生,剩余254个位置变成记忆问题。我们称这种现象为熵崖,并用简单表达式t* = ⌈log₂N / log₂K⌉正式化。有趣的是,这种现象在语言中未被观察到,因为其自然结构保持了每个位置的有效熵低于码本容量。为此,我们提出变量码本大小量化(VCQ),其中码本大小K_t沿序列单调增长,从K_min=2到K_max,使损失函数、参数数量和AR训练过程保持不变。使用标准的next-token预测,基版VCQ在ImageNet 256×256上将gFID w/o CFG从27.98降至14.80。扩展后,它达到gFID 1.71,使用684M自回归参数,无需额外训练技术如语义正则化或因果对齐。极端信息瓶颈在K_min=2时自然诱导出从粗到细的语义层次:仅在前10个token上线性探测达到43.8%的ImageNet top-1准确率,相比均匀码本的27.1%。最终,这些结果表明,重要的是码本容量的分布和组织方式,而不仅仅是总容量。

英文摘要:

Most discrete visual tokenizers rely on a default design: every position in the sequence shares the same codebook. Such a constant-codebook design can consume the finite-data entropy budget very quickly. We observe that the per-position empirical conditional entropy decays so quickly along the sequence that, after a few positions, the conditional distribution becomes essentially deterministic. On ImageNet with $K=16384$, this happens after only about 2 out of 256 positions, when most prefixes already identify individual images in the dataset. We call this phenomenon the Entropy Cliff. Under full conditional utilization, larger codebooks exhaust the finite-data entropy budget in fewer positions. The empirical entropy decreases more gradually in our language comparison, where the effective entropy per position stays below the codebook capacity. To address this, we propose Variable Codebook Size Quantization (VCQ), where the codebook size $K_t$ grows monotonically along the sequence from $K_{\min}=2$ to $K_{\max}$, leaving the loss function, parameter count, and AR training procedure unchanged. With a vanilla autoregressive Transformer and standard next-token prediction, VCQ-Base achieves gFID w/o CFG 14.80 on ImageNet $256\times256$, compared with 27.98 and 18.16 for constant codebooks of size 16384 and 8192, respectively. Scaled up, it reaches gFID 1.71 with 684M autoregressive parameters, without any extra training techniques such as semantic regularization or causal alignment. The extreme information bottleneck at $K_{\min}=2$ encourages semantic concentration in early encoder features: a linear probe on features from only the first 10 positions reaches 43.8% top-1 accuracy on ImageNet, compared to 27.1% for uniform codebooks. These results show that what matters is not only the total capacity of the codebook, but also how that capacity is distributed and organized.

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

↑