GPT-C: Generative PrompT Compression
Large language models (LLMs) increasingly rely on lengthy prompts to achieve complex tasks. However, longer prompts not only increase inference costs but pose significant challenges for limited context windows of LLMs. Prompt compression aims to accelerate inference in long-text scenarios while preserving performance in various tasks. Conventional extractive compression methods often lead to semantic incoherence and loss of primitive key information. To this end, we propose a Generative PrompT Compression (GPT-C) paradigm. In the absence of appropriate datasets, we design a Collaborative Ordered Agent (Co-Agent) framework to distill high-quality datasets. We then develop a task-agnostic, length-adaptive reinforcement learning strategy that controls compression length and enhances the generalization across diverse tasks. Extensive experiments demonstrate that GPT-C achieves performance comparable to the original prompts while utilizing only 20% of the tokens.
Authors
- Lihua Jing (ORCID: https://orcid.org/0009-0005-6369-7890)
- Feixiao Lv (ORCID: https://orcid.org/0009-0009-5033-4870)
- Lijun Liu (ORCID: https://orcid.org/0000-0003-4543-0111)
- Rui Wang (ORCID: https://orcid.org/0000-0001-9350-3667)
- Zixuan Zhu (ORCID: https://orcid.org/0009-0003-0678-3405)
Institutions
- Institute of Information Engineering (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10888801
- Primary Topic
- Computability, Logic, AI Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China