arXiv:2610.17586cs.DBOct 2026

Manuscript Offprint

arXiv:2610.17586

High-Throughput LLM-Based Compression and What It Takes: A Systems Study of Inference Engines and Entropy Coding Optimizations

David Adams, Luisa Neubauer, Ping-Lin Kuo, Mihail Stoian, Thomas Rückstieß, Josif Grabocka, Renata Borovica-Gajic, Andreas Kipf

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

A Systems Study of Inference Engines and Entropy Coding Optimizations

David Adams

University of Melbourne

Melbourne, Australia

david.adams1@student.unimelb.edu.au

Mihail Stoian

University of Technology Nuremberg

Nuremberg, Germany

mihail.stoian@utn.de

Luisa Neubauer

University of Technology Nuremberg

Nuremberg, Germany

luisa.neubauer@utn.de

Thomas Rückstieß

Relaxed Constraints

Melbourne, Australia

thomas@relcon.ai

Ping-Lin Kuo

University of Technology Nuremberg

Nuremberg, Germany

ping-lin.kuo@utn.de

Josif Grabocka

University of Technology Nuremberg

Nuremberg, Germany

josif.grabocka@utn.de

Renata Borovica-Gajic

University of Melbourne

Melbourne, Australia

renata.borovica@unimelb.edu.au

Abstract

Large language models are attractive text compressors because next-token probabilities can be converted into code lengths. In practice, however, the main bottleneck is often not modeling quality but systems cost: a compressor must obtain logits quickly enough to compete with strong classical baselines.

This paper examines systems optimizations for LLM-based compression, including multistream pipelined arithmetic coding and target-interval capture, and evaluates their trade-offs across inference engines, configurations and datasets. We evaluate LLM-based text compression on three different inference engines: Transformers, vLLM, and TensorRT-LLM. Notably, we obtain a speedup of 18.84x compared to prior work's Transformers implementation and a maximum recorded inference speed of 181 kilobytes per second at a compression ratio of 7.17, when running on an NVIDIA A100.

VLDB Workshop Reference Format:

David Adams, Luisa Neubauer, Ping-Lin Kuo, Mihail Stoian, Thomas Rückstieß, Josif Grabocka, Renata Borovica-Gajic, and Andreas Kipf. High-Throughput LLM-Based Compression and What It Takes. VLDB 2026 Workshop: Accelerating Analytics and Data Management Systems Using Modern Processor and Storage Architectures.

1 Introduction

Real-world analytical database systems store and process substantial amounts of textual data. In an analysis of the Amazon Redshift fleet, varchar columns account for 52.1% of stored columns, making variable-length strings the most prominent datatype in the observed workloads [21]. Similarly, an analysis of production Snowflake workloads reports that text columns account for 34%

Andreas Kipf

University of Technology Nuremberg

Nuremberg, Germany

andreas.kipf@utn.de

of aggregation inputs, substantially more than other non-numeric types [17]. These findings suggest that efficient storage and processing of textual data are relevant concerns for modern analytical database systems.

Compression is particularly attractive for textual data that is retained but accessed or modified infrequently. The Redshift study reports that 86.6% of fleet tables received no inserts or deletes during the monitored period, and identifies compression as a potential optimization for such data [21]. It also finds that half of the queries reading external data sources target compressed files, nearly all of which use gzip, demonstrating that compression already forms part of production analytical data pipelines. For cold text data, stronger compression could reduce storage and data movement costs, provided that it does not impose prohibitive costs when data is ingested or subsequently decoded for analysis.

Large language models (LLMs) offer a new approach to lossless compression of textual data. In LLM-based compression, a pre-trained model supplies next-token probability distributions, which an entropy coder converts into a compact bitstream. While these distributions may enable substantial storage reductions, obtaining them requires neural inference during both compression and decompression. Thus, to be practically useful in accelerating data management systems, LLM-based compression must be evaluated against core Database Management System (DBMS) metrics. Specifically, we must measure the trade-offs between storage footprint reduction, ingestion throughput, and decompression speed during query execution.

Motivation. This motivates our central question: under which combinations of inference engine, hardware platform, and entropy-coding design might LLM-based compression become economically viable as a storage codec for textual data? To investigate this question, we evaluate the systems-level economics of deploying LLM-based compressors across inference engines and their configurations, and entropy coder optimizations, examining their trade-offs and viability alongside standard DB compressors FSST [2] and zstd on these crucial dimensions.

This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.

Proceedings of the VLDB Endowment. ISSN 2150-8097.

Related Work. Neural lossless compression treats compression as next-token prediction followed by entropy coding. Early work by Schmidhuber and Heil [16] showed that neural sequence models could be combined with Huffman [6] or arithmetic coding [15] for lossless text compression, establishing the basic connection between neural prediction quality and conventional text compression algorithms. Later systems used deeper neural models to improve compression ratios. DeepZip [4] combines gated RNNs, including LSTMs and bidirectional GRUs, with arithmetic coding and reports compression ratio improvements over gzip on text and genomic data. DecMac [11] similarly uses an LSTM-based context model with cycle connections, reporting further reductions over gzip and 7zip. These systems show that neural predictors can improve on compression ratio, but also make compression substantially more expensive because model training and token-by-token inference dominate runtime.

DZip [5] reduces some of this cost with a hybrid adaptive training strategy, avoiding separate external training data while remaining general-purpose, but still reflects the central trade-off in neural compression: better probability estimates require more computation. TRACE [12] shifts this trade-off toward faster inference by replacing recurrent models with a lightweight transformer architecture. Its single-layer transformer, byte grouping, and shared feed-forward components target the sequential bottlenecks of earlier neural compressors.

Recent work replaces these task-trained predictors with pre-trained large language models. LLMZip [20] demonstrates this idea by using a pre-trained LLaMA-7B [19] model, reporting strong compression ratios on English text. Li et al. [10] extend this argument more broadly, showing that large pre-trained models can serve as powerful compressors across different data modalities.

However, removing training does not remove the systems cost. LLM-based compression still requires repeated next-token probability queries, often in a highly sequential loop. FineZip [14] and Nacrith [18] therefore focus on making LLM-based compression more practical through online memorization, lightweight auxiliary predictors, higher-precision coding, backend optimizations and selective use of the LLM. Kipf et al. [7] explore the trade-offs between compression ratios and latency and make the limitations explicit from a systems perspective: the compression gains of LLMs must be weighed against slow inference and decompression costs.

A parallel line of work studies the problem of serving LLMs efficiently. vLLM [8] improves throughput by managing the key-value cache using PagedAttention, reducing memory waste and enabling larger effective batch sizes. SGLang [24] introduces runtime optimizations such as RadixAttention and efficient structured decoding for programs that make many language model calls. Although these systems were not designed primarily for compression, they are highly relevant because LLM-based arithmetic coding is dominated by repeated probability queries.

Contribution. This work sits at the intersection of neural compression and inference systems. Prior LLM-based compression work argues that stronger predictive models can improve code length, but often treats the cost of obtaining logits as a secondary concern [10, 13, 14, 20].

We also relate to work on high-throughput LLM inference. Engines such as vLLM, Transformers, and TensorRT-LLM focus on different inference optimizations, and those design choices can directly affect whether compression is viable on server GPUs, CPUs, or even edge devices.

Finally, we compare against strong classical baselines such as LZ4 and xz. These compressors remain the practical reference point because they are fast, cheap, and broadly deployed. Our goal is therefore not only to ask whether LLM-based compression can improve compression ratio, but under which system configurations it can do so at acceptable speed and cost [3, 22, 23].

In particular, our optimized implementation on these three inference engines achieves speedups of 18.84x, 1.85x, and 2.16x, respectively, over prior work's baseline implementation [7], when run on a NVIDIA A100, making a step towards high-throughput LLM-based compression.

References (14)