Lune

EMNLP Findings2025

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

Lvzhou Luo, Yixuan Cao, Ping Luo

摘要

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 contextaware 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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection 引用了 Large Language Models Can Be Easily Distracted by Irrelevant Context
  • Making Retrieval-Augmented Language Models Robust to Irrelevant Context 引用了 Large Language Models Can Be Easily Distracted by Irrelevant Context
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering AgentsZhengran Zeng, Yixin Li, Rui Xie, Wei Ye 等ISSTA 2026

它引用的 Paper19

  1. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
  2. Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
  3. Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales 等ICML 2023 · 970 次引用
  4. DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding SharingPengcheng He, Jianfeng Gao, Weizhu ChenICLR 2023 · 394 次引用
  5. Making Retrieval-Augmented Language Models Robust to Irrelevant ContextOri Yoran, Tomer Wolfson, Ori Ram, Jonathan BerantICLR 2024 · 361 次引用

相关 Paper

  1. CompAct: Compressing Retrieved Documents Actively for Question AnsweringChanwoong Yoon, Taewhoo Lee, Hyeon Hwang, Minbyul Jeong 等EMNLP 2024 · 10 次引用
  2. Enhancing RAG Efficiency with Adaptive Context CompressionShuyu Guo, Shuo Zhang, Zhaochun RenEMNLP Findings 2025 · 5 次引用
  3. Leveraging Attention to Effectively Compress Prompts for Long-Context LLMsYunlong Zhao, Haoran Wu, Bo XuAAAI 2025 · 10 次引用
  4. Less Is More: Elevating RAG via Performance-Driven Context CompressionZiqiang Cui, Yunpeng Weng, Xing Tang, Peiyang Liu 等ICML 2026
  5. ECoRAG: Evidentiality-guided Compression for Long Context RAGYeonseok Jeong, Jinsu Kim, Dohyeon Lee, Seung-won HwangACL Findings 2025 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖