EntroLLM: Entropy Encoded Weight Compression for Efficient Large Language Model Inference on Edge Devices
Arnab Sanyal, Gourav Datta, Prithwish Mukherjee, Sandeep P. Chinchali, Michael Orshansky
TL;DR
Deploying large language models on edge devices is constrained by memory bandwidth and storage. EntroLLM combines a mixed tensor-level quantization (layer-specific unsigned or asymmetric) with entropy coding using Huffman encoding and a parallel decoding strategy, preserving accuracy without retraining. It delivers substantial gains, including up to 8.1x and 13.1x improvements in downstream entropy compressibility for 8-bit and 4-bit weights, respectively, along with storage savings up to 30% over uint8 and 65% over uint4, and latency reductions up to 146.6% on edge hardware. This approach enables practical, low-power edge-LMM deployment while remaining compatible with existing post-training quantization pipelines.
Abstract
Large Language Models (LLMs) achieve strong performance across tasks, but face storage and compute challenges on edge devices. We propose EntroLLM, a compression framework combining mixed quantization and entropy coding to reduce storage while preserving accuracy. We use a combination of unsigned and asymmetric quantization. Tensor-level quantization produces an entropy-reducing effect, increasing weight compressibility, and improving downstream Huffman encoding by $7\times$ (8-bit) and $11.3\times$ (4-bit) over state-of-the-art methods. Huffman coding further reduces memory bandwidth demands, while a parallel decoding strategy enables efficient weight retrieval with minimal latency. Experiments on edge-scale LLMs (smolLM-1.7B, phi3-mini-4k, mistral-7B) show up to $30\%$ storage savings over uint8 and $65\%$ over uint4 models, with $31.9-146.6\%$ faster inference on memory-limited devices like the NVIDIA JETSON P3450. EntroLLM requires no retraining and is compatible with existing post-training quantization pipelines, making it practical for edge LLM deployment.
