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
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add question-awareness to coarse-grained compression (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 39.7 -> 70.8 | Improved |
| use question-conditioned perplexity instead of SBERT for coarse ranking (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 65.7 -> 70.8 | Improved |
| condition question on document p(q|d) rather than p(d|q) (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 53.4 -> 70.8 | Improved |
| add restrictive statement (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 70.3 -> 70.8 | Improved |
| add question-aware fine-grained compression (contrastive perplexity) (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 68.9 -> 70.8 | Improved |
| add dynamic compression ratio (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 68.7 -> 70.8 | Improved |
| add subsequence recovery (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 69.4 -> 70.8 | Improved |
| add subsequence recovery (ablation) | LLMLingua · NaturalQuestions 2x (10th) | accuracy: 40.4 -> 43.5 | Improved |
| use GPT2-small instead of LLaMA-2-7B-Chat as compressor (ablation) | LongLLMLingua · NaturalQuestions 2x (10th) | accuracy: 70.8 -> 70.1 | Hurt |
| add document reordering | LongLLMLingua · NaturalQuestions 2x | accuracy: 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 4x | LongLLMLingua · NaturalQuestions (20th) | accuracy: 70.6 -> 74.7 | Improved |
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.
- SeDeM: Selective Decompression of Hidden-State Memories for Long-Context Question Answering (EMNLP 2026 · better on 4 of 4 shared results)
- COMI: Coarse-to-fine Context Compression via Marginal Information Gain (ICLR 2026 · better on 2 of 2 shared results)
- ASP: Adaptive Semantic Preservation for Context Compression (EMNLP 2026 · better on 2 of 2 shared results)
- GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment (ACL 2026 · better on 2 of 2 shared results)
- CoMeT: Collaborative Memory Transformer for Efficient Long Context Modeling (ACL 2026 · better on 1 of 1 shared result)
- Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios (NAACL 2025 · better on 3 of 3 shared results)
- DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokens (ACL 2025 · better on 1 of 1 shared result)
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?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens (ICML 2024 · similarity 0.90)
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMs (AAAI 2025 · similarity 0.90)
- Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inference (NeurIPS 2025 · similarity 0.90)
- Compressing LLMs: The Truth is Rarely Pure and Never Simple (ICLR 2024 · similarity 0.90)
- Long Context Compression with Activation Beacon (ICLR 2025 · similarity 0.90)
- ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilities (ICLR 2025 · similarity 0.89)
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.