arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17863cs.CV
收藏

具有自然语言语义的 Vision Transformers

Vision Transformers with Natural Language Semantics

Duke University(杜克大学);Apple(苹果公司)

Young Kyung Kim, J. Matías Di Martino, Guillermo Sapiro

AI总结:

本文提出 Semantic Vision Transformers(sViT),通过基于分割的语义 tokenizer 替代矩形图像块,以更少训练数据获得更优性能、鲁棒性、泛化性和可解释性。

摘要:

Vision Transformers(ViT)中的 token 或图像块缺乏必要的语义信息,这与自然语言处理(NLP)中的对应部分不同。通常,ViT token 与矩形图像块相关联,而这些图像块缺少具体语义上下文,导致解释困难,也无法有效封装信息。我们提出一种新型 transformer 模型 Semantic Vision Transformers(sViT),它利用分割模型的最新进展来设计新的 tokenizer 策略。sViT 有效利用语义信息,形成一种令人联想到卷积神经网络的归纳偏置,同时捕捉图像中 transformer 所特有的全局依赖关系和上下文信息。通过在真实数据集上的验证,sViT 展现出相对于 ViT 的优越性:它需要更少的训练数据,同时保持相近或更优的性能。此外,得益于其尺度不变的语义特性,sViT 在分布外泛化以及对自然分布偏移的鲁棒性方面表现出显著优势。值得注意的是,语义 token 的使用显著增强了模型的可解释性。最后,所提出的范式有助于在 token(或分割段)层面引入新的强大增强技术,从而增加训练数据多样性和泛化能力。正如句子由词语构成,图像由语义对象构成;我们提出的方法利用对象分割的最新进展,向可解释且鲁棒的 vision transformers 迈出了重要而自然的一步。

英文摘要:

Tokens or patches within Vision Transformers (ViT) lack essential semantic information, unlike their counterparts in natural language processing (NLP). Typically, ViT tokens are associated with rectangular image patches that lack specific semantic context, making interpretation difficult and failing to effectively encapsulate information. We introduce a novel transformer model, Semantic Vision Transformers (sViT), which leverages recent progress on segmentation models to design novel tokenizer strategies. sViT effectively harnesses semantic information, creating an inductive bias reminiscent of convolutional neural networks while capturing global dependencies and contextual information within images that are characteristic of transformers. Through validation using real datasets, sViT demonstrates superiority over ViT, requiring less training data while maintaining similar or superior performance. Furthermore, sViT demonstrates significant superiority in out-of-distribution generalization and robustness to natural distribution shifts, attributed to its scale invariance semantic characteristic. Notably, the use of semantic tokens significantly enhances the model's interpretability. Lastly, the proposed paradigm facilitates the introduction of new and powerful augmentation techniques at the token (or segment) level, increasing training data diversity and generalization capabilities. Just as sentences are made of words, images are formed by semantic objects; our proposed methodology leverages recent progress in object segmentation and takes an important and natural step toward interpretable and robust vision transformers.

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

↑