Research ·
StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training
StableVQ is a set of guidelines for stabilizing vector-quantized tokenizer training, using dynamic straight-through estimation, a region-based VQ loss, and decoupled learning rate schedules without adding parameters.

A new paper called StableVQ addresses training instability in discrete visual tokenizers, the vector quantization components behind autoregressive and masked image generation models. The authors argue the root cause of instability is the entanglement of encoder-decoder and codebook training: neither module can fulfill its role alone, so the system only works when the two happen to cooperate, a fragile condition that breaks down when training is most stressed.
StableVQ revisits the learning objective of each module with three components. Dynamic STE fixes instability in the encoder's objective so it can optimize reconstruction under discrete regularization even when codebook utilization is low. Region VQ Loss redefines the codebook's objective so it independently tracks the full encoder output distribution without relying on encoder oscillations to drive activation. A Decoupled Schedule assigns the encoder-decoder and codebook independent learning rate schedules suited to their distinct responsibilities.
The method builds on shared-projection codebooks, is lightweight, and introduces no learnable parameters. Experiments on ImageNet show consistent improvements in training stability, codebook utilization, and reconstruction quality across diverse codebook sizes and initialization settings. For anyone training discrete tokenizers for image generation, it offers a drop-in way to make training more robust without changing model capacity.
The paper has no cited models, datasets, or Spaces yet, but is included in one collection.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz