English

Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression

Computation and Language 2026-01-27 v2 Artificial Intelligence

Abstract

Retrieval-augmented generation (RAG) often suffers from long and noisy retrieved contexts. Prior context compression methods rely on predefined importance metrics or supervised compression models, rather than on the model's own inference-time behavior. We propose Sentinel, a lightweight sentence-level compression framework that treats context compression as an understanding decoding problem. Sentinel probes native attention behaviors of a frozen LLM with a lightweight readout to decode which parts of the context are actually utilized when answering a query, rather than using attention as a direct relevance score. We empirically observe that decoded relevance signals exhibit sufficient consistency across model scales to support effective compression with compact proxy models. On LongBench, Sentinel with a 0.5B proxy model achieves up to 5x compression while matching the QA performance of 7B-scale baselines, and despite being trained only on English QA data, generalizes effectively to Chinese and out-of-domain settings.

Keywords

Cite

@article{arxiv.2505.23277,
  title  = {Sentinel: Decoding Context Utilization via Attention Probing for Efficient LLM Context Compression},
  author = {Yong Zhang and Heng Li and Yanwen Huang and Ning Cheng and Yang Guo and Yun Zhu and Yanmeng Wang and Shaojun Wang and Jing Xiao},
  journal= {arXiv preprint arXiv:2505.23277},
  year   = {2026}
}

Comments

Preprint

R2 v1 2026-07-01T02:48:06.760Z