The Invocation Bottleneck in LLM-Based Lossless Compression: What Can Be Removed and What Must Be Traded
Zhe Yan, Yihao Liu, Antonio Boffa, Huanchen Zhang
Abstract
Large language models (LLMs) compress text far better than classical compressors, but LLM-based compressors are slow, particularly during decompression. We argue that their decoding time has two fundamentally different sources. Execution redundancy, such as per-token host transfers, CPU-side coding, and token-by-token encoding, is work that the coded output does not require and can be removed without changing a single output bit. Sequential dependency, one model call per decoded token, is inherent to lossless decoding and cannot be removed by better execution, only traded for more calls or for more bits. We remove execution redundancy with a GPU-resident pipeline whose block-parallel encoding is made lossless in half precision by batch-invariant kernels, speeding up arithmetic coding by up to 5.8x in encoding and 3.0x in decoding without changing its compression rate. We then study the two ways of trading sequential dependency, speculative dual-model coding (SDMC) and multi-token single-model coding (MSMC), characterize the compression cost of predicting several tokens from a shared prefix, and identify the workloads in which fewer model calls are worth that cost.
Create a lesson
Related papers
Dynamics Aware Past-Future Information Bottleneck
Wooyoung Chung, Stas Tiomkin
Common zeros of homogeneous polynomials and the weight hierarchy of projective Reed-Muller codes
Rodrigo San-José
NOMA Assisted Coordinated Beam Hopping for VLEO Satellite Communication Systems
Jiayang Kang, Xinwei Yue, Xuyang Zhang et al.
Uniform Three-Fold Product Expansion of Algebraic-Geometry Codes over a Fixed Field
Cassie Ding, Min-Hsiu Hsieh
AI-Native Task-Oriented Semantic Communications over a Relay: Benefits and Vulnerabilities
Yalin E. Sagduyu, Tugba Erpek, Aylin Yener
Drift-Resilient Predictive Interference Management: Online Adaptation of an Extreme-Value Predictor
Aamir Mahmood, Fateme Salehi, Nurul Huda Mahmood et al.