Saved in:
Bibliographic Details
Main Authors: Wang, Luting, Zhao, Yang, Zhang, Zijian, Feng, Jiashi, Liu, Si, Kang, Bingyi
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.04406
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913573223006208
author Wang, Luting
Zhao, Yang
Zhang, Zijian
Feng, Jiashi
Liu, Si
Kang, Bingyi
author_facet Wang, Luting
Zhao, Yang
Zhang, Zijian
Feng, Jiashi
Liu, Si
Kang, Bingyi
contents Abstract Modern image generation (IG) models have been shown to capture rich semantics valuable for image understanding (IU) tasks. However, the potential of IU models to improve IG performance remains uncharted. We address this issue using a token-based IG framework, which relies on effective tokenizers to project images into token sequences. Currently, pixel reconstruction (e.g., VQGAN) dominates the training objective for image tokenizers. In contrast, our approach adopts the feature reconstruction objective, where tokenizers are trained by distilling knowledge from pretrained IU encoders. Comprehensive comparisons indicate that tokenizers with strong IU capabilities achieve superior IG performance across a variety of metrics, datasets, tasks, and proposal networks. Notably, VQ-KD CLIP achieves $4.10$ FID on ImageNet-1k (IN-1k). Visualization suggests that the superiority of VQ-KD can be partly attributed to the rich semantics within the VQ-KD codebook. We further introduce a straightforward pipeline to directly transform IU encoders into tokenizers, demonstrating exceptional effectiveness for IG tasks. These discoveries may energize further exploration into image tokenizer research and inspire the community to reassess the relationship between IU and IG. The code is released at https://github.com/magic-research/vector_quantization.
format Preprint
id arxiv_https___arxiv_org_abs_2411_04406
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Image Understanding Makes for A Good Tokenizer for Image Generation
Wang, Luting
Zhao, Yang
Zhang, Zijian
Feng, Jiashi
Liu, Si
Kang, Bingyi
Computer Vision and Pattern Recognition
Abstract Modern image generation (IG) models have been shown to capture rich semantics valuable for image understanding (IU) tasks. However, the potential of IU models to improve IG performance remains uncharted. We address this issue using a token-based IG framework, which relies on effective tokenizers to project images into token sequences. Currently, pixel reconstruction (e.g., VQGAN) dominates the training objective for image tokenizers. In contrast, our approach adopts the feature reconstruction objective, where tokenizers are trained by distilling knowledge from pretrained IU encoders. Comprehensive comparisons indicate that tokenizers with strong IU capabilities achieve superior IG performance across a variety of metrics, datasets, tasks, and proposal networks. Notably, VQ-KD CLIP achieves $4.10$ FID on ImageNet-1k (IN-1k). Visualization suggests that the superiority of VQ-KD can be partly attributed to the rich semantics within the VQ-KD codebook. We further introduce a straightforward pipeline to directly transform IU encoders into tokenizers, demonstrating exceptional effectiveness for IG tasks. These discoveries may energize further exploration into image tokenizer research and inspire the community to reassess the relationship between IU and IG. The code is released at https://github.com/magic-research/vector_quantization.
title Image Understanding Makes for A Good Tokenizer for Image Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.04406