跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机视觉与模式识别

arXiv:2307.02321 (cs)
[提交于 2023年9月8日]

标题:MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers

作者:Jakob Drachmann Havtorn, Amelie Royer, Tijmen Blankevoort, Babak Ehteshami Bejnordi
查看论文《MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The input tokens to Vision Transformers carry little semantic meaning as they are defined as regular equal-sized patches of the input image, regardless of its content. However, processing uniform background areas of an image should not necessitate as much compute as dense, cluttered areas. To address this issue, we propose a dynamic mixed-scale tokenization scheme for ViT, MSViT. Our method introduces a conditional gating mechanism that selects the optimal token scale for every image region, such that the number of tokens is dynamically determined per input. In addition, to enhance the conditional behavior of the gate during training, we introduce a novel generalization of the batch-shaping loss. We show that our gating module is able to learn meaningful semantics despite operating locally at the coarse patch-level. The proposed gating module is lightweight, agnostic to the choice of transformer backbone, and trained within a few epochs with little training overhead. Furthermore, in contrast to token pruning, MSViT does not lose information about the input, thus can be readily applied for dense tasks. We validate MSViT on the tasks of classification and segmentation where it leads to improved accuracy-complexity trade-off.
评论: ICCV Workshops 2023; Code for the Generalized Batch-Shaping loss is available at https://github.com/Qualcomm-AI-research/batchshaping
主题: 计算机视觉与模式识别 (cs.CV)
引用方式: arXiv:2307.02321 [cs.CV]
  (或者 arXiv:2307.02321v1 [cs.CV] 对于此版本)
  https://doi.org/10.48550/arXiv.2307.02321

提交历史

来自:Amelie Royer
[v1] 2023年9月8日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CV
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站