StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training

Hugging Face Daily Papers Papers

Summary

StableVQ proposes practical guidelines to stabilize the training of vector-quantized tokenizers by decoupling encoder-decoder and codebook training, improving stability and codebook utilization for image generation models.

Vector Quantization (VQ) is fundamental to discrete visual tokenizers that power modern autoregressive and masked image generation models. While recent shared-projection codebook methods have substantially advanced codebook utilization, training stability remains a critical and underexplored challenge. We argue that the root cause lies in the entanglement of the Encoder--Decoder and Codebook training: because neither module can reliably fulfill its own responsibility in isolation, the system can only function when the two subsystems happen to cooperate---a fragile condition that breaks down precisely when training is most stressed. We propose StableVQ, which revisits the proper learning objective of each module and resolves the problems that arise when each is trained to fulfill its own role independently. Concretely, (1) Dynamic STE corrects the instability in the Encoder's learning objective, enabling it to robustly optimize the reconstruction space under discrete regularization even when codebook utilization is low. (2) Region VQ Loss reconceives the Codebook's learning objective so that it can independently guarantee full tracking of the encoder output distribution, without relying on encoder oscillations to drive activation. (3) Decoupled Schedule recognizes that the distinct responsibilities of the Encoder--Decoder and the Codebook demand distinct optimization dynamics, and assigns each an independent learning rate schedule to ensure robust system-level behavior. Built on top of shared-projection codebooks, StableVQ is lightweight and introduces no learnable parameters. Experiments on ImageNet demonstrate consistent improvements in training stability, codebook utilization, and reconstruction quality across diverse codebook sizes and initialization settings.
Original Article
View Cached Full Text

Cached at: 09/23/26, 07:32 AM

Paper page - StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training

Source: https://huggingface.co/papers/2609.26774

Abstract

VectorQuantization(VQ)isfundamentaltodiscretevisualtokenizersthatpowermodernautoregressiveandmaskedimagegenerationmodels.Whilerecentshared-projectioncodebookmethodshavesubstantiallyadvancedcodebookutilization,trainingstabilityremainsacriticalandunderexploredchallenge.WearguethattherootcauseliesintheentanglementoftheEncoder--DecoderandCodebooktraining:becauseneithermodulecanreliablyfulfillitsownresponsibilityinisolation,thesystemcanonlyfunctionwhenthetwosubsystemshappentocooperate---afragileconditionthatbreaksdownpreciselywhentrainingismoststressed.WeproposeStableVQ,whichrevisitstheproperlearningobjectiveofeachmoduleandresolvestheproblemsthatarisewheneachistrainedtofulfillitsownroleindependently.Concretely,(1)DynamicSTEcorrectstheinstabilityintheEncoder’slearningobjective,enablingittorobustlyoptimizethereconstructionspaceunderdiscreteregularizationevenwhencodebookutilizationislow.(2)RegionVQLossreconceivestheCodebook’slearningobjectivesothatitcanindependentlyguaranteefulltrackingoftheencoderoutputdistribution,withoutrelyingonencoderoscillationstodriveactivation.(3)DecoupledSchedulerecognizesthatthedistinctresponsibilitiesoftheEncoder--DecoderandtheCodebookdemanddistinctoptimizationdynamics,andassignseachanindependentlearningratescheduletoensurerobustsystem-levelbehavior.Builtontopofshared-projectioncodebooks,StableVQislightweightandintroducesnolearnableparameters.ExperimentsonImageNetdemonstrateconsistentimprovementsintrainingstability,codebookutilization,andreconstructionqualityacrossdiversecodebooksizesandinitializationsettings.

View arXiv pageView PDFProject pageAdd to collection

Get this paper in your agent:

hf papers read 2609\.26774

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2609.26774 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2609.26774 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2609.26774 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Channel-wise Vector Quantization

Hugging Face Daily Papers

Channel-wise Vector Quantization (CVQ) replaces patch-wise tokens with channel-wise tokens for image tokenization, enabling a next-channel prediction framework (CAR) that generates images by progressively refining visual details, achieving strong reconstruction and text-to-image generation performance.

ViQ: Text-Aligned Visual Quantized Representations at Any Resolution

Hugging Face Daily Papers

ViQ presents a visual quantization framework that balances semantic richness and detail preservation in discrete representations, enabling efficient multimodal training with native-resolution inputs by using text-aligned pre-training and proximal representation learning.

KVAE: Family of Tokenizers for Multimodal Generative Models

Hugging Face Daily Papers

This paper introduces KVAE, a family of tokenizers for audio, image, and video designed for text-conditioned generative models, claiming competitive or superior reconstruction and generation quality compared to existing open-source tokenizers. The code and training details are publicly released.

VQ-bench: A Composable Vector Quantization Framework

arXiv cs.AI

This paper introduces VQ-bench, a unified framework for composing and benchmarking vector quantization algorithms, re-expressing 25 common quantizers as pipelines of primitives and publishing reproducible benchmarks.

UniSVQ: 2-bit Unified Scalar-Vector Quantization

arXiv cs.CL

UniSVQ proposes a unified 2-bit quantization framework that bridges scalar and vector quantization by parameterizing codewords as an affine transform of integer lattices, achieving state-of-the-art performance among scalar methods and matching vector methods with higher throughput.