arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.09399cs.CV
收藏

OmniTokenizer:用于视觉生成的图像-视频联合分词器

OmniTokenizer: A Joint Image-Video Tokenizer for Visual Generation

Fudan University(复旦大学);Bytedance Inc.(字节跳动公司)

Junke Wang, Yi Jiang, Zehuan Yuan, Binyue Peng, Zuxuan Wu, Yu-Gang Jiang

AI总结:

本文提出 OmniTokenizer,通过时空解耦架构与渐进式训练统一图像和视频分词,在多个基准上取得 SOTA 重建并提升语言模型与扩散模型的视觉合成效果。

摘要:

分词器充当将复杂视觉数据映射到紧凑潜在空间的转换器,是视觉生成模型的核心。基于现有分词器专为图像或视频输入定制这一发现,本文提出了 OmniTokenizer,这是一种基于 transformer 的分词器,用于图像和视频的联合分词。OmniTokenizer 采用时空解耦架构设计,该架构集成了窗口注意力和因果注意力,分别用于空间建模和时间建模。为了利用图像与视频数据的互补特性,我们进一步提出了一种渐进式训练策略:首先在固定分辨率的图像数据上训练 OmniTokenizer,以发展空间编码能力;随后在多种分辨率的图像和视频数据上进行联合训练,以学习时间动态。OmniTokenizer 首次在统一框架内同时处理图像和视频输入,并证明了实现二者协同的可能性。大量实验表明,OmniTokenizer 在多个图像和视频数据集上取得了最先进(SOTA)的重建性能,例如在 ImageNet 上获得 1.11 的重建 FID,在 UCF-101 上获得 42 的重建 FVD,分别比此前的 SOTA 方法优 13% 和 26%。此外,我们还表明,当与 OmniTokenizer 结合时,基于语言模型的方法和扩散模型都能实现先进的视觉合成性能,这凸显了我们方法的优越性和多功能性。代码可在 https://github.com/FoundationVision/OmniTokenizer 获取。

英文摘要:

Tokenizer, serving as a translator to map the intricate visual data into a compact latent space, lies at the core of visual generative models. Based on the finding that existing tokenizers are tailored to image or video inputs, this paper presents OmniTokenizer, a transformer-based tokenizer for joint image and video tokenization. OmniTokenizer is designed with a spatial-temporal decoupled architecture, which integrates window and causal attention for spatial and temporal modeling. To exploit the complementary nature of image and video data, we further propose a progressive training strategy, where OmniTokenizer is first trained on image data on a fixed resolution to develop the spatial encoding capacity and then jointly trained on image and video data on multiple resolutions to learn the temporal dynamics. OmniTokenizer, for the first time, handles both image and video inputs within a unified framework and proves the possibility of realizing their synergy. Extensive experiments demonstrate that OmniTokenizer achieves state-of-the-art (SOTA) reconstruction performance on various image and video datasets, e.g., 1.11 reconstruction FID on ImageNet and 42 reconstruction FVD on UCF-101, beating the previous SOTA methods by 13% and 26%, respectively. Additionally, we also show that when integrated with OmniTokenizer, both language model-based approaches and diffusion models can realize advanced visual synthesis performance, underscoring the superiority and versatility of our method. Code is available at https://github.com/FoundationVision/OmniTokenizer.

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

↑