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

向量量化中的表示坍缩问题

Representation Collapsing Problems in Vector Quantization

College of Design and Engineering(设计与工程学院);National University of Singapore(新加坡国立大学);Indian Institute of Technology Jodhpur(焦特布尔印度理工学院)

Wenhao Zhao, Qiran Zou, Rushi Shah, Dianbo Liu

AI总结:

针对生成模型中向量量化表示坍缩问题(码本token或潜在嵌入因收敛到有限值子集失去判别能力),本研究通过合成与真实数据集明确坍缩类型、严重程度及触发条件(受限初始化、有限编码器容量),并提出潜在解决方案,是首个全面研究该问题的工作。

摘要:

向量量化是机器学习中的一项技术,可将连续表示离散化为一组离散向量,被广泛用于大型语言模型、扩散模型及其他生成模型的数据表示 token 化。尽管应用广泛,但生成模型中向量量化的特性与行为仍未得到充分探索。本研究针对向量量化中的表示坍缩展开调查,这是一种严重退化现象:码本 token 或潜在嵌入因收敛到有限值子集而失去判别能力,从根本上损害模型捕捉多样数据模式的能力。通过综合使用合成与真实数据集,我们明确了各类坍缩的严重程度及触发条件。分析表明,受限的初始化与有限的编码器容量会导致 token 坍缩与嵌入坍缩。基于这些发现,我们提出了缓解各类坍缩的潜在解决方案。据我们所知,这是首个全面研究向量量化中表示坍缩问题的工作。

英文摘要:

Vector quantization is a technique in machine learning that discretizes continuous representations into a set of discrete vectors. It is widely employed in tokenizing data representations for large language models, diffusion models, and other generative models. Despite its prevalence, the characteristics and behaviors of vector quantization in generative models remain largely underexplored. In this study, we investigate representation collapse in vector quantization - a critical degradation where codebook tokens or latent embeddings lose their discriminative power by converging to a limited subset of values. This collapse fundamentally compromises the model's ability to capture diverse data patterns. By leveraging both synthetic and real datasets, we identify the severity of each type of collapses and triggering conditions. Our analysis reveals that restricted initialization and limited encoder capacity result in tokens collapse and embeddings collapse. Building on these findings, we propose potential solutions aimed at mitigating each collapse. To the best of our knowledge, this is the first comprehensive study examining representation collapsing problems in vector quantization.

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

↑