Learnings from Scaling Visual Tokenizers for Reconstruction and Generation
该论文通过探索视觉自动编码器的扩展,提出了一种名为ViTok的轻量级自动编码器,在图像和视频重建和生成任务中取得了与现有最佳自动编码器相媲美的性能,同时减少了计算负担。
更新于 2025-01-17。作者:Philippe Hansen-Estruch、David Yan、Ching-Yao Chung、Orr Zohar、Jialiang Wang、Tingbo Hou、Tao Xu、Sriram Vishwanath、Peter Vajda、Xinlei Chen。
中文摘要
通过自动编码器实现的视觉标记化将像素压缩到潜在空间,从而赋予了最先进的图像和视频生成模型以力量。尽管基于Transformer的生成器扩展是近期进展的核心,但标记化组件本身却很少进行扩展,这留下了关于自动编码器设计选择如何影响其重建目标和下游生成性能的未解之谜。我们的工作旨在对自动编码器中的扩展进行探索,以填补这一空白。为了促进这一探索,我们用增强的视觉Transformer架构(ViTok)取代了典型的卷积骨干。我们在远超ImageNet-1K的大型图像和视频数据集上训练ViTok,消除了对标记化扩展的数据限制。我们首先研究了扩展自动编码器瓶颈如何影响重建和生成——我们发现,虽然它与重建高度相关,但与生成的关系更为复杂。接下来,我们探讨了分别扩展自动编码器的编码器和解码器对重建和生成性能的影响。关键的是,我们发现扩展编码器对重建或生成几乎没有带来收益,而扩展解码器则提高了重建效果,但生成效果的提升是混合的。基于我们的探索,我们设计了ViTok,这是一个轻量级的自动编码器,在ImageNet-1K和COCO重建任务(256p和512p)上实现了与最先进自动编码器相竞争的性能,同时在UCF-101的16帧128p视频重建上优于现有的自动编码器,所有这些都在2-5倍的浮点运算次数下完成。当与扩散Transformer集成时,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.
解读
一句话总结
该论文通过探索视觉自动编码器的扩展,提出了一种名为ViTok的轻量级自动编码器,在图像和视频重建和生成任务中取得了与现有最佳自动编码器相媲美的性能,同时减少了计算负担。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:视觉自动编码器在图像和视频生成中的重要性日益增加,但现有的视觉自动编码器扩展方法很少被关注。 • 现有方案不足:现有的视觉自动编码器扩展方法往往局限于卷积神经网络架构,且缺乏对大规模数据集的支持。 • 研究目标:探索扩展视觉自动编码器的方法,以实现高效的图像和视频重建和生成。
问题2:论文的核心创新点是什么?
• 技术创新:采用Vision Transformer架构(ViT)增强的自动编码器(ViTok)进行视觉标记化。 • 方法改进:在大型图像和视频数据集上训练ViTok,去除数据规模限制。 • 优势:ViTok在图像和视频重建任务中取得了与现有最佳自动编码器相媲美的性能,同时减少了计算负担。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在ImageNet-1K和COCO数据集上进行图像重建和生成,在UCF-101数据集上进行视频重建和生成。 • 性能提升:ViTok在图像和视频重建任务中取得了与现有最佳自动编码器相媲美的性能,同时减少了计算负担。 • 对比结果:ViTok在图像和视频重建任务中的性能超过了现有的CNN和Transformer-based方法。
问题4:这个研究的实际应用价值是什么?
• 应用场景:图像和视频压缩、图像和视频生成、图像和视频编辑等。 • 实施建议:将ViTok应用于实际图像和视频处理任务中,以实现高效的图像和视频重建和生成。 • 局限与展望:ViTok在处理高分辨率图像和视频时可能存在性能瓶颈。未来的研究可以探索更高效的视觉自动编码器架构,以进一步减少计算负担。