Adaptive Block-wise Pruning: Thanos & BESA for Hardware Efficiency
Thanos and BESA are block-wise pruning algorithms that employ adaptive masks and differentiable layer-specific sparsity allocation to reduce memory footprint and enhance computational efficiency, delivering state-of-the-art performance in structured pruning for LLMs. [3, 6, 12, 13]
The top 3
- Thanos's Adaptive Masks Optimize N:M Hardware Sparsity: Thanos employs adaptive masks in a novel block-wise pruning strategy, dynamically adjusting to weight importance to enable flexible, hardware-optimized structured formats like n:m sparsity, achieving state-of-the-art performance in structured pruning for LLMs.
- BESA Pioneer Differentiable Block-wise Sparsity Allocation: BESA (Blockwise Parameter-Efficient Sparsity Allocation) is distinguished as the first differentiable pruning algorithm for LLMs, meticulously allocating layer-specific sparsity across individual transformer blocks to minimize performance degradation. It can prune 50% of LLaMA2-70B parameters on a single A100 GPU in just five hours.
- Block-wise Pruning: Key to Practical LLM Hardware Acceleration: Adaptive block-wise pruning methods, such as Thanos and BESA, are crucial for practical LLM deployment by generating predictable, structured sparsity patterns. This allows modern GPUs, like NVIDIA Ampere, to leverage native hardware acceleration (e.g., 2:4 sparsity) for significant reductions in memory footprint and computational intensity during on-device inference.
Sources
Open the full topic