paper-with-me

홈 › Papers

ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Acceleration

2024-09-15 · Ning-Chi Huang, Chi-Chih Chang, Wei-Cheng Lin, Endri Taka, Diana Marculescu, Kai-Chiang Wu

$N{:}M$ sparsity is an emerging model compression method supported by more and more accelerators to speed up sparse matrix multiplication in deep neural networks. Most existing $N{:}M$ sparsity methods compress neural networks with a uniform setting for all layers in a network or heuristically determine the layer-wise configuration by considering the number of parameters in each layer. However, very few methods have been designed for obtaining a layer-wise customized $N{:}M$ sparse configuration for vision transformers (ViTs), which usually consist of transformer blocks involving the same number of parameters. In this work, to address the challenge of selecting suitable sparse configuration for ViTs on $N{:}M$ sparsity-supporting accelerators, we propose ELSA, Exploiting Layer-wise $N{:}M$ Sparsity for ViTs. Considering not only all $N{:}M$ sparsity levels supported by a given accelerator but also the expected throughput improvement, our methodology can reap the benefits of accelerators supporting mixed sparsity by trading off negligible accuracy loss with both memory usage and inference time reduction for ViT models. For instance, our approach achieves a noteworthy 2.9$\times$ reduction in FLOPs for both Swin-B and DeiT-B with only a marginal degradation of accuracy on ImageNet. Our code will be released upon paper acceptance.

📄 PDF Abstract BibTeX arXiv:2409.09708

Code (1)

ningchihuang/ELSA pytorch

Tasks

Model Compression

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

ELSA: An ELastic SNN Inference Architecture for Efficient Neuromorphic Computing

2026-05-20 · Kang You, Chen Nie, Lee Jun Yan, Ziling Wei 외 arxiv

Spiking neural networks (SNNs) exploit event-driven and addition-only computation to substantially improve efficiency for intelligent computation. A key temporal property of SNNs, elastic inference, allows outputs to eme…

The Unseen Frontier: Pushing the Limits of LLM Sparsity with Surrogate-Free ADMM

2025-10-02 · Kwanhee Lee, Hyeondo Jang, Dongyeop Lee, Dan Alistarh 외 arxiv

Neural network pruning is a promising technique to mitigate the excessive computational and memory requirements of large language models (LLMs). Despite its promise, however, progress in this area has diminished, as conv…

Network Pruning

ELSA: Partial Weight Freezing for Overhead-Free Sparse Network Deployment

2023-12-11 · Paniz Halvachi, Alexandra Peste, Dan Alistarh, Christoph H. Lampert

We present ELSA, a practical solution for creating deep networks that can easily be deployed at different levels of sparsity. The core idea is to embed one or more sparse networks within a single dense network as a prope…

ELSAA: Efficient Low-Rank and Sparse Attention Approximation for Training Transformers

2026-07-22 · Mahdi Heidari, Mohammad Mahdi Rahimi, Jaekyun Moon arxiv

The quadratic $N\times N$ attention score matrix remains a central obstacle to extending Transformers to longer input lengths. Existing efficient attention methods usually reduce this bottleneck by either imposing sparsi…

ELSA: Enhanced Local Self-Attention for Vision Transformer

2021-12-23 · Jingkai Zhou, Pichao Wang, Fan Wang, Qiong Liu 외

Self-attention is powerful in modeling long-range dependencies, but it is weak in local finer-level feature learning. The performance of local self-attention (LSA) is just on par with convolution and inferior to dynamic …

Image ClassificationInstance SegmentationObject DetectionSemantic Segmentation