TokBench:在视觉生成之前评估你的视觉分词器
TokBench: Evaluating Your Visual Tokenizer before Visual Generation
AI总结:
提出TokBench基准,用轻量级OCR和人脸识别评估视觉分词器对文本和人脸的重建质量,揭示其在细粒度特征保留上的不足,并补充传统指标。
摘要:
在这项工作中,我们揭示了视觉分词器和VAE在保留细粒度特征方面的局限性,并提出了一个基准来评估两种具有挑战性的视觉内容(文本和人脸)的重建性能。视觉分词器和VAE通过提供更高效的压缩或量化图像表示,显著推进了视觉生成和多模态建模。然而,虽然它们帮助生产模型减少了计算负担,但图像压缩带来的信息损失从根本上限制了视觉生成质量的上限。为了评估这一上限,我们专注于评估重建的文本和人脸特征,因为它们通常:1)存在于较小的尺度,2)包含密集且丰富的纹理,3)容易发生坍缩,4)对人眼视觉高度敏感。我们首先从现有数据集中收集并整理了一组多样化的清晰文本和人脸图像。与使用VLM模型的方法不同,我们采用成熟的OCR和人脸识别模型进行评估,确保准确性,同时保持异常轻量级的评估过程,仅需2GB内存和4分钟即可完成。利用我们的基准,我们分析了不同图像分词器和VAE在不同尺度下的文本和人脸重建质量。我们的结果表明,现代视觉分词器仍然难以保留细粒度特征,尤其是在较小尺度下。我们进一步将此评估框架扩展到视频,对视频分词器进行了全面分析。此外,我们证明了传统指标无法准确反映人脸和文本的重建性能,而我们提出的指标则作为有效的补充。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。