LGAIJan 24, 2025

SwiftPrune: Hessian-Free Weight Pruning for Large Language Models

arXiv:2501.16376v21 citationsh-index: 3EMNLP
Originality Incremental advance
AI Analysis

This addresses the need for efficient model compression for lightweight deployment, though it appears incremental as it builds on existing pruning techniques with specific optimizations.

The paper tackles the problem of slow and computationally intensive pruning methods for large language models by introducing SwiftPrune, a Hessian-free approach that achieves an average speedup of 12.29x (up to 56.02x) over state-of-the-art methods while maintaining compression performance.

Post-training pruning, as one of the key techniques for compressing large language models, plays a vital role in lightweight model deployment and model sparsity. However, current mainstream pruning methods dependent on the Hessian matrix face significant limitations in both pruning speed and practical effectiveness due to the computationally intensive nature of second-order derivative calculations. This paper presents SwiftPrune, a novel Hessian-free weight pruning method that achieves hardware-efficient model compression through two key innovations: 1) SwiftPrune eliminates the need for computationally intensive Hessian matrix calculations by introducing a contribution-based weight metric, which evaluates the importance of weights without relying on second-order derivatives. 2) we employ the Exponentially Weighted Moving Average (EWMA) technique to bypass weight sorting, enabling the selection of weights that contribute most to LLM accuracy and further reducing time complexity. Our approach is extended to support structured sparsity pruning, facilitating efficient execution on modern hardware accelerators. We validate the SwiftPrune on three LLMs (namely LLaMA2, LLaMA3, and Pythia), demonstrating that it significantly enhances compression performance. The experimental findings reveal that SwiftPrune completes the pruning process within seconds, achieving an average speedup of 12.29x (up to 56.02x) over existing SOTA approaches.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes