TL;DR
Putri is a novel structured pruning method that enables Large Language Models (LLMs) to maintain functional performance even at extreme sparsity levels (up to 95-99%). By combining sequential weight updates in feed-forward networks (FFN) with fine-grained attention head removal—specifically designed to handle modern Grouped-Query Attention (GQA)—Putri significantly outperforms existing state-of-the-art pruning techniques.
What Problem Does This Paper Address?
While LLMs are incredibly capable, their massive size makes inference expensive and difficult to deploy on resource-constrained devices. Post-training pruning (PTP) aims to solve this by removing unimportant parameters after the model has been trained.
However, there is a catch: Unstructured pruning (removing individual weights) creates sparse matrices that modern hardware (GPUs/TPUs) cannot easily accelerate. Structured pruning (removing entire rows, columns, or layers) is hardware-friendly but typically causes a much sharper drop in model performance. Current structured methods often "collapse" (resulting in infinite perplexity or invalid outputs) when trying to reach high sparsity ratios (e.g., >70%), which is exactly where the most significant memory and speed gains are found.
Methods
The authors introduce Putri, which improves upon the state-of-the-art (specifically the 2SSP framework) through three key innovations:
- Sequential FFN Pruning: Instead of pruning all layers in parallel, Putri prunes them one by one. This allows the pruning decision for a later layer to account for the changes and "distribution shifts" introduced by pruning the earlier layers.
- Weight Reconstruction: After removing nodes from an FFN layer, Putri doesn't just leave the remaining weights alone. It updates the un-pruned weights by solving a least-squares optimization problem (minimizing L2-loss) to compensate for the error introduced by the missing nodes.
- Fine-Grained Attention Pruning for GQA: Most methods remove entire attention layers (depth pruning). Putri removes individual attention heads. Crucially, it is the first method to explicitly handle Grouped-Query Attention (GQA), where one Key-Value (KV) head is shared by multiple Query heads. When Putri decides to prune a KV-head, it removes all its associated Query heads to maintain the model's structural integrity.
Datasets
- Calibration: The C4 dataset (train partition) was used to calculate weight importance and perform weight updates.
- Perplexity Evaluation: The models were tested on Wikitext-2, FineWeb-Edu, and the test partition of C4 to measure how well they retained language modeling capabilities.
- Zero-Shot Benchmarks: To test actual task performance, the authors used the LM Eval Harness, covering benchmarks like Winogrande, ARC (Easy & Challenge), Hellaswag, PiQA, and MMLU.
Key Insights and Ideas
- The Necessity of Updates: The authors demonstrate that at high sparsity, simply removing weights is catastrophic. Updating the remaining weights to minimize reconstruction error is the "secret sauce" that prevents model collapse.
- Granularity Matters: Removing individual heads rather than entire layers allows for a much smoother trade-off between model size and performance. It allows the model to keep the most critical "circuits" across all layers rather than losing entire functional blocks.
- Robustness at the Edge: Putri proves that structured pruning can compete in the "extreme compression" space (90%+ sparsity), a domain previously dominated by quantization or knowledge distillation.
Key Results
Putri consistently outperformed baselines like 2SSP, ShortGPT, and BlockPruner across Llama-3 and Qwen3 model families.
- Extreme Sparsity: At 90% sparsity, while most baselines returned "infinite" perplexity (complete failure), Putri maintained readable perplexity scores (e.g., 644 on Wiki for Llama-3.1-8B).
- Zero-Shot Stability: On Qwen3-14B at 90% sparsity, Putri achieved an average zero-shot accuracy of 33.9%, nearly matching its performance at 50% sparsity (35.1%), whereas other methods either failed or dropped to random-guess levels.
- Efficiency: The sequential approach not only improves performance but also reduces peak memory during the pruning process because only one layer needs to be optimized at a time.
Limitations and Future Work
- Small Model Sensitivity: The authors noted that smaller models (e.g., Qwen3-0.6B) are significantly harder to prune at high ratios than larger models. Even Putri struggled to reach 99% sparsity on the smallest architectures.
- Calibration Data Dependency: The method relies on a calibration dataset. While C4 worked well, the performance might vary depending on how closely the calibration data matches the target domain.
- Future Directions: The authors suggest that combining Putri's structured pruning with other techniques like Quantization could lead to even more efficient "tiny" LLMs.
Summary updated