Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs (2406.02376v2)

Published 4 Jun 2024 in cs.CL

Abstract: The growing popularity of LLMs has sparked interest in context compression for LLMs. However, the performance of previous methods degrades dramatically as compression ratios increase, sometimes even falling to the closed-book level. This decline can be attributed to the loss of key information during the compression process. Our preliminary study supports this hypothesis, emphasizing the significance of retaining key information to maintain model performance under high compression ratios. As a result, we introduce Query-Guided Compressor (QGC), which leverages queries to guide the context compression process, effectively preserving key information within the compressed context. Additionally, we employ a dynamic compression strategy. We validate the effectiveness of our proposed QGC on the Question Answering task, including NaturalQuestions, TriviaQA, and HotpotQA datasets. Experimental results show that QGC can consistently perform well even at high compression ratios, which also offers significant benefits in terms of inference cost and throughput.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Zhiwei Cao (13 papers)
  2. Qian Cao (36 papers)
  3. Yu Lu (146 papers)
  4. Ningxin Peng (5 papers)
  5. Luyang Huang (8 papers)
  6. Shanbo Cheng (23 papers)
  7. Jinsong Su (96 papers)
Citations (7)