paper-with-me

홈 › Papers

Automatic Attention Pruning: Improving and Automating Model Pruning using Attentions

2023-03-14 · Kaiqi Zhao, Animesh Jain, Ming Zhao

Pruning is a promising approach to compress deep learning models in order to deploy them on resource-constrained edge devices. However, many existing pruning solutions are based on unstructured pruning, which yields models that cannot efficiently run on commodity hardware; and they often require users to manually explore and tune the pruning process, which is time-consuming and often leads to sub-optimal results. To address these limitations, this paper presents Automatic Attention Pruning (AAP), an adaptive, attention-based, structured pruning approach to automatically generate small, accurate, and hardware-efficient models that meet user objectives. First, it proposes iterative structured pruning using activation-based attention maps to effectively identify and prune unimportant filters. Then, it proposes adaptive pruning policies for automatically meeting the pruning objectives of accuracy-critical, memory-constrained, and latency-sensitive tasks. A comprehensive evaluation shows that AAP substantially outperforms the state-of-the-art structured pruning works for a variety of model architectures. Our code is at: https://github.com/kaiqi123/Automatic-Attention-Pruning.git.

📄 PDF Abstract BibTeX arXiv:2303.08595

Code (1)

kaiqi123/automatic-attention-pruning 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Pruning Self-attentions into Convolutional Layers in Single Path

2021-11-23 · Haoyu He, Jianfei Cai, Jing Liu, Zizheng Pan 외

Vision Transformers (ViTs) have achieved impressive performance over various computer vision tasks. However, modeling global correlations with multi-head self-attention (MSA) layers leads to two widely recognized issues:…

Efficient ViTsInductive BiasNeural Architecture Search

Automatic Channel Pruning for Multi-Head Attention

2024-05-31 · Eunho Lee, Youngbae Hwang

Despite the strong performance of Transformers, their quadratic computation complexity presents challenges in applying them to vision tasks. Automatic pruning is one of effective methods for reducing computation complexi…

Multi-Dimensional Model Compression of Vision Transformer

2021-12-31 · Zejiang Hou, Sun-Yuan Kung

Vision transformers (ViT) have recently attracted considerable attentions, but the huge computational cost remains an issue for practical deployment. Previous ViT pruning methods tend to prune the model along one dimensi…

modelModel Compression

Adaptive Activation-based Structured Pruning

2022-01-21 · Kaiqi Zhao, Animesh Jain, Ming Zhao

Pruning is a promising approach to compress complex deep learning models in order to deploy them on resource-constrained edge devices. However, many existing pruning solutions are based on unstructured pruning, which yie…

Sink-Aware Pruning for Diffusion Language Models

2026-02-19 · Aidar Myrzakhan, Tianyi Li, Bowei Guo, Shengkun Tang 외 arxiv

Diffusion Language Models (DLMs) incur high inference cost due to iterative denoising, motivating efficient pruning. Existing pruning heuristics largely inherited from autoregressive (AR) LLMs, typically preserve attenti…