Context Compression via Explicit Information Transmission

Jiangnan Ye, Hanqi Yan, Zhenyi Shen, Heng Chang, Ye Mao, Yulan He · OpenReview

TL;DR

This paper introduces ComprExIT, a novel framework for compressing long contexts in Large Language Models (LLMs). By treating LLMs as frozen feature extractors and employing explicit, coordinated information transmission, ComprExIT overcomes key limitations of existing methods, achieving superior compression performance with minimal overhead. This work paves the way for more efficient and effective long-context LLM applications.

What Problem Does This Paper Address?

Large Language Models (LLMs) are becoming increasingly powerful, but their ability to process long contexts is hampered by significant computational costs. The quadratic complexity of attention mechanisms and the growing size of key-value caches lead to substantial memory and latency overheads, limiting their practical deployment. While context compression techniques aim to mitigate these issues by condensing long contexts into shorter representations, current methods, which often repurpose LLMs as trainable compressors, fall short. The authors identify two primary reasons for this: (1) progressive representation overwriting where information from earlier layers gets diluted or overwritten in later layers, and (2) uncoordinated allocation where compression tokens independently gather information, leading to redundancy and missed signals.

Methods

ComprExIT proposes a new paradigm for soft context compression that decouples compression from the LLM's internal self-attention dynamics. Instead of fine-tuning an LLM to be a compressor, ComprExIT uses a frozen LLM as a feature extractor. The framework consists of two main stages:

  1. Depth-wise Transmission to Token Anchors: This stage addresses the layerwise dilution bottleneck. It adaptively selects and aggregates multi-layer features from the frozen LLM's hidden states to create "token anchors." This process uses learned layer-level priors and a token-wise gating mechanism, ensuring that useful information from intermediate layers is directly accessible and not lost through progressive overwriting.
  2. Width-wise Transmission to Compression Slots: This stage tackles the uncoordinated allocation bottleneck. It uses an optimal-transport-based transmission plan to globally coordinate how information from the token anchors is aggregated into a fixed number of "compression slots." This ensures that each compression slot receives complementary information, avoiding redundancy and maximizing coverage of the original context.

Datasets

The paper evaluates ComprExIT on six question-answering (QA) benchmark datasets: NewsQA, SQUAD, SearchQA, HotpotQA, TriviaQA, and Natural Questions. For training, they use the SlimPajama-6B dataset. They also evaluate on out-of-domain datasets for summarization (XSum) and fact-checking (FEVER) and in-context learning (SST-2).

Key Insights and Ideas

  • LLM as a Feature Extractor, Not a Compressor: The core idea of treating a frozen LLM as a feature extractor rather than fine-tuning it as a compressor is a significant departure from prior work. This decouples the compression process from the LLM's internal dynamics, allowing for more direct control over information flow.
  • Explicit Information Transmission: The framework emphasizes explicit transmission of information, moving away from implicit aggregation through self-attention. This allows for more targeted and controlled information flow.
  • Optimal Transport for Coordinated Allocation: The use of optimal transport to derive a global transmission plan for allocating information across compression slots is a novel approach to address the redundancy and lack of coordination in existing methods.
  • Layer-wise Gating for Depthwise Preservation: The adaptive gating mechanism to select and aggregate features from different layers effectively mitigates information dilution, preserving crucial signals from earlier stages of the LLM's processing.

Key Results

  • Superior Performance: ComprExIT consistently outperforms state-of-the-art soft context compression baselines across six QA benchmarks, achieving an average F1 improvement of up to 18.5%.
  • Efficiency: The framework adds only ~1% trainable parameters, making it highly parameter-efficient.
  • Speed: ComprExIT achieves over 2x faster compression than the fastest baselines.
  • Robustness: The method demonstrates strong performance across various compression ratios, larger model sizes, and longer contexts, suggesting good scalability and generalization.
  • Information Preservation: Ablation studies confirm that both the coordinated allocation and layer-wise aggregation components are crucial for effective information preservation and compression performance.

Limitations and Future Work

The authors acknowledge the following limitations:

  • Computational Resources: Due to limited computational resources, they could not test ComprExIT on larger backbones (e.g., 32B or 70B models) or substantially longer contexts (e.g., 32k or 128k tokens).
  • Text-Only Focus: The current experiments are limited to text-only language models.

Promising future work directions include:

  • Extending the framework to vision-language models.
  • Exploring more design choices within the explicit information transmission paradigm.
  • Investigating the application of ComprExIT in settings like encrypted memory or communication mediums for LLM agents.

Summary updated

BibTeX
@misc{ye2026context,
  author = {Jiangnan Ye and Hanqi Yan and Zhenyi Shen and Heng Chang and Ye Mao and Yulan He},
  title = {{Context Compression via Explicit Information Transmission}},
  year = {2026},
  eprint = {2602.03784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.03784},
}
Figure