DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression
원문 초록
Task-agnostic prompt compression leverages the redundancy in natural language to reduce computational overhead and enhance information density within prompts, especially in long-context 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 task-agnostic 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.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
any4: Learned 4-bit Numeric Representation for LLMs
IRanker: Towards Ranking Foundation Model
CommVQ: Commutative Vector Quantization for KV Cache Compression
AgentGroupChat-V2: Divide-and-Conquer Is What LLM-Based Multi-Agent System Need
Re-Initialization Token Learning for Tool-Augmented Large Language Models
Learning a Continue-Thinking Token for Enhanced Test-Time Scaling
토론
이 논문과 연결된 포럼 글이 아직 없습니다.