arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09755cs.CVcs.AI
收藏

扩展用于重建与生成的视觉分词器的经验

Learnings from Scaling Visual Tokenizers for Reconstruction and Generation

Meta;FAIR, Meta(元公司FAIR研究院);Stanford University(斯坦福大学)

Philippe Hansen-Estruch, David Yan, Ching-Yao Chung, Orr Zohar, Jialiang Wang, Tingbo Hou, Tao Xu, Sriram Vishwanath, Peter Vajda, Xinlei Chen

AI总结:

本文提出 ViTok 视觉分词器,系统扩展并分析自编码器瓶颈、编码器与解码器对重建及生成的影响,以更低 FLOPs 达到图像重建与生成竞争力,并刷新 UCF-101 类别条件视频生成基准。

摘要:

通过自编码进行视觉分词,将像素压缩到潜在空间,从而赋能最先进的图像和视频生成模型。尽管扩展基于 Transformer 的生成器一直是近期进展的核心,但分词器组件本身却很少被扩展,这使得自编码器设计选择如何影响其重建目标以及下游生成性能仍存在未解问题。我们的工作旨在对自编码器中的扩展进行探索,以填补这一空白。为促进这一探索,我们用一种增强的用于分词的 Vision Transformer 架构(ViTok)取代典型的卷积骨干网络。我们在远超 ImageNet-1K 的大规模图像和视频数据集上训练 ViTok,消除了分词器扩展的数据约束。我们首先研究扩展自编码器瓶颈如何影响重建和生成,并发现虽然其与重建高度相关,但它与生成的关系更为复杂。接下来,我们探索了分别扩展自编码器的编码器和解码器对重建和生成性能的影响。关键在于,我们发现扩展编码器对重建或生成几乎都没有带来增益,而扩展解码器会提升重建性能,但对生成的收益则好坏参半。基于我们的探索,我们将 ViTok 设计为一种轻量级自编码器,在 ImageNet-1K 和 COCO 重建任务(256p 和 512p)上取得了与最先进自编码器相竞争的性能,同时在 UCF-101 的 16 帧 128p 视频重建上优于现有自编码器,而 FLOPs 仅为其 1/2 至 1/5。当与 Diffusion Transformers 集成时,ViTok 在 ImageNet-1K 图像生成上展现出具有竞争力的性能,并在 UCF-101 的类别条件视频生成上树立了新的最先进基准。

英文摘要:

Visual tokenization via auto-encoding empowers state-of-the-art image and video generative models by compressing pixels into a latent space. Although scaling Transformer-based generators has been central to recent advances, the tokenizer component itself is rarely scaled, leaving open questions about how auto-encoder design choices influence both its objective of reconstruction and downstream generative performance. Our work aims to conduct an exploration of scaling in auto-encoders to fill in this blank. To facilitate this exploration, we replace the typical convolutional backbone with an enhanced Vision Transformer architecture for Tokenization (ViTok). We train ViTok on large-scale image and video datasets far exceeding ImageNet-1K, removing data constraints on tokenizer scaling. We first study how scaling the auto-encoder bottleneck affects both reconstruction and generation -- and find that while it is highly correlated with reconstruction, its relationship with generation is more complex. We next explored the effect of separately scaling the auto-encoders' encoder and decoder on reconstruction and generation performance. Crucially, we find that scaling the encoder yields minimal gains for either reconstruction or generation, while scaling the decoder boosts reconstruction but the benefits for generation are mixed. Building on our exploration, we design ViTok as a lightweight auto-encoder that achieves competitive performance with state-of-the-art auto-encoders on ImageNet-1K and COCO reconstruction tasks (256p and 512p) while outperforming existing auto-encoders on 16-frame 128p video reconstruction for UCF-101, all with 2-5x fewer FLOPs. When integrated with Diffusion Transformers, ViTok demonstrates competitive performance on image generation for ImageNet-1K and sets new state-of-the-art benchmarks for class-conditional video generation on UCF-101.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑