mlsanityData to 14 Oct 2026

CompLLM: Compression for Long Context Q&A

arXiv 2509.19228 ↗First posted 23 Sep 2025cs.CLcited by 5

On the map: Efficient LLM inference and serving → Prompt and context compression

Abstract (arXiv)

Large Language Models (LLMs) face significant computational challenges when processing long contexts due to the quadratic complexity of self-attention. While soft context compression methods, which map input text to smaller latent representations, have shown promise, their real-world adoption is limited. Existing techniques typically compress the context as a single unit, which leads to quadratic compression complexity and an inability to reuse computations across queries with overlapping contexts. In this work, we introduce CompLLM, a soft compression technique designed for practical deployment. Instead of processing the context holistically, CompLLM divides it into segments and compresses each one independently. This simple design choice yields three critical properties: efficiency, as the compression step scales linearly with the context length; scalability, enabling models trained on short sequences (e.g., 1k tokens) to generalize to contexts of 100k tokens; and reusability, allowing compressed segments to be cached and reused across different queries. Our experiments show that with a 2x compression rate, at high context lengths CompLLM speeds up Time To First Token (TTFT) by up to 4x and reduces the KV cache size by 50%. Furthermore, CompLLM achieves performance comparable to that obtained with the uncompressed context, and even surpasses it on very long sequences, demonstrating its effectiveness and practical utility.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 45 of its 58 references that are in the map. First posted on arXiv 23 Sep 2025.

Builds on

45 of 58 references.

Closest ancestors · 16

Same direction, newest first

  1. 2025DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression16 Jul
  2. 2025Long Context In-Context Compression by Getting to the Gist of Gisting11 Apr
  3. 2025KV-Distill: Nearly Lossless Learnable Context Compression for LLMs13 Mar
  4. 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference22 Jan
  5. 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation17 Dec
  6. 2024Selection-p: Self-Supervised Task-Agnostic Prompt Compression for Faithfulness and Transferability15 Oct
  7. 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios28 Sep
  8. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference2 Sep
  9. 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug
  10. 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM10 Jun
  11. 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs4 Jun
  12. 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
4 more
  1. 2024Prompt-SAW: Leveraging Relation-Aware Graphs for Textual Prompt Compression30 Mar
  2. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression19 Mar
  3. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression10 Oct
  4. 2023In-context Autoencoder for Context Compression in a Large Language Model13 Jul

Other references · 29

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  10. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
17 more
  1. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  2. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  3. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  4. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  5. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  6. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  7. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  8. 2023Adapting Language Models to Compress Contextscited by 356
  9. 2017Beam Search Strategies for Neural Machine Translationcited by 232
  10. 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
  11. 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 203
  12. 2023Compressed Context Memory For Online Language Model Interactioncited by 43
  13. 2022QAMPARI: An Open-domain Question Answering Benchmark for Questions with Many Answers from Multiple Paragraphscited by 42
  14. 2023PRCA: Fitting Black-Box Large Language Models for Retrieval Question Answering via Pluggable Reward-Driven Contextual Adaptercited by 38
  15. 2023QUEST: A Retrieval Dataset of Entity-Seeking Queries with Implicit Set Operationscited by 31
  16. 2025DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokenscited by 22
  17. 2024In-Context Former: Lightning-fast Compressing Context for Large Language Modelcited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain
  2. 2026Density-aware Soft Context Compression with Semi-Dynamic Compression Ratio
  3. 2023A Survey on Model Compression for Large Language Models
  4. 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
  5. 2025Learning to Compress: Unlocking the Potential of Large Language Models for Text Representation
  6. 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
  7. 2026TopoCompress: Long Context Compression via Graph-Wired Semantic Trajectories
  8. 2025Lossless Compression of Large Language Model-Generated Text via Next-Token Prediction