Prompt Compression in the Wild: Measuring Latency, Rate Adherence, and Quality for Faster LLM Inference
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
With the wide adoption of language models for IR -- and specifically RAG systems -- the latency of the underlying LLM becomes a crucial bottleneck, since the long contexts of retrieved passages lead large prompts and therefore, compute increase. Prompt compression, which reduces the size of input prompts while aiming to preserve performance on downstream tasks, has established itself as a cost-effective and low-latency method for accelerating inference in large language models. However, its usefulness depends on whether the additional preprocessing time during generation is offset by faster decoding. We present the first systematic, large-scale study of this trade-off, with thousands of runs and 30,000 queries across several open-source LLMs and three GPU classes. Our evaluation separates compression overhead from decoding latency while tracking output quality and memory usage. LLMLingua achieves up to 18% end-to-end speed-ups, when prompt length, compression ratio, and hardware capacity are well matched, with response quality remaining statistically unchanged across summarization, code generation, and question answering tasks. Outside this operating window, however, the compression step dominates and cancels out the gains. We also show that effective compression can reduce memory usage enough to offload workloads from data center GPUs to commodity cards, with only a 0.3s increase in latency. Our open-source profiler predicts the latency break-even point for each model-hardware setup, providing practical guidance on when prompt compression delivers real-world benefits.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 21 of its 28 references that are in the map. First posted on arXiv 3 Apr 2026.
Builds on
21 of 28 references.
Closest ancestors · 2
Same direction, newest first
- 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
- 2023TCRA-LLM: Token Compression Retrieval Augmented Large Language Model for Inference Cost Reduction24 Oct
Other references · 19
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Adapting Language Models to Compress Contextscited by 356
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 105
7 more
- 2023Learning to Filter Context for Retrieval-Augmented Generationcited by 83
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
- 2023Discrete Prompt Compression with Reinforcement Learningcited by 42
- 2024Adapting LLMs for Efficient Context Processing through Soft Prompt Compressioncited by 22
- 2024Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Modelscited by 20
- 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Modelscited by 19
- 2024Characterizing Prompt Compression Methods for Long Context Inferencecited by 18
Built on by
Citing papers per year: 2026: 9.
9 papers.
- 2026Byte-Exact Deduplication in Retrieval-Augmented Generation: A Three-Regime Empirical Analysis Across Public Benchmarkscited by 4
- 2026Merlin: Deterministic Byte-Exact Deduplication for Lossless Context Optimization in Large Language Model Inferencecited by 2
- 2026Fixed RAG Compression Collapses Measured Reader Scalingcited by 1
- 2026Cache-Aware Prompt Compression:A Two-Tier Cost Model for LLM API Cachingcited by 1
- 2026Lost in Compression: A Controlled Cross-Lingual Audit of Extractive Prompt Compressorscited by 1
- 2026Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressorscited by 0
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agentscited by 0
- 2026LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Boundcited by 0
- 2026Errors of LLM-Assisted Literature Retrieval in Environmental Science: A Comparison Study of Abstract versus Full-text Based Promptscited by 0
- 2026Errors of LLM-Assisted Literature Retrieval in Environmental Science: A Comparison Study of Abstract versus Full-text Based Prompts5 Oct 2026
- 2026LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Bound26 Sep 2026
- 2026Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressors28 Jul 2026
- 2026Lost in Compression: A Controlled Cross-Lingual Audit of Extractive Prompt Compressors27 Jul 2026
- 2026Cache-Aware Prompt Compression:A Two-Tier Cost Model for LLM API Caching17 Jul 2026
- 2026BudgetBench: A Budget-Tiered Protocol and Pilot Harness for Memory Strategy Evaluation in Local Large Language Model Agents1 Jul 2026
- 2026Fixed RAG Compression Collapses Measured Reader Scaling20 Jun 2026
- 2026Merlin: Deterministic Byte-Exact Deduplication for Lossless Context Optimization in Large Language Model Inference11 May 2026
- 2026Byte-Exact Deduplication in Retrieval-Augmented Generation: A Three-Regime Empirical Analysis Across Public Benchmarks10 May 2026
Similar, not cited
Close in wording, no citation either way
- 2023Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable Prompt
- 2025An Empirical Study on Prompt Compression for Large Language Models
- 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forward
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights
- 2026Compressed-Sensing-Guided, Inference-Aware Structured Reduction for Large Language Models
- 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline
- 2025Huff-LLM: End-to-End Lossless Compression for Efficient LLM Inference
- 2023Compressing LLMs: The Truth is Rarely Pure and Never Simple