Lune

ICCV2023顶会

Robustifying Token Attention for Vision Transformers

Yong Guo, David Stutz, Bernt Schiele

摘要

Despite the success of vision transformers (ViTs), they still suffer from significant drops in accuracy in the presence of common corruptions, such as noise or blur. Interestingly, we observe that the attention mechanism of ViTs tends to rely on few important tokens, a phenomenon we call token overfocusing. More critically, these tokens are not robust to corruptions, often leading to highly diverging attention patterns. In this paper, we intend to alleviate this overfocusing issue and make attention more stable through two general techniques: First, our Token-aware Average Pooling (TAP) module encourages the local neighborhood of each token to take part in the attention mechanism. Specifically, TAP learns average pooling schemes for each token such that the information of potentially important tokens in the neighborhood can adaptively be taken into account. Second, we force the output tokens to aggregate information from a diverse set of input tokens rather than focusing on just a few by using our Attention Diversification Loss (ADL). We achieve this by penalizing high cosine similarity between the attention vectors of different tokens. In experiments, we apply our methods to a wide range of transformer architectures and improve robustness significantly. For example, we improve corruption robustness on ImageNet-C by 2.4% while improving accuracy by 0.4% based on state-of-the-art robust architecture FAN. Also, when fine-tuning on semantic segmentation tasks, we improve robustness on CityScapes-C by 2.4% and ACDC by 3.0%. Our code is available at https://github.com/guoyongcs/TAPADL.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer 引用了 A ConvNet for the 2020s
  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer 引用了 Training data-efficient image transformers & distillation through attention
  • A ConvNet for the 2020s 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A ConvNet for the 2020s 引用了 Training data-efficient image transformers & distillation through attention
  • Revealing the Dark Secrets of Extremely Large Kernel ConvNets on Robustness 引用了 A ConvNet for the 2020s
  • Revealing the Dark Secrets of Extremely Large Kernel ConvNets on Robustness 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Revealing the Dark Secrets of Extremely Large Kernel ConvNets on Robustness 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Revealing the Dark Secrets of Extremely Large Kernel ConvNets on Robustness 引用了 Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions 引用了 Training data-efficient image transformers & distillation through attention
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Adaptive Sharpness-Aware Pruning for Robust Sparse Networks 引用了 SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Adaptive Sharpness-Aware Pruning for Robust Sparse NetworksAnna Bair, Hongxu Yin, Maying Shen, Pavlo Molchanov 等ICLR 2024 · 19 次引用
  2. Revealing the Dark Secrets of Extremely Large Kernel ConvNets on RobustnessHonghao Chen, Yurong Zhang, Xiaokun Feng, Xiangxiang Chu 等ICML 2024 · 11 次引用
  3. Benchmarking the Robustness of Temporal Action Detection Models Against Temporal CorruptionsRunhao Zeng, Xiaoyong Chen, Jiaming Liang, Huisi Wu 等CVPR 2024 · 6 次引用
  4. Towards Adaptive Neighborhood for Advancing Temporal Interaction Graph ModelingSiwei Zhang, Xi Chen, Yun Xiong, Xixi Wu 等KDD 2024 · 6 次引用
  5. AdanCA: Neural Cellular Automata As Adaptors For More Robust Vision TransformerYitao Xu, Tong Zhang, Sabine SüsstrunkNeurIPS 2024 · 5 次引用

它引用的 Paper39

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar 等NeurIPS 2021 · 9,661 次引用
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  4. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer 等CVPR 2022 · 6,782 次引用
  5. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan 等ICCV 2021 · 4,909 次引用

相关 Paper

  1. Improving Robustness of Vision Transformers by Reducing Sensitivity to Patch CorruptionsYong Guo, David Stutz, Bernt SchieleCVPR 2023
  2. Improving Adversarial Transferability on Vision Transformers via Forward Propagation RefinementYuchen Ren, Zhengyu Zhao, Chenhao Lin, Bo Yang 等CVPR 2025
  3. Understanding The Robustness in Vision TransformersDaquan Zhou, Zhiding Yu, Enze Xie, Chaowei Xiao 等ICML 2022 · 242 次引用
  4. Towards Robust Vision TransformerXiaofeng Mao, Gege Qi, Yuefeng Chen, Xiaodan Li 等CVPR 2022 · 185 次引用
  5. Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token TuningDi Ming, Peng Ren, Yunlong Wang, Xin FengNeurIPS 2024 · 24 次引用
黄昏的海面,两侧是细线勾勒的悬崖