Exécution de notre outil de synthèse sur un nouvel article

Vérifiez l’article ci-dessous, puis lancez sa synthèse.


Dynamic Prompt Compression for Efficient Inference of Large Language Models

Jinwu Hu (South China University of Technology), Wei Zhang (South China University of Technology), Yufeng Wang (South China University of Technology), Yu Hu (Hong Kong Polytechnic University), Bin Xiao (Chongqing University of Posts and Telecommunications), Mingkui Tan (South China University of Technology), Qing Du (South China University of Technology)

IEEE Transactions on Knowledge and Data Engineering
DOI: 10.1109/tkde.2026.3669558 (Computer Science)
Licence : CC BY

Résumé : Large language models (LLMs) have shown outstanding performance across a variety of tasks, partly due to advanced prompting techniques. However, these techniques often require lengthy prompts, which increase computational costs and can hinder performance because of the limited context windows of LLMs. While prompt compression is a straightforward solution, existing methods confront the challenges of retaining essential information, adapting to context changes, and remaining effective across different tasks. To tackle these issues, we propose a task-agnostic method called Dynamic Prompt Compression (LLM-DPC). Our method reduces the number of prompt tokens while minimizing any degradation in LLM performance. We model prompt compression as a Markov Decision Process (MDP), enabling the DPC-Agent to sequentially remove redundant tokens by adapting to dynamic contexts and retaining crucial content. We develop a reward function for training the DPC-Agent that balances the compression ratio, the quality of the LLM output, and the retention of key information. This allows for prompt token reduction without needing an external black-box LLM. Inspired by the progressive difficulty adjustment in curriculum learning, we introduce a Hierarchical Prompt Compression (HPC) training strategy that gradually increases the compression difficulty, enabling the DPC-Agent to learn an effective compression method that maintains information integrity. Experiments demonstrate that our method outperforms state-of-the-art techniques, especially at higher compression ratio.

Publié le 18 Mar. 2026