ChannelTok: Efficient Flexible-Length Vision Tokenization

Sukriti Paul, Arpit Bansal, Tom GoldsteinarXiv 2026

TL;DR

ChannelTok introduces a lightweight, fast vision tokenizer that treats image channels—rather than spatial patches—as visual tokens. By training with a simple channel-masking strategy, it naturally organizes features from coarse to fine, achieving state-of-the-art reconstruction quality while being 8.6× faster and 2.1× smaller than existing flexible tokenizers.

What Problem Does This Paper Address?

Vision tokenizers are crucial for discrete generative image models, compressing raw pixels into compact, semantically rich latent codes. Traditionally, these tokenizers use a fixed number of tokens or operate spatially, treating local image patches as individual tokens.

Recently, "flexible-length" tokenizers have emerged to adjust token budgets based on an image's visual complexity. However, existing state-of-the-art flexible tokenizers come at an extreme computational cost: they rely on parameter-heavy Vision Transformer (ViT) backbones and slow, multi-step generative decoders. This makes them impractical for real-time applications or deployment on resource-constrained edge devices. ChannelTok tackles this efficiency bottleneck by rethinking the fundamental axis of tokenization.

Methods

Instead of dividing an image spatially into a grid of patches, ChannelTok operates along the channel dimension.

Overview of the ChannelTok architecture and its channel-wise masking paradigm.

Key components of the method include:

  • Channel-as-Token Representation: The encoder compresses an image into a latent space where each channel slice represents a global visual token. Earlier channels capture broad, coarse structures, while later channels refine fine details.
  • Adaptive Channel Masking: During training, the model randomly selects a number $k$ of active channels and masks out the remaining channels. By applying a stop-gradient operation to the inactive channels, the network is forced to prioritize the most critical semantic information in the earliest channels.
  • Binary Spherical Quantization (BSQ): To discretize the latent space efficiently without the overhead of traditional codebook lookups, the active channels are quantized using BSQ.
  • Lightweight Hybrid Backbone: The architecture uses a VQGAN-inspired CNN-Transformer hybrid backbone, keeping the parameter count low and decoding throughput high.
  • Position-Weighted Autoregressive Training: The authors train a LlamaGen GPT transformer on these channel tokens using a position-weighted cross-entropy loss that penalizes errors in early, structurally critical channels more heavily.

Datasets

The model was trained and evaluated on standard image synthesis benchmarks:

  • ImageNet-1K: Used for primary training, evaluation of reconstruction fidelity, and system efficiency benchmarks.
  • ImageNet-100: A subset used for architectural ablations and training the autoregressive generation models.

Key Insights and Ideas

  • Organic Semantic Hierarchy: Operating in the channel dimension naturally induces a coarse-to-fine hierarchy. Unlike spatial tokenizers, which require complex architectural constraints to enforce token ordering, ChannelTok achieves this organically through simple prefix masking.
  • Complexity-Aware Allocation: The channel-wise budget inherently aligns with human intuition regarding visual complexity. Geometrically simple classes (like Airship or Parachute) achieve high-fidelity reconstruction with very few channels, whereas intricate textures (like Coral fungus) automatically utilize the expanded channel budget.
  • Truncation-Safe Autoregressive Generation: Because tokens are ordered by global importance rather than spatial position, an autoregressive model can stop generating at any point in the sequence. Truncating the sequence simply results in a complete image with slightly fewer details, whereas stopping a spatial tokenizer early leaves the image physically incomplete or fragmented.

Key Results

ChannelTok establishes a new Pareto frontier for flexible vision tokenization, combining top-tier quality with unmatched speed.

Figure 1. Quality-efficiency comparison. Reconstruction fidelity (rFID), decoding throughput, and model size across recent tokeniz- ers. Our method achieves state-of-the-art rFID while being the smallest and among the fastest decoders.
  • State-of-the-Art Quality: At its full 512-channel capacity, ChannelTok achieves a reconstruction FID (rFID) of 2.92 on ImageNet-1K, outperforming heavier models like FlexTok.
  • High Efficiency: ChannelTok contains only 159M parameters (2.1× smaller than FlexTok) and achieves a decoding throughput of 41.39 images/second—making it 8.6× faster than FlexTok's multi-step decoder.
Reconstruction metrics across various token budgets.
  • Flexible Generation Speedups: In autoregressive image generation, terminating generation at 64 tokens yields a 4.1× speedup (0.91s vs 3.77s per image) while still maintaining highly coherent global structure and competitive visual quality.

Limitations and Future Work

While ChannelTok performs exceptionally well across diverse token budgets, the authors note that performance in ultra-low token regimes (e.g., fewer than 32 tokens) still leaves room for improvement.

Future research directions include:

  1. Investigating advanced training strategies specifically tailored to boost low-token reconstruction fidelity.
  2. Exploring dynamic, adaptive channel selection mechanisms that can automatically determine the optimal token budget on a per-image basis during inference, rather than relying on static prefix truncation.

Summary updated

BibTeX
@misc{paul2026channeltok,
  author = {Sukriti Paul and Arpit Bansal and Tom Goldstein},
  title = {{ChannelTok: Efficient Flexible-Length Vision Tokenization}},
  year = {2026},
  eprint = {2606.04461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.04461},
}
Figure