COMI: Coarse-to-fine Context Compression via Marginal Information Gain
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated exceptional capabilities across diverse tasks. However, their deployment in long context scenarios remains hindered by computational inefficiency and information redundancy. Context compression methods address these challenges by significantly reducing input length and eliminating redundancy. We propose COMI, a coarse-to-fine adaptive context compression framework that jointly optimizes for semantic relevance and diversity under high compression rates. We introduce Marginal Information Gain (MIG), a metric defined as the relevance of a unit to the input query minus its semantic redundancy with other units, guiding the compression process to prioritize information that is both relevant and low redundant. The framework operates in two stages: (1) Coarse-Grained Group Reallocation, where the context is partitioned into groups and dynamically assigned compression rates based on inter-group MIG, ensuring compression budgets align with information value distribution; and (2) Fine-Grained Token Merging, where tokens within each group are fused via an intra-group MIG-based weighting mechanism, thereby preserving key semantics while avoiding the accumulation of redundancy. Extensive experiments across question-answering (e.g., NaturalQuestions, 2WikiMQA, HotpotQA and NarrativeQA), summarization (e.g., MultiNews) with various backbones (e.g., LLaMA-2-7B, Qwen2-7B) show that COMI outperforms existing baselines by a large margin, e.g., approximately 25-point Exact Match (EM) improvement under 32x compression constraint with Qwen2-7B on NaturalQuestions.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 43 of its 56 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
43 of 56 references.
Closest ancestors · 17
Same direction, newest first
- 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors10 Oct
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention21 May
- 2025GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment18 May
- 2025Long Context In-Context Compression by Getting to the Gist of Gisting11 Apr
- 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation17 Dec
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios28 Sep
- 2024Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language Models22 Sep
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference2 Sep
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug
- 2024Context Embeddings for Efficient Answer Generation in RAG12 Jul
- 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs4 Jun
- 2024xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token22 May
5 more
- 2024LLoCO: Learning Long Contexts Offline11 Apr
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression19 Mar
- 2024Long Context Compression with Activation Beacon7 Jan
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression10 Oct
- 2023In-context Autoencoder for Context Compression in a Large Language Model13 Jul
Other references · 26
- 2017Attention Is All You Needcited by 59,932
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
14 more
- 2023Adapting Language Models to Compress Contextscited by 350
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 122
- 2024VoCo-LLaMA: Towards Vision Compression with Large Language Modelscited by 78
- 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
- 2022Submodularity In Machine Learning and Artificial Intelligencecited by 37
- 2025Knowing You Don't Know: Learning When to Continue Search in Multi-round RAG through Self-Practicingcited by 24
- 2025DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokenscited by 21
- 2025AttentionRAG: Attention-Guided Context Pruning in Retrieval-Augmented Generationcited by 19
- 2025Unable to Forget: Proactive Interference Reveals Working Memory Limits in LLMs Beyond Context Lengthcited by 18
- 2024Forgetting Curve: A Reliable Method for Evaluating Memorization Capability for Long-context Modelscited by 13
- 2025UQABench: Evaluating User Embedding for Prompting LLMs in Personalized Question Answeringcited by 9
- 2025Conflict-Aware Soft Prompting for Retrieval-Augmented Generationcited by 5
- 2025CoS: Towards Optimal Event Scheduling via Chain-of-Schedulingcited by 4
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Mergingcited by 5
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Predictioncited by 3
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Drivencited by 3
- 2026Fix the Structural Bottleneck: Context Compression via Explicit Information Transmissioncited by 2
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Accelerationcited by 1
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystemscited by 1
- 2026Thinking as Compression: Your Reasoning Model is Secretly a Context Compressorcited by 0
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrievalcited by 0
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Stepscited by 0
- 2026PReM: Learning What to Preserve and When to Refresh for Context Compressioncited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026No=esis: Deterministic-First Retrieval with Two-Tier Context Hydration for Factuality-Critical Queries on Small Local Modelscited by 0
1 more
- 2026PC-SubMax: Efficient Prompt Compression via Regularized Submodular Maximization26 Sep 2026
- 2026No=esis: Deterministic-First Retrieval with Two-Tier Context Hydration for Factuality-Critical Queries on Small Local Models7 Sep 2026
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026PReM: Learning What to Preserve and When to Refresh for Context Compression15 Jul 2026
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Steps2 Jun 2026
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystems2 Jun 2026
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrieval31 May 2026
- 2026Thinking as Compression: Your Reasoning Model is Secretly a Context Compressor27 May 2026
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Driven10 May 2026
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Acceleration16 Apr 2026
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction20 Mar 2026
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Merging15 Mar 2026
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Mergingcited by 5
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Predictioncited by 3
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Drivencited by 3
- 2026PReM: Learning What to Preserve and When to Refresh for Context Compressioncited by 0
- 2026PC-SubMax: Efficient Prompt Compression via Regularized Submodular Maximizationcited by 0
- 2026PC-SubMax: Efficient Prompt Compression via Regularized Submodular Maximization26 Sep 2026
- 2026PReM: Learning What to Preserve and When to Refresh for Context Compression15 Jul 2026
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Driven10 May 2026
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction20 Mar 2026
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Merging15 Mar 2026
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Accelerationcited by 1
- 2026Thinking as Compression: Your Reasoning Model is Secretly a Context Compressorcited by 0
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Stepscited by 0
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Steps2 Jun 2026
- 2026Thinking as Compression: Your Reasoning Model is Secretly a Context Compressor27 May 2026
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Acceleration16 Apr 2026
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystemscited by 1
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrievalcited by 0
- 2026No=esis: Deterministic-First Retrieval with Two-Tier Context Hydration for Factuality-Critical Queries on Small Local Modelscited by 0
- 2026No=esis: Deterministic-First Retrieval with Two-Tier Context Hydration for Factuality-Critical Queries on Small Local Models7 Sep 2026
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystems2 Jun 2026
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrieval31 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression
- 2026EnComp: Lightweight Encoder-Only Context Compression for Retrieval-Augmented Question Answering
- 2025CompLLM: Compression for Long Context Q&A
- 2026TopoCompress: Long Context Compression via Graph-Wired Semantic Trajectories
- 2024QUITO-X: A New Perspective on Context Compression from the Information Bottleneck Theory
- 2025From Context to EDUs: Faithful and Structured Context Compression via Elementary Discourse Unit Decomposition
- 2026From Similarity to Structure: Training-free LLM Context Compression with Hybrid Graph Priors
- 2025AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation