HieraTok: Multi-Scale Visual Tokenizer Improves Image Reconstruction and Generation

Cong Chen, Ziyuan Huang, Cheng Zou, Muzhi Zhu, Kaixiang Ji, Jiajia Liu, Jingdong Chen, Hao Chen, Chunhua Shen · DOI

Introduction

In the ecosystem of latent generative models—such as Stable Diffusion or Sora—the tokenizer serves as a critical bridge, compressing high-resolution images into a compact latent space. While Vision Transformer (ViT)-based tokenizers are currently the standard, they are fundamentally limited by their single-scale nature. By treating images as fixed grids of tokens, these models often struggle to capture the hierarchical structure of natural scenes, leading to a difficult trade-off between reconstruction fidelity and the learnability of the latent space.

The HieraTok Architecture

To overcome the "one-size-fits-all" resolution of standard models, HieraTok introduces a multi-scale ViT architecture. It incorporates hierarchical principles typically found in convolutional networks into the transformer framework through three primary innovations:

  1. Multi-Scale Downsampling: Instead of a single token map, the encoder produces a sequence of tokens across multiple resolutions. This allows the model to capture both coarse global context and fine-grained local details.
  2. Scale-Causal Attention: This is the core mechanism of HieraTok. In the decoder, tokens at a specific resolution are restricted to attending only to themselves and preceding lower-resolution (coarser) tokens. This ensures a progressive, coarse-to-fine flow of information, where global structure consistently guides the generation of details.
  3. Multi-Scale RGB Supervision: During training, the model is supervised to reconstruct the image at every scale (e.g., from 16x16 up to 256x256). This enforces scale consistency and ensures the latent space is logically organized across resolutions.
HieraTok architecture vs. Vanilla ViT, illustrating the multi-scale token generation and scale-causal attention mechanism.

Key Results and Insights

HieraTok significantly outperforms existing ViT-based tokenizers across standard benchmarks, particularly on the ImageNet 256x256 dataset.

Quantitative Performance

  • Reconstruction Fidelity: HieraTok achieved a 27.2% improvement in reconstruction FID (rFID), dropping from 1.47 to 1.07.
  • Generative Quality: When paired with a Diffusion Transformer (DiT-XL), it improved the generation FID (gFID) from 16.4 to 13.3, an 18.9% gain.
  • Training Efficiency: Most notably, HieraTok enables generative models to reach baseline quality levels 1.38x faster, drastically reducing the computational resources required for training.

Qualitative Superiority

Visual comparisons highlight HieraTok's ability to preserve intricate textures and structures that single-scale models often blur or distort. By restricting information flow through scale-causal attention, the model avoids the noise and ambiguity that occur when high-resolution details attempt to influence global structure prematurely.

Visual comparison of image reconstruction and generation between multi-scale (HieraTok) and single-scale models at different training milestones.

Conclusion

HieraTok demonstrates that moving beyond single-scale tokenization is essential for the next generation of visual models. By producing a smoother, more uniform latent distribution, it simplifies the learning task for downstream generative transformers. While the multi-scale approach increases complexity during the initial tokenizer training, the resulting performance gains and training speedups for generative models offer a compelling advantage for large-scale image and video synthesis.

Summary updated

BibTeX
@misc{chen2025hieratok,
  author = {Cong Chen and Ziyuan Huang and Cheng Zou and Muzhi Zhu and Kaixiang Ji and Jiajia Liu and Jingdong Chen and Hao Chen and Chunhua Shen},
  title = {{HieraTok: Multi-Scale Visual Tokenizer Improves Image Reconstruction and Generation}},
  year = {2025},
  eprint = {2509.23736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.23736},
}
Figure