ROCKET: Rapid Optimization via Calibration-guided Knapsack Enhanced Truncation for Efficient Model Compression
Ammar Ali, Baher Mohammad, Denis Makhov, Dmitriy Shopkhoev, Magauiya Zhussip, Stamatios Lefkimmiatis
TL;DR
ROCKET addresses the challenge of efficient, training-free compression for large transformers by coupling calibration-guided sparse dictionary factorization in the whitened activation space with a global budget allocator formulated as a constrained multi-choice knapsack problem. A closed-form, single-shot factorization replaces costly iterative dictionary learning, while dynamic programming yields an optimal per-layer compression configuration under a global parameter budget $C_{ ext{total}}$. The method achieves state-of-the-art performance at 20–50% compression across text, vision-language, and speech modalities, retaining over 90% of original accuracy at 30% compression without fine-tuning and enabling notable recovery with modest fine-tuning. ROCKET also demonstrates generalization to multimodal tasks and offers tangible environmental and efficiency benefits, albeit with some scalability limitations for extremely large MoE architectures and potential gains from learned sparsity patterns during healing. Overall, the work presents a practical, scalable approach to deploying compact, high-performing LLMs without expensive retraining or fine-tuning.
Abstract
We present ROCKET, a training-free model compression method that achieves state-of-the-art performance in comparison with factorization, structured-sparsification and dynamic compression baselines. Operating under a global compression budget, ROCKET comprises two key innovations: First, it formulates layer-wise compression allocation as a multi-choice knapsack problem, selecting the optimal compression level for each layer to minimize total reconstruction error while adhering to a target model size. Second, it introduces a single-step sparse matrix factorization inspired by dictionary learning: using only a small calibration set, it sparsifies weight coefficients based on activation-weights sensitivity and then updates the dictionary in closed form via least squares bypassing iterative optimization, sparse coding, or backpropagation entirely. ROCKET consistently outperforms existing compression approaches across different model architectures at 20-50\% compression rates. Notably, it retains over 90\% of the original model's performance at 30\% compression without any fine-tuning. Moreover, when applying a light fine-tuning phase, recovery is substantially enhanced: for instance, compressing Qwen3-14B to an 8B-parameter model and healing it with just 30 million tokens yields performance nearly on par with the original Qwen3-8B. The code for ROCKET is at github.com/mts-ai/ROCKET/tree/main.
