mlsanityData to 14 Oct 2026

Prompt Compression in the Wild: Measuring Latency, Rate Adherence, and Quality for Faster LLM Inference

arXiv 2604.02985 ↗First posted 3 Apr 2026cs.IR cs.AI cs.CLcited by 9

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

  1. 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
  2. 2023TCRA-LLM: Token Compression Retrieval Augmented Large Language Model for Inference Cost Reduction24 Oct

Other references · 19

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  4. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  5. 2023Adapting Language Models to Compress Contextscited by 356
  6. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  7. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  8. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
  9. 2024A Survey on Efficient Inference for Large Language Modelscited by 205
  10. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 199
  11. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  12. 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 105
7 more
  1. 2023Learning to Filter Context for Retrieval-Augmented Generationcited by 83
  2. 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
  3. 2023Discrete Prompt Compression with Reinforcement Learningcited by 42
  4. 2024Adapting LLMs for Efficient Context Processing through Soft Prompt Compressioncited by 22
  5. 2024Leveraging Passage Embeddings for Efficient Listwise Reranking with Large Language Modelscited by 20
  6. 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Modelscited by 19
  7. 2024Characterizing Prompt Compression Methods for Long Context Inferencecited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Compress, Then Prompt: Improving Accuracy-Efficiency Trade-off of LLM Inference with Transferable Prompt
  2. 2025An Empirical Study on Prompt Compression for Large Language Models
  3. 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forward
  4. 2024LLM Inference Unveiled: Survey and Roofline Model Insights
  5. 2026Compressed-Sensing-Guided, Inference-Aware Structured Reduction for Large Language Models
  6. 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline
  7. 2025Huff-LLM: End-to-End Lossless Compression for Efficient LLM Inference
  8. 2023Compressing LLMs: The Truth is Rarely Pure and Never Simple