SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer

Xuanyao Chen, Zhijian Liu, Haotian Tang, Li Yi, Hang Zhao +1 more
2/14/2026

No official code found. Best implementation: mit-han-lab/sparsevit (82 stars, Apache-2.0, last commit 2024-04-24).

Abstract

High-resolution images enable neural networks to learn richer visual representations. However, this improved performance comes at the cost of growing computational complexity, hindering their usage in latency-sensitive applications. As not all pixels are equal, skipping computations for less-important regions offers a simple and effective measure to reduce the computation. This, however, is hard to be translated into actual speedup for CNNs since it breaks the regularity of the dense convolution workload. In this paper, we introduce SparseViT that revisits activation sparsity for recent window-based vision transformers (ViTs). As window attentions are naturally batched over blocks, actual speedup with window activation pruning becomes possible: i.e., ~50% latency reduction with 60% sparsity. Different layers should be assigned with different pruning ratios due to their diverse sensitivities and computational costs. We introduce sparsity-aware adaptation and apply the evolutionary search to efficiently find the optimal layerwise sparsity configuration within the vast search space. SparseViT achieves speedups of 1.5×, 1.4×, and 1.3× compared to its dense counterpart in monocular 3D object detection, 2D instance segmentation, and 2D semantic segmentation, respectively, with negligible to no loss of accuracy.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[CVPR'23] SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer

825Shell, PythonJun 4, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2026sparsevit,
  title  = {SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer},
  author = {Xuanyao Chen and Zhijian Liu and Haotian Tang and Li Yi and Hang Zhao and Song Han},
  year   = {2026},
  eprint = {2303.17605},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.17605},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.17605.svg)](https://codeofpaper.com/paper/2303.17605)

Discussion