Representation Collapsing Problems in Vector Quantization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhao, Wenhao, Zou, Qiran, Shah, Rushi, Liu, Dianbo
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910713565413376
author Zhao, Wenhao
Zou, Qiran
Shah, Rushi
Liu, Dianbo
author_facet Zhao, Wenhao
Zou, Qiran
Shah, Rushi
Liu, Dianbo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_16550
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Representation Collapsing Problems in Vector Quantization
Zhao, Wenhao
Zou, Qiran
Shah, Rushi
Liu, Dianbo
Machine Learning
Artificial Intelligence
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.
title Representation Collapsing Problems in Vector Quantization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2411.16550