arXiv:2611.09424cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09424

MINE: Entropy-coded Memory-efficient Inference for Large Language Models

Emil Schätzle, Markus Püschel

ABSTRACT

We present MINE (Memory-efficient INference Engine), a lossless entropy coding approach that accelerates single-stream inference of Large Language Models (LLMs), where existing lossless compression methods yield speedups only for specific data types such as BF16 and under additional assumptions. Single-stream decoding is strongly memory-bound, since every weight must be streamed from memory once per generated token and requests cannot be batched in local or low-latency deployments. At the core of MINE is dtANS-LLM, a GPU entropy coding scheme adapted from the prior dtANS to the needs of LLM inference. It exploits the non-uniform distribution of weights, which persists even after quantization, and exposes hyper-parameters that trade compression ratio against decoding cost. We auto-tune these parameters for each tensor and GPU to obtain the Pareto front between model size and decoding latency. MINE integrates into vLLM as a plugin and selects the best kernel configuration for a given memory budget. On Llama 3.1 8B Instruct with a 2.1-bit EntQuant checkpoint, MINE achieves speedups of 2.52× and 1.48× over the fastest baseline on an RTX 4060 Ti and an RTX 5090, at effective bitrates of 2.24 and 3.43 bits per weight. MINE is available as open source.

1 INTRODUCTION

The dramatically increasing use of Large Language Models (LLMs) makes highly efficient inference a crucial requirement. Inference requires streaming and decoding the entire LLM network from RAM while each weight is used only once per request, which is a highly memory-bound setting (Gholami et al., 2024). In data center deployments this is mitigated by collecting many requests into batches, but other settings such as local LLMs or low-latency applications require good single-stream performance. But even in general, the increasing size of LLMs and the current RAM scarcity pose the need for memory-efficient LLM representations.

The most straightforward approach is lower-precision floating-point representations to reduce the memory footprint of the weights while losing accuracy (Micikevicius et al., 2022; Rouhani et al., 2023; NVIDIA et al., 2025). Many post-training quantization methods can be seen as a continuation of this idea to custom grids (Dettmers & Zettlemoyer, 2023) and non-trivial choices of levels (Frantar et al., 2023; Cheng et al., 2024; 2025b; Badri & Shaji, 2023). Others adapt to the importance of the individual weights (Tseng et al., 2024; ggml-org, 2023; Lin et al., 2024). An alternative is Quantization-Aware Training (Jacob et al., 2018; Liu et al., 2025), which can go as far as only supporting three states for each weight (Ma et al., 2024).

An orthogonal approach, which can also be combined with quantization, is lossless compression of LLMs. The weights of LLMs are not distributed uniformly, a property that also holds after applying most quantization methods (Tan et al., 2026). Lossless coding methods exploit these statistical redundancies (Hao et al., 2024; Zhang et al., 2025; Putzky et al., 2026) to compress the weights, where the limit is given by the weights' entropy. They can increase inference throughput since the saved memory allows for larger batch sizes (Tan et al., 2026) or using simplified coding schemes

Figure

Figure 1: Overview of MINE. Left: tuning, done once for a given checkpoint and GPU; right: inference with the MINE plugin in vLLM.

that leverage additional assumptions on the domain (Fan et al., 2026). However, to date, none of these works provides a speedup using generic entropy coding for single-stream decoding on GPU.

Contributions. In this paper, we present MINE (Memory-efficient INference Engine), which uses fast lossless entropy coding to compress (quantized) LLMs and achieve inference speedup in the single-stream setting. We adapt an existing method (Schätzle et al., 2026) of entropy coding for GPUs to the particular needs of inference and introduce hyper-parameters to adapt to different settings. Using auto-tuning we then compute the Pareto front between size and single-stream decoding latency to obtain the best possible latency for a given memory budget. We provide highly optimized GPU kernels: mvm to perform the needed matrix-vector multiplication and dequant to materialize tensors to global memory for prefill. Our specific contributions are as follows:

  • We present the entropy coding variant dtANS-LLM, adapted from the existing dtANS (Schätzle et al., 2026) for the specific needs of single-stream inference in LLMs.
  • We auto-tune the hyper-parameters of dtANS-LLM for best performance given the characteristics of the tensors and the compute-to-memory-bandwidth ratios of the GPU.
  • We integrate dtANS-LLM into the vLLM inference engine (Kwon et al., 2023) as a plugin which we name MINE. Given a memory budget, MINE selects the most promising combination of kernels for performance.
  • We evaluate MINE on Llama 3.1 8B Instruct (Grattafiori et al., 2024). On a low-entropy checkpoint (EntQuant (Putzky et al., 2026) at 2.1 bits) it achieves speedups of 2.52× and 1.48× over the fastest baseline on an RTX 4060 Ti and RTX 5090, respectively. The effective bitrates are 2.24 and 3.43 bits per weight, showing that the optimal parameter choices indeed depend on the card.
  • We make MINE available as an open-source repository.

References (38)