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
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.
Create a lesson
Related papers
Path Length Existence Problems in Bounded-Treewidth Probabilistic Graphs
Antoine Amarilli, Mikaël Monet, Harshul Sagar
ML Engineering Agents - A Data Management Perspective
Arnab Phani, Elias Strauss, Tim Schuster et al.
GQL Datatypes as an RDF Vocabulary
Dominik Tomaszuk, Daniel Szałaj
CellChain: Benchmarking Cross-Scale Evidence Use for Perturbation Reasoning
Xue Xia, Yue Wang, Shuizhou Chen et al.
SemReuse: Certified Reuse of Cached Natural-Language Views for Semantic Operators
Phat T. Tran-Truong, Tung Kieu, Xuan-Bach Le et al.
The Case for Single-Version Concurrency Control in the Cloud
Lam-Duy Nguyen, Gabriel Haas, Muhammad El-Hindi et al.