arXiv:2611.08082v1 Announce Type: new
Abstract: Efficient deployment of large language models (LLMs) on mobile devices requires balancing performance with compute and memory constraints. Post-training compression is an effective approach to managing this trade-off, while requiring much less computation than in-training counterparts. We propose DictLLM, a dictionary-based compression scheme in which weight matrices within grouped layers are decomposed into a shared dictionary and layer-specific sparse coefficients, directly obtained from a pre-trained model without further training. Specifically, we cast DictLLM as a four-step post-training optimization. First, we obtain shared dictionaries via singular value decomposition (SVD) of input-scaled weight matrices, amortizing rank across grouped layers; second, we sparsify the layer-specific coefficients to the target compression ratio using a dictionary-aware Hessian; and third, we refine the dictionaries given the resulting sparse coefficients. Finally, we aggressively quantize both components using factor-specific Hessian information: input covariance for the dictionaries and the dictionary-aware Hessian for the coefficients. The resulting representation reduces memory footprint by storing a single shared dictionary per layer group, along with sparse layer-specific coefficients. On language modeling and zero-shot reasoning benchmarks, DictLLM consistently outperforms existing post-training low-rank compression methods and pushes the Pareto frontier between model size and performance. DictLLM compresses the original LLaMA-7B model by 5.1x with only a 2.9-point increase in WikiText-2 perplexity, achieving a 3.6x higher compression ratio than the state-of-the-art low-rank method.
arxiv
DictLLM: Dictionary-Based Post-Training Compression for LLMs
DictLLM is a new post-training compression method that decomposes weight matrices into a shared dictionary and layer-specific sparse coefficients, using SVD and Hessian-based sparsification and quantization. It achieves a 5.1x compression of LLaMA-7B with only a 2.9-point perplexity increase on WikiText-2, outperforming existing low-rank methods. The approach requires no further training and is designed for efficient deployment on mobile devices.
This introduces a novel compression technique that significantly improves the size-performance trade-off for LLMs, offering practical value for edge deployment.
Comments & Questions (0)
No comments yet
Be the first to comment!