scimeatlas

Research map / Architectures and efficiency / Attention and transformers

LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression

Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, Lili Qiu

ACL 2024Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach820 citations (OpenAlex)

Microsoft

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

14measured effects
11improved
3hurt

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 question-awareness to coarse-grained compression (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 39.7 -> 70.8Improved
use question-conditioned perplexity instead of SBERT for coarse ranking (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 65.7 -> 70.8Improved
condition question on document p(q|d) rather than p(d|q) (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 53.4 -> 70.8Improved
add restrictive statement (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 70.3 -> 70.8Improved
add question-aware fine-grained compression (contrastive perplexity) (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 68.9 -> 70.8Improved
add dynamic compression ratio (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 68.7 -> 70.8Improved
add subsequence recovery (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 69.4 -> 70.8Improved
add subsequence recovery (ablation)LLMLingua · NaturalQuestions 2x (10th)accuracy: 40.4 -> 43.5Improved
use GPT2-small instead of LLaMA-2-7B-Chat as compressor (ablation)LongLLMLingua · NaturalQuestions 2x (10th)accuracy: 70.8 -> 70.1Hurt
add document reorderingLongLLMLingua · NaturalQuestions 2xaccuracy: 70.8 (10th) -> 76.2 (Reorder)Improved
compress prompt with LongLLMLingua instead of original prompt (about 4x fewer tokens)GPT-3.5-Turbo · NaturalQuestions (answer at 10th)accuracy: 54.1 -> 71.2 (4x)Improved
increase compression from 2x to 4xLongLLMLingua · NaturalQuestions (20th)accuracy: 70.6 -> 74.7Improved

Later papers that compared with this method

7 later accepted papers report LongLLMLingua as a baseline in their results tables; 7 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in sparse attention for long-context LLMs

Which attention can a long-context model drop without losing the answer?

All 4 open problems and what was already tried →

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