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

基于随机共振Transformer的子令牌ViT嵌入

Sub-token ViT Embedding via Stochastic Resonance Transformers

UCLA(加利福尼亚大学洛杉矶分校);Yale(耶鲁大学)

Dong Lao, Yangchao Wu, Tian Yu Liu, Alex Wong, Stefano Soatto

AI总结:

本文提出随机共振Transformer(SRT),通过子令牌空间变换与特征聚合,在不微调的情况下将ViT特征细化到更细空间粒度,在多个视觉任务上最高提升14.9%。

摘要:

视觉Transformer(ViT)架构将图像表示为高维向量化令牌的集合,每个令牌对应一个矩形非重叠图像块。这种表示方式以空间粒度换取嵌入维度,导致特征图语义丰富但空间量化粗糙。为了恢复有利于细粒度推理任务的空间细节,我们提出了一种受“随机共振”启发的免训练方法。具体来说,我们对输入数据执行子令牌空间变换,并在应用逆变换后聚合所得的ViT特征。由此产生的“随机共振Transformer”(SRT)保留了原始表示中丰富的语义信息,但将其建立在更细粒度的空间域上,从而部分缓解了空间令牌化的粗糙效应。SRT适用于任何ViT架构的任意层,在分割、分类、深度估计等多个任务上持续提升性能,最高提升达14.9%,且无需任何微调。

英文摘要:

Vision Transformer (ViT) architectures represent images as collections of high-dimensional vectorized tokens, each corresponding to a rectangular non-overlapping patch. This representation trades spatial granularity for embedding dimensionality, and results in semantically rich but spatially coarsely quantized feature maps. In order to retrieve spatial details beneficial to fine-grained inference tasks we propose a training-free method inspired by "stochastic resonance". Specifically, we perform sub-token spatial transformations to the input data, and aggregate the resulting ViT features after applying the inverse transformation. The resulting "Stochastic Resonance Transformer" (SRT) retains the rich semantic information of the original representation, but grounds it on a finer-scale spatial domain, partly mitigating the coarse effect of spatial tokenization. SRT is applicable across any layer of any ViT architecture, consistently boosting performance on several tasks including segmentation, classification, depth estimation, and others by up to 14.9% without the need for any fine-tuning.

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

↑