The reviewed record of science sign in
Pith

arxiv: 2407.12893 · v1 · pith:RLI34DUU · submitted 2024-07-17 · cs.LG · cs.AI

Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference

Reviewed by Pithpith:RLI34DUUopen to challenge →

classification cs.LG cs.AI
keywords attentionproposepruningapplicationsapproximationblockchallengescomputations
0
0 comments X
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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Adaptive Head Budgeting for Efficient Multi-Head Attention

    cs.LG 2026-04 unverdicted novelty 7.0

    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.

  2. Adaptive Head Budgeting for Efficient Multi-Head Attention

    cs.LG 2026-04 conditional novelty 5.0

    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.