TL;DR
The authors introduce CACTUS, a highly efficient algorithm for compressing Large Language Models (LLMs) that uses a "curvature-aware" objective to minimize performance loss. By accounting for both activations and backpropagated gradients, CACTUS not only achieves state-of-the-art perplexity but also preserves the model's influence functions, allowing compressed models to act as accurate, low-cost proxies for expensive data selection tasks.
What Problem Does This Paper Address?
As LLMs grow to hundreds of billions of parameters, deploying them becomes prohibitively expensive. Post-training pruning—removing weights after a model is trained—is a popular solution. However, most standard pruning methods (like SparseGPT or WANDA) are "gradient-blind": they focus on reconstructing a layer's output based on its inputs but ignore how those changes affect the final model loss.
While "curvature-aware" methods exist to bridge this gap, they are notoriously slow, often requiring hours of GPU time to process a single model. Furthermore, there has been a disconnect between the research on model compression and the research on influence functions (which measure how much a specific training example affects a model's predictions). This paper argues that by using the right objective, we can get both: a high-performing compressed model and one that retains the "internal logic" (gradient alignment) of the original dense model.
Methods
The core of the paper is CACTUS (Curvature-Aware Compression with Tractable Updates via Sylvester Steps).
-
The Objective: CACTUS minimizes the Kronecker-Factored Approximate Curvature (KFAC) loss. Unlike standard methods that only look at input activations ($X$), KFAC incorporates downstream gradients ($A$). The three levels of data-awareness in model compression.
-
The Solver: The KFAC objective is mathematically difficult to optimize efficiently. The authors show that the subproblem can be framed as a generalized Sylvester equation. By performing an eigendecomposition of the activation and gradient covariance matrices once, they can solve this equation in closed-form at the cost of simple matrix multiplications.
- Versatility: CACTUS supports both pure pruning (unstructured and hardware-friendly $n:m$ patterns) and Sparse-plus-Low-Rank (S+L) decomposition, which combines a sparse backbone with a small low-rank correction to better preserve utility.
Datasets
- Calibration: The models are calibrated using 128 sequences from the C4 (Colossal Clean Crawled Corpus) dataset.
- Evaluation: Model utility is measured via perplexity on C4, WikiText-2, and Penn Treebank (PTB).
- Downstream Tasks: The authors use the LESS pipeline on BIG-Bench Hard (BBH) to evaluate how well compressed models perform at data selection. The data mixture for this includes FLAN-v2, CoT, Dolly, and OpenAssistant.
Key Insights and Ideas
- The "Two for One" Deal: The KFAC objective is the "bridge." Minimizing it naturally aligns the gradients of the compressed model with the dense model. This means a pruned model isn't just a faster version of the original; it's a faithful proxy for the original's decision-making process.
- Tractable Curvature: The primary barrier to curvature-aware pruning was speed. By identifying the Sylvester structure, CACTUS makes this sophisticated objective practical for LLM-scale models, running over an order of magnitude faster than previous state-of-the-art solvers like LLM-Surgeon.
- Influence Preservation: Because CACTUS preserves gradient directions, these compressed models can be used for data attribution. You can use a 50% pruned model to identify the most influential 5% of a massive dataset, and the results will be nearly identical to using the full, expensive dense model.
Key Results
- Speedup: CACTUS is over 28× faster than LLM-Surgeon on Qwen3-4B, even when running on weaker hardware (a single L40 GPU vs. two A100s).
-
Perplexity: At 50% pruning on Qwen3-4B, CACTUS reduces the C4 perplexity gap to the dense model by 45% compared to baselines. C4 Perplexity comparison at 50% compression. CACTUS-prune and CACTUS-SLR significantly outperform other methods.
-
Gradient Alignment: On Llama-3.2-1B, CACTUS improves the cosine similarity between compressed and dense per-example gradients from 0.445 to 0.512.
- Data Selection: Using a CACTUS-pruned model to select 5% of training data for fine-tuning a fresh Llama-3.2-3B achieved 49.44% accuracy on BBH, virtually matching the 49.54% achieved by the full dense model and significantly beating other pruning methods like ALPS (47.22%). Influence Function preservation metrics for Llama-3-8B. CACTUS-SLR shows superior retention of gradient information.
Limitations and Future Work
- Quantization: The current work focuses on pruning and S+L decomposition. The authors note that extending this ADMM framework to quantization (reducing bit-precision) is a key next step.
- Non-Uniform Budgets: The study uses uniform compression budgets across all layers. Developing methods to automatically allocate more "budget" to more sensitive layers could further improve results.
- Post-Compression Tuning: The paper focuses on one-shot compression. Combining CACTUS with post-training fine-tuning (like LoRA) might yield even higher fidelity.
Summary updated