paper-with-me

홈 › Papers

Revisiting Vision Transformer from the View of Path Ensemble

2023-08-12 · ICCV 2023 1 · Shuning Chang, Pichao Wang, Hao Luo, Fan Wang, Mike Zheng Shou

Vision Transformers (ViTs) are normally regarded as a stack of transformer layers. In this work, we propose a novel view of ViTs showing that they can be seen as ensemble networks containing multiple parallel paths with different lengths. Specifically, we equivalently transform the traditional cascade of multi-head self-attention (MSA) and feed-forward network (FFN) into three parallel paths in each transformer layer. Then, we utilize the identity connection in our new transformer form and further transform the ViT into an explicit multi-path ensemble network. From the new perspective, these paths perform two functions: the first is to provide the feature for the classifier directly, and the second is to provide the lower-level feature representation for subsequent longer paths. We investigate the influence of each path for the final prediction and discover that some paths even pull down the performance. Therefore, we propose the path pruning and EnsembleScale skills for improvement, which cut out the underperforming paths and re-weight the ensemble components, respectively, to optimize the path combination and make the short paths focus on providing high-quality representation for subsequent paths. We also demonstrate that our path combination strategies can help ViTs go deeper and act as high-pass filters to filter out partial low-frequency signals. To further enhance the representation of paths served for subsequent paths, self-distillation is applied to transfer knowledge from the long paths to the short paths. This work calls for more future research to explain and design ViTs from new perspectives.

📄 PDF Abstract BibTeX arXiv:2308.06548

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

ViT-DeiT: An Ensemble Model for Breast Cancer Histopathological Images Classification

2022-11-01 · Amira Alotaibi, Tarik Alafif, Faris Alkhilaiwi, Yasser Alatawi 외

Breast cancer is the most common cancer in the world and the second most common type of cancer that causes death in women. The timely and accurate diagnosis of breast cancer using histopathological images is crucial for …

Deep-OCTA: Ensemble Deep Learning Approaches for Diabetic Retinopathy Analysis on OCTA Images

2022-10-02 · Junlin Hou, Fan Xiao, Jilan Xu, Yuejie Zhang 외

The ultra-wide optical coherence tomography angiography (OCTA) has become an important imaging modality in diabetic retinopathy (DR) diagnosis. However, there are few researches focusing on automatic DR analysis using ul…

Data AugmentationImage Quality Assessment

A Unified View of Masked Image Modeling

2022-10-19 · Zhiliang Peng, Li Dong, Hangbo Bao, Qixiang Ye 외

Masked image modeling has demonstrated great potential to eliminate the label-hungry problem of training large-scale vision Transformers, achieving impressive performance on various downstream tasks. In this work, we pro…

image-classificationImage ClassificationSegmentationSemantic Segmentation

The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensembles

2023-06-02 · Md Shamim Hussain, Mohammed J. Zaki, Dharmashankar Subramanian

Transformers use the dense self-attention mechanism which gives a lot of flexibility for long-range connectivity. Over multiple layers of a deep transformer, the number of possible connectivity patterns increases exponen…

Graph LearningGraph RegressionImage ClassificationImage Generation+1

ViT-EnsembleAttack: Augmenting Ensemble Models for Stronger Adversarial Transferability in Vision Transformers

2025-08-17 · Hanwen Cao, Haobo Lu, Xiaosen Wang, Kun He arxiv

Ensemble-based attacks have been proven to be effective in enhancing adversarial transferability by aggregating the outputs of models with various architectures. However, existing research primarily focuses on refining e…