Vision Foundation Models as Generalist Tokenizers for Image Generation

Anlin Zheng, Qi Han, Xin Wen, Chuofan Ma, Lanxi Gong +3 more
5/18/2026
cs.CV

No official code found. Best implementation: CVMI-Lab/VFMTok2 (4 stars, Apache-2.0, last commit 2026-05-22).

Abstract

In this work, we explore the largely unexplored direction of building a generalist image tokenizer directly on top of a frozen vision foundation model (VFM). To build this tokenizer, we utilize a frozen VFM as the encoder and introduce two key innovations: (1) a region-adaptive quantization framework to eliminate spatial redundancy in standard 2D grid features, and (2) a semantic reconstruction objective that aligns the decoded outputs with the VFM's representations to preserve semantic fidelity. Grounded in these designs, we propose VFMTok, a generalist visual tokenizer capable of operating seamlessly in both discrete and continuous latent spaces. VFMTok achieves substantial improvements in synthesis quality while drastically enhancing token efficiency. For discrete autoregressive (AR) generation, it accelerates model convergence by \textbf{3 times} and achieves a state-of-the-art gFID of \textbf{1.36} on ImageNet class-conditional synthesis. Similarly, for continuous-space generation, integrating VFMTok with a denoising model yields an exceptional gFID of \textbf{1.25}. Furthermore, because the latent space inherently captures rich spatial semantics, VFMTok enables high-fidelity class-conditional synthesis without classifier-free guidance (\textbf{w/o CFG}) across both generative paradigms, significantly accelerating inference speed. Beyond these remarkable empirical results, we systematically investigate the underlying mechanisms of our approach. We discover that the specific self-supervised learning objectives utilized during VFM pre-training dictate its effectiveness as a tokenizer. Specifically, a VFM jointly optimized with global contrastive learning and latent masked image modeling provides the optimal representations for image tokenization. These insights establish a strong foundation and offer valuable guidance for the design of future image tokenizers.

View on arXivView PDF

Code Implementations(1)

CVMI-Lab/VFMTok2Community76%
Apache-2.0

Vision Foundation Models as Generalist Tokenizers for Image Generation

40May 20, 20265 months agoApache-2.0
computer-visiongenerative-aitokenizer-design

Cite this paper

@article{zheng2026vision,
  title  = {Vision Foundation Models as Generalist Tokenizers for Image Generation},
  author = {Anlin Zheng and Qi Han and Xin Wen and Chuofan Ma and Lanxi Gong and Gang Yu and Xiangyu Zhang and Xiaojuan Qi},
  year   = {2026},
  eprint = {2605.18390},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18390v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18390.svg)](https://codeofpaper.com/paper/2605.18390)

Discussion