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, aim…