TL;DR
NativeTok introduces a novel visual tokenization framework that enforces causal dependencies during the image compression stage, perfectly aligning it with subsequent autoregressive generation. By eliminating the structural gap between disordered tokenization and ordered generation, NativeTok significantly boosts image synthesis quality while maintaining high training and inference efficiency.
What Problem Does This Paper Address?
Most modern large visual models rely on a two-stage paradigm: first, an image tokenizer compresses high-dimensional pixels into discrete visual tokens (similar to words in language models); second, a generative model learns to predict these tokens sequentially.
However, standard tokenizers (like VQ-VAE or TiTok) focus solely on minimizing reconstruction loss, treating the resulting tokens as an unordered set. This creates a fundamental misalignment—or "gap"—with the second-stage generator, which attempts to model these tokens using strict causal, step-by-step dependencies. Forcing a generator to learn structured relationships from inherently disordered tokens leads to training biases and weak image coherence.
Methods
To bridge this gap, the authors propose NativeTok, a framework that decouples global image context modeling from token dependency modeling:
- Meta Image Transformer (MIT): This module uses bidirectional attention to capture rich, high-dimensional global representations of the input image. A dimension-switching Feed-Forward Network (FFN) then compresses this context into a locked latent space ($X_{latent}$).
- Mixture of Causal Expert Transformer (MoCET): Instead of using a single standard transformer, MoCET introduces an ensemble of position-specific, lightweight expert blocks. The $i$-th expert block is solely responsible for generating the $i$-th token, strictly conditioned on the locked global image context and all previously generated tokens ($z_0$ to $z_{i-1}$).
- Hierarchical Native Training (HNT) Strategy: Scaling up the number of tokens usually skyrockets training costs because each new token requires an additional expert block. HNT mitigates this by progressively training larger variants (e.g., 32 $\rightarrow$ 64 $\rightarrow$ 128 tokens). When expanding, the MIT and existing experts are frozen, their weights are duplicated to initialize the new experts, and only the newly added blocks and decoder are trained. This reduces trainable parameters to roughly 55%.
Datasets
The authors trained and evaluated NativeTok on the standard ImageNet-1K dataset at a resolution of $256 \times 256$ pixels.
Key Insights and Ideas
- Visual Information is Inherently Autoregressive: Just like human perception naturally processes an image from global structures (primary components) to fine details (textures), visual tokenization benefits from following a global causal order.
- The Failure of Naive Causal Masking: Simply applying a causal mask to a standard tokenizer performs poorly because a single network struggles to simultaneously handle global image self-modeling and sequential token generation. The divide-and-conquer design of MIT and MoCET resolves this conflict.
- Sensitivity Breeds Accuracy: By forcing causal constraints during tokenization, the downstream generator becomes significantly more sensitive to token-level variations, allowing it to model token sequences with much higher precision.
Key Results
NativeTok demonstrates superior generation performance across both autoregressive (AR) and masked generative frameworks:
- Autoregressive Generation: Paired with a LlamaGen-B generator, NativeTok32 (utilizing just 32 tokens) achieved a generation FID (gFID) of 5.23, significantly outperforming TiTok-L-32 (7.45) and VQGAN (5.46). Notably, it achieved this superior generation quality despite having a slightly worse reconstruction metric (rFID of 2.57).
- Masked Generation: The highest-capacity variant, NativeTok128, paired with MaskGIT-UVit-L, achieved a state-of-the-art gFID of 2.16 using only 287M parameters and 8 sampling steps.
- Training Efficiency: The HNT strategy successfully accelerated training speed from 1.53 seconds per batch to 1.15 seconds per batch for the 64-token model while simultaneously improving the reconstruction FID.
Limitations and Future Work
- Two-Stage Pipeline Dependency: Although NativeTok closely couples tokenization and generation constraints, it still trains the tokenizer independently from the generative model. A fully unified, end-to-end training pipeline remains unexplored.
- Limited Generator Scaling: Due to computational constraints, the authors only evaluated the second-stage autoregressive generator using their smallest variant (NativeTok32). Consequently, the generation results do not yet reflect the upper performance bound achievable with higher-capacity tokenizers like NativeTok128.
Summary updated