AI Paper Atlas

Research map / Large language models / Reasoning and chain of thought

LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models

Huiqiang Jiang, Qianhui Wu, Chin-Yew Lin, Yuqing Yang, Lili Qiu

EMNLP 2023Large language models › Reasoning and chain of thoughtapproach: Efficient LLM serving1,082 citations (OpenAlex)

Microsoft

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
1no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add iterative token-level compression (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 72.93 -> 79.08Improved
add the budget controller (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 73.62 -> 79.08Improved
use dynamic compression ratios across prompt components (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 77.26 -> 79.08Improved
select demonstrations by perplexity instead of randomly (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 72.78 -> 79.08Improved
add distribution alignment of the small LM (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 78.62 -> 79.08Improved
remove stop words instead of LLMLingua compression (ablation)LLMLingua · GSM8K (1-shot constraint)EM: 79.08 -> 76.27 (1.3x ratio only)Hurt
replace Alpaca-7B with GPT2-Alpaca as small LM (ablation)LLMLingua · GSM8K (1-shot constraint)EM: drops of 2.06, 0.99, 1.06 EM pointsHurt
compress prompts with LLMLingua instead of Selective-ContextGPT-3.5-Turbo · GSM8K (quarter-shot constraint)EM: 44.20 -> 77.33Improved
apply LLMLingua with 1-shot constraint vs full promptGPT-3.5-Turbo · GSM8K and BBHEM: 78.85 -> 79.08 (GSM8K); 70.07 -> 70.11 (BBH)No clear effect
increase compression to half-shot and quarter-shotLLMLingua · BBHEM: 70.11 -> 61.60 -> 56.85Hurt
apply LLMLingua with Claude-v1.3 as target LLMClaude-v1.3 · GSM8KEM: 81.8 -> 82.61 (14x); 81.8 -> 83.51 (5x)Improved
have GPT-4 compress the prompt instead of LLMLinguaGPT-3.5-Turbo · BBH (1-shot constraint)EM: 70.11 -> 27.13Hurt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy