pith. sign in

arxiv: 2103.11886 · v4 · pith:37RRKOZ7new · submitted 2021-03-22 · 💻 cs.CV

DeepViT: Towards Deeper Vision Transformer

classification 💻 cs.CV
keywords deeperlayersattentionmapsmodelsperformancetransformervits
0
0 comments X
read the original abstract

Vision transformers (ViTs) have been successfully applied in image classification tasks recently. In this paper, we show that, unlike convolution neural networks (CNNs)that can be improved by stacking more convolutional layers, the performance of ViTs saturate fast when scaled to be deeper. More specifically, we empirically observe that such scaling difficulty is caused by the attention collapse issue: as the transformer goes deeper, the attention maps gradually become similar and even much the same after certain layers. In other words, the feature maps tend to be identical in the top layers of deep ViT models. This fact demonstrates that in deeper layers of ViTs, the self-attention mechanism fails to learn effective concepts for representation learning and hinders the model from getting expected performance gain. Based on above observation, we propose a simple yet effective method, named Re-attention, to re-generate the attention maps to increase their diversity at different layers with negligible computation and memory cost. The pro-posed method makes it feasible to train deeper ViT models with consistent performance improvements via minor modification to existing ViT models. Notably, when training a deep ViT model with 32 transformer blocks, the Top-1 classification accuracy can be improved by 1.6% on ImageNet. Code is publicly available at https://github.com/zhoudaquan/dvit_repo.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 8 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Kinetic theory for Transformers and the lost-in-the-middle phenomenon

    math.AP 2026-05 conditional novelty 8.0

    A mean-field kinetic theory derivation produces a closed-form U-shaped token retrieval profile that explains the lost-in-the-middle phenomenon in Transformers.

  2. Soft Mixture-of-Recursions: Going Deeper with Recursive Vision Transformers

    cs.CV 2026-07 unverdicted novelty 6.0

    SoftMoR mixes all recursion-step outputs via per-token weights so recursive Vision Transformers gain accuracy from added depth with only ~1.7M extra parameters on ImageNet-1K.

  3. TimeProVe: Propose, then Verify for Efficient Long Video Temporal Reasoning in Activities of Daily Living

    cs.CV 2026-06 unverdicted novelty 6.0

    TimeProVe proposes a propose-then-verify framework using lightweight action-based candidate evidence generation followed by targeted VLM verification for efficient long video temporal reasoning, achieving 7.3% improve...

  4. FOCUS: Fused Observation of Channels for Unveiling Spectra

    cs.CV 2025-07 unverdicted novelty 6.0

    FOCUS enables reliable spatial-spectral interpretability for frozen ViTs in hyperspectral imaging with class-specific prompts and a [SINK] token that reduces attention collapse.

  5. PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel

    cs.DC 2023-04 unverdicted novelty 6.0

    PyTorch Fully Sharded Data Parallel enables training of significantly larger models than Distributed Data Parallel with comparable speed and near-linear TFLOPS scaling.

  6. MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer

    cs.CV 2021-10 unverdicted novelty 6.0

    MobileViT is a lightweight vision transformer that reports 78.4% top-1 accuracy on ImageNet-1k with ~6M parameters, outperforming MobileNetv3 by 3.2% and DeIT by 6.2% at similar size, plus gains on MS-COCO detection.

  7. DAStatFormer: A Hybrid Multibranch Transformer with Statistical Feature Integration for DAS-Based Pattern Recognitions

    cs.LG 2026-05 unverdicted novelty 5.0

    DAStatFormer combines ANOVA-selected multidomain statistical features with a hybrid gated transformer to reach 99.4% accuracy on DAS benchmarks while using fewer parameters than prior models.

  8. MedGemma vs GPT-4: Open-Source and Proprietary Zero-shot Medical Disease Classification from Images

    cs.CV 2025-12 unverdicted novelty 4.0

    Fine-tuned MedGemma outperforms untuned GPT-4 in zero-shot medical image disease classification, achieving 80.37% versus 69.58% mean test accuracy with higher sensitivity for cancer and pneumonia.