Soft Tail-dropping for Adaptive Visual Tokenization

TL;DR

Proposes Soft Tail-dropping Adaptive Tokenizer (STAT), dynamically adjusting token count based on image complexity, improving reconstruction and generation quality.

cs.CV 🔴 Advanced 2026-01-21 41 views
Zeyuan Chen Kai Zhang Zhuowen Tu Yuanjun Xiong
visual tokenization adaptive encoding autoregressive generation Transformer image compression

Key Findings

Methodology

STAT employs a Transformer-based 1D encoder combined with a probabilistic soft tail-dropout mechanism. It predicts per-token keep probabilities using a position-aware MLP, regularized to be monotonically decreasing, and aligns token count with image complexity via LPIPS-based correlation. The training involves two stages: initial prefix reconstruction with randomized token lengths, followed by content-adaptive token allocation learning. The model integrates vector quantization (VQ) for discrete token representation and uses a special end-of-sequence token for autoregressive generation. This design enables content-aware, length-variable tokenization compatible with causal autoregressive models.

Key Results

  • On ImageNet-1k, STAT achieves a reconstruction FID of 0.88 with an average token count at 90% of previous fixed-token methods, outperforming existing 2D and 1D tokenizers. Its content-adaptive token allocation results in better utilization of tokens, with complex images receiving more tokens, leading to higher fidelity. When combined with a vanilla autoregressive model, it produces images with a gFID of 1.91 and Inception Score of 290.2, surpassing baseline tokenizers and matching diffusion models in quality.
  • Ablation studies confirm that the regularization enforcing monotonic decreasing importance and the content-aware token allocation significantly improve performance. The model demonstrates superior scalability and efficiency, with fewer tokens needed for high-quality reconstructions and generations.
  • In class-conditional image generation, replacing the tokenizer in LlamaGen with STAT improves gFID by 0.41, achieving 1.77 with fewer tokens, indicating strong practical benefits for scalable, content-sensitive generation.

Significance

This work addresses the core challenge of fixed-size visual tokenization, which limits the efficiency and fidelity of generative models. By enabling content-dependent token allocation, STAT significantly enhances the capacity of autoregressive models to generate high-quality, diverse images with fewer tokens. Its compatibility with simple autoregressive architectures offers a scalable, efficient alternative to diffusion models, potentially transforming applications in image synthesis, compression, and multimodal AI. The approach paves the way for more flexible, resource-efficient visual AI systems that adapt dynamically to input complexity, reducing computational costs while maintaining or improving output quality.

Technical Contribution

The main technical advance is the integration of a probabilistic, content-aware soft tail-dropout mechanism within a Transformer-based encoder, coupled with regularization strategies that enforce monotonic importance profiles and correlation with perceptual complexity. The two-stage training process ensures the model learns to reconstruct images from variable-length sequences and to allocate tokens adaptively based on content. This approach enables a unified framework for content-sensitive tokenization compatible with autoregressive generation, representing a significant departure from traditional fixed-ratio tokenizers and enabling scalable, high-fidelity image synthesis.

Novelty

This is the first work to introduce a content-adaptive, probabilistic tail-dropping mechanism for visual tokenization, directly conditioned on image complexity metrics. Unlike prior fixed or heuristic-based methods, STAT learns to dynamically allocate tokens within a single forward pass, with explicit regularization ensuring monotonic importance profiles suitable for autoregressive decoding. Its integration with Transformer architectures and end-to-end training for content-aware tokenization mark a novel contribution to the field.

Limitations

  • Despite its adaptive design, STAT may struggle with extremely complex or large-scale scenes where the complexity proxy (LPIPS) does not fully capture content richness, leading to suboptimal token allocation.
  • The training process involves multiple regularization terms and hyperparameters, increasing complexity and computational cost, which may hinder deployment in resource-constrained environments.
  • Current validation is primarily on static images; extending to dynamic scenes or videos requires further adaptation and validation, which remains an open challenge.

Future Work

Future research will focus on integrating more sophisticated complexity metrics, such as semantic or task-specific signals, to further refine token allocation. Extending the framework to video and multi-frame content will be a priority, aiming for real-time adaptive tokenization. Additionally, efforts will be made to reduce training complexity and improve generalization across diverse datasets, enabling broader industrial applications in content creation, compression, and multimodal AI.

AI Executive Summary

Recent advances in visual generative modeling have dramatically improved the realism and diversity of synthesized images, yet the underlying tokenization strategies remain largely rigid and fixed in size. Traditional methods encode images into a uniform set of tokens based on fixed grids or codebooks, which often leads to inefficiencies: simple scenes are over-encoded, wasting resources, while complex scenes are underrepresented, limiting fidelity.

Addressing this challenge, Zeyuan Chen and colleagues introduce the Soft Tail-dropping Adaptive Tokenizer (STAT), a novel framework that dynamically adjusts the number of tokens used to represent an image based on its content complexity. The core innovation lies in a Transformer-based encoder that predicts per-token keep probabilities, regularized to be monotonically decreasing along the sequence, ensuring a natural tail-off suitable for autoregressive decoding. This probabilistic approach allows the model to allocate more tokens to complex images and fewer to simple ones, optimizing resource utilization.

The training process involves two stages: first, learning to reconstruct images from arbitrary prefix lengths; second, incorporating content-aware regularization based on perceptual complexity metrics like LPIPS. This enables the model to learn a content-sensitive token allocation strategy, which is validated through extensive experiments on ImageNet-1k. Results show that STAT achieves a state-of-the-art reconstruction FID of 0.88 with fewer tokens, outperforming existing tokenizers. When integrated into a simple autoregressive generation framework, it produces high-quality images with a gFID of 1.91, comparable to diffusion models.

This work significantly advances the field by providing a flexible, efficient, and content-aware tokenization method compatible with scalable generative architectures. Its ability to adapt token count dynamically addresses longstanding limitations of fixed-size encoding, paving the way for more resource-efficient and high-fidelity visual AI systems. Future directions include extending to videos, refining complexity metrics, and further reducing training costs, promising a new era of adaptive, intelligent visual synthesis.

Deep Dive

Abstract

We present Soft Tail-dropping Adaptive Tokenizer (STAT), a 1D discrete visual tokenizer that adaptively chooses the number of output tokens per image according to its structural complexity and level of detail. STAT encodes an image into a sequence of discrete codes together with per-token keep probabilities. Beyond standard autoencoder objectives, we regularize these keep probabilities to be monotonically decreasing along the sequence and explicitly align their distribution with an image-level complexity measure. As a result, STAT produces length-adaptive 1D visual tokens that are naturally compatible with causal 1D autoregressive (AR) visual generative models. On ImageNet-1k, equipping vanilla causal AR models with STAT yields competitive or superior visual generation quality compared to other probabilistic model families, while also exhibiting favorable scaling behavior that has been elusive in prior vanilla AR visual generation attempts.

cs.CV