Channel-wise Vector Quantization: Native 1D Visual Tokenization with Learnable Ordering

Wei Song, Tianhang Wang, Yitong Chen, Tong Zhang, Zuxuan Wu, Min Li, Jiaqi Wang, Kaicheng YuNeurIPS 2026

TL;DR

What if we taught AI to generate images like a human painter—sketching global shapes first and layering in fine details later—rather than printing them out row-by-row like an old fax machine? By simply rotating the axis of how we slice and quantize image features from spatial patches to global channels, the authors turn images into native 1D sequences. This single geometric shift effortlessly cures the notorious "codebook collapse" plague in visual tokenizers and unlocks a clean, coarse-to-fine "next-channel prediction" paradigm for autoregressive image generation.

What Problem Does This Paper Address?

To use Large Language Model (LLM) architectures for vision, continuous images must be discretized into "tokens" via Vector Quantization (VQ)—mapping continuous feature vectors to their nearest neighbors in a finite dictionary (codebook). For years, the default convention has been patch-wise tokenization: slicing an encoded $h \times w \times c$ feature map into an $h \times w$ grid of local $1 \times 1 \times c$ patches.

This creates two headaches:

  1. Codebook Collapse: Local patches across different images are wildly redundant (a patch of blue sky or furry texture looks similar everywhere). During early training, embeddings clump around a tiny fraction of codebook entries, leaving the rest to "die" without gradient updates.
  2. Unnatural 1D Flattening: Autoregressive (AR) models predict 1D sequences. Flattening a 2D patch grid via a raster scan (top-left to bottom-right) breaks 2D spatial neighborhoods and forces the model to hallucinate top-row details before knowing the global layout of the image.

Methods

The authors introduce Channel-wise Vector Quantization (CVQ) and Channel-wise Auto-Regressive (CAR) generation.

Figure 1: (Left) VQ vs. CVQ. Conventional VQ assigns an index to each 1×1×c patch feature vector, while CVQ assigns an index to each channel of the feature map. (Right) AR vs. CAR. Traditional autoregressive (AR) models generate images patch by patch in raster scan order (here, Emu3 [40]), whereas our channel-wise autoregressive (CAR) model generates images channel by channel in a 1D coarse-to-fine order. For example, given the prompt “a photo of an apple”, the model first sketches a red circular shape corresponding to the apple’s outline and dominant color, then progressively depicts its appearance, and finally adds fine-grained details such as specular highlights and yellow speckles.
  • Flipping the Quantization Axis (New): Instead of slicing the $h \times w \times c$ latent tensor into $h \times w$ spatial vectors, CVQ slices it along the channel axis into $c$ global feature maps, each of size $h \times w \times 1$. Each channel slice is flattened and matched to a codeword using standard nearest-neighbor lookup. The encoder, decoder, and training losses (L2, perceptual LPIPS, PatchGAN, and Straight-Through Estimator) remain completely standard VQGAN components.
  • Learning an Artist's Order via Nested Dropout (Adapted): Channels have no inherent order. To make them friendly for AR modeling, the authors apply nested channel dropout during tokenizer training: for each batch, they randomly keep only a prefix of the first $k$ channels and zero out the rest before decoding. This forces early channels to carry heavy-lifting global structure and later channels to pack in fine textures.
  • Next-Channel Prediction (New): Using a pre-trained Qwen3 LLM (4B and 8B) connected via a simple 2-layer MLP projector, CAR generates images by predicting one global channel token at a time—progressively sharpening the whole canvas at once.

Datasets

  • Tokenizer Training & Evaluation: Trained and evaluated for visual reconstruction on ImageNet-1K ($256 \times 256$ resolution).
  • Generator Training: CAR models are trained on a collection of 80M text-image pairs.
  • Generation Benchmarks: Semantic alignment is evaluated on GenEval and DPG, while visual generation fidelity is tested on MJHQ-30K. No new benchmarks are introduced.

Key Insights and Ideas

  • Global slices defeat codebook collapse naturally: Why does CVQ achieve ~100% codebook usage without complex projection tricks or auxiliary losses? Because while local patches repeat endlessly across images, global spatial layouts of channels are distinct from image to image. Embeddings spread evenly across the latent space, keeping the whole codebook alive.
  • Autoencoders naturally separate visual attributes by channel: When the authors zeroed out specific individual channels in an autoencoder, they saw surgical, global edits—like changing a leaf's color or erasing an apple's stem while keeping everything else intact.
Figure 2: We visualize several channel activation maps from our VQ-VAE encoder and ablate individual channels by zeroing them before reconstruction. Interestingly, removing a channel selectively alters the corresponding content in the reconstructed image, with effects ranging from global appearance (e.g., leaf color) to fine-grained structure (e.g., removing the apple stem).
  • Native 1D beats resampled 1D: Recent 1D tokenizers (like TiTok) add extra transformer queries or diffusion decoders to compress 2D patches into 1D sequences. CVQ gets a 1D sequence natively out of the quantization geometry itself—and unlike 2D patches, which fail miserably under nested dropout (rFID craters from 4.84 to 15.32) because each token is trapped in one spatial spot, global channels embrace coarse-to-fine ordering effortlessly.

Key Results

  • Massive Codebook Scalability: On ImageNet-1K, scaling a standard VQ codebook from 1K to 65K entries causes utilization to plummet from 20.3% to 1.1%. CVQ maintains 100% utilization up to 16K entries and 96.1% at 65K, driving reconstruction FID (rFID, lower is better) down to 2.32—a 52% improvement over vanilla VQ (4.86).
  • Superior Reconstruction: With a 16K codebook, vanilla CVQ hits 2.60 rFID (256 tokens) and 0.88 rFID (1024 tokens), beating specialized baselines like SimVQ (0.90) and MoVQ (1.05).
  • Strong Text-to-Image Generation: CAR (8B) achieves 0.79 on GenEval and 86.72 on DPG, outperforming larger patch-wise AR models like NextStep-1 (14B; 0.73 GenEval, 85.28 DPG) and matching top hybrid multi-scale models like InfinityStar (8B). On MJHQ-30K, CAR reaches an FID of 6.42, beating standard next-token baselines like UniTok (7.46) and Janus (10.10).

Limitations and Future Work

Because every channel token spans the entire $h \times w$ canvas, CAR fails differently than patch-wise models: instead of localized glitches or missing objects, severe prediction errors cause global blurring or structural warping across the whole image.

For future work, the authors suggest combining CVQ with orthogonal quantization upgrades (like SimVQ or IBQ), plugging CAR into unified multimodal models (jointly handling vision understanding and generation), and extending channel-wise quantization across time for compact video tokenization.

Summary updated

Abstract

We present Channel-wise Vector Quantization (CVQ), a novel image tokenization paradigm that replaces patch-wise tokens with channel-wise tokens. Unlike conventional vector quantization, which assigns a discrete token to each patch feature vector, CVQ quantizes each channel of the feature map. This represents an image as a 1D channel sequence with learnable coarse-to-fine ordering, rather than a 2D patch grid. Based on CVQ, we introduce a new visual autoregressive framework with "next-channel prediction". Instead of rendering images patch by patch in raster order, our Channel-wise Autoregressive (CAR) model predicts image channels sequentially, producing progressively enriched visual details. Specifically, it first sketches global structure and then refines fine-grained attributes, akin to a human artist's workflow. Empirically, we show that: (1) CVQ exhibits strong codebook scalability, maintaining 95%+ utilization with up to $2^{16}$ entries while delivering growing reconstruction gains over VQ as the codebook scales up; and (2) CAR attains a DPG score of 86.7 and a GenEval score of 0.79, demonstrating strong effectiveness for text-to-image generation.
BibTeX
@inproceedings{song2026channel,
  author = {Wei Song and Tianhang Wang and Yitong Chen and Tong Zhang and Zuxuan Wu and Min Li and Jiaqi Wang and Kaicheng Yu},
  title = {{Channel-wise Vector Quantization: Native 1D Visual Tokenization with Learnable Ordering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VFeBuEITNa},
}
Figure