HAP-E: Hessian-Aware Pruning for Optimal LLM Inference
HAP-E is a Hessian-aware pruning framework that uses global screening, selective second-order analysis, and batch pruning with a latency predictor to achieve up to 3% higher accuracy than state-of-the-art methods at comparable pruning ratios for LLMs. [18, 21]
The top 3
- HAP-E's Accuracy Advantage: Up to 3% Over State-of-the-Art: HAP-E improves accuracy by up to 3% compared to other state-of-the-art structured pruning methods on LLaMA and OPT models at similar pruning ratios. This is achieved by efficiently applying Optimal Brain Surgeon (OBS)-equivalent batch pruning, a second-order method previously too complex for large LLMs.
- Hessian-Aware Core: Beyond Static Budgets and FLOPs: HAP-E's 'Hessian-aware' approach dynamically reallocates pruning budgets across layers using global screening and selective second-order analysis, guided by cross-layer sensitivity. This overcomes limitations of older methods that use static budgets or FLOPs, which often misestimate real hardware latency and ignore critical cross-layer dependencies.
- Hardware-Awareness for Edge LLM Deployment: A key feature of HAP-E is its integration of a lightweight latency predictor within the pruning loop. This ensures that the compressed LLM meets specific inference-time constraints on target hardware, making it highly suitable for efficient deployment on resource-constrained edge devices where latency and energy efficiency are critical.
Sources
Open the full topic