paper-with-me

Papers

AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation

2025-09-22 · Lvzhou Luo, Yixuan Cao, Ping Luo arxiv

Retrieval-augmented generation improves the factual accuracy of Large Language Models (LLMs) by incorporating external context, but often suffers from irrelevant retrieved content that hinders effectiveness. Context compression addresses this issue by filtering out irrelevant information from context before LLM generation. However, existing methods struggle to adaptively adjust compression rates for different context, maintain low latency and integrate information across multiple documents. To overcome these limitations, We introduce AttnComp, an adaptive, efficient and context-aware compression framework. By leveraging the attention mechanism of LLMs to identify relevant information, AttnComp employs a Top-P compression algorithm to retain the minimal set of documents whose cumulative attention weights exceeds a predefined threshold. In addition to compression, AttnComp estimates response confidence by assessing the overall relevance of the retrieved content, enabling users to gauge response reliability. Experiments demonstrate that AttnComp outperforms existing compression methods and uncompressed baselines, achieving higher accuracy with substantial compression rates and lower latency.

📄 PDF Abstract BibTeX arXiv:2509.17486

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LongAttnComp: Cross-Family Context Compression for Long-Context Reasoning

2026-05-31 · Mengmeng Ji, Ravi Shanker Raju, Jonathan Lingjie Li, Chen Wu arxiv

As real-world applications increasingly require processing inputs of 100k+ tokens, the gap between context length and inference efficiency has become a critical bottleneck. Context compression offers a way to reduce pref…

From Rigid to Dynamic: Entropy-Guided Adaptive Inference for Long-Context LLMs

2026-06-08 · Zhanchao Xu, Haoyang Li, Qingfa Xiao, Fei Teng 외 arxiv

Existing sparse attention and KV cache compression methods for long-context LLM inference typically apply fixed sparsity patterns or uniform budgets across all attention heads, overlooking the substantial variation in at…

KVCompose: Efficient Structured KV Cache Compression with Composite Tokens

2025-09-05 · Dmitry Akulov, Mohamed Sana, Antonio De Domenico, Tareq Si Salem 외 arxiv

Large language models (LLMs) rely on key-value (KV) caches for efficient autoregressive decoding; however, cache size grows linearly with context length and model depth, becoming a major bottleneck in long-context infere…

QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compression

2024-08-01 · Wenshan Wang, Yihang Wang, Yixing Fan, Huaming Liao 외

In-context learning (ICL) capabilities are foundational to the success of large language models (LLMs). Recently, context compression has attracted growing interest since it can largely reduce reasoning complexities and …

In-Context Learning

Region-Adaptive Transform with Segmentation Prior for Image Compression

2024-03-01 · Yuxi Liu, Wenhan Yang, Huihui Bai, Yunchao Wei 외

Learned Image Compression (LIC) has shown remarkable progress in recent years. Existing works commonly employ CNN-based or self-attention-based modules as transform methods for compression. However, there is no prior res…

Image CompressionSegmentation