DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression
Yi Zhao, Zuchao Li, Hai Zhao, Baoyuan Qi, Guoming Liu
摘要
Task-agnostic prompt compression leverages the redundancy in natural language to reduce computational overhead and enhance information density within prompts, especially in longcontext scenarios. Existing methods predominantly rely on information entropy as the metric to compress lexical units, aiming to achieve minimal information loss. However, these approaches overlook two critical aspects: (i) the importance of attention-critical tokens at the algorithmic level, and (ii) shifts in information entropy during the compression process. Motivated by these challenges, we propose a dynamic attention-aware approach for taskagnostic prompt compression (DAC). This approach effectively integrates entropy and attention information, dynamically sensing entropy shifts during compression to achieve fine-grained prompt compression. Extensive experiments across various domains, including LongBench, GSM8K, and BBH, show that DAC consistently yields robust and substantial improvements across a diverse range of tasks and LLMs, offering compelling evidence of its efficacy. Our code is available at https://github.com/QQQ-yi/DAC *
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Survey on In-context Learning 引用了 Language Models are Few-Shot Learners
- A Survey on In-context Learning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- End-to-End Contrastive Language-Speech Pretraining Model for Long-Form Spoken Question Answering 引用了 Language Models are Few-Shot Learners
- End-to-End Contrastive Language-Speech Pretraining Model for Long-Form Spoken Question Answering 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch Scenarios 引用了 Faster In-Context Learning for LLMs via N-Gram Trie Speculative Decoding
- Language Models are Few-Shot Learners 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Faster In-Context Learning for LLMs via N-Gram Trie Speculative Decoding 引用了 A Survey on In-context Learning
- Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper4
- Scaling LLM Speculative Decoding: Non-Autoregressive Forecasting in Large-Batch ScenariosLuohe Shi, Zuchao Li, Lefei Zhang, Baoyuan Qi 等AAAI 2026 · 1 次引用
- Less Is More: Elevating RAG via Performance-Driven Context CompressionZiqiang Cui, Yunpeng Weng, Xing Tang, Peiyang Liu 等ICML 2026
- End-to-End Contrastive Language-Speech Pretraining Model for Long-Form Spoken Question AnsweringJiliang Hu, Zuchao Li, Baoyuan Qi, Guoming Liu 等AAAI 2026
- Faster In-Context Learning for LLMs via N-Gram Trie Speculative DecodingJinglin Chen, Qiwei Li, Zuchao Li, Baoyuan Qi 等EMNLP 2025
它引用的 Paper16
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test TimeZichang Liu, Aditya Desai, Fangshuo Liao, Weitao Wang 等NeurIPS 2023 · 557 次引用
- A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用
相关 Paper
- LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt CompressionZhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Menglin Xia 等ACL Findings 2024 · 58 次引用
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMsYunlong Zhao, Haoran Wu, Bo XuAAAI 2025 · 10 次引用
- TACO-RL: Task Aware Prompt Compression Optimization with Reinforcement LearningShivam Shandilya, Menglin Xia, Supriyo Ghosh, Huiqiang Jiang 等ACL Findings 2025 · 9 次引用
- DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft TokensShaoshen Chen, Yangning Li, Zishan Xu, Yongqin Zeng 等ACL Findings 2025 · 2 次引用
- Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM InferenceBarys Liskavets, Maxim Ushakov, Shuvendu Roy, Mark Klibanov 等AAAI 2025 · 41 次引用
