Prompt Compression for Large Language Models: A Survey
Li, Zongqian, Liu, Yinhong, Su, Yixuan, Collier, Nigel
–arXiv.org Artificial Intelligence
Leveraging large language models (LLMs) for complex natural language tasks typically requires long-form prompts to convey detailed requirements and information, which results in increased memory usage and inference costs. To mitigate these challenges, multiple efficient methods have been proposed, with prompt compression gaining significant research interest. This survey provides an overview of prompt compression techniques, categorized into hard prompt methods and soft prompt methods. First, the technical approaches of these methods are compared, followed by an exploration of various ways to understand their mechanisms, including the perspectives of attention optimization, Parameter-Efficient Fine-Tuning (PEFT), modality integration, and new synthetic language. We also examine the downstream adaptations of various prompt compression techniques. Finally, the limitations of current prompt compression methods are analyzed, and several future directions are outlined, such as optimizing the compression encoder, combining hard and soft prompts methods, and leveraging insights from multimodality.
arXiv.org Artificial Intelligence
Oct-17-2024
- Country:
- Pacific Ocean > North Pacific Ocean
- San Francisco Bay (0.04)
- North America
- Mexico (0.04)
- United States
- Colorado (0.04)
- Texas (0.04)
- New York > New York County
- New York City (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- California
- San Francisco County > San Francisco (0.04)
- Santa Clara County
- Santa Clara (0.04)
- Palo Alto (0.04)
- Canada > Ontario
- Toronto (0.04)
- Europe
- Middle East > Malta (0.04)
- Germany > Berlin (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Singapore (0.04)
- Thailand > Bangkok
- Bangkok (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Pacific Ocean > North Pacific Ocean
- Genre:
- Overview (1.00)
- Industry:
- Leisure & Entertainment > Sports > Football (1.00)
- Technology: