TL;DR
Large language models (LLMs) face challenges in maintaining accuracy when aggressively pruned, particularly with existing layer-wise methods. LEAP, a learnable end-to-end adaptive pruning technique, addresses this issue by optimizing pruning masks directly.
✦ Why It Matters
Engineers can implement LEAP to efficiently prune LLMs while preserving accuracy, optimizing resource usage.
Key Takeaways
How It Works
LEAP employs a novel approach to pruning by using a Bernoulli-via-Gumbel-sigmoid relaxation, which allows for the learning of unstructured masks at the individual weight level. This method contrasts with previous techniques that relied on layer-wise surrogates, which often led to reduced accuracy under high sparsity.
By focusing on per-weight adjustments, LEAP effectively maintains model performance while achieving significant sparsity.
Related