paper-with-me

홈 › Papers

Improving Robustness for Vision Transformer with a Simple Dynamic Scanning Augmentation

2023-11-01 · Shashank Kotyan, Danilo Vasconcellos Vargas

Vision Transformer (ViT) has demonstrated promising performance in computer vision tasks, comparable to state-of-the-art neural networks. Yet, this new type of deep neural network architecture is vulnerable to adversarial attacks limiting its capabilities in terms of robustness. This article presents a novel contribution aimed at further improving the accuracy and robustness of ViT, particularly in the face of adversarial attacks. We propose an augmentation technique called `Dynamic Scanning Augmentation' that leverages dynamic input sequences to adaptively focus on different patches, thereby maintaining performance and robustness. Our detailed investigations reveal that this adaptability to the input sequence induces significant changes in the attention mechanism of ViT, even for the same image. We introduce four variations of Dynamic Scanning Augmentation, outperforming ViT in terms of both robustness to adversarial attacks and accuracy against natural images, with one variant showing comparable results. By integrating our augmentation technique, we observe a substantial increase in ViT's robustness, improving it from $17\%$ to $92\%$ measured across different types of adversarial attacks. These findings, together with other comprehensive tests, indicate that Dynamic Scanning Augmentation enhances accuracy and robustness by promoting a more adaptive type of attention. In conclusion, this work contributes to the ongoing research on Vision Transformers by introducing Dynamic Scanning Augmentation as a technique for improving the accuracy and robustness of ViT. The observed results highlight the potential of this approach in advancing computer vision tasks and merit further exploration in future studies.

📄 PDF Abstract BibTeX arXiv:2311.00441

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamics

2026-07-03 · Anvitha Ramachandran, Dhruv Parikh, Haoyang Fan, Rajgopal Kannan 외 arxiv

State Space Models (SSMs) have emerged as an alternative to Vision Transformers, yet most vision SSMs inherit directional token scanning from causal sequence modeling. While effective for sequential data, directional sca…

Instance SegmentationSemantic SegmentationObject LocalizationObject Detection

Rethinking Scanning Strategies with Vision Mamba in Semantic Segmentation of Remote Sensing Imagery: An Experimental Study

2024-05-14 · Qinfeng Zhu, Yuan Fang, Yuanzhi Cai, Cheng Chen 외

Deep learning methods, especially Convolutional Neural Networks (CNN) and Vision Transformer (ViT), are frequently employed to perform semantic segmentation of high-resolution remotely sensed images. However, CNNs are co…

MambaSegmentationSegmentation Of Remote Sensing ImagerySemantic Segmentation

LoG-VMamba: Local-Global Vision Mamba for Medical Image Segmentation

2024-08-26 · Trung Dinh Quoc Dang, Huy Hoang Nguyen, Aleksei Tiulpin

Mamba, a State Space Model (SSM), has recently shown competitive performance to Convolutional Neural Networks (CNNs) and Transformers in Natural Language Processing and general sequence modeling. Various attempts have be…

Image SegmentationMambaMedical Image SegmentationSemantic Segmentation

Scalable Visual State Space Model with Fractal Scanning

2024-05-23 · Lv Tang, Haoke Xiao, Peng-Tao Jiang, Hao Zhang 외

Foundational models have significantly advanced in natural language processing (NLP) and computer vision (CV), with the Transformer architecture becoming a standard backbone. However, the Transformer's quadratic complexi…

image-classificationImage ClassificationMambamodel+1

Can Graphs Help Vision SSMs See Better?

2026-05-11 · Dhruv Parikh, Anvitha Ramachandran, Haoyang Fan, Mustafa Munir 외 arxiv

Vision state space models inherit the efficiency and long-range modeling ability of Mamba-style selective scans. However, their performance depends critically on the representation of two-dimensional visual features as o…

Semantic SegmentationInstance SegmentationImage ClassificationLong-range modeling