ViQ: Text-Aligned Visual Quantized Representations at Any Resolution

Xumin Yu, Zuyan Liu, Zhenyu Yang, Yuhao Dong, Shengsheng Qian, Jiwen Lu, Han Hu, Yongming RaoarXiv 2026

TL;DR

ViQ (Visual Quantized Representations) is a novel framework that bridges the representational gap between continuous visual features and discrete text tokens in Multimodal Large Language Models (MLLMs). By balancing high-level semantics with low-level details at native image resolutions, ViQ matches the performance of state-of-the-art continuous visual encoders while accelerating MLLM training by up to 70%.

What Problem Does This Paper Address?

Modern MLLMs typically process images using continuous visual encoders (like CLIP or SigLIP). However, this introduces a fundamental representational mismatch: text is processed as discrete tokens, while vision remains continuous and high-dimensional.

Fig. 1: ViQ delivers high-quality multimodal quantized representations with both high- level semantics and low-level details. The quantized visual codes in ViQ support high- level multimodal understanding and low-level image reconstruction, with state-of-the-art performance compared with continuous visual encoders.

Existing attempts to quantize images into discrete tokens usually suffer from a harsh trade-off: reconstruction-focused tokenizers (like VQ-VAEs) lose high-level semantic meaning, while semantically rich tokenizers lose fine-grained details. Furthermore, most existing tokenizers force images into fixed resolutions, destroying native aspect ratios and cropping out vital information. ViQ addresses these challenges by creating a unified discrete visual representation that preserves both semantics and details at any native resolution.

Methods

The authors structure ViQ's training into a progressive two-stage pipeline:

Fig. 2: Approach of ViQ Representation Learning. Stage 1 enables multimodal alignment with language supervision, while Stage 2 compresses the high-dimensional visual features into discrete codes in a progressive learning manner.
  1. Stage 1: Text-Aligned Pre-Training at Any Resolution
    The framework initializes with a powerful continuous visual encoder (SigLIP2-g) and adapts it to handle arbitrary resolutions dynamically using flexible positional embeddings. The encoder is optimized using cross-entropy text supervision from a language model, alongside a self-distillation loss from a fixed-resolution teacher model to retain foundational semantic capabilities.

  2. Stage 2: Visual Quantized Representation Learning

  3. Proximal Representation: Direct quantization of high-dimensional features causes severe information loss. ViQ introduces a bottleneck layer followed by $L_\infty$-norm regularization, projecting continuous features onto a hypercube surface to compact the latent space before discretization.
  4. Multi-Head Finite Scalar Quantization (FSQ): FSQ is employed for stable, optimization-free quantization. To enhance capacity, each visual patch is expanded into $2 \times 2$ independent sub-tokens using a position-aware head-wise mechanism.
  5. Low-Level Supervision: To ensure fine-grained details are preserved, the bottleneck layer is supervised using a pre-trained VAE latent reconstruction loss.

Datasets

  • Training: A fixed dataset of 2,000K samples drawn from LLaVA-OneVision.
  • Multimodal Evaluation: 9 diverse benchmarks spanning general understanding (MMStar, MMMU), world knowledge (SimpleVQA, InfoVQA), text/document recognition (TextVQA, DocVQA, OCRBench), and chart/scientific reasoning (AI2D, ChartQA).
  • Reconstruction Evaluation: The $256 \times 256$ ImageNet-1K validation set.

Key Insights and Ideas

  • The Geometry of Quantization Matters: Instead of directly mapping continuous features to discrete codes, gradually regularizing the latent space via an $L_\infty$-norm—which perfectly aligns with the grid structure of FSQ—significantly reduces information loss.
  • Decoupling Patches for Better Downstream Tasks: Expanding patches into independent sub-tokens via multi-head attention increases representation capacity without introducing cross-patch interactions, making the tokens highly generalizable.
  • Latent Regression over Pixel Fitting: Supervising the quantization process in the latent space of a pre-trained VAE strikes a much better balance between low-level detail and high-level semantics than rigid pixel-level mean-squared error (MSE), and it does so at a fraction of the computational cost.

Key Results

  • Competitive with Continuous Models: On the 9-benchmark aggregate score, ViQ achieves an average score of 57.2 (with Qwen2.5-1.5B) and 63.9 (with Qwen2.5-7B). This beats previous discrete tokenizers (like UniTok and QLIP) by a massive margin and matches top-tier continuous models like InternViT-2.5 and SigLIP2-g.
  • Massive Training Acceleration: Because images can be tokenized offline into discrete codes, MLLM training no longer requires processing raw images online. This yields a 20% to 70% speedup in training iteration times across various LLM backbone sizes.
Comparison of forward time and step time showing substantial speedups across different Qwen2.5 model sizes.
  • High-Fidelity Reconstruction: ViQ achieves a PSNR of 22.73 and an rFID of 0.62 on ImageNet-1K, ranking first among discrete visual autoencoders optimized for understanding. It can compress an image to just 1/96th of its raw size while maintaining high reconstruction quality.

Limitations and Future Work

  • Scaling to Ultra-Large Models: The framework has only been validated on LLMs up to 7B parameters; its synergy with massively larger foundation models (e.g., 70B+) remains an open question.
  • Data Dependency: The robustness of the proximal representations depends heavily on the diversity of the pre-training data, making it susceptible to inherent data biases.
  • The Tokenization Gap: While ViQ narrows the gap, it still slightly trails continuous models on ultra-detail-intensive tasks like OCRBench due to the aggressive nature of discrete tokenization. The authors suggest exploring multi-scale or residual quantization to mitigate this.

Summary updated

BibTeX
@misc{yu2026viq,
  author = {Xumin Yu and Zuyan Liu and Zhenyu Yang and Yuhao Dong and Shengsheng Qian and Jiwen Lu and Han Hu and Yongming Rao},
  title = {{ViQ: Text-Aligned Visual Quantized Representations at Any Resolution}},
  year = {2026},
  eprint = {2606.27313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.27313},
}
Figure