Transporting Quantiles to Codebook: Scalable Vector Quantization without Codebook Collapse
Yuwei Zeng, Zekun Shi
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Vector-Quantized Diffusion and Compression · Type: new method · Keywords: vector quantization, codebook collapse, flow matching, discrete representation learning, image tokenization, VQ-VAE
Areas: Model Architectures & Sequence Modeling › Vision and Generative Architectures › Discrete Image Tokenization; Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Flow Matching for Time Series
Summary
Transporting Quantiles to Codebook introduces a flow-matching based quantization that transports quantile-partitioned codes to obtain well-utilized codebooks, eliminating collapse in VQ-VAE.
Explained to a 5-year-old
The paper makes a new way to split pictures into little pieces of information. It uses a simple moving rule that spreads the information evenly, like pouring water. It first cuts the information into equal parts, like cutting a cake into slices. Then it moves those slices through the rule to find the best places to store them. This helps the storage spots all get used, so the picture pieces are better and more useful.
Explained to a 5-year-old, longer
The paper studies how computers can learn to break pictures into tiny pieces of information. In many systems, these pieces sometimes get stuck in only a few places, leaving many spots empty, which is a problem. To solve this, the authors create a new way to move the pieces around smoothly, like a gentle stream. First, they take a simple set of pieces that already behave nicely and split them into equal groups, like dividing cookies into the same-size portions. Then they let a small model guide these groups through the stream, making sure the total amount of information stays the same. As the groups travel, the model finds the best middle spot for each group, similar to finding the center of each cookie batch. These middle spots become the new storage locations for the pieces. Because the storage spots are chosen this way, every spot gets used and none are wasted. The new storage method works well for regular image tasks and also for tasks that need very precise pieces. This leads to better quality pictures when they are generated and uses the storage more efficiently. The approach makes learning to represent pictures with tiny pieces more reliable and easier to scale up. Overall, the method helps computers create better discrete representations without losing information.
For a technical reader
The work reformulates neural quantization as a joint modeling and clustering problem, using a lightweight flow-matching model to define a probability flow that transports a fixed source distribution while preserving mass. By partitioning the source codes into even quantiles and moving them through this flow, the method computes Voronoi centroids to construct a structured codebook, ensuring that all entries are utilized and collapse is avoided. This results in scalable discrete representations suitable for image tasks and high-precision tokenization applications.
Problem
Standard vector quantization in VQ-VAE often suffers from codebook collapse and poor utilization of codebook entries, limiting the quality of discrete representations. This problem hinders effective discrete representation learning for autoregressive generative models.
Method
The approach learns a lightweight flow-matching model that defines a probability flow ODE to transport a fixed source distribution while preserving mass. It then partitions the source codes into even quantiles, transports these codes through the flow, and computes Voronoi centroids to form a structured codebook, ensuring full utilization.
Results
The approach shows scalable quantization with full codebook utilization and improved expressivity on image tasks and high-precision tokenization benchmarks.
Contributions
It introduces a joint modeling and clustering formulation for neural quantization that avoids codebook collapse, provides a structured discretization via quantile transport, and achieves full codebook utilization across image and high-precision tokenization tasks.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction