paper-with-me

홈 › Papers

SNP: Structured Neuron-level Pruning to Preserve Attention Scores

2024-04-18 · KyungHwan Shim, Jaewoong Yun, Shinkook Choi

Multi-head self-attention (MSA) is a key component of Vision Transformers (ViTs), which have achieved great success in various vision tasks. However, their high computational cost and memory footprint hinder their deployment on resource-constrained devices. Conventional pruning approaches can only compress and accelerate the MSA module using head pruning, although the head is not an atomic unit. To address this issue, we propose a novel graph-aware neuron-level pruning method, Structured Neuron-level Pruning (SNP). SNP prunes neurons with less informative attention scores and eliminates redundancy among heads. Specifically, it prunes graphically connected query and key layers having the least informative attention scores while preserving the overall attention scores. Value layers, which can be pruned independently, are pruned to eliminate inter-head redundancy. Our proposed method effectively compresses and accelerates Transformer-based models for both edge devices and server processors. For instance, the DeiT-Small with SNP runs 3.1$\times$ faster than the original model and achieves performance that is 21.94\% faster and 1.12\% higher than the DeiT-Tiny. Additionally, SNP combine successfully with conventional head or block pruning approaches. SNP with head pruning could compress the DeiT-Base by 80\% of the parameters and computational costs and achieve 3.85$\times$ faster inference speed on RTX3090 and 4.93$\times$ on Jetson Nano.

📄 PDF Abstract BibTeX arXiv:2404.11630

Code (1)

Nota-NetsPresso/SNP 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
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 제목 키워드 기반

2SSP: A Two-Stage Framework for Structured Pruning of LLMs

2025-01-29 · Fabrizio Sandri, Elia Cunegatti, Giovanni Iacca

We propose a novel Two-Stage framework for Structured Pruning (2SSP) for pruning Large Language Models (LLMs), which combines two different strategies of pruning, namely Width and Depth Pruning. The first stage (Width Pr…

Language ModelingLanguage Modelling

Neuron-level Structured Pruning using Polarization Regularizer

2020-12-01 · NeurIPS 2020 12 · Tao Zhuang, Zhixuan Zhang, Yuheng Huang, Xiaoyi Zeng 외

Neuron-level structured pruning is a very effective technique to reduce the computation of neural networks without compromising prediction accuracy. In previous works, structured pruning is usually achieved by imposing L…

Structured vs. Unstructured Pruning: An Exponential Gap

2026-02-13 · Davide Ferre', Frédéric Giroire, Frederik Mallmann-Trenn, Emanuele Natale arxiv

The Strong Lottery Ticket Hypothesis (SLTH) states that large, randomly initialized neural networks contain sparse subnetworks capable of approximating a target function at initialization without training, suggesting tha…

Attention-Based Guided Structured Sparsity of Deep Neural Networks

2018-02-13 · Amirsina Torfi, Rouzbeh A. Shirvani, Sobhan Soleymani, Nasser M. Nasrabadi

Network pruning is aimed at imposing sparsity in a neural network architecture by increasing the portion of zero-valued weights for reducing its size regarding energy-efficiency consideration and increasing evaluation sp…

Network Pruning

Improving Generalization in LLM Structured Pruning via Function-Aware Neuron Grouping

2025-12-28 · Tao Yu, Yongqi An, Kuan Zhu, Guibo Zhu 외 arxiv

Large Language Models (LLMs) demonstrate impressive performance across natural language tasks but incur substantial computational and storage costs due to their scale. Post-training structured pruning offers an efficient…