NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizer

Hao Chen, Ze Wang, Xiang Li, Ximeng Sun, Fangyi Chen, Jiang Liu, Jindong Wang, Bhiksha Raj, Zicheng Liu, Emad Barsoum

Abstract

Modern generative image models are often constrained by the computational overhead of processing large grids of latent tokens. We present SoftVQ-VAE, a novel 1-dimensional continuous tokenizer that leverages soft categorical posteriors to compress high-resolution images into as few as 32 tokens. By replacing discrete quantization with a differentiable soft aggregation of codewords and aligning the latent space with pre-trained semantic models, SoftVQ-VAE achieves significant improvements in inference throughput—up to 55x—while maintaining or exceeding state-of-the-art generation quality on ImageNet.

Introduction

Generative AI for images faces a significant "token" problem. Unlike text models that handle linear sequences, image models typically process spatial grids of pixels. To manage this, researchers utilize tokenizers to compress images into a smaller set of latent tokens. However, standard methods like VQ-VAE often require hundreds of tokens to maintain visual fidelity, creating a computational bottleneck for the Transformers that generate the final images. SoftVQ-VAE addresses this by introducing a continuous 1D tokenizer capable of extreme compression without sacrificing semantic richness.

The Tokenization Bottleneck

The efficiency of models like Diffusion Transformers (DiT) is limited by the number of latent tokens, as Transformer complexity scales quadratically with sequence length. Existing tokenizers generally fall into two categories: discrete (VQ-VAE), which suffer from non-differentiability and training instabilities, and continuous (KL-VAE), which often struggle with high compression ratios and "posterior collapse." SoftVQ-VAE aims to bridge this gap by slashing token counts while improving both speed and quality.

SoftVQ-VAE Architecture

The core innovation of SoftVQ-VAE is the Soft Categorical Posterior. Instead of the "winner-take-all" approach of standard VQ-VAE, where a token is mapped to a single discrete codeword, SoftVQ-VAE calculates a probability distribution across the entire codebook using a Softmax function based on distance.

SoftVQ-VAE Architecture: The model uses a Vision Transformer encoder to produce latent tokens, which are then softly quantized against a codebook and aligned with pre-trained representations.

Key technical components include:

  • Soft Aggregation: Latent tokens are weighted sums of multiple codewords, allowing a single token to represent complex information.
  • 1D Learnable Tokens: The model uses a fixed set of 1D tokens that employ self-attention to gather global image information, rather than relying on a rigid 2D grid.
  • Representation Alignment: The differentiable pipeline allows for aligning the latent space with semantic models like DINOv2, ensuring tokens carry meaningful concepts.

Experimental Results

SoftVQ-VAE was evaluated on the ImageNet-1K benchmark at $256 \times 256$ and $512 \times 512$ resolutions. The quantitative results demonstrate significant gains in both efficiency and quality. SoftVQ-VAE enables inference throughput improvements of up to 18x for $256 \times 256$ images and 55x for $512 \times 512$ images compared to standard KL-VAE baselines.

Performance Comparison: SoftVQ-VAE variants (MAR-H, DiT-XL, SiT-XL) compared against state-of-the-art auto-regressive and diffusion-based models on ImageNet.

As shown in the results table, SoftVQ-VAE achieves high-quality reconstruction with only 32 tokens. When paired with the Scalable Interpolant Transformer (SiT-XL), it reached an FID score of 1.78 on ImageNet $256 \times 256$, outperforming significantly larger models. Furthermore, the semantic alignment reduced the training iterations required for downstream models by over 2x.

Conclusion and Future Work

SoftVQ-VAE represents a major advancement in image tokenization, proving that capacity can outweigh quantity. By using 32 "soft" tokens instead of hundreds of "hard" ones, it unlocks massive speedups for generative models. Future work includes exploring advanced position embeddings and extending this 1D continuous tokenization to video data, where the token explosion is even more severe.

Summary updated

BibTeX
@inproceedings{chen2025softvq,
  author = {Hao Chen and Ze Wang and Xiang Li and Ximeng Sun and Fangyi Chen and Jiang Liu and Jindong Wang and Bhiksha Raj and Zicheng Liu and Emad Barsoum},
  title = {{SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02641},
}
Figure