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

基于小波的视觉Transformer图像分词器

Wavelet-Based Image Tokenizer for Vision Transformers

Google DeepMind(谷歌DeepMind)

Zhenhai Zhu, Radu Soricut

AI总结:

本文提出一种基于小波变换的图像分词器,替代ViT中默认的逐块卷积,在不改变架构的情况下提升训练吞吐量和ImageNet top-1精度,并具有抗攻击性,为ViT设计开辟新方向。

摘要:

对于所有最先进的视觉Transformer(ViT)模型,非重叠逐块卷积是默认的图像分词器。尽管已经提出了许多ViT变体以提高其效率和准确性,但文献中关于改进图像分词器本身的研究很少。在本文中,我们提出了一种基于小波变换的新型图像分词器。我们表明,采用新分词器的ViT模型在ImageNet验证集上实现了更高的训练吞吐量和更好的top-1精度。我们对所提出的分词器为何能在不改变ViT模型架构的情况下提高训练吞吐量进行了理论分析。我们的分析表明,新分词器能够有效处理高分辨率图像,并且天然具有对抗攻击的抵抗力。此外,所提出的图像分词器为基于ViT的模型设计提供了重要的新研究方向,例如用于图像理解的非均匀网格上的图像令牌。

英文摘要:

Non-overlapping patch-wise convolution is the default image tokenizer for all state-of-the-art vision Transformer (ViT) models. Even though many ViT variants have been proposed to improve its efficiency and accuracy, little research on improving the image tokenizer itself has been reported in the literature. In this paper, we propose a new image tokenizer based on wavelet transformation. We show that ViT models with the new tokenizer achieve both higher training throughput and better top-1 precision for the ImageNet validation set. We present a theoretical analysis on why the proposed tokenizer improves the training throughput without any change to ViT model architecture. Our analysis suggests that the new tokenizer can effectively handle high-resolution images and is naturally resistant to adversarial attack. Furthermore, the proposed image tokenizer offers a fresh perspective on important new research directions for ViT-based model design, such as image tokens on a non-uniform grid for image understanding.

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

↑