Research map / Large language models / Retrieval and knowledge
AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation
Lvzhou Luo, Yixuan Cao, Ping Luo
Chinese Academy of Sciences · State Key Lab of AI Safety · University of Chinese Academy of Sciences
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- HotpotQA leaderboard accuracy 45.2 · rank 81 of 109 papers
- MuSiQue leaderboard accuracy 19.6 · rank 34 of 38 papers
- NQ leaderboard accuracy 53 · rank 21 of 39 papers
- PopQA leaderboard accuracy 65.1 · rank 11 of 40 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add supervised attention fine-tuning (ablation) | AttnComp · 5 QA datasets average | Acc: 42.3 -> 44.2 | Improved |
| use AttnComp compression instead of feeding all documents | Llama-3.1-8B reader · 5 QA datasets average | Acc: 42.3 -> 44.2 | Improved |
| use AttnComp instead of other compressors | Llama-3.1-8B reader · 5 QA datasets average | Acc: Provence 39.2, CompAct 39.4 -> 44.2 | Improved |
| use AttnComp on multi-hop datasets | AttnComp · multi-hop QA | Acc: +3.3 over uncompressed | Improved |
| use AttnComp instead of sentence-level Provence | AttnComp · 2WikiMQA | Acc: +8.8 points | Improved |
| use 7 or other non-default layer counts for the compressor (ablation) | AttnComp · 5 QA datasets average | Acc: 13 layers 44.2; 7 layers 41.8, 31 layers 41.8 (fine-tuned) | Hurt |
| fine-tune the compressor, for non-default layer depths (ablation) | AttnComp · 5 QA datasets average | Acc: 7 layers 12.4 -> 41.8 | Improved |
| compress at sentence level instead of document level (ablation) | AttnComp · 5 QA datasets average | Acc / compression: Acc 44.2 -> 43.1; compression 17.0x -> 21.1x | Mixed |
| lower top-p threshold below 0.9 (ablation) | AttnComp · HotpotQA | Acc / compression | Mixed |
| increase number of retrieved documents k (ablation) | AttnComp vs uncompressed · HotpotQA | Acc | Improved |
| use AttnComp with Qwen2.5-7B-Instruct-1M reader | AttnComp · 5 QA datasets average | F1: 35.5 -> 40.6 | Improved |
| use AttnComp instead of uncompressed context on NQ and PopQA | AttnComp · NQ | Acc: 53.9 -> 53.0 | Hurt |
Later papers that compared with this method
1 later accepted paper reports AttnComp as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Models (ACL 2026 · better on 4 of 4 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.
- Provence — Provence: efficient and robust context pruning for retrieval-augmented generation (ICLR 2025) · better on 2 of 2 shared results
- CompAct — CompAct: Compressing Retrieved Documents Actively for Question Answering (EMNLP 2024) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in retrieval-augmented reasoning
How can retrieval-augmented reasoning cut its extra LLM calls, storage and dependence on retrieval and LLM-built structures?
- Multi-step retrieval needs extra LLM calls and slows inference. · 22 papers state it
- Tested on English, or English and one other language, only. · 15 papers state it
- Graphs, trees and memories built by LLMs or parsers pass on their errors. · 12 papers state it
Closest papers by meaning
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMs (AAAI 2025 · similarity 0.90)
- RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation (ICLR 2024 · similarity 0.90)
- Compressing LLMs: The Truth is Rarely Pure and Never Simple (ICLR 2024 · similarity 0.89)
- Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference (AAAI 2025 · similarity 0.89)
- Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selection (ICLR 2025 · similarity 0.88)
- Retrieval meets Long Context Large Language Models (ICLR 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.