Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference
Reviewed by Pithpith:RLI34DUUopen to challenge →
read the original abstract
In the world of deep learning, Transformer models have become very significant, leading to improvements in many areas from understanding language to recognizing images, covering a wide range of applications. Despite their success, the deployment of these models in real-time applications, particularly on edge devices, poses significant challenges due to their quadratic computational intensity and memory demands. To overcome these challenges we introduce a novel Hybrid Dynamic Pruning (HDP), an efficient algorithm-architecture co-design approach that accelerates transformers using head sparsity, block sparsity and approximation opportunities to reduce computations in attention and reduce memory access. With the observation of the huge redundancy in attention scores and attention heads, we propose a novel integer-based row-balanced block pruning to prune unimportant blocks in the attention matrix at run time, also propose integer-based head pruning to detect and prune unimportant heads at an early stage at run time. Also we propose an approximation method that reduces attention computations. To efficiently support these methods with lower latency and power efficiency, we propose a HDP co-processor architecture.
This paper has not been read by Pith yet.
Forward citations
Cited by 2 Pith papers
-
Adaptive Head Budgeting for Efficient Multi-Head Attention
BudgetFormer adaptively budgets the number and selection of attention heads per input in Transformers, reducing FLOPs and memory on text classification while matching or exceeding standard multi-head performance.
-
Adaptive Head Budgeting for Efficient Multi-Head Attention
BudgetFormer dynamically allocates a variable number of attention heads per input via a learned budget and relevance scoring, reducing inference cost on text classification while maintaining accuracy.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.