TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Multi-criteria Token Fusion with One-step-ahead Attention ...

Multi-criteria Token Fusion with One-step-ahead Attention for Efficient Vision Transformers

Sanghyeok Lee, Joonmyung Choi, Hyunwoo J. Kim

2024-03-15CVPR 2024 1Image Classification
PaperPDFCode(official)

Abstract

Vision Transformer (ViT) has emerged as a prominent backbone for computer vision. For more efficient ViTs, recent works lessen the quadratic cost of the self-attention layer by pruning or fusing the redundant tokens. However, these works faced the speed-accuracy trade-off caused by the loss of information. Here, we argue that token fusion needs to consider diverse relations between tokens to minimize information loss. In this paper, we propose a Multi-criteria Token Fusion (MCTF), that gradually fuses the tokens based on multi-criteria (e.g., similarity, informativeness, and size of fused tokens). Further, we utilize the one-step-ahead attention, which is the improved approach to capture the informativeness of the tokens. By training the model equipped with MCTF using a token reduction consistency, we achieve the best speed-accuracy trade-off in the image classification (ImageNet1K). Experimental results prove that MCTF consistently surpasses the previous reduction methods with and without training. Specifically, DeiT-T and DeiT-S with MCTF reduce FLOPs by about 44% while improving the performance (+0.5%, and +0.3%) over the base model, respectively. We also demonstrate the applicability of MCTF in various Vision Transformers (e.g., T2T-ViT, LV-ViT), achieving at least 31% speedup without performance degradation. Code is available at https://github.com/mlvlab/MCTF.

Results

TaskDatasetMetricValueModel
Image ClassificationImageNet-1K (With LV-ViT-S)GFLOPs4.9MCTF ($r=8$)
Image ClassificationImageNet-1K (With LV-ViT-S)Top 1 Accuracy83.5MCTF ($r=8$)
Image ClassificationImageNet-1K (With LV-ViT-S)GFLOPs4.2MCTF ($r=12$)
Image ClassificationImageNet-1K (With LV-ViT-S)Top 1 Accuracy83.4MCTF ($r=12$)
Image ClassificationImageNet-1K (With LV-ViT-S)GFLOPs3.6MCTF ($r=16$)
Image ClassificationImageNet-1K (With LV-ViT-S)Top 1 Accuracy82.3MCTF ($r=16$)
Image ClassificationImageNet-1K (with DeiT-S)GFLOPs2.6MCTF ($r=16$)
Image ClassificationImageNet-1K (with DeiT-S)Top 1 Accuracy80.1MCTF ($r=16$)
Image ClassificationImageNet-1K (with DeiT-S)GFLOPs2.4MCTF ($r=18$)
Image ClassificationImageNet-1K (with DeiT-S)Top 1 Accuracy79.9MCTF ($r=18$)
Image ClassificationImageNet-1K (with DeiT-S)GFLOPs2.2MCTF ($r=20$)
Image ClassificationImageNet-1K (with DeiT-S)Top 1 Accuracy79.5MCTF ($r=20$)
Image ClassificationImageNet-1K (with DeiT-T)GFLOPs1MCTF ($r=8$)
Image ClassificationImageNet-1K (with DeiT-T)Top 1 Accuracy72.9MCTF ($r=8$)
Image ClassificationImageNet-1K (with DeiT-T)GFLOPs0.7MCTF ($r=16$)
Image ClassificationImageNet-1K (with DeiT-T)Top 1 Accuracy72.7MCTF ($r=16$)
Image ClassificationImageNet-1K (with DeiT-T)GFLOPs0.6MCTF ($r=20$)
Image ClassificationImageNet-1K (with DeiT-T)Top 1 Accuracy71.4MCTF ($r=20$)

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14FedGSCA: Medical Federated Learning with Global Sample Selector and Client Adaptive Adjuster under Label Noise2025-07-13