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

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

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

arXiv:2407.04513 (cs)
[提交于 2024年12月9日]

标题:LayerShuffle: Enhancing Robustness in Vision Transformers by Randomizing Layer Execution Order

作者:Matthias Freiberger, Peter Kun, Anders Sundnes Løvlie, Sebastian Risi
查看论文《LayerShuffle: Enhancing Robustness in Vision Transformers by Randomizing Layer Execution Order》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Due to their architecture and how they are trained, artificial neural networks are typically not robust toward pruning or shuffling layers at test time. However, such properties would be desirable for different applications, such as distributed neural network architectures where the order of execution cannot be guaranteed or parts of the network can fail during inference. In this work, we address these issues through a number of training approaches for vision transformers whose most important component is randomizing the execution order of attention modules at training time. With our proposed approaches, vision transformers are capable to adapt to arbitrary layer execution orders at test time assuming one tolerates a reduction (about 20\%) in accuracy at the same model size. We analyse the feature representations of our trained models as well as how each layer contributes to the models prediction based on its position during inference. Our analysis shows that layers learn to contribute differently based on their position in the network. Finally, we layer-prune our models at test time and find that their performance declines gracefully. Code available at https://github.com/matfrei/layershuffle.
主题: 计算机视觉与模式识别 (cs.CV); 人工智能 (cs.AI); 机器学习 (cs.LG)
引用方式: arXiv:2407.04513 [cs.CV]
  (或者 arXiv:2407.04513v1 [cs.CV] 对于此版本)
  https://doi.org/10.48550/arXiv.2407.04513

提交历史

来自:Matthias Freiberger
[v1] 2024年12月9日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.CV
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-12
切换浏览方式为:
cs
cs.AI
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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