Papers
arxiv:2505.18142

TokBench: Evaluating Your Visual Tokenizer before Visual Generation

Published on May 23
· Submitted by Junfeng5 on May 30
Authors:
,
,
,
,
,
,
,
,

Abstract

Evaluation of visual tokenizers and VAEs on fine-grained feature reconstruction, focusing on text and face, reveals limitations in preserving detailed visual content and highlights the need for specialized metrics.

AI-generated summary

In this work, we reveal the limitations of visual tokenizers and VAEs in preserving fine-grained features, and propose a benchmark to evaluate reconstruction performance for two challenging visual contents: text and face. Visual tokenizers and VAEs have significantly advanced visual generation and multimodal modeling by providing more efficient compressed or quantized image representations. However, while helping production models reduce computational burdens, the information loss from image compression fundamentally limits the upper bound of visual generation quality. To evaluate this upper bound, we focus on assessing reconstructed text and facial features since they typically: 1) exist at smaller scales, 2) contain dense and rich textures, 3) are prone to collapse, and 4) are highly sensitive to human vision. We first collect and curate a diverse set of clear text and face images from existing datasets. Unlike approaches using VLM models, we employ established OCR and face recognition models for evaluation, ensuring accuracy while maintaining an exceptionally lightweight assessment process <span style="font-weight: bold; color: rgb(214, 21, 21);">requiring just 2GB memory and 4 minutes</span> to complete. Using our benchmark, we analyze text and face reconstruction quality across various scales for different image tokenizers and VAEs. Our results show modern visual tokenizers still struggle to preserve fine-grained features, especially at smaller scales. We further extend this evaluation framework to video, conducting comprehensive analysis of video tokenizers. Additionally, we demonstrate that traditional metrics fail to accurately reflect reconstruction performance for faces and text, while our proposed metrics serve as an effective complement.

Community

Paper submitter

​​TokBench​​ is an efficient benchmark specifically designed for evaluating text and face reconstruction quality. Since a visual tokenizer/VAE that fails to accurately reconstruct fine-grained visual features will also impair downstream generation models, ​​TokBench​​ leverages OCR and face recognition models to quickly assess text and face reconstruction performance. It provides image and video evaluation datasets and is highly efficient, requiring just ​​2GB storage + 4 minutes​​ to evaluate ​​12,000 images​​.
Use ​​TokBench​​ as your ​​Tokenizer/VAE selection guide​​ and rapidly iterate your models! 🚀
HomePage: https://wjf5203.github.io/TokBench

This is an automated message from the Librarian Bot. I found the following papers similar to this paper.

The following papers were recommended by the Semantic Scholar API

Please give a thumbs up to this comment if you found it helpful!

If you want recommendations for any Paper on Hugging Face checkout this Space

You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2505.18142 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2505.18142 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2505.18142 in a Space README.md to link it from this page.

Collections including this paper 1