NAVIGATION

What is Context Compression?

Definition

Context Compression

Context Compression is a technique that summarizes, prunes, or distills long prompt contexts and conversational history into compact representations before passing them to an LLM context window.

Detailed Deep Dive

Context Compression preserves critical semantic information while drastically reducing token count. As conversation histories expand, compression algorithms remove filler tokens, summarize historical turns, or synthesize key facts into dense memory blocks, keeping LLM API costs low and maintaining high attention accuracy.

Advertisement

Frequently Asked Questions

Q:How does context compression improve LLM speed?

By reducing total prompt tokens, context compression decreases pre-fill latency and attention computation overhead in transformers.

Q:What is the difference between context compression and truncation?

Truncation simply deletes older tokens, while context compression retains essential semantic facts through summarization or vector distillation.

Quick Facts

  • CategoryModel Architectures
  • Key ApplicationExtending context limits, lowering token costs, and reducing attention latency

Coverage Trend12 Weeks

12w agoToday

Cite This Term

Context Compression Media Coverage & Intelligence

arXiv AIJul 13, 2026

Fictional Worldbuilding: Multi-Agent LLM Collaboration with Hierarchical Context Compression and Iterative Review

Worldbuilding, the construction of coherent fictional worlds, is a foundational task in game design and literary creation. Large Language Models (LLM) offer...

RESEARCHJun 11, 2026

Context compression finally works in production: new research cuts LLM input 16x without the accuracy hit

Context window are becoming a computational bottleneck. The longer an agent runs, the more token accumulate from retrieved documents, reasoning traces and...