LPC: Efficient Lossless Parameter Compression for Deploying LLM Inference on Edge Systems
The inference latency of large language models (LLMs) on edge systems is often bottlenecked by the limited memory bandwidth between host and accelerator, primarily due to repeated parameter transfers necessitated by the accelerator’s restricted memory capacity. In contrast to lossy model compression methods that address this issue at the expense of model accuracy and time-consuming, model-specific tuning, lossless compression retains the accuracy and offers plug-andplay usability, making it an appealing alternative. However, its practical deployment at runtime is hindered by the inherent tradeoffs among compression ratio, decompression throughput, and hardware overhead. To tackle these challenges, we present a Lossless Parameter Compression (LPC) technique that exploits the intrinsic numerical characteristics of LLM parameters. Through a combination of lightweight value remapping scheme and the hardware-friendly LZ4 compression algorithm, LPC achieves same compression ratio as more sophisticated entropycoding algorithms (e.g., Deflate), while offering same decompression bandwidth at 4.5× lower area cost. We validated the benefit of LPC to inference performance in a real host-accelerator system environment, employing an open-source CNN accelerator with its hardware and software stack redesigned to accommodate PyTorch-based LLMs. Evaluation across a broad spectrum of models demonstrated 29.1–29.4% and 19.4–43.4% reductions in parameter offloading traffic for BF16 and INT8 formats, leading to inference speedups of up to 1.42× and 1.76×, respectively.
Authors
- Nachuan Wang (ORCID: https://orcid.org/0009-0000-1431-0067)
- Nam Sung Kim (ORCID: https://orcid.org/0000-0002-0442-5634)
- Hyungyo Kim (ORCID: https://orcid.org/0000-0002-1157-0127)
Institutions
- University of Illinois Urbana-Champaign (US)
Publication Details
- Journal
- IEEE Embedded Systems Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/les.2025.3616900
- Primary Topic
- Advanced Data Compression Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00