CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Scaling language models to longer contexts is essential for capturing rich dependencies across extended discourse. However, na"ive context extension imposes significant computational and memory burdens, often resulting in inefficiencies during both training and inference. In this work, we propose CCF, a novel context compression framework designed to enable efficient long-context modeling by learning hierarchical latent representations that preserve global semantics while aggressively reducing input redundancy. CCF integrates segment-wise semantic aggregation with key-value memory encoding, forming compact representations that support accurate reconstruction and long-range understanding. To further enhance scalability, we introduce a training-efficient optimization strategy that couples incremental segment decoding with sparse reservoir sampling, substantially reducing memory overhead without degrading performance. Empirical results on multiple long-context language modeling benchmarks demonstrate that CCF achieves competitive perplexity under high compression ratios, and significantly improves throughput and memory efficiency compared to existing approaches. These findings highlight the potential of structured compression for scalable and effective long-context language modeling.
Key facts. Cited by 1 paper 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 27 of its 38 references that are in the map. First posted on arXiv 11 Sep 2025.
Builds on
27 of 38 references.
Closest ancestors · 3
Same direction, newest first
- 2025Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression29 May
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference2 Sep
- 2024Long Context Compression with Activation Beacon7 Jan
Other references · 24
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2023Adapting Language Models to Compress Contextscited by 356
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
- 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 182
- 2025A Comprehensive Survey on Long Context Language Modelingcited by 117
- 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
- 2025MDocAgent: A Multi-Modal Multi-Agent Framework for Document Understandingcited by 67
12 more
- 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 57
- 2024STaRK: Benchmarking LLM Retrieval on Textual and Relational Knowledge Basescited by 55
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2024An Efficient Recipe for Long Context Extension via Middle-Focused Positional Encodingcited by 16
- 2025Following the Autoregressive Nature of LLM Embeddings via Compression and Alignmentcited by 14
- 20243D-RPE: Enhancing Long-Context Modeling Through 3D Rotary Position Encodingcited by 13
- 2025UORA: Uniform Orthogonal Reinitialization Adaptation in Parameter-Efficient Fine-Tuning of Large Modelscited by 11
- 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Surveycited by 5
- 2025Reimagining Memory Access for LLM Inference: Compression-Aware Memory Controller Designcited by 5
- 2025Dynamic Context-oriented Decomposition for Task-aware Low-rank Adaptation with Less Forgetting and Faster Convergencecited by 4
- 2024Two are better than one: Context window extension with multi-grained self-injectioncited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
- 2026TopoCompress: Long Context Compression via Graph-Wired Semantic Trajectories
- 2026End-to-End Context Compression at Scale
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2025From Context to EDUs: Faithful and Structured Context Compression via Elementary Discourse Unit Decomposition
- 2024In-Context Former: Lightning-fast Compressing Context for Large Language Model
- 2025Contextual Compression Encoding for Large Language Models: A Novel Framework for Multi-Layered Parameter Space Pruning